Trouble with installing Debian on Zyxell NSA325 v2 June 19, 2016 12:41PM |
Registered: 7 years ago Posts: 7 |
USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found ** Unable to read "/uImage" from usb 0:1 ** ** Unable to read "/uInitrd" from usb 0:1 ** ## Booting image at 02000000 ... Bad Magic Number
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 19, 2016 03:03PM |
Admin Registered: 13 years ago Posts: 18,580 |
Quote
First I set the device to boot from the USB with the "usb-debian-uboot.tar.gz". Then I installed the system following the instructions from here and using a single ext3 partition.
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 20, 2016 05:25PM |
Registered: 7 years ago Posts: 7 |
root@debian:~# fw_printenv Warning: Bad CRC, using default environment bootargs= bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=3 baudrate=115200 stdin=serial,cros-ec-keyb stdout=serial,lcd stderr=serial,lcd root@debian:~#
root@debian:~# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 20, 2016 09:10PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 21, 2016 12:33AM |
Registered: 7 years ago Posts: 7 |
Quote
bodhi
You don't need 2 partitions. One is better.
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 21, 2016 02:27AM |
Admin Registered: 13 years ago Posts: 18,580 |
>Quote
bodhi
> You don't need 2 partitions. One is better.
>
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 28, 2016 06:50AM |
Registered: 7 years ago Posts: 7 |
Re: Trouble with installing Debian on Zyxell NSA325 v2 June 28, 2016 11:42PM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Trouble with installing Debian on Zyxell NSA325 v2 July 05, 2016 02:14PM |
Registered: 7 years ago Posts: 7 |
fw_printenv mtdparts mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 05b00000 00020000 "data"
Re: Trouble with installing Debian on Zyxell NSA325 v2 July 05, 2016 08:34PM |
Admin Registered: 13 years ago Posts: 18,580 |
fw_setenv mtdparts 'mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)'