steve1987
Zyxel nsa320s won't boot February 14, 2016 05:10PM |
cd /media/sdb1/boot cp -a zImage-3.18.5-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-nsa320s.dtb >> zImage.fdt mv uImage uImage.orig mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt uImage sync
steve1987
Re: Zyxel nsa320s won't boot February 14, 2016 05:17PM |
Re: Zyxel nsa320s won't boot February 14, 2016 06:38PM |
Admin Registered: 13 years ago Posts: 18,594 |
Quote
Updated 16 April 2015:
Kernel 4.0.0-kirkwood-tld-1 package has been uploaded. The following features were added:
1. This FDT kernel now supports NSA320S, Asus M25, and Netgear Stora. They are still under test, so please post feeback if you try this kernel.
steve1987
Re: Zyxel nsa320s won't boot February 15, 2016 12:08AM |
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/nfs rw init=/init bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000 bootdelay=2 baudrate=115200 loads_echo=0 ipaddr=10.4.52.165 serverip=10.4.52.7 rootpath=/srv/ubuntu netmask=255.255.255.0 nandEcc=1bit kernel_addr=C80000 MODEL_ID=AF03 PRODUCT_NAME=STG-326 FEATURE_BIT=00 CONTRY_TYPE=FF VENDOR_NAME=MitraStar Technology Corp. run_diag=yes ethaddr=4C:9E:FF:58:A4:10
fw_setenv serverip <nsa ip> fw_setenv ipaddr <computer ip> fw_setenv if_netconsole 'ping $serverip' fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;' fw_setenv preboot 'run if_netconsole start_netconsole' fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi' fw_setenv reboot 'run preboot_nc' (overwritten previous value)
nc -l -u 192.168.1.10 6666 nc -l -u localhost 6666 nc -ul 6666
Re: Zyxel nsa320s won't boot February 15, 2016 01:36AM |
Admin Registered: 13 years ago Posts: 18,594 |
fw_setenv preboot 'run preboot_nc'
nc -lup 6666 192.168.1.10 6666
steve1987
Re: Zyxel nsa320s won't boot February 15, 2016 01:41AM |
steve1987
Re: Zyxel nsa320s won't boot February 15, 2016 05:00PM |
steve1987
Re: Zyxel nsa320s won't boot February 15, 2016 05:01PM |