bodhi Wrote: > I have not been looked atthe difference between > the 320 and 320s. Anything i can help with?by jochar - uBoot
Hello, So i have successfully booted into debian on my NSA320S with lan and updated, now i need to figure out how to update uboot so it boots into debian instead if the ZyXel distro Thanksby jochar - uBoot
Hello and thanks for getting back to me hope this type of topic is ok, i plan on keeping it up to date Theres something about the RJ45 port on my box.... sometimes the light comes up sometimes it does not but i believe that makes me fail and so everything else fails very nice blog that is but pitty is in hungarian, need to do some google translate i will keep you posted EDIT: Thby jochar - Debian
To boot into linux, interrupt boot with any key and use commands: setenv mainlineLinux 'yes' setenv device '0:1' setenv rootdelay '10' setenv rootfstype 'ext3' setenv usb_root '/dev/sda1' setenv usb_load_uimage 'ext2load usb $(device) 0x800000 /boot/uImage' setenv usb_load_uinitrd 'ext2load usb $(device) 0x1100000 /boot/uby jochar - Debian
1) Built in ttl console I have built in a ttl to usb adapter for direct access with usb printer cable (check photos in url) ttl port speed: 115200 pinout black = ground grey = rx white = tx (rx and tx might be interchanged, all depends on your ttl module) NSA320S Photo Album Components used: FT232 USB TO TTL 5V 3.3V Serial Adapter Module €2.14 Jumper wires female to femaleby jochar - Debian
Hello, I will place all the hack info into this topic 1) internal ttl mod 2) debian running on NSA320S (in progress)by jochar - Debian
Im traveling tomorrow and next few days so i wont be able to post progress... but i have tried LAN ping test before when i had a ttl connection and im sure i was not able to ping the router (192.168.0.1) not sure if the other way will work if that directin fails with 100% packet loss Thanks for the updatesby jochar - uBoot
cat /etc/network/interfaces # The primary network interface auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.10 gateway 192.168.0.1 netmask 255.255.255.0 iface eth0 inet6 auto ifconfig eth0 Link encap:Ethernet HWaddr 4c:9e:ff:0b:73:72 inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Meby jochar - uBoot
bodhi Wrote: ------------------------------------------------------- > OK. Let's delete everything in > > > /etc/resolve.config > > and replace with Google server > > nameserver 8.8.8.8 > i was desperate so i did that already root@debian:~# cat /etc/resolv.conf nameserver 8.8.8.8 it wont give me a Ip address neighter a static one works, so therby jochar - uBoot
root@debian:/# cat /lib/udev/rules.d/75-persistent-net-generator.rules # These rules generate rules to keep network interface names unchanged # across reboots and write them to /etc/udev/rules.d/70-persistent-net.rules. # variables used to communicate: # MATCHADDR MAC address used for the match # MATCHID bus_id used for the match # MATCHDRV driverby jochar - uBoot
ls /lib/udev/rules.d/ 42-qemu-usb.rules 75-cd-aliases-generator.rules 50-udev-default.rules 75-net-description.rules 55-dm.rules 75-persistent-net-generator.rules 60-cdrom_id.rules 75-probe_mtd.rules 60-gnupg.rules 75-tty-description.rules 60-persistent-alsa.rules 78-sound-card.rules 60-peby jochar - uBoot
This is about all i get root@debian:~# ifup eth0 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ [ 3863.644560] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/4c:9e:ff:0b:73:72 Sending on LPF/eth0/4c:9e:ff:0b:73:72 Sending on Sockby jochar - uBoot
also theres no network, dhcp wont get an IP, its very hard to use it cause of the rtc errors theres and error there every second abou 4 lines EDIT: This can be fixed by setting correct time, now i just need to figure out the network somehowby jochar - uBoot
Here it iz: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/by jochar - uBoot
ok this nearly worked Marvell>> setenv mainlineLinux 'yes' Marvell>> setenv device '0:1' Marvell>> setenv rootdelay '10' Marvell>> setenv rootfstype 'ext3' Marvell>> setenv usb_root '/dev/sda1' Marvell>> setenv usb_load_uimage 'ext2load usb $device 0x800000 /boot/uImage' Marvell>> seteby jochar - uBoot
bodhi Wrote: ------------------------------------------------------- > This could be quirk with the stock u-boot. > > On the NSA325, booting with stock u-boot, the USB > power was not enable. So a work around was: > > mw.l f1010100 0020c000 > usb reset > > > However, since I don't have access to the NSA320S, > I don't know if the above isby jochar - uBoot
ok, i have tried all 3 ports Marvell>> usb start (Re)start USB... USB: scanning bus for devices... 1 USB Device(s) found Waiting for storage device(s) to settle before scanning... 0 Storage Device(s) found This changes when i move usb key from one usb to another, count changes from 2 to 1 but storage device ount remains at zero even if i try different usb key drives thanksby jochar - uBoot
Ok im looking at the printenv output but i has no idea whta to change :( im a noob when it comes to this Marvell>> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found Waiting for storage device(s) to settle before scanning... 0 Storage Device(s) found USB stick is in the front USB port Thats about all the info i can give you, env list is in theby jochar - uBoot
Envs are in the attachmentby jochar - uBoot
bodhi Wrote: ------------------------------------------------------- > @jochar, > Further thought: > > If you can use "usb start" command to start the > drive in stock u-boot. Please post the list of the > envs: > > printenv > The stock printenv is in my attachment in my first post, i will try the rest nowby jochar - uBoot
Also which usb port should i use? there are 3 one in the front and 2 in the backby jochar - uBoot
bodhi Wrote: ------------------------------------------------------- > jochar, > > Try running the rootfs for NSA320 first as an > experiment. Memory capacity is not the same, but > if everything else works the same way then it's > not hard to make the DTS file for NS320S. Download > this 3.17 rootfs and put it on USB stick, boot > with it and please post seby jochar - uBoot
Hello Zyxel NSA-320S Marvell>> md ff00003c ff00003c: 00000000 00000000 00000000 00000000 ................ ff00004c: 00000000 00000000 00000000 00000000 ................ ff00005c: 00000000 00000000 00000000 00000000 ................ ff00006c: 00000000 00000000 00000000 00000000 ................ ff00007c: 00000000 00000000 00000000 00000000 ................ ff00008cby jochar - uBoot
Hello, Im trying to install debian onto my NSA-320S but theres not much here related to NSA-320S I can help to post logs and test the UBOOT/kernel if you provide me with the files to test, I have attached my boot log and i can give you more console info if needed Thank you in advanceby jochar - uBoot