Hi,
trying to setup achlinux on a zyxel nsa320. Because i want to have the rootfs in a raid1 array, i need a initramfs (mkinitcpio -g /boot/uInitrd, after mdadm --detail --scan >> /etc/mdadm.conf) - used default installation instructions for nsa320 (usb script for partitions, rootfs copy to new partition)
using stock uboot:
** MARVELL BOARD: RD-88F6281A LE
U-Boot 1.1.4 (Nov 9 2012 - 14:55:24) Marvell version: 3.4.19
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A1 (DDR2)
Unfortunately, after trying to boot it, via:
setenv bootargs 'console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/md1 rw rootwait loglevel=8'
mw 0x800000 0 1; ide reset; ext2load ide 0:1 0x800000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd; bootm 0x00800000 0x01100000
i get:
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-33-ARCH
Created: 2014-04-27 8:45:16 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124204 Bytes = 3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
Bad Magic Number▒
after which the box immediately resets..
anyone have any clue on how i am supposed to load the uInitrd via the stock uboot ? Or maybe the initrd is made wrong ?