Pogo V4 uBoot + Debian install issue March 09, 2023 10:23PM |
Registered: 1 year ago Posts: 96 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: MVEBU_MMC: 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... 2 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: ide_preinit failed Card did not respond to voltage select! mmc_init: -95, time 14 Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 120162304 00000000-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** no IDE devices available Card did not respond to voltage select! mmc_init: -95, time 14 running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 722 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 5435888 bytes read in 1013 ms (5.1 MiB/s) loading uInitrd ... 9671091 bytes read in 966 ms (9.5 MiB/s) loading DTB kirkwood-pogo_v4.dtb ... ** File not found kirkwood-pogo_v4.dtb ** ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.13.6-kirkwood-tld-1 Created: 2021-09-24 0:22:58 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5435824 Bytes = 5.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.13.6-kirkwood-tld-1 Created: 2021-09-24 1:06:32 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9671027 Bytes = 9.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Loading Ramdisk to 071d0000, end 07b09173 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00000f78, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: Pogo V4 uBoot + Debian install issue March 09, 2023 11:06PM |
Admin Registered: 13 years ago Posts: 18,997 |
printenv dtb_file
cd /media/sdb1/boot/dts ls -l kirkwood-pogo_v4.dtb
Re: Pogo V4 uBoot + Debian install issue March 09, 2023 11:20PM |
Registered: 1 year ago Posts: 96 |
Re: Pogo V4 uBoot + Debian install issue March 10, 2023 12:19AM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
Hit any key to stop autoboot: 0
cd /media/sdb1/ ls -l ls -l boot ls -l boot/dts/kirkwood-pogo*.dtbPost this log here.
printenv boot
Re: Pogo V4 uBoot + Debian install issue March 10, 2023 12:23AM |
Registered: 1 year ago Posts: 96 |
Re: Pogo V4 uBoot + Debian install issue March 10, 2023 12:28AM |
Registered: 1 year ago Posts: 96 |
# ls -l boot/dts/kirkwood-pogo*.dtb -rw-r--r-- 1 root root 10114 Aug 1 2021 boot/dts/kirkwood-pogo_e02.dtb -rw-r--r-- 1 root root 9970 Aug 1 2021 boot/dts/kirkwood-pogo_v4.dtb -rw-r--r-- 1 root root 9970 Aug 1 2021 boot/dts/kirkwood-pogoplug_v4.dtb
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: MVEBU_MMC: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 Pogov4> printenv arcNumber=3960 baudrate=115200 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 $load_uimage_addr $loi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=kirkwood-pogo_v4.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide ree 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 s; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc resca; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEni uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtypi usb_ready_retry=15 Environment size: 2897/131068 bytes Pogov4>Since it's now fixed and finds the dtb file, it boots normally. I could show you all of that, but I suspect it's no longer needed.
Re: Pogo V4 uBoot + Debian install issue March 10, 2023 12:32AM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
Pogov4> printenv
> dtb_file=kirkwood-pogo_v4.dtb
Re: Pogo V4 uBoot + Debian install issue March 10, 2023 12:40AM |
Registered: 1 year ago Posts: 96 |