Ok, I see. I have installed openmediavault on the NAS and let it run for almost two days, no issue detected, Ethernet and the two sata ports are working. Only the two disk leds are declared in the DTS so the STATUS, LAN and POWER leds are missing but they may be accessible from the external microcontroller and trigger by the serial port. I did not try yet and did not tried other GPIO. Buby rreignier - Debian
Quoteboudhi I think it best that you go through the Steps in the USB installation instruction: https://forum.doozan.com/read.php?2,76314,91094#msg-91094 Theses instructions only use USB for rootfs and flash kernel to flash, isn't it? Now that I can boot directly from USB, even the kernel, I think I only have to change the uboot env, right?by rreignier - Debian
After some time, I have the following kernel error in the console: [ 1573.614898][ C0] irq 51: nobody cared (try booting with the "irqpoll" option) [ 1573.622370][ C0] CPU: 0 PID: 5066 Comm: localedef Not tainted 5.15.5-mvebu-tld-1 #1.0 [ 1573.630513][ C0] Hardware name: Marvell Armada 370/XP (Device Tree) [ 1573.637084][ C0] [<c01157a8>] (unwind_backtrace) froby rreignier - Debian
Actually, only one of the two USB ports works in uboot. The USB stick is only detected on the port the closer to the Ethernet socket. By slightly modifying the tftp boot variables, I have managed to boot from the USB drive. setenv ipaddr 192.168.1.19 setenv serverip 192.168.1.42 setenv load_initrd_addr 0x3000000 setenv load_image_addr 0x02000000 setenv usb_setup 'usb start'by rreignier - Debian
Hi bodhi Quotebodhi Ok so connect serial console and plug in Ext3 formatted USB. And usb reset usb reset: Marvell>> usb reet USB is stopped. Please issue 'usb start' first. So usb start: Marvell>> usb start (Re)start USB... USB: Active port: 1 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found sby rreignier - Debian
Hi bodhi It took me a while but I have finally finished reading this whole thread. From what I have read, I did not see anyone booting with a kernel image stored on USB. It was only from tftp (as I did already), from flash (which failed from me) or from raw HDD sectors (did not try yet). Do you remember another thread in which it was done?by rreignier - Debian
Indeed! For now, I have focused on making it boot again with stock DSM. After my failed attempt to flash uImage on the SPI flash, the boot was broken. I had the backup of all 5 mtd partitions but the produced image files were too large (4 MB each). For reference, I have used these commands: dd if=/dev/mtd0 of=mtd0.stock.ds213j bs=4096k conv=sync dd if=/dev/mtd1 of=mtd1.stock.ds213j bsby rreignier - Debian
Indeed, no USB3 here but no storage device found with both usbType. I have even tried all from 0 to 4. My USB if format with only 1 EXT3 partition, as explained in the Debian release post.by rreignier - Debian
Thank you bodhi. My u-boot has the ext2ls and ext2load commands. But when starting USB, it does not find storage device. Do I need to format my USB drive in EXT2 instead of EXT3? Marvell>> setenv usb_setup 'setenv usbActive 1; setenv usbType 3; usb start;' Marvell>> run usb_setup (Re)start USB... USB: Active port: 1 Register 10011 NbrPorts 1 USB EHCI 1.by rreignier - Debian
Hi bodhi, Thank you for your work on this! I have a DS213J on which I have followed the USB rootfs tutorial using Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 (28 Sept 2021) I am lucky enough to have a NAS which has a DTS in the mainline tree. Everything works until the last step (5.c). If I skip the saveenv step and 'boot' just after, it works. But with the saveenv, I thby rreignier - Debian