bodhi, JayX Wrote: ------------------------------------------------------- > bodhi, > > > Marvell>> setenv bootargs 'console=ttyS0,115200 > root=LABEL=rootfs rootdelay=10 > earlyprintk=serial' > Marvell>> ext4load mmc 0:1 0x2000000 /boot/uImage > 5234607 bytes read in 166 ms (30.1 MiB/s) > Marvell>> ext4load mmc 0:1 0x3000000by JayX - Debian
bodhi, I have tried the new dtb. Here is the result: Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> ext4load mmc 0:1 0x2000000 /boot/uImage1 5235741 bytes read in 167 ms (29.9 MiB/s) Marvell>> ext4load mmc 0:1 0x3000000 /boot/uInitrd 9649885 bytes read in 298 ms (30.9 MiB/s) Marvell>> bootby JayX - Debian
bodhi, Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> ext4load mmc 0:1 0x2000000 /boot/uImage 5234607 bytes read in 166 ms (30.1 MiB/s) Marvell>> ext4load mmc 0:1 0x3000000 /boot/uInitrd 9649885 bytes read in 298 ms (30.9 MiB/s) Marvell>> bootm 0x2000000 0x3000000 ## Booting kernel from Legaby JayX - Debian
bodhi, ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-5.13.8-mvebu-tld-1 Created: 2022-10-29 23:06:00 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5234055 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 03000000 ... Imageby JayX - Debian
Hi bodhi, JayX Wrote: ------------------------------------------------------- > Hi Bodhi, > Thank you for reply! > I've tried the commands you metioned > above.The results are here: > USB storage attach to 2.0 Port,not found > > Marvell>>usb reset > (Re)start USB... > USB0: Port (usbActive) : 0 Interface (usbType > = 2) : USBby JayX - Debian
bodhi, Marvell>> <INTERRUPT> Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> ext4load mmc 0:1 0x2000000 /boot/uImage 5234607 bytes read in 166 ms (30.1 MiB/s) Marvell>> ext4load mmc 0:1 0x3000000 /boot/uInitrd 9649885 bytes read in 298 ms (30.9 MiB/s) Marvell>> bootm 0x2000000 0x3by JayX - Debian
Hi bodhi, I wrote rootfs into emmc,but it stuck at Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mmcblk0p1 does not exist. Dropping to a shell! Looks like missing MMC driver? JayXby JayX - Debian
bodhi, Quote3. Create uImage with DTB appended. I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box. cd /media/sdb1/boot cp -a zImage-5.13.8-mvebu-tld-1 zImage.fdt cat dts/ubuntu_armada-38x.dtb >> zImage.fdt cp -a uImage uImage.orig mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0xby JayX - Debian
Hi bodhi, IT WORKS! But now it stuck at '[ 2.603627][ T1] Waiting for root device /dev/mmcblk0p1...' Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p1 rw rootfstype=ext4 rootwait earlyprintk=serial' Marvell>> ext4load mmc 0:1 0x2000000 boot/uImage 5202863 bytes read in 165 ms (30.1 MiB/s) Marvell>> bootm 0x2000000 ## Bootingby JayX - Debian
Hi Bodhi, Here is the original dtb file from the stock system. Linux version 4.4.52-armada-17.10.1 (sgshi@admin-node) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #63 SMP Tue Mar 31 12:28:04 CST 2020 JayXby JayX - Debian
Hi Bodhi, I cannot get any information from the box manufacturer.This company is closed.Now I am trying to boot with your new kernel.But it stuck at 'Uncompressing Linux... done, booting the kernel.' I copied uImage and the original dtb file.Here is the boot log: Marvell>> ext4load mmc 0:1 0x2900000 boot/uInitrd;ext4load mmc 0:1 0x2800000 boot/armada-38x.dtb;ext4load mmc 0:1 0by JayX - Debian
Hi Bodhi, Thank you for reply! I've tried the commands you metioned above.The results are here: USB storage attach to 2.0 Port,not found Marvell>>usb reset (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 2) : USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) foundby JayX - Debian
Hi bodhi, I've got a device called "Onespace X5"(Armada 385,1GB RAM,4GB ROM+8M SPI FLASH,1xUSB2.0,1xUSB3.0,2xGbE,2xSATA port). Here is the stock U-boot 'printenv' info: 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_dflt=$consoleby JayX - Debian