jmandawg
Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 11:14AM |
U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700) OXNAS OX820 DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: dwmac.40400000 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Reset IDE: SATA PHY not ready for device 0 ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 104857600 00062524-01 83 2 104859648 -1469549776 00062524-02 83 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** no IDE devices available running scan_disk ... Scan device usb device usb 0:1 ** File not found /boot/uImage ** 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: SATA PHY not ready for device 0 ide_preinit failed device ide 0:1 ** Bad device size - ide 0 ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** loading uImage ... ** File not found /boot/uImage ** loading uInitrd ... ** File not found /boot/uInitrd ** loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... ** File not found /boot/dts/ox820-pogoplug-pro.dtb ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ...
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 12:45PM |
Admin Registered: 13 years ago Posts: 18,998 |
printenv bootplease post the entire log here.
jmandawg
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 04:12PM |
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=5 bootdev=usb device=0:1 devices=usb ide disks=0 1 2 3 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=dwmac.40400000 ethaddr=00:25:31:01:EF:B3 if_netconsole=ping $serverip ipaddr=192.168.0.222 load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage mainlineLinux=yes mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60510000 $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_custom_params=zswap.enabled=1 usb_ready_retry=15
jmandawg
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 04:15PM |
OX820> boot starting 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 Reset IDE: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) no USB devices available Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 104857600 00062524-01 83 2 104859648 -1469549776 00062524-02 83 loading envs from ide 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: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) device ide 0:1 1 bytes read in 744 ms (0 Bytes/s) Found bootable drive on ide 0 loading uImage ... 4621824 bytes read in 2393 ms (1.8 MiB/s) loading uInitrd ... 4594376 bytes read in 2286 ms (1.9 MiB/s) loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... 7067 bytes read in 770 ms (8.8 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-4.4.54-oxnas-tld-1 Created: 2017-08-01 4:45:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4621760 Bytes = 4.4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-4.4.54-oxnas-tld-1 Created: 2017-08-01 7:51:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4594312 Bytes = 4.4 MiB Load Address: 60000000 Entry Point: 60000000
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 08:19PM |
Admin Registered: 13 years ago Posts: 18,998 |
> OX820> boot > starting 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 > > Reset IDE: Bus 0: OK > Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U > Ser#: 83L5PM3IT > Type: Hard Disk > Supports 48-bit addressing > Capacity: 1430799.3 MB = 1397.2 GB > (2930277168 x 512) > > no USB devices available > > Partition Map for IDE device 0 -- Partition > Type: DOS > > Part Start Sector Num Sectors UUID > Type > 1 2048 104857600 > 00062524-01 83 > 2 104859648 -1469549776 > 00062524-02 83 > loading envs from ide 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: Bus 0: OK > Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U > Ser#: 83L5PM3IT > Type: Hard Disk > Supports 48-bit addressing > Capacity: 1430799.3 MB = 1397.2 GB > (2930277168 x 512) > device ide 0:1 > 1 bytes read in 744 ms (0 Bytes/s) > Found bootable drive on ide 0 > loading uImage ... > 4621824 bytes read in 2393 ms (1.8 MiB/s) > loading uInitrd ... > 4594376 bytes read in 2286 ms (1.9 MiB/s) > loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... > 7067 bytes read in 770 ms (8.8 KiB/s) > ## Booting kernel from Legacy Image at 60500000 > ... > Image Name: Linux-4.4.54-oxnas-tld-1 > Created: 2017-08-01 4:45:36 UTC > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 4621760 Bytes = 4.4 MiB > Load Address: 60008000 > Entry Point: 60008000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at > 60e00000 ... > Image Name: initramfs-4.4.54-oxnas-tld-1 > Created: 2017-08-01 7:51:04 UTC > Image Type: ARM Linux RAMDisk Image (gzip > compressed) > Data Size: 4594312 Bytes = 4.4 MiB > Load Address: 60000000 > Entry Point: 60000000 > >
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 08:42PM |
Registered: 6 years ago Posts: 11 |
U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700) OXNAS OX820 DRAM: 128 MiB NAND: 128 MiB In: serial Out: serial Err: serial Net: dwmac.40400000 Hit any key to stop autoboot: 0 starting 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 Reset IDE: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) no USB devices available Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 104857600 00062524-01 83 2 104859648 -1469549776 00062524-02 83 loading envs from ide 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: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) device ide 0:1 ** File not found /boot/uImage ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/ox820-pogoplug-pro.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ...
/mnt# tune2fs -l /dev/sdf1 tune2fs 1.43.4 (31-Jan-2017) Filesystem volume name: rootfs Last mounted on: /media/jmoon/rootfs Filesystem UUID: 4883ba4e-d847-425d-b83d-a2585bdf7d4c Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum Filesystem flags: signed_directory_hash Default mount options: user_xattr acl Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 3276800 Block count: 13107200 Reserved block count: 655360 Free blocks: 12361116 Free inodes: 3254442 First block: 0 Block size: 4096 Fragment size: 4096 Group descriptor size: 64 Reserved GDT blocks: 1024 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 8192 Inode blocks per group: 512 Flex block group size: 16 Filesystem created: Mon Feb 5 21:31:18 2018 Last mount time: Mon Feb 5 21:39:22 2018 Last write time: Mon Feb 5 21:40:17 2018 Mount count: 2 Maximum mount count: -1 Last checked: Mon Feb 5 21:31:18 2018 Check interval: 0 (<none>) Lifetime writes: 2548 MB Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 256 Required extra isize: 32 Desired extra isize: 32 Journal inode: 8 Default directory hash: half_md4 Directory Hash Seed: 28433c0e-fe7b-4303-ac2e-bd5e2cb43f7b Journal backup: inode blocks Checksum type: crc32c Checksum: 0xdf7796f9
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 05, 2018 11:56PM |
Admin Registered: 13 years ago Posts: 18,998 |
ide reset ide part ext4ls ide 0:1 /boot
load ide 0:1 0x60500000 /boot/uImage
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 06:51AM |
Registered: 6 years ago Posts: 11 |
OX820> ide reset Reset IDE: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) OX820> ide part Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 104857600 00062524-01 83 Boot 2 104859648 -1469549776 00062524-02 83 OX820> ext4ls ide 0:1 /boot <DIR> 0 . <DIR> 4096 .. OX820> load ide 0:1 0x60500000 /boot/uImage ** File not found /boot/uImage **
root@chromebox:/# mount -v /dev/sdf1 /mnt/tmp mount: /dev/sdf1 mounted on /mnt/tmp. root@chromebox:/# mount | grep sdf1 /dev/sdf1 on /mnt/tmp type ext4 (rw,relatime,data=ordered) root@chromebox:/# ls -al /mnt/tmp/boot/ total 72828 drwxr-xr-x 3 root root 4096 Feb 5 19:46 . drwxr-xr-x 21 root root 4096 Feb 5 21:32 .. -rw-r--r-- 1 root root 111194 Mar 19 2017 config-4.4.54-oxnas-tld-1 -rw-r--r-- 1 root root 111264 Oct 5 00:39 config-4.4.89-oxnas-tld-1 drwxr-xr-x 2 root root 4096 Dec 11 2016 dts -rw-r--r-- 1 root root 4594312 Aug 1 2017 initrd.img-4.4.54-oxnas-tld-1 -rw-r--r-- 1 root root 4587210 Feb 5 19:43 initrd.img-4.4.89-oxnas-tld-1 -rw-r--r-- 1 root root 242511 Oct 6 03:22 linux-4.4.89-oxnas-tld-1.patch -rw-r--r-- 1 root root 51200 Oct 5 03:23 linux-dtb-4.4.89-oxnas-tld-1.tar -rw-r--r-- 1 root root 7378702 Mar 19 2017 linux-headers-4.4.54-oxnas-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 7515514 Oct 5 03:12 linux-headers-4.4.89-oxnas-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 11293860 Oct 5 02:58 linux-image-4.4.89-oxnas-tld-1_1.0_armel.deb -rw------- 1 root root 1712926 Mar 19 2017 System.map-4.4.54-oxnas-tld-1 -rw------- 1 root root 1571360 Oct 5 02:55 System.map-4.4.89-oxnas-tld-1 -rw-r--r-- 1 root root 4100416 Feb 5 19:45 uImage -rw-r--r-- 1 root root 4621824 Aug 1 2017 uImage.bak -rw-r--r-- 1 root root 4587274 Feb 5 19:46 uInitrd -rw-r--r-- 1 root root 4594376 Aug 1 2017 uInitrd.bak -rw------- 1 root root 4621760 Mar 19 2017 vmlinuz-4.4.54-oxnas-tld-1 -rw------- 1 root root 4100352 Oct 5 02:55 vmlinuz-4.4.89-oxnas-tld-1 -rwxr-xr-x 1 root root 4621760 Mar 19 2017 zImage-4.4.54-oxnas-tld-1 -rwxr-xr-x 1 root root 4100352 Oct 5 01:22 zImage-4.4.89-oxnas-tld-1
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 07:10AM |
Admin Registered: 13 years ago Posts: 18,998 |
ps -deaf | grep -i ext4
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 07:35AM |
Registered: 6 years ago Posts: 11 |
OX820> ide reset Reset IDE: Bus 0: OK Device 0: Model: TOSHIBA MQ01ABC150 Firm: AQ001U Ser#: 83L5PM3IT Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) OX820> ide part Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 104857600 00062524-01 83 Boot 2 104859648 -1469549776 00062524-02 83 OX820> ext4ls ide 0:1 /boot OX820> load ide 0:1 0x60500000 /boot/uImage ** File not found /boot/uImage **
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 08:07AM |
Registered: 6 years ago Posts: 11 |
OX820> ext4ls ide 0:1 /bin <DIR> 0 . <DIR> 4096 .. OX820> ext4ls ide 0:1 / <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 0 lib <DIR> 0 opt <DIR> 0 run <DIR> 0 proc <DIR> 0 sbin <DIR> 0 usr <DIR> 4096 etc <DIR> 4096 bin <DIR> 0 sys <DIR> 4096 root <DIR> 4096 media 1073741824 swapfile <DIR> 0 srv <DIR> 0 dev <DIR> 0 tmp <DIR> 0 boot <DIR> 0 var <DIR> 0 home <DIR> 0 mnt OX820> ext4ls ide 0:1 /boot OX820> ext4ls ide 0:1 /opt OX820> ext4ls ide 0:1 /sbin OX820> ext4ls ide 0:1 /lib OX820>
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 09:39AM |
Registered: 6 years ago Posts: 11 |
OX820> load ide 0:1 0x60500000 /uImage 4100416 bytes read in 1855 ms (2.1 MiB/s) OX820> load ide 0:1 0x60500000 /boot/uImage ** File not found /boot/uImage **
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 02:11PM |
Admin Registered: 13 years ago Posts: 18,998 |
mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 /dev/sdfx
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 04:42PM |
Registered: 6 years ago Posts: 11 |
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 06, 2018 11:48PM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 08, 2018 04:32PM |
Registered: 6 years ago Posts: 11 |
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 08, 2018 06:16PM |
Admin Registered: 13 years ago Posts: 18,998 |
Re: Boot with Ext4 - U-Boot for Pogoplug V3 (OXNAS OX820) February 18, 2018 05:37PM |
Admin Registered: 13 years ago Posts: 18,998 |