Hello,
I've been attempting to get an initrd I created in arch to successfully boot, with no success. The ramdisk was created with the command:
mkinitcpio -g /boot/initrd.gz -v (with compression=gzip and an added hook for 'encrypt' in mkinitcpio.conf)
After which, I wrapped the ramdisk with the command:
mkimage -A arm -O linux -T ramdisk -a 10008000 -e 10008000 -n "Initial Ram Disk" -d initrd.gz initrd.u-boot
which output:
Image Name: Initial Ram Disk
Created: Wed Dec 31 17:39:27 1969
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2713629 Bytes = 2650.03 kB = 2.59 MB
Load Address: 10008000
Entry Point: 10008000
After 'disabling' both zImage and u-boot.imx in /boot, and creating a uEnv.txt which contains:
video=mxcfb0:dev=hdmi,800x600M@60,if=RGB24
initrd_file=/boot/initrd.u-boot
root=/dev/mmcblk0p1 rootfstype=ext4 rootwait ro
a power-on of the board drops me to a serial console, not booting the initrd.
At the console, I've tried:
ext4load mmc 0:1 10008000 /boot/initrd.u-boot
bootm 10008000
which returns:
## Booting kernel from Legacy Image at 10008000 ...
Image Name: Initial Ram Disk
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2713629 Bytes = 2.6 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
...aaaaand I'm stuck. Really stuck. Couldn't pass "-T imximage" to mkimage (and don't even know if that would work). I've been attempting to lurk moar, but most sources are for the RPi or chromebook. Anybody know what I'm doing wrong here? My eventual goal is to get full root encryption, but I'm hung up on the initrd stage.
Thanks in advance