Re: Problem booting Pogo v4 January 05, 2017 03:52PM |
Registered: 7 years ago Posts: 16 |
strix@atlas-2:~/kwboot/kwboot-tool$ sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message strix@atlas-2:~/kwboot/kwboot-tool$ sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message strix@atlas-2:~/kwboot/kwboot-tool$ sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.pogo_v4.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Reset IDE: ide_preinit failed MMC rescan: current device # 0 initialized OK no USB devices available no IDE devices available Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 63 31117842 00000000-01 83 loading envs from mmc 0 ... ** File not found /boot/uEnv.txt ** running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: ide_preinit failed device ide 0:1 ** Bad device size - ide 0 ** device ide 1:1 ** Bad device size - ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc MMC rescan: current device # 0 initialized OK device mmc 0:1 1 bytes read in 1121 ms (0 Bytes/s) Found bootable drive on mmc 0 loading uImage ... 3232368 bytes read in 1511 ms (2 MiB/s) loading uInitrd ... 6533698 bytes read in 1888 ms (3.3 MiB/s) loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ... 10266 bytes read in 1823 ms (4.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.8.3-kirkwood-tld-1 Created: 2016-12-15 16:00:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3232304 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.8.3-kirkwood-tld-1 Created: 2016-12-15 16:00:53 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6533634 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 074d3000, end 07b0e202 ... OK Loading Device Tree to 074cd000, end 074d2819 ... OK Using machid 0xf78 from environment Starting kernel ...
Re: Problem booting Pogo v4 January 05, 2017 04:57PM |
Admin Registered: 13 years ago Posts: 18,574 |
cat /proc/mtdExpected output:
dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root"
flash_erase /dev/mtd0 0 4
Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done
nandwrite /dev/mtd0 uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
Re: Problem booting Pogo v4 January 05, 2017 05:24PM |
Registered: 7 years ago Posts: 16 |
Re: Problem booting Pogo v4 January 05, 2017 06:12PM |
Admin Registered: 13 years ago Posts: 18,574 |
cat /proc/cmdline cat /proc/mtd ls -l /proc/device-tree/mbus\@f1000000/nand\@012f/partition\@0/ ls -l /boot/dts/kirkwood-pogoplug_v4.dtb
Re: Problem booting Pogo v4 January 05, 2017 06:38PM |
Admin Registered: 13 years ago Posts: 18,574 |
cd /boot/dts mv kirkwood-pogoplug_v4.dtb kirkwood-pogoplug_v4.dtb.old
wget http://forum.doozan.com/file.php?2,file=1246,filename=kirkwood-pogoplug_v4.dtb
sync
Re: Problem booting Pogo v4 January 05, 2017 08:00PM |
Registered: 7 years ago Posts: 16 |
root@mnemosyne:~# cat /proc/cmdline console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) root@mnemosyne:~# cat /proc/mtd dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root" root@mnemosyne:~# ls -l /proc/device-tree/mbus\@f1000000/nand\@012f/partition\@0/ total 0 -r--r--r-- 1 root root 7 Jan 5 17:38 label -r--r--r-- 1 root root 10 Jan 5 17:38 name -r--r--r-- 1 root root 0 Jan 5 17:38 read-only -r--r--r-- 1 root root 8 Jan 5 17:38 reg root@mnemosyne:~# ls -l /boot/dts/kirkwood-pogoplug_v4.dtb -rw-r--r-- 1 root root 10266 Dec 16 18:47 /boot/dts/kirkwood-pogoplug_v4.dtb
root@mnemosyne:~# cat /proc/mtd dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root" root@mnemosyne:~# flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete root@mnemosyne:~# nandwrite /dev/mtd0 uboot/uboot.2016.05-tld-1.pogo_v4.mtd0.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
Re: Problem booting Pogo v4 January 05, 2017 08:21PM |
Admin Registered: 13 years ago Posts: 18,574 |
> root@mnemosyne:~# cat /proc/cmdline > console=ttyS0,115200 root=LABEL=rootfs > rootdelay=10 > orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(fa > ilsafe),112M(root) > > root@mnemosyne:~# cat /proc/mtd > dev: size erasesize name > mtd0: 00200000 00020000 "u-boot" > mtd1: 00300000 00020000 "uImage" > mtd2: 00300000 00020000 "uImage2" > mtd3: 00800000 00020000 "failsafe" > mtd4: 07000000 00020000 "root" > > root@mnemosyne:~# ls -l > /proc/device-tree/mbus\@f1000000/nand\@012f/partit > ion\@0/ > total 0 > -r--r--r-- 1 root root 7 Jan 5 17:38 label > -r--r--r-- 1 root root 10 Jan 5 17:38 name > -r--r--r-- 1 root root 0 Jan 5 17:38 read-only > -r--r--r-- 1 root root 8 Jan 5 17:38 reg > > root@mnemosyne:~# ls -l > /boot/dts/kirkwood-pogoplug_v4.dtb > -rw-r--r-- 1 root root 10266 Dec 16 18:47 > /boot/dts/kirkwood-pogoplug_v4.dtb > >>
> root@mnemosyne:~# cat /proc/mtd > dev: size erasesize name > mtd0: 00200000 00020000 "u-boot" > mtd1: 00300000 00020000 "uImage" > mtd2: 00300000 00020000 "uImage2" > mtd3: 00800000 00020000 "failsafe" > mtd4: 07000000 00020000 "root" > root@mnemosyne:~# flash_erase /dev/mtd0 0 4 > Erasing 128 Kibyte @ 60000 -- 100 % complete > root@mnemosyne:~# nandwrite /dev/mtd0 > uboot/uboot.2016.05-tld-1.pogo_v4.mtd0.kwb > Writing data to block 0 at offset 0x0 > Writing data to block 1 at offset 0x20000 > Writing data to block 2 at offset 0x40000 > Writing data to block 3 at offset 0x60000 > >>
Re: Problem booting Pogo v4 January 05, 2017 08:32PM |
Registered: 7 years ago Posts: 16 |
Re: Problem booting Pogo v4 January 05, 2017 11:06PM |
Admin Registered: 13 years ago Posts: 18,574 |