Spectre660's Linux downloads for the X5000

AmigaOne X5000 platform specific issues related to Linux only.

Re: Spectre660's Linux downloads for the X5000

Postby xenic » Tue Nov 07, 2017 12:34 am

Spectre660 wrote:Something else that you might be interested in is the use of U-boot script files like the installer.scr file that I added to the installer over the week end.
I downloaded the ZIP file you linked above and planned to use that. How much space will a Linux installation require (partition size)?
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1153
Joined: Sun Jun 19, 2011 1:06 am

Re: Spectre660's Linux downloads for the X5000

Postby Spectre660 » Tue Nov 07, 2017 12:47 am

@xenic

Anything from 8 GB up.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the X5000

Postby kilaueabart » Tue Nov 07, 2017 4:09 am

Spectre660 wrote:Actually the password on the last installer is set by you so you have to remember or write down what you used during the installation.

I woke up in the middle of the night and remembered doing that! Used the password this morning first thing, and was going to write this note then from X5000 Firefox, but I didn't know my Hyperion password!

Anyway, great to be back on Mate for the first time since the beginning of December 2016. Thanks for all your help.
User avatar
kilaueabart
 
Posts: 563
Joined: Mon Mar 05, 2012 3:36 am

Re: Spectre660's Linux downloads for the X5000

Postby xenic » Tue Nov 07, 2017 4:20 pm

Spectre660 wrote:@xenic
Anything from 8 GB up.


Thanks for that info. On my so-called high-speed connection, it took about 2 hours to download the 3.2 GB image file that wouldn't install with rawdisk. I'm not sure my X5000 will maintain a connection long enough to download 8 GB for the installation. If the install is interrupted can it be "resumed"?
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1153
Joined: Sun Jun 19, 2011 1:06 am

Re: Spectre660's Linux downloads for the X5000

Postby Spectre660 » Tue Nov 07, 2017 4:49 pm

@ xenic

Resumption deepens on what you use for the download . The files are hosted on Dropbox.

It is easier to download and use the small zipped installer (#1) or .img (#2) to install rather than the pre installed .img (#3).
viewtopic.php?f=58&t=3776#p41558
This also allows you to customize the installation to your taste.

The pre installed option (#3) was done when when we had a problems with the installer's partitioning component.
This is now fixed and working ok .
Last edited by Spectre660 on Wed Nov 08, 2017 3:59 pm, edited 1 time in total.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the X5000

Postby kilaueabart » Wed Nov 08, 2017 3:59 am

I was looking forward to spending some time on MATE today to start setting things up to do some of the stuff I currently need my RPi3 for.

But whereas I had been able to boot it several times yesterday, my first attempt today had "usb reset" finding no storage device, and the "bootm" resulted in something like "bad disk at 0." So I booted Workbench, looked at the flash drive from there, and it seems just fine.

Reboot, try Uboot again. Same result. Except when I gave up and entered "boota," the screen went black, the computer reset button did nothing, the power switch did nothing.

I pulled the plug, waited a little over another minute and plugged back in, hit the power switch, and the computer came on. OK. And this time "usb reset" found the full set of usb devices, including one Storage. And it fatloaded the kernel and the .dtb file just fine.

But then, the "bootm" command brought
Code: Select all
WARNING: adjusting available memory to 30000000
## Booting Kernel from Legacy Image at 01000000
[a few perfectly normal looking lines here]
     Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

I think that "WARNING" thing is normal, but what happened to the cmdline Flattened Device Tree?

This sure put a damper on my day! What do I do next, reinstall? Redo the usb drive?
User avatar
kilaueabart
 
Posts: 563
Joined: Mon Mar 05, 2012 3:36 am

Re: Spectre660's Linux downloads for the X5000

Postby Spectre660 » Wed Nov 08, 2017 10:53 am

@kilaueabart

Check your boot commands in u-boot .
If these are ok then redo the usb drive.
The kernel etc are stored on the usb drive .

I have done a new version of the installer that sets the u-boot variables for booting.
You could boot the new installer (Same download link) an reboot without doing the installation to get the u-boot stuff set up.

Updated instructions :

To run the installer from the U-Boot Shell :

usb reset
fatload usb 0:1 2000000 installer.scr
source

Note the drive partition that the installation uses.

After the installation:

edit the bootargs variable
and adjust the /dev/sdb3 to point to your installation partition as noted above using:

editenv bootargs

then

saveenv

You can aslo remove the mem=3500M if you are not using an rtl 8169 pci network card.

you only need to do the above once.


From now on to boot use:

run ubuntu

Note that you will need to have the USB installation drive connected to load the kernel and .dtb file from .
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the X5000

Postby Spectre660 » Wed Nov 08, 2017 2:09 pm

New version of the X5000 Ubuntu-Mate Net Installer (Same links)
Now sets up and saves the U-Boot variables required for booting after installing .

INSTALLER Images :

(1)
Ubuntu-Mate 16.04 Net Installer . Zip Archive
http://dl.dropboxusercontent.com/s/to8t ... s.zip?dl=0
Needs to be extracted and all files copied or extracted to a fat32 formatted USB thumb drive to boot,

or

(2)
Ubuntu Mate 16.04 LTS Net Installer USB .img (All files for installation are on the .img)
http://dl.dropboxusercontent.com/s/wfcr ... r.img?dl=0

For option (2) use dd or AmigaOS 4.1 rawdisk to copy the .img's to a USB thumb drive.
All the files needed for installation are on the .img including a kernel.

For both options

Instructions below contained in the file X5000_U-Boot_Commands.txt
Code: Select all
To run the installer from the U-Boot Shell :

usb reset
fatload usb 0:1 2000000 installer.scr
source

Note the drive partition that the installation uses.

After the installation:

edit the bootargs variable
and adjust the /dev/sdb3 to point to your installation partition as noted above using:

editenv bootargs

then

saveenv

You can also remove the mem=3500M if you are not using an rtl 8169 pci network card.

you only need to do the above once.


From now on to boot use:

run ubuntu

Note that you will need to have the USB installation drive connected to load the kernel and .dtb file from .


The U-Boot Installer script, installer.scr, contains the following commands
Code: Select all
setenv bootargs "root=/dev/sda3 rootdelay=0 mem=3500M"
setenv ubuntu "usb reset ;fatload usb 0:1 1000000 uImage-cyrus ; fatload usb 0:1 1c00000 cyrus_5020.dtb ; bootm 1000000 - 1c00000"
saveenv
usb reset
setenv bootargs root=/dev/ramdisk mem=3500M
fatload usb 0:1 1000000 uImage-cyrus
fatload usb 0:1 1c00000 cyrus_5020.dtb
fatload usb 0:1 2000000 uRamdisk
bootm 1000000 2000000 1c00000
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: Spectre660's Linux downloads for the X5000

Postby xeno74 » Wed Nov 08, 2017 3:59 pm

Spectre660 wrote:New version of the X5000 Ubuntu-Mate Net Installer (Same links)
Now sets up and saves the U-Boot variables required for booting after installing .

fatload usb 0:1 2000000 installer.scr
source


Hi Julian,

The idea with the U-Boot installer script is great! Well done! :-)

Spectre660 wrote:X5000 4.13.11 Kernel
http://dl.dropboxusercontent.com/s/ogqc ... ar.gz?dl=0


I successfully tested your stable kernel 4.13.11 on my AmigaOne X5000 today. Everything works! :-) Thanks for compiling!

Screenshot:

Image

BTW, I can't send you any emails currently. Error message: Destination not reachable: DNS server problem (SERVFAIL)

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 4394
Joined: Fri Mar 23, 2012 8:58 am

Re: Spectre660's Linux downloads for the X5000

Postby Spectre660 » Wed Nov 08, 2017 4:06 pm

Thanks Christian.

My email has been down since Monday. ISP having problems .
I will PM you a backup email address .

xeno74 wrote:
Spectre660 wrote:New version of the X5000 Ubuntu-Mate Net Installer (Same links)
Now sets up and saves the U-Boot variables required for booting after installing .

fatload usb 0:1 2000000 installer.scr
source


Hi Julian,

The idea with the U-Boot installer script is great! Well done! :-)

Spectre660 wrote:X5000 4.13.11 Kernel
http://dl.dropboxusercontent.com/s/ogqc ... ar.gz?dl=0


I successfully tested your stable kernel 4.13.11 on my AmigaOne X5000 today. Everything works! :-) Thanks for compiling!

Screenshot:

Image

BTW, I can't send you any emails currently. Error message: Destination not reachable: DNS server problem (SERVFAIL)

Cheers,
Christian
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

PreviousNext

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests