NSA320 Install process - after new uboot

Install Arch Linux ARM on other devices.

NSA320 Install process - after new uboot

Postby mcrump001 » Fri Mar 15, 2013 6:57 pm

Hello,

Before Archlinux|ARM became available for the NSA320 I installed debian on it. I would now like to switch over to Alarm but need some help. As part of installing debian I installed a new uboot from davygravy over at forum.doozan.com. So I need a couple of things. If someone could provide a clean listing of a NSA320 printenv and/or a binary file of the original stock uboot. I believe I can get it to work with the newer uboot if I can get a clean listing from printenv to start with.

Also if anyone else already has Alarm working with the newer and you would mind sharing your listing from printenv that would probably work as well.

Thank you.

Cheers,

Michael
mcrump001
 
Posts: 4
Joined: Sat Feb 18, 2012 3:56 pm

Re: NSA320 Install process - after new uboot

Postby pepedog » Fri Mar 15, 2013 7:03 pm

This is archlinuxarm. Note I had to change bootargs_linux to be rw, not ro
$this->bbcode_second_pass_code('', 'fw_printenv
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
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
MODEL_ID=DD01
PRODUCT_NAME=NSA-320
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=FC:F5:28:30:08:03
arcNumber=3956
bootargs_stock=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_linux=setenv bootargs $(bootargs_linux); ide reset; ext2load ide 0:1 $(loadaddr) /uImage; bootm $(loadaddr)
bootcmd_stock=setenv bootargs $(bootargs_stock); nand read.e $(loadaddr) $(kernel_addr) 0xA00000; bootm $(loadadr)
to_stock=setenv mainlineLinux no; setenv bootcmd \'run bootcmd_stock\'; saveenv; reset
to_linux=setenv mainlineLinux yes; setenv bootcmd \'run bootcmd_linux\'; saveenv; reset
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
ethprime=egiga1
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::orion:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
disaMvPnp=no
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
hddPowerCtrl=no
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
enaAutoRecovery=yes
kernel_addr=0xc80000
pcieTune=no
ethact=egiga1
mainlineLinux=yes
bootcmd='run bootcmd_linux'
dave=yes
bootargs_linux=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/sda2 rw rootwait loglevel=8')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: NSA320 Install process - after new uboot

Postby mcrump001 » Fri Mar 15, 2013 7:23 pm

Thanks for the post. Is this with the factory uboot or a different uboot?
mcrump001
 
Posts: 4
Joined: Sat Feb 18, 2012 3:56 pm

Re: NSA320 Install process - after new uboot

Postby pepedog » Fri Mar 15, 2013 8:12 pm

Factory uBoot, slightly modified environment.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 9 guests