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:
I copied stock zImage and dtb to rootfs made by myself,and device boot successfully.
I've tried Synolgy RS816 USB Method to boot my device but the stock uboot dont recoginze my usb storage.
I just know that there is a 'busybox' in SPI Flash.I can write emmc and mount usb storage in that system.
Need help!
Thx,
JayX
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=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=ext4load mmc 0:1 0x2800000 boot/armada-38x.dtb;ext4load mmc 0:1 0x2000000 boot/zImage;setenv bootargs $console root=/dev/mmcblk0p1 ro;bootz 0x2000000 - 0x2800000; bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; bootdelay=0 cacheShare=no console=console=ttyS0,115200 device_partition=0:1 disaMvPnp=no eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=00:50:43:35:03:1d eth1mtu=1500 eth2addr=00:50:43:35:a1:1d eth2mtu=1500 eth3addr=00:50:43:03:a1:35 eth3mtu=1500 ethact=egiga1 ethaddr=00:50:43:a1:03:1d ethmtu=1500 ethprime=egiga1 fdt_addr=2040000 fdt_skip_update=yes fdtaddr=0x1000000 fdtfile=armada-38x.dtb filesize=0x44d070 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.1.200 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 loadaddr=0x02000000 loads_echo=0 mtdids=spi0=spi_flash mtdparts=mtdparts=spi_flash:4m(boot),-(spi-rootfs) mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500 mv_pon_addr=00:50:43:1d:a1:35 netbsd_en=no netmask=255.255.255.0 netretry=no pcieTune=no pexMode=RC pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr serverip=192.168.1.242 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=2 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 3018/65532 bytesHere is the boot progress:
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01 (Aug 18 2015 - 14:30:38) Marvell version: 2015_T1.0
Board: A38x-Customer-Board-0
SoC: MV88F6820 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1332 [MHz]
L2 @ 666 [MHz]
TClock @ 250 [MHz]
DDR @ 666 [MHz]
DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 1 GiB
Map: Code: 0x3fedc000:0x3ff980d0
BSS: 0x3ffef8d0
Stack: 0x3f9cbf20
Heap: 0x3f9cc000:0x3fedc000
U-Boot Environment: 0x00100000:0x00110000 (SPI)
MMC: mv_sdh: 0
SF: Detected MX25L6405D with page size 64 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Blink Reg 0x0
4657776 bytes read in 146 ms (30.4 MiB/s)
Enter Normal mode
qwdu added MV_USB_ID: 0x6820
USB2.0 0: Host Mode
qwdu added MV_USB_ID: 0x6820
USB3.0 1: Host Mode
qwdu added MV_USB_ID: 0x6820
USB3.0 0: Host Mode
Board configuration detected:
Error: PHY Address of Port 0 (RGMII) is invalid (-1).
Port1: phyAddr=0x0, qwdu added Marvell PHY id0 1140 id1 7949 id4 1e1
Port1: phyAddr=0x0, Marvell PHY id1 141 id2 dd1,qwdu added deviceid:1d
Port2: phyAddr=0x1, qwdu added Marvell PHY id0 1140 id1 7949 id4 1e1
Port2: phyAddr=0x1, Marvell PHY id1 141 id2 dd1,qwdu added deviceid:1d
Net: Error: PHY Address of Port 0 (RGMII) is invalid (-1).
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga1 | SGMII | 0x00 |
| egiga2 | SGMII | 0x01 |
Error: PHY Address of Port 0 (RGMII) is invalid (-1).
egiga1 [PRIME]
Warning: egiga1 MAC addresses don't match:
Address in SROM is 00:50:43:a4:e6:fb
Address in environment is 00:50:43:3a:e6:fb
, egiga2
Warning: egiga2 MAC addresses don't match:
Address in SROM is 00:50:43:a4:3a:fb
Address in environment is 00:50:43:a4:e6:fb
Hit any key to stop autoboot: 0
16311 bytes read in 6 ms (2.6 MiB/s)
4657776 bytes read in 145 ms (30.6 MiB/s)
## Flattened Device Tree blob at 02800000
Booting using the fdt blob at 0x02800000
Loading Device Tree to 00ff9000, end 00ffffb6 ... OK
Skipping Device Tree update ('fdt_skip_update' = yes)
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] 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
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Marvell Armada 385 Custom0 Development Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @ef6d0000 s18368 r8192 d22592 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 ro
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1028972K/1048576K available (6570K kernel code, 257K rwdata, 1876K rodata, 320K init, 330K bss, 19604K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0847be4 (8447 kB)
[ 0.000000] .init : 0xc0848000 - 0xc0898000 ( 320 kB)
[ 0.000000] .data : 0xc0898000 - 0xc08d87c0 ( 258 kB)
[ 0.000000] .bss : 0xc08d87c0 - 0xc092b2fc ( 331 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000000] Switching to timer-based delay loop, resolution 40ns
[ 0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[ 0.000011] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.000204] Console: colour dummy device 80x30
[ 0.000215] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.000222] pid_max: default: 32768 minimum: 301
[ 0.000275] Security Framework initialized
[ 0.000299] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000304] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000582] Initializing cgroup subsys io
[ 0.000590] Initializing cgroup subsys memory
[ 0.000605] Initializing cgroup subsys devices
[ 0.000613] Initializing cgroup subsys freezer
[ 0.000618] Initializing cgroup subsys net_cls
[ 0.000623] Initializing cgroup subsys perf_event
[ 0.000628] Initializing cgroup subsys net_prio
[ 0.000633] Initializing cgroup subsys pids
[ 0.000644] CPU: Testing write buffer coherency: ok
[ 0.000759] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.000782] Setting up static identity map for 0x8280 - 0x82d8
[ 0.000961] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.001067] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.001587] Booting CPU 1
[ 0.001767] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.001801] Brought up 2 CPUs
[ 0.001808] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[ 0.001811] CPU: All CPU(s) started in SVC mode.
[ 0.002187] devtmpfs: initialized
[ 0.003971] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.004100] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.004110] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.004327] xor: measuring software checksum speed
[ 0.099804] arm4regs : 2100.800 MB/sec
[ 0.199702] 8regs : 1617.200 MB/sec
[ 0.299601] 32regs : 1678.800 MB/sec
[ 0.299605] xor: using function: arm4regs (2100.800 MB/sec)
[ 0.299618] pinctrl core: initialized pinctrl subsystem
[ 0.300097] NET: Registered protocol family 16
[ 0.300673] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.303897] No ATAGs?
[ 0.303914] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.303919] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.499511] raid6: int32x1 gen() 181 MB/s
[ 0.669378] raid6: int32x1 xor() 188 MB/s
[ 0.839220] raid6: int32x2 gen() 283 MB/s
[ 1.008967] raid6: int32x2 xor() 249 MB/s
[ 1.178738] raid6: int32x4 gen() 305 MB/s
[ 1.348649] raid6: int32x4 xor() 280 MB/s
[ 1.518437] raid6: int32x8 gen() 353 MB/s
[ 1.688330] raid6: int32x8 xor() 259 MB/s
[ 1.688334] raid6: using algorithm int32x8 gen() 353 MB/s
[ 1.688337] raid6: .... xor() 259 MB/s, rmw enabled
[ 1.688340] raid6: using intx1 recovery algorithm
[ 1.688678] SCSI subsystem initialized
[ 1.688855] usbcore: registered new interface driver usbfs
[ 1.688889] usbcore: registered new interface driver hub
[ 1.688918] usbcore: registered new device driver usb
[ 1.688956] pps_core: LinuxPPS API ver. 1 registered
[ 1.688960] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.688976] PTP clock support registered
[ 1.689579] clocksource: Switched to clocksource armada_370_xp_clocksource
[ 1.694422] NET: Registered protocol family 2
[ 1.694710] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.694755] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.694827] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.694865] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.694885] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.694983] NET: Registered protocol family 1
[ 1.695185] RPC: Registered named UNIX socket transport module.
[ 1.695190] RPC: Registered udp transport module.
[ 1.695193] RPC: Registered tcp transport module.
[ 1.695196] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.695412] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 1.696365] VFS: Disk quotas dquot_6.6.0
[ 1.696400] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.696578] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.696690] NFS: Registering the id_resolver key type
[ 1.696707] Key type id_resolver registered
[ 1.696710] Key type id_legacy registered
[ 1.696721] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.696730] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 1.696790] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[ 1.696887] fuse init (API version 7.23)
[ 1.697530] async_tx: api initialized (async)
[ 1.697567] bounce: pool size: 64 pages
[ 1.697595] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.697653] io scheduler noop registered
[ 1.697660] io scheduler deadline registered
[ 1.697675] io scheduler cfq registered (default)
[ 1.698337] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 1.698831] irq: Cannot allocate irq_descs @ IRQ43, assuming pre-allocated
[ 1.699003] irq: Cannot allocate irq_descs @ IRQ75, assuming pre-allocated
[ 1.699076] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 1.700499] libphy: Fixed MDIO Bus: probed
[ 1.700510] tun: Universal TUN/TAP device driver, 1.6
[ 1.700513] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.700622] libphy: mdio_driver_register: mv88e6xxx
[ 1.700799] libphy: orion_mdio_bus: probed
[ 1.702779] mvneta f1030000.ethernet eth0: Using random mac address ae:24:e6:7e:9c:17
[ 1.782241] mvneta f1034000.ethernet eth1: Using random mac address aa:fa:a1:39:0b:23
[ 1.861298] mv_xor f1060800.xor: Marvell shared XOR driver
[ 1.899847] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[ 1.900661] mv_xor f1060900.xor: Marvell shared XOR driver
[ 1.939848] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[ 1.968295] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.969192] console [ttyS0] disabled
[ 1.989271] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 15625000) is a 16550A
[ 2.815282] console [ttyS0] enabled
[ 2.819624] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 2.828696] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 2.838157] scsi host0: ahci-mvebu
[ 2.841806] scsi host1: ahci-mvebu
[ 2.845348] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 39
[ 2.853297] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 39
[ 2.861881] spi spi0.0: setup: ignoring unsupported mode bits a00
[ 2.868167] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 2.873092] 6 ofpart partitions found on MTD device spi0.0
[ 2.878589] Creating 6 MTD partitions on "spi0.0":
[ 2.883402] 0x000000000000-0x000000100000 : "U-Boot"
[ 2.888933] 0x000000100000-0x000000110000 : "params"
[ 2.894406] 0x000000110000-0x000000120000 : "dts"
[ 2.899605] 0x000000120000-0x000000130000 : "MacAddr"
[ 2.905137] 0x000000130000-0x000000420000 : "kernel"
[ 2.910628] 0x000000420000-0x0000007a0000 : "rootfs"
[ 2.916227] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.922789] ehci-orion: EHCI orion driver
[ 2.926907] orion-ehci f1058000.usb: EHCI Host Controller
[ 2.932340] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[ 2.939982] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[ 2.959534] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[ 2.965841] hub 1-0:1.0: USB hub found
[ 2.969636] hub 1-0:1.0: 1 port detected
[ 2.973776] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.979990] ohci-platform: OHCI generic platform driver
[ 2.985440] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 2.990780] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[ 2.998352] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[ 3.006921] xhci-hcd f10f8000.usb3: irq 42, io mem 0xf10f8000
[ 3.013068] hub 2-0:1.0: USB hub found
[ 3.016842] hub 2-0:1.0: 1 port detected
[ 3.020943] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 3.026272] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[ 3.033838] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.042291] hub 3-0:1.0: USB hub found
[ 3.046063] hub 3-0:1.0: 1 port detected
[ 3.050236] usbcore: registered new interface driver usblp
[ 3.055790] usbcore: registered new interface driver usb-storage
[ 3.061882] usbcore: registered new interface driver usbserial
[ 3.067746] usbcore: registered new interface driver usbserial_generic
[ 3.074315] usbserial: USB Serial support registered for generic
[ 3.080368] usbcore: registered new interface driver usb_serial_simple
[ 3.086926] usbserial: USB Serial support registered for carelink
[ 3.093061] usbserial: USB Serial support registered for zio
[ 3.098747] usbserial: USB Serial support registered for funsoft
[ 3.104788] usbserial: USB Serial support registered for flashloader
[ 3.111177] usbserial: USB Serial support registered for google
[ 3.117124] usbserial: USB Serial support registered for vivopay
[ 3.123166] usbserial: USB Serial support registered for moto_modem
[ 3.129462] usbserial: USB Serial support registered for novatel_gps
[ 3.135852] usbserial: USB Serial support registered for hp4x
[ 3.141633] usbserial: USB Serial support registered for suunto
[ 3.147581] usbserial: USB Serial support registered for siemens_mpi
[ 3.164207] armada_thermal f10e4078.thermal: Overheat threshold between 92..107
[ 3.171998] orion_wdt: Initial timeout 171 sec
[ 3.176524] md: linear personality registered for level -1
[ 3.182045] md: raid0 personality registered for level 0
[ 3.187370] md: raid1 personality registered for level 1
[ 3.192706] md: raid10 personality registered for level 10
[ 3.198293] md: raid6 personality registered for level 6
[ 3.199536] ata2: SATA link down (SStatus 0 SControl 300)
[ 3.199559] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.214453] md: raid5 personality registered for level 5
[ 3.219779] md: raid4 personality registered for level 4
[ 3.225216] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 3.233812] sdhci: Secure Digital Host Controller Interface driver
[ 3.240013] sdhci: Copyright(c) Pierre Ossman
[ 3.244606] sdhci-pxav3 f10d8000.sdhci: No vmmc regulator found
[ 3.250547] sdhci-pxav3 f10d8000.sdhci: No vqmmc regulator found
[ 3.299518] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[ 3.306966] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.312982] usbcore: registered new interface driver usbhid
[ 3.318566] usbhid: USB HID core driver
[ 3.322580] Netfilter messages via NETLINK v0.30.
[ 3.327306] nf_conntrack version 0.5.0 (16077 buckets, 64308 max)
[ 3.333546] ctnetlink v0.93: registering with nfnetlink.
[ 3.339132] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.344557] arp_tables: (C) 2002 David S. Miller
[ 3.349262] NET: Registered protocol family 10
[ 3.354213] sit: IPv6 over IPv4 tunneling driver
[ 3.359171] NET: Registered protocol family 17
[ 3.363659] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.376314] Bridge firewalling registered
[ 3.380450] 8021q: 802.1Q VLAN Support v1.8
[ 3.384663] Key type dns_resolver registered
[ 3.390390] md: Waiting for all devices to be available before autodetect
[ 3.397194] md: If you don't use raid, use raid=noautodetect
[ 3.403245] md: Autodetecting RAID arrays.
[ 3.407352] md: Scanned 0 and added 0 devices.
[ 3.411831] md: autorun ...
[ 3.414629] md: ... autorun DONE.
[ 3.417975] Waiting for root device /dev/mmcblk0p1...
[ 3.642033] mmc0: MAN_BKOPS_EN bit is not set
[ 3.648022] mmc0: new DDR MMC card at address 0001
[ 3.653095] mmcblk0: mmc0:0001 004GE0 3.69 GiB
[ 3.657775] mmcblk0boot0: mmc0:0001 004GE0 partition 1 2.00 MiB
[ 3.663844] mmcblk0boot1: mmc0:0001 004GE0 partition 2 2.00 MiB
[ 3.669923] mmcblk0rpmb: mmc0:0001 004GE0 partition 3 512 KiB
[ 3.676463] mmcblk0: p1
[ 3.750092] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[ 3.762749] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.770882] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[ 3.777702] Set_Scm Type oK
[ 3.781109] devtmpfs: mounted
[ 3.784242] Freeing unused kernel memory: 320K (c0848000 - c0898000)
[ 4.009629] systemd[1]: System time before build time, advancing clock.
[ 4.042596] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 4.064236] systemd[1]: Detected architecture arm.
Welcome to Debian GNU/Linux 10 (buster)!
[ 4.090288] systemd[1]: Set hostname to <ubuntu>.
[ 4.289339] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 4.306444] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 4.434938] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 4.447104] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 4.456511] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 4.479590] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 4.488862] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.509587] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 4.519077] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 4.549592] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 4.558948] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 4.589585] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[ 4.601224] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 4.610732] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 4.639756] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 4.679661] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 4.709668] random: systemd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 4.722126] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.749863] random: systemd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 4.768045] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.801150] random: systemd: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 4.849866] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 4.881046] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 4.889504] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 4.920283] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 4.950657] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 4.960011] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 4.968759] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 4.999647] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 5.019579] systemd[1]: Condition check resulted in Create list of required static device nodes for the current kernel being skipped.
[ 5.031866] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 5.089815] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 5.109710] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.139890] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 5.219822] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 5.239690] systemd[1]: Reached target Sockets.
[ OK ] Reached target Sockets.
[ 5.259842] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ 5.289991] systemd[1]: Reached target Local Encrypted Volumes.
[ OK ] Reached target Local Encrypted Volumes.
[ 5.319698] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 5.341214] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Load Kernel Modules.
Starting Apply Kernel Variables...
Mounting FUSE Control File System...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
Starting Flush Journal to Persistent Storage...
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Load/Save Random Seed.
[ 5.760557] systemd-journald[1243]: Received request to flush runtime journal from PID 1
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
Starting Helper to synchronize boot up for ifupdown...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Helper to synchronize boot up for ifupdown.
[ OK ] Found device /dev/ttyS0.
Starting Raise network interfaces...
Starting Update UTMP about System Boot/Shutdown...
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Raise network interfaces.
[ OK ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[ OK ] Reached target Network.
[ OK ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
[DEPEND] Dependency failed for Upda…about System Runlevel Changes.
[ OK ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Basic System.
[ OK ] Started Regular background program processing daemon.
Starting getty on tty2-tty…nd logind are not available...
Starting Permit User Sessions...
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
Starting System Logging Service...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Daily rotation of log files.
[ OK ] Reached target Timers.
[ OK ] Started System Logging Service.
[ OK ] Started Permit User Sessions.
[ OK ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Getty on tty1.
[ OK ] Started Getty on tty2.
[ OK ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[ OK ] Started Getty on tty3.
[ OK ] Started Getty on tty4.
[ OK ] Started Getty on tty5.
[ OK ] Started Getty on tty6.
[ OK ] Started getty on tty2-tty6… and logind are not available.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
I copied stock zImage and dtb to rootfs made by myself,and device boot successfully.
I've tried Synolgy RS816 USB Method to boot my device but the stock uboot dont recoginze my usb storage.
Marvell>> usb start
(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) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
I just know that there is a 'busybox' in SPI Flash.I can write emmc and mount usb storage in that system.
Need help!
Thx,
JayX