Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 11:36AM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 11:40AM |
Registered: 12 years ago Posts: 115 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 12:20PM |
Registered: 12 years ago Posts: 115 |
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10.goflexnet.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [++++++..........+.....................................................] 1 % [.......................+..............................................] 3 % [......................................................................] 4 % [.........................+............................................] 6 % [.+xmodem: Bad message
Image i dumped: 1081344 goflex net image is: 524288
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 12:29PM |
Registered: 12 years ago Posts: 2 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 01:28PM |
Registered: 11 years ago Posts: 44 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 01:31PM |
Registered: 12 years ago Posts: 115 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 01:36PM |
Registered: 11 years ago Posts: 44 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 16, 2013 01:41PM |
Registered: 12 years ago Posts: 115 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) December 17, 2013 01:22AM |
Registered: 11 years ago Posts: 44 |
Re: Linux Kernel 3.10.4 Kirkwood package and rootfs (Non Flattened Device Tree) December 17, 2013 01:52AM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 18, 2013 12:02AM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 18, 2013 12:04PM |
Registered: 12 years ago Posts: 232 |
Tom62
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 19, 2013 02:20PM |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 19, 2013 06:36PM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 19, 2013 07:04PM |
Registered: 12 years ago Posts: 115 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 19, 2013 07:18PM |
Registered: 14 years ago Posts: 38 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 01:23AM |
Admin Registered: 14 years ago Posts: 19,314 |
Tom62
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 05:14AM |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 06:42AM |
Registered: 14 years ago Posts: 38 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 09:11PM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 10:25PM |
Registered: 14 years ago Posts: 38 |
root@debian:/test# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.NAND-NSA320-IDEfixedv4-scripted.kwb -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] . . 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2011.12 (May 03 2012 - 17:04:23) ZyXEL NSA320 2-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 No link on egiga0 ping failed; host 192.168.11.149 is not alive Hit any key to stop autoboot: 0
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.nandpogoV4-MMC-mtdparts-noSATA.kwb -p Sending boot message. Please reboot the target.../
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 20, 2013 10:55PM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 21, 2013 02:27AM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 21, 2013 08:00PM |
Registered: 11 years ago Posts: 7 |
0x000000000000-0x000000100000 : "u-boot" 0x000000100000-0x000010000000 : "data"
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000100000-0x000010000000 : "mtd=1" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=1" UBI: MTD device size: 255 MiB UBI: number of good PEBs: 2040 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 20 UBI: total number of reserved PEBs: 2020 UBI: number of PEBs reserved for bad PEB handling: 20 UBI: max/mean erase counter: 1/0 UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: mounted read-only UBIFS: file system size: 255854592 bytes (249858 KiB, 244 MiB, 1983 LEBs) UBIFS: journal size: 12773376 bytes (12474 KiB, 12 MiB, 99 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: LZO UBIFS: reserved for root: 5182151 bytes (5060 KiB) Loading file '/boot/uImage' to addr 0x00800000 with size 2319128 (0x00236318)... Done Loading file '/boot/uInitrd' to addr 0x01100000 with size 6544748 (0x0063dd6c)... Done ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.12.0-kirkwood-tld-3 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2319064 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.12.0-kirkwood-tld-3 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6544684 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK 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.12.0-kirkwood-tld-3 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #3 PREEMPT Wed Nov 27 16:1 0:53 PST 2013 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Seagate FreeAgent DockStar [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs mtdparts=orion_nand:1M(u-boot),- (data) init=/sbin/init-ro … [ 10.381462] UBI: attaching mtd1 to ubi0 [ 10.845093] UBI: scanning is finished [ 10.861853] UBI: attached mtd1 (name "data", size 255 MiB) to ubi0 [ 10.868070] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 10.874935] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 10.881593] UBI: VID header offset: 512 (aligned 512), data offset: 2048 [ 10.888340] UBI: good PEBs: 2040, bad PEBs: 0, corrupted PEBs: 0 [ 10.894368] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 10.901553] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 262812279 [ 10.910567] UBI: available PEBs: 0, total reserved PEBs: 2040, PEBs reserved for bad PEB handling: 40 [ 10.919844] UBI: background thread "ubi_bgt0d" started, PID 34 [ 10.925713] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 10.932948] Freeing unused kernel memory: 204K (c05d5000 - c0608000) Loading, please wait... [ 11.008976] udevd[53]: starting version 175 [ 11.084892] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 11.167773] SCSI subsystem initialized [ 11.179580] libphy: PHY orion-mdio-mii:00 not found [ 11.184507] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral [ 11.231616] usb-storage 1-1.4:1.0: USB Mass Storage device detected [ 11.273766] libphy: orion_mdio_bus: probed [ 11.321926] scsi0 : usb-storage 1-1.4:1.0 [ 11.326258] usbcore: registered new interface driver usb-storage Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 11.850580] UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode [ 11.857495] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.878261] UBIFS: FS size: 255854592 bytes (244 MiB, 1983 LEBs), journal size 12773376 bytes (12 MiB, 99 LEBs) [ 11.898256] UBIFS: reserved for root: 4952683 bytes (4836 KiB) [ 11.904115] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9A258283-BCB0-4549-B1F3-8999D15CA686, small LPT model Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. Target filesystem doesn't have requested /sbin/init-ro. BusyBox v1.20.2 (Debian 1:1.20.0-7) multi-call binary. Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS] Free initramfs and switch to another root fs: chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /, execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint. -c DEV Reopen stdio to DEV after switch [ 12.078364] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 12.078364] [ 12.087549] CPU: 0 PID: 1 Comm: busybox Not tainted 3.12.0-kirkwood-tld-3 #3 [ 12.094655] [<c0014068>] (unwind_backtrace+0x0/0xe0) from [<c0010c78>] (show_stack+0x10/0x14) [ 12.103228] [<c0010c78>] (show_stack+0x10/0x14) from [<c0422130>] (panic+0x80/0x1e4) [ 12.111013] [<c0422130>] (panic+0x80/0x1e4) from [<c001f030>] (do_exit+0x530/0x97c) [ 12.118709] [<c001f030>] (do_exit+0x530/0x97c) from [<c001f5e4>] (do_group_exit+0xb0/0xdc) [ 12.127018] [<c001f5e4>] (do_group_exit+0xb0/0xdc) from [<c001f620>] (__wake_up_parent+0x0/0x18)fstab:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/root / ubifs 0 1 tmpfs /tmp tmpfs defaults 0 0
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 03:12AM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 05:08AM |
Registered: 11 years ago Posts: 7 |
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 u-boot>> printenv arcNumber=2998 baudrate=115200 bootcmd=run bootcmd_ubi; run bootcmd_usb; reset bootcmd_ubi=run set_bootargs_ubi; ubi part data; ubifsmount rootfs; ubifsload 0x800000 /boot/uImage; ubifsload 0x1100000 /boot/uInitrd; bootm 0x800000 0x1100000 bootcmd_usb=run usb_init; run usb_set_bootargs; run usb_boot bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:1A:C1:6B force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtddevname=u-boot mtddevnum=0 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),-(data) partition=nand0,0 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts init=/sbin/init-ro stderr=serial stdin=serial stdout=serial ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage;; then bootm 0x800000; fi ubifs_mtd=1 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=usb start usb_root=/dev/sda1 ro usb_rootdelay=10 usb_rootfstype=ext2 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/sbin/init-ro Environment size: 2571/131068 bytes
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 05:43AM |
Registered: 11 years ago Posts: 7 |
set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts init=/sbin/init-roto
set_bootargs_ubi=setenv bootargs console=$console ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs $mtdparts
Tom62
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 08:11AM |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 03:24PM |
Admin Registered: 14 years ago Posts: 19,314 |
Re: Linux Kernel 3.12.0 Kirkwood package and rootfs (Non Flattened Device Tree) December 22, 2013 04:54PM |
Admin Registered: 14 years ago Posts: 19,314 |