uInitrd

AmigaOne X5000 platform specific issues related to Linux only.

uInitrd

Postby xeno74 » Mon Dec 11, 2017 1:30 pm

Hi All,

I tried to create an uInitrd for the X5000 with the following command:

Code: Select all
mkimage -T ramdisk -C gzip -n 'Kernel 4.15-rc3 uInitrd' -d initrd.img-4.15.0-rc3 uInitrd


Output:

Code: Select all
Image Name:   Kernel 4.15-rc3 uInitrd
Created:      Mon Dec 11 12:26:50 2017
Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
Data Size:    4560257 Bytes = 4453.38 kB = 4.35 MB
Load Address: 00000000
Entry Point:  00000000


I will test it on my AmigaOne X5000.

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

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

Re: uInitrd

Postby xeno74 » Mon Dec 11, 2017 3:24 pm

Hi All,

I was able to boot the MATE PowerPC Remix 2017 with the new uInitrd with the LABEL AMIGAONE from a USB flash drive.

  1. Code: Select all
    setenv bootargs "root=LABEL=AMIGAONE rootdelay=5"
  2. Code: Select all
    load sata 0:1 1000000 uImage-4.15
  3. Code: Select all
    load sata 0:1 1c00000 cyrus.dtb
  4. Code: Select all
    load sata 0:1 2000000 uInitrd
  5. Code: Select all
    bootm 1000000 2000000 1c00000

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

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

Re: uInitrd

Postby Roland » Mon Dec 11, 2017 9:04 pm

xeno74 wrote:I tried to create an uInitrd for the X5000....:


Could you please tell us what is this 'uInitrd' ja and what advantage does it offer, compared to the earlier method...?
- Roland -
Roland
 
Posts: 191
Joined: Tue May 02, 2017 8:23 am

Re: uInitrd

Postby xeno74 » Tue Dec 12, 2017 12:00 pm

Roland wrote:Could you please tell us what is this 'uInitrd' ja and what advantage does it offer, compared to the earlier method...?


uInitrd = U-Boot initial ramdisk

With the uInitrd, you don't need to know the /dev location of your drive/partition anymore. For example a USB flash drive. If your partition on your USB flash drive has a name then you can boot the kernel with this name as boot argument.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: uInitrd

Postby xeno74 » Thu Dec 14, 2017 1:36 pm

Hi All,

I created an uInitrd for the new stable longterm kernel 4.9.63 with the following command today.

Code: Select all
mkimage -T ramdisk -C gzip -n 'Kernel 4.9.63 uInitrd' -d /boot/initrd.img-4.9.63_A-EON_AmigaOneX5000 uInitrd


Output:

Code: Select all
Image Name:   Kernel 4.9.63 uInitrd
Created:      Thu Dec 14 12:31:50 2017
Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
Data Size:    4548523 Bytes = 4441.92 kB = 4.34 MB
Load Address: 00000000
Entry Point:  00000000


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

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


Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 2 guests