Eddie87
Re: NSA 325 V2 Debian Is Possible! January 05, 2015 05:17PM |
Re: NSA 325 V2 Debian Is Possible! January 05, 2015 10:46PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 05, 2015 10:57PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 03:31AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 04:37AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 11:36AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 11:41AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 12:32PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 12:38PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 01:21PM |
Admin Registered: 13 years ago Posts: 18,898 |
Eddie87
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 01:52PM |
Eddie87
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 01:56PM |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 02:00PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2015 10:54PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 07, 2015 10:39PM |
Admin Registered: 13 years ago Posts: 18,898 |
[ 1.327311] USB Power: 5000 mV [ 1.330613] SATA1 Power: 5000 mV
Re: NSA 325 V2 Debian Is Possible! January 08, 2015 04:59AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 08, 2015 05:16AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 08, 2015 06:36AM |
Registered: 12 years ago Posts: 115 |
Eddie87
Re: NSA 325 V2 Debian Is Possible! January 08, 2015 03:04PM |
Re: NSA 325 V2 Debian Is Possible! January 08, 2015 10:39PM |
Admin Registered: 13 years ago Posts: 18,898 |
ide reset
Re: NSA 325 V2 Debian Is Possible! January 09, 2015 03:25AM |
Registered: 12 years ago Posts: 115 |
marght
Re: NSA 325 V2 Debian Is Possible! January 18, 2015 05:21PM |
Re: NSA 325 V2 Debian Is Possible! January 18, 2015 05:43PM |
Registered: 10 years ago Posts: 16 |
Re: NSA 325 V2 Debian Is Possible! January 19, 2015 08:10AM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! January 25, 2015 12:38PM |
Registered: 9 years ago Posts: 1 |
Re: NSA 325 V2 Debian Is Possible! January 25, 2015 01:39PM |
Admin Registered: 13 years ago Posts: 18,898 |
fw_setenv arcNumber 4495 fw_setenv mainlineLinux yes fw_setenv 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' fw_setenv 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=LABEL=rootfs loglevel=8' fw_setenv bootcmd_linux 'setenv bootargs $(bootargs_linux); mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 $(loadaddr) /uImage; ext2load usb 0:1 0x01100000 /uInitrd; bootm $(loadaddr) 0x01100000' fw_setenv bootcmd_stock 'setenv bootargs $(bootargs_stock); nand read.e $(loadaddr) $(kernel_addr) 0xA00000; bootm $(loadadr)' fw_setenv to_stock "setenv mainlineLinux no; setenv bootcmd \'run bootcmd_stock\'; saveenv; reset" fw_setenv to_linux "setenv mainlineLinux yes; setenv bootcmd \'run bootcmd_linux\'; saveenv; reset" fw_setenv bootcmd 'run to_linux'
Re: NSA 325 V2 Debian Is Possible! January 30, 2015 02:15PM |
Registered: 9 years ago Posts: 1 |
Quote
prepare a usb or hdd with 2 partitions the first ext2
Quote
download the sata-debian-uboot.tar.gz from this post
extract it to a fat 32 formated usb
Re: NSA 325 V2 Debian Is Possible! January 30, 2015 02:20PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 30, 2015 11:25PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: NSA 325 V2 Debian Is Possible! February 17, 2015 03:45PM |
Registered: 9 years ago Posts: 51 |
U-Boot 2013.10-tld-1 (Aug 29 2014 - 22:07:26) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_?? DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 [PRIME] MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: INTEL SSDSA2BW160G3L Firm: 4PC1LE04 Ser#: CVPR137009LE160DGN Type: Hard Disk Supports 48-bit addressing Capacity: 152627.8 MB = 149.0 GB (312581808 x 512) 2879926 bytes read in 464 ms (5.9 MiB/s) 6441334 bytes read in 974 ms (6.3 MiB/s) ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-3.18.5-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2879862 Bytes = 2.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.18.5-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6441270 Bytes = 6.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: ZyXEL NSA325 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=ext4 root=LABEL=hdd-root rootdelay=25 :::orion:eth0:none [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 504856K/524288K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 19432K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc076a240 (7561 kB) [ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB) [ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB) [ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns [ 0.000347] Console: colour dummy device 80x30 [ 0.000371] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) [ 0.090083] pid_max: default: 32768 minimum: 301 [ 0.090198] Security Framework initialized [ 0.090286] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090303] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090904] Initializing cgroup subsys devices [ 0.090931] Initializing cgroup subsys freezer [ 0.090960] Initializing cgroup subsys net_cls [ 0.090979] Initializing cgroup subsys blkio [ 0.091065] CPU: Testing write buffer coherency: ok [ 0.091442] Setting up static identity map for 0x557418 - 0x557470 [ 0.091708] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.093757] devtmpfs: initialized [ 0.095938] prandom: seed boundary self test passed [ 0.098939] prandom: 100 self tests passed [ 0.098955] pinctrl core: initialized pinctrl subsystem [ 0.099360] regulator-dummy: no parameters [ 0.103906] NET: Registered protocol family 16 [ 0.104247] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.130098] cpuidle: using governor ladder [ 0.160098] cpuidle: using governor menu [ 0.160450] Feroceon L2: Enabling L2 [ 0.160487] Feroceon L2: Cache support initialised. [ 0.160811] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.164629] No ATAGs? [ 0.191441] vgaarb: loaded [ 0.191740] usbcore: registered new interface driver usbfs [ 0.191806] usbcore: registered new interface driver hub [ 0.191857] usbcore: registered new device driver usb [ 0.192713] Switched to clocksource orion_clocksource [ 0.222828] NET: Registered protocol family 2 [ 0.223439] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.223494] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.223546] TCP: Hash tables configured (established 4096 bind 4096) [ 0.223600] TCP: reno registered [ 0.223611] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.223630] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.223795] NET: Registered protocol family 1 [ 0.224095] RPC: Registered named UNIX socket transport module. [ 0.224105] RPC: Registered udp transport module. [ 0.224110] RPC: Registered tcp transport module. [ 0.224116] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.224341] Unpacking initramfs... [ 0.631001] Freeing initrd memory: 6292K (c1100000 - c1725000) [ 0.631114] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.632224] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.632254] Initialise system trusted keyring [ 0.632335] audit: initializing netlink subsys (disabled) [ 0.632383] audit: type=2000 audit(0.620:1): initialized [ 0.633114] zpool: loaded [ 0.633128] zbud: loaded [ 0.633377] VFS: Disk quotas dquot_6.5.2 [ 0.633428] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.633910] NFS: Registering the id_resolver key type [ 0.633950] Key type id_resolver registered [ 0.633958] Key type id_legacy registered [ 0.633980] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.633991] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.634166] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.634422] msgmni has been set to 998 [ 0.634549] Key type big_key registered [ 0.636780] alg: No test for stdrng (krng) [ 0.636814] Key type asymmetric registered [ 0.636828] Asymmetric key parser 'x509' registered [ 0.636900] bounce: pool size: 64 pages [ 0.636980] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.636998] io scheduler noop registered [ 0.637010] io scheduler deadline registered [ 0.637054] io scheduler cfq registered (default) [ 0.638114] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 0.638640] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated [ 0.638958] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated [ 0.639611] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00 [ 0.639626] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.639637] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 0.639648] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.639898] PCI: bus0: Fast back to back transfers disabled [ 0.639911] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.640439] PCI: bus1: Fast back to back transfers disabled [ 0.640524] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 0.640541] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit] [ 0.640565] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.640578] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 0.640654] pci 0000:00:01.0: enabling device (0140 -> 0142) [ 0.640674] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 0.640897] mv_xor f1060800.xor: Marvell shared XOR driver [ 0.672784] mv_xor f1060800.xor: Marvell XOR: ( xor cpy ) [ 0.712766] mv_xor f1060800.xor: Marvell XOR: ( xor cpy ) [ 0.712912] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.752764] mv_xor f1060900.xor: Marvell XOR: ( xor cpy ) [ 0.792762] mv_xor f1060900.xor: Marvell XOR: ( xor cpy ) [ 0.793101] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.794149] console [ttyS0] disabled [ 0.794201] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A [ 1.474286] console [ttyS0] enabled [ 1.478927] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1 [ 1.485334] nand: Eon NAND 128MiB 3,3V 8-bit [ 1.489622] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 1.495320] Scanning device for bad blocks [ 1.554171] libphy: Fixed MDIO Bus: probed [ 1.558558] libphy: orion_mdio_bus: probed [ 1.567112] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 1.574986] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 10:7b:ef:88:11:1e [ 1.583957] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.590516] ehci-pci: EHCI PCI platform driver [ 1.595106] ehci-orion: EHCI orion driver [ 1.599265] orion-ehci f1050000.ehci: EHCI Host Controller [ 1.604841] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 1.612649] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 1.632734] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 1.638917] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.645757] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.653024] usb usb1: Product: EHCI Host Controller [ 1.657920] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd [ 1.664665] usb usb1: SerialNumber: f1050000.ehci [ 1.669975] hub 1-0:1.0: USB hub found [ 1.673816] hub 1-0:1.0: 1 port detected [ 1.678453] mousedev: PS/2 mouse device common for all mice [ 1.684366] i2c /dev entries driver [ 1.692448] rtc-pcf8563 0-0051: chip found, driver version 0.4.3 [ 1.702228] rtc (null): invalid alarm value: 1970-1-1 40:54:0 [ 1.708246] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 1.716931] hidraw: raw HID events driver (C) Jiri Kosina [ 1.722646] drop_monitor: Initializing network drop monitor service [ 1.729181] TCP: cubic registered [ 1.732515] NET: Registered protocol family 17 [ 1.737118] Key type dns_resolver registered [ 1.742023] Loading compiled-in X.509 certificates [ 1.746901] registered taskstats version 1 [ 1.753069] rtc-pcf8563 0-0051: setting system clock to 1970-01-01 01:17:42 UTC (4662) [ 1.762985] Freeing unused kernel memory: 268K (c076b000 - c07ae000) Loading, please wait... [ 1.833561] udevd[62]: starting version 175 [ 1.992896] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 2.154546] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.161300] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.180921] usb 1-1: Product: USB2.0 Hub [ 2.190370] hub 1-1:1.0: USB hub found [ 2.198050] hub 1-1:1.0: 4 ports detected Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Waiting for root file system ... done. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-label/hdd-root does not exist. Dropping to a shell! modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory modprobe: chdir(3.18.5-kirkwood-tld-1): No such file or directory BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
dpkg -i linux-image-3.18.5-kirkwood-tld-1_1_armel.deb cp -a zImage-3.18.5-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-nsa325.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt /boot/uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.18.5-kirkwood-tld-1 -d /boot/initrd.img-3.18.5-kirkwood-tld-1 /boot/uInitrd -> sync shutdown -r now.