I have fixed the errors Unknown command 'usbActive' - try 'help'by i5Js - Debian
root@debian:~# cat /proc/cmdlineby i5Js - Debian
[ 4.105970][ T538] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.by i5Js - Debian
[ 3.390374][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.by i5Js - Debian
[ 1.741990][ T1] raid6: using algorithm int32x1 gen() 498 MB/sby i5Js - Debian
Ok, following our commands and envs before, the box is up, but... Marvell>> setenv usbActive 0by i5Js - Debian
(initramfs) cat /proc/cmdlineby i5Js - Debian
[ 4.250507][ T7] xhci-hcd f10f0000.usb3: xHCI Host Controllerby i5Js - Debian
[ 1.483242][ T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)by i5Js - Debian
but... Marvell>> setenv usbActive 0by i5Js - Debian
I am starting from scratch with a new installation, using all your resources: filesystem, kernel and ramdisk. I have used the Linux Kernel 6.0.7 MVEBU package and Debian armhf rootfs I have prepared a USB key (64Gb) with only one partition as follow: parted --script /dev/sda "mklabel msdos \ mkpart primary 0% 100%" mkfs.ext3 -L rootfs /dev/sda1 Remember, we can not useby i5Js - Debian
Boot log using a custom K6 kernel: Marvell>> setenv usbActive 0 Marvell>> setenv usbType 3 Marvell>> usb start (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Etby i5Js - Debian
Strange, but satisfying :) USB port two can read ext partitions: Marvell>> setenv usbActive 0 Marvell>> setenv usbType 3 Marvell>> usb start (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanninby i5Js - Debian
Hi It seems his is older than mine jul 2017 vs April 2020 I will check his envs Thanksby i5Js - Debian
Checking the thread I know, I guess, what I need to do, but, remember, I can not work with ext2 partitions Marvell>> ext2ls usb 0:2 Silence and stuckby i5Js - Debian
Hi, I don't understand what I need to do. I have tried to boot the uImage and the uRamdisk from USB and, as before, I can't: Marvell>> usb start (Re)start USB... USB0: Port (usbActive) : 1 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scaby i5Js - Debian
Hey Bodhi, I'm back, I have reset the value and the error is gone: Marvell>> setenv mtdparts "mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)" Marvell>> saveenv Saving Environment to NAND... Erasing Nand... Writing to Nand... done Marvell>>by i5Js - Debian
Thanks!! I will next week, I’m in a business trip. :(by i5Js - Debian
root@wdmycloud:~# cat /proc/mtd dev: size erasesize name mtd0: 00500000 00020000 "u-boot" mtd1: 00500000 00020000 "kernel" mtd2: 00500000 00020000 "uRamdisk" mtd3: 0b900000 00020000 "image.cfs" mtd4: 00f00000 00020000 "rescue_fw" mtd5: 01400000 00020000 "config" mtd6: 00a00000 00020000 "reserve1" mtd7: 00a00000by i5Js - Debian
Full boot [ 108.328471][ T1] gpio-keys gpio-keys: failed to shutdown [ 108.334170][ T1] reboot: Restarting system BootROM - 1.73 Booting from NAND flash General initialization - Version: 1.0.0 Detected Device ID 6820 High speed PHY - Version: 2.0 Load WD GrandTeton Serdes Config: board SerDes lanes topology details: | Lane # | Speed | Type | ----------------by i5Js - Debian
Second reboot. Perhaps is expected, but I have seen some errors before booting: Board configuration detected: invalid mtd device 'pxa3xx_nand-0' Error initializing mtdparts! UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19 UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19! ubifsmount - moby i5Js - Debian
first boot Marvell>> boot (Re)start USB... USB0: Port (usbActive) : 1 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Using egiga2 device TFTP from server 192.168.1.147; our IP address iby i5Js - Debian
env after changes Marvell>> usb start (Re)start USB... USB0: Port (usbActive) : 1 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5mby i5Js - Debian
Default env values, just in case Marvell>> printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=root=/dev/ram console=ttyS0,115200 bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefbby i5Js - Debian
I have had to add usb start, otherwise, it didn't detect the USB during the boot, perhaps the USB is not good enough?: Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... [ 5.699552][ T23] scsi 2:0:0:0: Direct-Access GENERIC USB Mass Storage 1.00 PQ: 0 ANSI: 0 CCS [ 5.712502][ T622] sd 2:0:0:0: Attached SCSI removable disk Begin: Ruby i5Js - Debian
Cool! Waiting for themby i5Js - Debian
"yisus craist" at least!! with a VM, first attempt and booooom! worked: root@virtsrv:/home/i5Js# kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 0 % [......................................by i5Js - Debian
Now I am getting pi@raspi:~ $ ~$ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message pi@raspi:~ $ Ok, that is because I changed the rasp2 and I am using another board... the kwboot is different pi@raspi:~ $ ~$ file /usr/bin/kwbootby i5Js - Debian
fuuuuuuck :D pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p kwboot version 2022.07-00607-g36b661dc91 Sending boot message. Please reboot the target...- Sending boot image header (70528 bytes)... 0 % [......................................................................] 12 % [.....................................................by i5Js - Debian