Re: NSA 325 V2 Debian Is Possible! January 03, 2014 04:52PM |
Registered: 11 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 06, 2014 09:02AM |
Registered: 11 years ago Posts: 232 |
marcin
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 06:58PM |
USB 0: host mode [BlueDBG] reseting SoC Pex[0] 0 ... PEX 0: PCI Express Root Complex Interface PEX interface detected Link X1 [BlueDBG] reseting SoC Pex[1] 0 ... [BlueDBG] reseting SoC Pex[1] 1 ... [BlueDBG] reseting SoC Pex[1] 2 ... [BlueDBG] reseting SoC Pex[1] 3 ... [BlueDBG] reseting SoC Pex[1] 4 ... [BlueDBG] reseting SoC Pex[1] 5 ... [BlueDBG] reseting SoC Pex[1] 6 ... [BlueDBG] reseting SoC Pex[1] 7 ... [BlueDBG] reseting SoC Pex[1] 8 ... [BlueDBG] reseting SoC Pex[1] 9 ... [BlueDBG] reseting SoC Pex[1] 10 ... PEX 1: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... T
T Device NOT ready Request Sense returned 00 00 00 1 Storage Device(s) found ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 02000000 ... Bad Magic Number Marvell>>
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:02PM |
PRODUCT_NAME=NSA-325v2 (...) run_diag=yes console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root) ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81: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; (...) 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),0x2F C0000(rootfs2) root=/dev/nfs rw init=/init 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),0x2F C0000(rootfs2) root=LABEL=rootfs loglevel=8 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 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 bootcmd='run bootcmd_linux' stdin=serial stdout=serial stderr=serial mainlineLinux=yes kernel_addr=0x4640000 pcieTune=no pcieTune1=no 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=LABEL=rootfs loglevel=8 Environment size: 2499/131068 bytes Marvell>>
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:08PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:10PM |
Marvell>> run bootcmd_stock NAND read: device 0 offset 0x4640000, size 0xa00000 Reading data from 0x503f800 -- 100% complete. 10485760 bytes read: OK ## Booting image at 02000000 ... Image Name: Linux-2.6.31.8 Created: 2013-08-22 9:04:41 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5754856 Bytes = 5.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux.................................................................................................................................................................................. ............................................................................................ done, booting the kernel.
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:14PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:36PM |
Device Boot Start End Blocks Id System /dev/sda1 * 32 391167 195568 83 Linux /dev/sda2 391168 4587519 2098176 83 Linux
first - sda1 = ext2 -> bootable -> content: boot lost+found sda2 -> ext4, content: bin dev etc home initrd.img lib lost+found media mnt opt proc root run sbin selinux srv sys tmp usr var vmlinuz linuxbox# cat sda2/etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda2 / ext4 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
[BlueDBG] reseting SoC Pex[1] 7 ... [BlueDBG] reseting SoC Pex[1] 8 ... [BlueDBG] reseting SoC Pex[1] 9 ... [BlueDBG] reseting SoC Pex[1] 10 ... PEX 1: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... T Device NOT ready Request Sense returned 00 00 00 1 Storage Device(s) found ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 02000000 ... Bad Magic Number Marvell>>
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:50PM |
# ls -l sda1/ -rw-r--r-- 1 root root 121807 lut 4 11:45 config-3.13.1-kirkwood-tld-2 -rw-r--r-- 1 root root 6568002 lut 5 20:30 initrd.img-3.13.1-kirkwood-tld-2 drwx------ 2 root root 12288 lut 19 02:17 lost+found -rw-r--r-- 1 root root 1698808 lut 4 15:20 System.map-3.13.1-kirkwood-tld-2 -rw-r--r-- 1 root root 2399792 lut 5 20:30 uImage -rw-r--r-- 1 root root 6568066 lut 5 20:31 uInitrd -rw-r--r-- 1 root root 2399728 lut 4 15:20 vmlinuz-3.13.1-kirkwood-tld-2
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:51PM |
Registered: 10 years ago Posts: 44 |
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:52PM |
Registered: 11 years ago Posts: 115 |
T Device NOT ready
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:56PM |
Marvell>> run bootcmd_linux (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 ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 02000000 ... Bad Magic Number Marvell>> boot (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 ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 02000000 ... Bad Magic Number Marvell>>
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 07:59PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:03PM |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:06PM |
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:07PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:09PM |
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:13PM |
Registered: 11 years ago Posts: 115 |
USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... T Device NOT ready Request Sense returned 00 00 00 1 Storage Device(s) found
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:15PM |
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:21PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:23PM |
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:30PM |
Registered: 11 years ago Posts: 115 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:40PM |
linuxbox# ls -l sda1 razem 19381 -rw-r--r-- 1 root root 121807 lut 4 11:45 config-3.13.1-kirkwood-tld-2 -rw-r--r-- 1 root root 6568002 lut 5 20:30 initrd.img-3.13.1-kirkwood-tld-2 -rw-r--r-- 1 root root 1698808 lut 4 15:20 System.map-3.13.1-kirkwood-tld-2 -rw-r--r-- 1 root root 2399792 lut 5 20:30 uImage -rw-r--r-- 1 root root 6568066 lut 5 20:31 uInitrd -rw-r--r-- 1 root root 2399728 lut 4 15:20 vmlinuz-3.13.1-kirkwood-tld-2 linuxbox# ls -l sda2 razem 38 drwxr-xr-x 2 root root 3072 gru 14 07:33 bin drwxr-xr-x 5 root root 1024 lut 24 2012 dev drwxr-xr-x 51 root root 4096 sty 1 1970 etc drwxr-xr-x 2 root root 1024 sty 22 2012 home lrwxrwxrwx 1 root root 37 lut 5 20:31 initrd.img -> boot/initrd.img-3.13.1-kirkwood-tld-2 drwxr-xr-x 11 root root 1024 cze 14 2013 lib drwx------ 2 root root 12288 lut 24 2012 lost+found drwxr-xr-x 2 root root 1024 lut 24 2012 media drwxr-xr-x 2 root root 1024 sty 22 2012 mnt drwxr-xr-x 2 root root 1024 lut 24 2012 opt drwxr-xr-x 2 root root 1024 sty 22 2012 proc drwx------ 4 root root 1024 lut 5 21:49 root drwxr-xr-x 2 root root 1024 lut 8 2013 run drwxr-xr-x 2 root root 4096 gru 14 07:33 sbin drwxr-xr-x 2 root root 1024 lip 21 2010 selinux drwxr-xr-x 2 root root 1024 lut 24 2012 srv drwxr-xr-x 2 root root 1024 sty 1 2011 sys drwxrwxrwt 2 root root 1024 sty 1 1970 tmp drwxr-xr-x 10 root root 1024 lut 24 2012 usr drwxr-xr-x 11 root root 1024 sty 1 1970 var lrwxrwxrwx 1 root root 34 lut 5 20:31 vmlinuz -> boot/vmlinuz-3.13.1-kirkwood-tld-2 linuxbox# cat sda2/etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda2 / ext4 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0 linuxbox#
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:42PM |
PEX 1: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... .. 2399792 bytes read . ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ... ...................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... ......................... 6568066 bytes read ## Booting image at 02000000 ... Image Name: Linux-3.13.1-kirkwood-tld-2 Created: 2014-02-05 19:30:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2399728 Bytes = 2.3 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-3.13.1-kirkwood-tld-2 Created: 2014-02-05 19:31:01 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6568002 Bytes = 6.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... 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.13.1-kirkwood-tld-2 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Feb 4 03:19:07 PST 2014 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: ZyXEL NSA325 2-Bay Power Media Server [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c06aa824, node_mem_map c0719000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0x A00000(kernel_2),0x2FC0000(rootfs2) root=LABEL=rootfs loglevel=8 [ 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: 506064K/524288K available (4659K kernel code, 346K rwdata, 1588K rodata, 211K init, 425K bss, 18224K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 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 - 0xc06220ac (6249 kB) [ 0.000000] .init : 0xc0623000 - 0xc0657e4c ( 212 kB) [ 0.000000] .data : 0xc0658000 - 0xc06ae824 ( 347 kB) [ 0.000000] .bss : 0xc06ae824 - 0xc0718d6c ( 426 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:114 [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns [ 0.000000] Console: colour dummy device 80x30 [ 18.343093] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) [ 18.382908] pid_max: default: 32768 minimum: 301 [ 18.382995] Security Framework initialized [ 18.383054] Mount-cache hash table entries: 512 ... [....] Starting NFS common utilities: statd idmapd. ok [....] Starting rpcbind daemon...[....] Already running.. ok [....] Starting NTP server: ntpd. ok [....] Not starting NFS kernel daemon: no exports. ... (warning). [....] Starting OpenBSD Secure Shell server: sshd. ok 1699 (klogd) . ok Debian GNU/Linux 7 debian ttyS0 debian login:
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:45PM |
root@debian:~# cat /proc/cpuinfo processor : 0 model name : Feroceon 88FR131 rev 1 (v5l) Features : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant : 0x2 CPU part : 0x131 CPU revision : 1 Hardware : ZyXEL NSA325 2-Bay Power Media Server Revision : 0000 Serial : 0000000000000000 root@debian:~#
marcint43
Re: NSA 325 V2 Debian Is Possible! February 18, 2014 08:50PM |
NobuoT
Re: NSA 325 V2 Debian Is Possible! February 21, 2014 06:37AM |
Re: NSA 325 V2 Debian Is Possible! February 21, 2014 08:56AM |
Registered: 11 years ago Posts: 232 |
marcint43
Re: NSA 325 V2 Debian Is Possible! February 27, 2014 05:57PM |
Marvell>> setenv bootcmd \'run bootcmd_stock\' Marvell>> printenv bootcmd bootcmd='run bootcmd_stock' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> reset
[BlueDBG] reseting SoC Pex[1] 4 ... [BlueDBG] reseting SoC Pex[1] 5 ... [BlueDBG] reseting SoC Pex[1] 6 ... [BlueDBG] reseting SoC Pex[1] 7 ... [BlueDBG] reseting SoC Pex[1] 8 ... [BlueDBG] reseting SoC Pex[1] 9 ... [BlueDBG] reseting SoC Pex[1] 10 ... PEX 1: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x4640000, size 0xa00000 Reading data from 0x503f800 -- 100% complete. 10485760 bytes read: OK ## Booting image at 02000000 ... Image Name: Linux-2.6.31.8 Created: 2013-08-22 9:04:41 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5754856 Bytes = 5.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux..................................................................................................................................................................................
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
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),0x2FC0000t bootdelay=2 arcNumber=4495 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),0x2F C0000(rootfs2) root=/dev/nfs rw init=/init 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),0x2F C0000(rootfs2) root=LABEL=rootfs loglevel=8 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 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 bootcmd='run bootcmd_stock' mainlineLinux=yes (...)
Marvell>> setenv bootcmd 'nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000' Marvell>> boot NAND read: device 0 offset 0x4640000, size 0xa00000
Re: NSA 325 V2 Debian Is Possible! February 27, 2014 06:02PM |
Admin Registered: 13 years ago Posts: 18,555 |