The goal of the document is to illustrate how to build SP7021 Linux image for booting from SPI-NOR flash on SP7021 boards. SP7021 build (make) system supports two types of root file-system for SPI-NOR flash. One is initramfs file-system and other is jffs2 file-system. If you choose initramfs file-system, build system merges root file-system into Linux kernel. The whole kernel (kernel + root file-system) is loaded into and operates in DRAM directly. The advantage of initramfs file-system is that accessing speed is very fast. But since it is stored in DRAM, all changes disappear when power off. If you choose jffs2 file-system, root file-system is compressed and is stored in rootfs partition of SPI-NOR flash. The drawback of jffs2 file-system is that accessing speed is slow. But all changes are kept in SPI-NOR flash when power off.
...
“ISP all: Done” means in-system program processes are done successfully.
Note that in-system-program (ISP) of SP7021 does not support USB hub. The USB flash drive for ISP should be plugged into USB socket of SP7021 board directly.
If you are using Banana Pi BPI-F2P boards, please plug you USB flash drive to the micro USB socket for ISP. It is the only USB socket that is connected to SP7021 directly.
8. Set DIP-SW to “boot from SPI-NOR flash”
...
Refer to layout of partitions of a 16 MiB SPI-NOR flash. There are 6 partitions in SPI-NOR flash. The figures in parenthesis of each partition is the size of the partition. Note that root file-system of Linux is built into kernel.
...
Appendix B. Log of
...
ISP-ing of SPI-NOR
...
flash
...
Code Block |
---|
U-Boot 2019.04-gead4713-dirty (Nov 25 2020 - 10:38:24 +0800)
CONFIG_SYS_CACHELINE_SIZE: 64
Model: SP7021/CA7/Ev
DRAM: 512 MiB
clk@osc0 : 27000000 Hz
clk@0 : 13500000 Hz
clk@A_pll0 : 2000000000 Hz
plla : 135475200 Hz
plle : 50000000 Hz
plle_2p5 : 2500000 Hz
plle_25 : 25000000 Hz
plle_112p5 : 112500000 Hz
pllf : 202500000 Hz
plltv : 148500000 Hz
plltv_a : 148500000 Hz
pllsys : 202500000 Hz
SPI: Manufacturer id = 0x00, Device id = 0x4018
MMC:
In: serial
Out: serial
Err: serial
Reason(s) of reset: REG(116, 22): 0x0002
After cleaning REG(116, 22): 0x0000
arch/arm/mach-pentagram/cpu.c, arch_misc_init: TBD.
Net:
Warning: l2sw@0x9c108000 using MAC address from ROM
eth0: l2sw@0x9c108000
Hit any key to stop autoboot: 0
[scr] bootcmd started
9e809408: 00000011 ....
[scr] romter boot
Image Name: uboot
Image Type: ARM Linux Sunplus Quick Boot Image (uncompressed)
Data Size: 49088 Bytes = 47.9 KiB
Load Address: 00010040
Entry Point: 00010040
Verifying Checksum ... OK
[u-boot] nonos_B address 0x00010000 nonos_size= 49088
SF: Detected W25Q128BV with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x200000, size 0x3c68e8
SF: 3959016 bytes @ 0x200000 Read: OK
## Booting kernel from Legacy Image at 00307fc0 ...
Image Name: Linux-5.4.35-g301db42
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3958880 Bytes = 3.8 MiB
Load Address: 00308000
Entry Point: 00308000
Verifying Checksum ... OK
******OTP Secure Boot is OFF, return success******
## Flattened Device Tree blob at 1f902f38
Booting using the fdt blob at 0x1f902f38
XIP Kernel Image ... OK
Loading Device Tree to 1f8f9000, end 1f900f70 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.35-g301db42 (wellslu@scdiu3) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #18 SMP PREEMPT Wed Nov 25 10:38:58 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: SP7021/CA7/Ev
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] sp_map_io
[ 0.000000] P_REG: [9c000000-9dffffff] -> [f8000000-f9ffffff]
[ 0.000000] C_REG: [9ec00000-9effffff] -> [fa000000-fa3fffff]
[ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129540
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mtdblock6 rw rootfstype=jffs2 user_debug=255 rootwait mtdparts=9c000b00.spinor:64k@0(iboot)ro,64k(xboot)ro,128k(dtb),768k(uboot),1m(nonos),0x3d0000(kernel),-(rootfs)
[ 0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] printk: log_buf_len min size: 16384 bytes
[ 0.000000] printk: log_buf_len: 32768 bytes
[ 0.000000] printk: early log buf free: 14580(88%)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 508128K/522240K available (4096K kernel code, 817K rwdata, 2040K rodata, 1024K init, 222K bss, 14112K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 205
[ 0.000000] random: get_random_bytes called from start_kernel+0x1c3/0x308 with crng_init=0
[ 0.000000] @@@ Sunplus clock init
[ 0.000000] plla 135475200
[ 0.000000] plle 50000000
[ 0.000000] plle_2p5 2500000
[ 0.000000] plle_25 25000000
[ 0.000000] plle_112p5 112500000
[ 0.000000] pllf 202500000
[ 0.000000] plltv 148500000
[ 0.000000] pllsys 202500000
[ 0.000000] arch_timer: cp15 timer(s) running at 27.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[ 0.000009] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[ 0.008133] Switching to timer-based delay loop, resolution 37ns
[ 0.014952] Console: colour dummy device 80x30
[ 0.019495] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=270000)
[ 0.030022] pid_max: default: 32768 minimum: 301
[ 0.034980] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.042420] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.051252] CPU: Testing write buffer coherency: ok
[ 0.056861] CPU0: update cpu_capacity 1024
[ 0.061014] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.126983] Setting up static identity map for 0x400000 - 0x400054
[ 0.133408] rcu: Hierarchical SRCU implementation.
[ 0.178391] smp: Bringing up secondary CPUs ...
[ 0.238840] CPU1: update cpu_capacity 1024
[ 0.238849] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.318786] CPU2: update cpu_capacity 1024
[ 0.318795] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.398870] CPU3: update cpu_capacity 1024
[ 0.398878] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.398993] smp: Brought up 1 node, 4 CPUs
[ 0.432828] SMP: Total of 4 processors activated (216.00 BogoMIPS).
[ 0.439193] CPU: All CPU(s) started in SVC mode.
[ 0.444645] devtmpfs: initialized
[ 0.454283] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.463044] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.473073] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.480509] pinctrl core: initialized pinctrl subsystem
[ 0.486627] NET: Registered protocol family 16
[ 0.491857] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.500635] sp_init
[ 0.502767] av1_stc: 0x0004e117
[ 0.505949] P-chip: sys = 202MHz, cpio_ctrl = (16bit, DDR)
[ 0.511551] C-chip: core = 931MHz, sys = 465MHz, pllio = 1998MHz, cpio_bus = 399MHz
[ 0.519316] apply partial clken to save power
[ 0.524166] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.532286] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.538249] 1: ext0-mask=0xf
[ 0.541172] 2: ext1-mask=0xe
[ 0.561135] sppctl pctl: funcs: 156 unq_grps: 140
[ 0.566190] SP7021 PinCtl by Sunplus/Tibbo Tech.(C) 2020
[ 0.600099] SCSI subsystem initialized
[ 0.609950] usbcore: registered new interface driver usbfs
[ 0.615590] usbcore: registered new interface driver hub
[ 0.621144] usbcore: registered new device driver usb
[ 0.626492] videodev: Linux video capture interface: v2.00
[ 0.632999] sunplus,sp7021-ocotp 9c00af00.otp: by Sunplus (C) 2020
[ 0.641060] clocksource: Switched to clocksource arch_sys_counter
[ 0.660875] register sunplus_usb_phy0_driver
[ 0.665778] uphy0_irq:36
[ 0.674833] register sunplus_usb_phy1_driver
[ 0.679359] uphy1_irq:37
[ 0.688364] register sunplus_usb_otg0_driver
[ 0.693463] register sunplus_usb_otg1_driver
[ 0.711908] HDMITX installed
[ 0.714907] HDMI plug in
[ 0.716109] NET: Registered protocol family 2
[ 0.722814] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.731329] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.739228] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.746538] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.753188] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.759877] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.767285] NET: Registered protocol family 1
[ 0.791501] RPC: Registered named UNIX socket transport module.
[ 0.797506] RPC: Registered udp transport module.
[ 0.802332] RPC: Registered tcp transport module.
[ 0.807099] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.814694] hw perfevents: no interrupt-affinity property for /arm-pmu, guessing.
[ 0.822767] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.832922] Initialise system trusted keyrings
[ 0.837721] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.845783] NFS: Registering the id_resolver key type
[ 0.850939] Key type id_resolver registered
[ 0.855208] Key type id_legacy registered
[ 0.859330] jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[ 0.865844] Key type asymmetric registered
[ 0.870002] Asymmetric key parser 'x509' registered
[ 0.875075] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.882597] io scheduler mq-deadline registered
[ 0.887188] io scheduler kyber registered
[ 0.894393] K_TTYS: sp_uart0's Rx is in PIO mode.
[ 0.899172] K_TTYS: sp_uart0's Tx is in PIO mode.
[ 0.904037] 9c000900.serial: ttyS0 at MMIO 0x9c000900 (irq = 53, base_baud = 1687500) is a sp_uart0
[ 0.913288] printk: console [ttyS0] enabled
[ 0.913288] printk: console [ttyS0] enabled
[ 0.921738] printk: bootconsole [earlycon0] disabled
[ 0.921738] printk: bootconsole [earlycon0] disabled
[ 0.947462] loop: module loaded
[ 0.950450] sp-spi-nor 9c000b00.spinor: w25q128 (16384 Kbytes)
[ 0.950595] 7 cmdlinepart partitions found on MTD device 9c000b00.spinor
[ 0.951959] Creating 7 MTD partitions on "9c000b00.spinor":
[ 0.957480] 0x000000000000-0x000000010000 : "iboot"
[ 0.972503] 0x000000010000-0x000000020000 : "xboot"
[ 0.982390] 0x000000020000-0x000000040000 : "dtb"
[ 0.992365] 0x000000040000-0x000000100000 : "uboot"
[ 1.002367] 0x000000100000-0x000000200000 : "nonos"
[ 1.012379] 0x000000200000-0x0000005d0000 : "kernel"
[ 1.022330] 0x0000005d0000-0x000001000000 : "rootfs"
[ 1.042968] libphy: Fixed MDIO Bus: probed
[ 1.043050] CAN device driver interface
[ 1.043735] [L2SW] L2 switch mode = 0
[ 1.044023] [L2SW] HW Addr = 00:22:60:00:88:30
[ 1.048605] [L2SW] Registered net device "eth0" successfully.
[ 1.053903] libphy: sunplus_mii_bus: probed
[ 1.059034] net eth0: could not add device link to 9c108000.l2sw-mii:01 err -17
[ 1.066438] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.071498] ehci-platform: EHCI generic platform driver
[ 1.076960] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.082845] ohci-platform: OHCI generic platform driver
[ 1.088177] register ehci0_hcd_sunplus_driver
[ 1.092631] ehci0-sunplus 9c102100.usb: Generic Platform EHCI Controller
[ 1.099021] ehci0-sunplus 9c102100.usb: new USB bus registered, assigned bus number 1
[ 1.107045] ehci0-sunplus 9c102100.usb: irq 14, io mem 0x9c102100
[ 1.141059] ehci0-sunplus 9c102100.usb: USB 2.0 started, EHCI 1.10
[ 1.142325] hub 1-0:1.0: USB hub found
[ 1.142434] hub 1-0:1.0: 1 port detected
[ 1.144398] register ehci1_hcd_sunplus_driver
[ 1.148311] ehci1-sunplus 9c103100.usb: Generic Platform EHCI Controller
[ 1.154797] ehci1-sunplus 9c103100.usb: new USB bus registered, assigned bus number 2
[ 1.162741] ehci1-sunplus 9c103100.usb: irq 17, io mem 0x9c103100
[ 1.191036] ehci1-sunplus 9c103100.usb: USB 2.0 started, EHCI 1.10
[ 1.192106] hub 2-0:1.0: USB hub found
[ 1.192215] hub 2-0:1.0: 1 port detected
[ 1.194323] register ohci0_hcd_sunplus_driver
[ 1.198236] ohci_id:1,irq:15
[ 1.200900] ohci0-sunplus 9c102080.usb: Generic Platform OHCI Controller
[ 1.207636] ohci0-sunplus 9c102080.usb: new USB bus registered, assigned bus number 3
[ 1.215553] ohci0-sunplus 9c102080.usb: irq 15, io mem 0x9c102080
[ 1.293933] hub 3-0:1.0: USB hub found
[ 1.294040] hub 3-0:1.0: 1 port detected
[ 1.294778] register ohci1_hcd_sunplus_driver
[ 1.295112] ohci_id:2,irq:18
[ 1.297629] ohci1-sunplus 9c103080.usb: Generic Platform OHCI Controller
[ 1.304494] ohci1-sunplus 9c103080.usb: new USB bus registered, assigned bus number 4
[ 1.312316] ohci1-sunplus 9c103080.usb: irq 18, io mem 0x9c103080
[ 1.383877] hub 4-0:1.0: USB hub found
[ 1.383984] hub 4-0:1.0: 1 port detected
[ 1.384875] usbcore: registered new interface driver usb-storage
[ 1.386560] register sunplus_driver_udc
[ 1.386560]
[ 1.392856] >>> sp_udc_alloc_request...
[ 1.392856]
[ 1.396903] <<< sp_udc_alloc_request...
[ 1.396903]
[ 1.402496] zero gadget: Gadget Zero, version: Cinco de Mayo 2008
[ 1.408258] zero gadget: zero ready
[ 1.412523] mousedev: PS/2 mouse device common for all mice
[ 1.418656] sp7021-rtc 9c003a00.serial: registered as rtc0
[ 1.422771] [RTC] Info: sp7021-rtc loaded
[ 1.427222] [DISP][_display_probe:2845] disp probe ...
[ 1.432039] [DISP]irq num:4
[ 1.435887] [DISP][_display_probe:3014] disp probe done
[ 1.440356] usbcore: registered new interface driver uvcvideo
[ 1.445741] USB Video Class driver (1.1.1)
[ 1.450770] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.455642] usbcore: registered new interface driver usbhid
[ 1.460688] usbhid: USB HID core driver
[ 1.464523] exFAT: Version 1.3.0
[ 1.468458] NET: Registered protocol family 10
[ 1.473719] Segment Routing with IPv6
[ 1.475870] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.483136] NET: Registered protocol family 17
[ 1.486104] can: controller area network core (rev 20170425 abi 9)
[ 1.492699] NET: Registered protocol family 29
[ 1.496663] can: raw protocol (rev 20170425)
[ 1.500905] can: broadcast manager protocol (rev 20170425 t)
[ 1.506567] can: netlink gateway (rev 20190810) max_hops=1
[ 1.512227] NET: Registered protocol family 37
[ 1.516474] Key type dns_resolver registered
[ 1.520717] Key type ceph registered
[ 1.541076] libceph: loaded (mon/osd proto 15/24)
[ 1.541443] Registering SWP/SWPB emulation handler
[ 1.541915] Loading compiled-in X.509 certificates
[ 1.564569] sp7021-fb soc@B:fb_device: [_sp7021_fb_create_device:289] mem VA 0xe08cf000(PA 0x1e000000), Palette VA 0x0(PA 0x40000000), UI Res 720x480, size 2768896 + 0
[ 1.568717] sp7021-rtc 9c003a00.serial: setting system clock to 1970-01-01T00:00:04 UTC (4)
[ 1.628250] random: fast init done
[ 2.370840] VFS: Mounted root (jffs2 filesystem) on device 31:6.
[ 2.371659] devtmpfs: mounted
[ 2.373728] Freeing unused kernel memory: 1024K
[ 2.373961] Run /sbin/init as init process
/etc/init.d/rcS starts...
Mounting other filesystems ...
rc.extra [bg]
End of /etc/init.d/rcS
0x00005DDC
0x00000008
extra done
login[641]: root login on 'console'
~ #
~ # df -hT
Filesystem Type Size Used Available Use% Mounted on
/dev/root jffs2 10.2M 6.0M 4.2M 59% /
devtmpfs devtmpfs 248.1M 0 248.1M 0% /dev
tmpfs tmpfs 248.6M 0 248.6M 0% /dev/shm
tmpfs tmpfs 248.6M 0 248.6M 0% /tmp
~ # |
Appendix C. Log of Booting from SPI-NOR (initramfs) flash (from U-Boot to Linux)
Code Block |
---|
U-Boot 2019.04-g034e481-dirty (Nov 19 2020 - 17:35:00+++iBoot v1.02 Jan 10 2019 11:20:28 -- B -- [d] iboot.c :96 [d] iboot.c :107 [d] iboot.c :877 hw_cfg=0x00017BFF bootmode=0x00000017 [d] iboot.c :813 [d] iboot.c :316 [[usb_isp]] usb0 [d] bootmain.c :116 dev=1 pin=0 find file [d] fat_boot.c :181 [d] fat_boot.c :189 [d] ehci_usb.c :229 [d] ehci_usb.c :239 Reset EHCI ......................... No usb device on port 0 [d] fat_boot.c :213 [d] iboot.c :285 not found usb1 [d] bootmain.c :116 dev=1 pin=0 find file [d] fat_boot.c :181 [d] fat_boot.c :189 [d] ehci_usb.c :229 [d] ehci_usb.c :239 Reset EHCI usb1 connected(0ms) enum u-disk get dev desc (64) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 64 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 vid=85 64 pid=10 00 rev=11 00 set addr [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get dev desc (18) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 18 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get conf desc (9) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 9 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get conf desc (9) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 32 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 set config 1 [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 Test Unit Ready (0) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (1) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (2) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (3) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (4) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :218 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :230 part@0x00000800 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :259 [d] fat_boot.c :295 [d] fat_boot.c :314 [d] fat_boot.c :318 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :337 load file [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 mg=0x54554258 len=0x00006418 chk=0x0000B9B3 flg=0x00000001 [d] bootmain.c :338 OTP pub-key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Verify signature...(AB) FAIL signature: B1 87 E3 11 8D E1 2D FD D8 E3 82 3B 92 90 4B E5 08 CF E1 80 EC 00 3F F3 86 25 75 ED 7A 73 7B 11 69 F8 E6 9F 1A CB 2A 6D E4 BE DD 9E C8 1D D4 8D 7F 17 3D EC 0F 99 97 E9 B9 74 AD D0 58 FA 59 06 tV=88 OTP Secure Boot is OFF boot! ..336610 +++xBoot Apr 20 2021 17:12:54 [d] xboot.c :162 -- B -- B: b_sysclk=202M abio_ctrl=(16bit,DDR) [d] xboot.c :228 [otp_rw.c]otp_rw in otp_rw.c]otp_rw out mode=0x00000017 [d] xboot.c :1659 [d] xboot.c :1015 {{usb_isp}} finding file [d] fat/fat_boot.c :284 [d] fat/fat_boot.c :294 [d] usb/ehci_usb.c :227 [d] usb/ehci_usb.c :237 Reset EHCI usb1 connected(2ms) enum u-disk get dev desc (64) vid=85 64 pid=10 00 rev=11 00 set addr get dev desc (18) get conf desc (18) get conf desc (32) set config 1 Test Unit Ready (0) Test Unit Ready (1) Test Unit Ready (2) Test Unit Ready (3) Test Unit Ready (4) [d] fat/fat_boot.c :343 [d] fat/fat_boot.c :355 part@0x00000800 [d] fat/fat_boot.c :397 FAT32 file system [d] fat/fat_boot.c :473 [d] fat/fat_boot.c :505 [d] fat/fat_boot.c :509 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [?++iBoot v1.02 Jan 10 2019 11:20:28 -- B -- [d] iboot.c :96 [d] iboot.c :107 [d] iboot.c :877 hw_cfg=0x00017BFF bootmode=0x00000017 [d] iboot.c :813 [d] iboot.c :316 [[usb_isp]] usb0 [d] bootmain.c :116 dev=1 pin=0 find file [d] fat_boot.c :181 [d] fat_boot.c :189 [d] ehci_usb.c :229 [d] ehci_usb.c :239 Reset EHCI ......................... No usb device on port 0 [d] fat_boot.c :213 [d] iboot.c :285 not found usb1 [d] bootmain.c :116 dev=1 pin=0 find file [d] fat_boot.c :181 [d] fat_boot.c :189 [d] ehci_usb.c :229 [d] ehci_usb.c :239 Reset EHCI usb1 connected(0ms) enum u-disk get dev desc (64) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 64 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 vid=85 64 pid=10 00 rev=11 00 set addr [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get dev desc (18) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 18 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get conf desc (9) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 9 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 get conf desc (9) [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 32 [d] ehci_usb.c :653 [d] ehci_usb.c :701 Out 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 set config 1 [d] ehci_usb.c :727 Setup 8 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 0 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :762 Test Unit Ready (0) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (1) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (2) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (3) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 Test Unit Ready (4) [d] ehci_usb.c :459 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :218 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :230 part@0x00000800 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :259 [d] fat_boot.c :295 [d] fat_boot.c :314 [d] fat_boot.c :318 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :321 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] fat_boot.c :337 load file [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 4096 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 [d] ehci_usb.c :534 [d] ehci_usb.c :775 Out 31 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 512 [d] ehci_usb.c :653 [d] ehci_usb.c :701 In 13 [d] ehci_usb.c :653 [d] ehci_usb.c :701 [d] ehci_usb.c :842 mg=0x54554258 len=0x00006418 chk=0x0000B9B3 flg=0x00000001 [d] bootmain.c :338 OTP pub-key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Verify signature...(AB) FAIL signature: B1 87 E3 11 8D E1 2D FD D8 E3 82 3B 92 90 4B E5 08 CF E1 80 EC 00 3F F3 86 25 75 ED 7A 73 7B 11 69 F8 E6 9F 1A CB 2A 6D E4 BE DD 9E C8 1D D4 8D 7F 17 3D EC 0F 99 97 E9 B9 74 AD D0 58 FA 59 06 tV=88 OTP Secure Boot is OFF boot! ..336610 +++xBoot Apr 20 2021 17:12:54 [d] xboot.c :162 -- B -- B: b_sysclk=202M abio_ctrl=(16bit,DDR) [d] xboot.c :228 [otp_rw.c]otp_rw in otp_rw.c]otp_rw out mode=0x00000017 [d] xboot.c :1659 [d] xboot.c :1015 {{usb_isp}} finding file [d] fat/fat_boot.c :284 [d] fat/fat_boot.c :294 [d] usb/ehci_usb.c :227 [d] usb/ehci_usb.c :237 Reset EHCI usb1 connected(2ms) enum u-disk get dev desc (64) vid=85 64 pid=10 00 rev=11 00 set addr get dev desc (18) get conf desc (18) get conf desc (32) set config 1 Test Unit Ready (0) Test Unit Ready (1) Test Unit Ready (2) Test Unit Ready (3) Test Unit Ready (4) [d] fat/fat_boot.c :343 [d] fat/fat_boot.c :355 part@0x00000800 [d] fat/fat_boot.c :397 FAT32 file system [d] fat/fat_boot.c :473 [d] fat/fat_boot.c :505 [d] fat/fat_boot.c :509 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :512 [d] fat/fat_boot.c :528 Run draiminit@0x9E80601D Done draiminit dram test 0x00800000 - 0x00800400 fat load uboot load data size=427641 start verify in xboot! ******OTP Secure Boot is OFF, return success****** uboot_pentagram_board boot next @0x00200040 put bootinfo wake up A A_G0.11(pll): 0x00445149 A_G0.3(abio): 0x00020718 A_G0.18(ioctrl): 0x00F1E004 U-Boot 2019.04-g3c37ae1 (Apr 20 2021 - 17:13:02 +0800) CONFIG_SYS_CACHELINE_SIZE: 64 Model: SP7021/CA7/Ev DRAM: 512 MiB clk@osc0 : 27000000 Hz clk@0 : 13500000 Hz clk@A_pll0 : 2000000000 Hz plla : 135475200 Hz plle : 50000000 Hz plle_2p5 : 2500000 Hz plle_25 : 25000000 Hz plle_112p5 : 112500000 Hz pllf : 202500000 Hz plltv : 148500000 Hz plltv_a : 148500000 Hz pllsys : 202500000 Hz SPI: Manufacturer id = 0x00, Device id = 0x0000 MMC: sd: 0 In: serial Out: serial Err: serial Reason(s) of reset: REG(116, 22): 0x0002 After cleaning REG(116, 22): 0x0000 arch/arm/mach-pentagram/cpu.c, arch_misc_init: TBD. Net: Warning: l2sw@0x9c108000 using MAC address from ROM eth0: l2sw@0x9c108000 Hit any key to stop autoboot: 0 [scr] bootcmd started 9e809408: 00000017 .... [scr] ISP from USB storage starting USB... USB0: ehci_sunplus_probe.383, dev_name:usb@0x9C102100,port_num:0 after write usbruncmd,usbcmd:80b01,retry_times:0 USB EHCI 1.10 USB1: ehci_sunplus_probe.383, dev_name:usb@0x9C103100,port_num:1 after write usbruncmd,usbcmd:80b01,retry_times:1 USB EHCI 1.10 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 2048 bytes read in 29 ms (68.4 KiB/s) isp_main_storage=nor ## Executing script at 01000020 ISP file from USB storage Interface: USB Device 0: Vendor: JetFlash Rev: 1100 Prod: Transcend 16GB Type: Removable Hard Disk Capacity: 15480.0 MB = 15.1 GB (31703040 x 512) Filesystem: FAT32 "NO NAME " 14279680 ISPBOOOT_q628.BIN 13600 watchdog 14281728 ISPBOOOTx.BIN 13100032 ISPBOOOT.BIN 4 file(s), 0 dir(s) Load NOR ISP script and run it... 5120 bytes read in 34 ms (146.5 KiB/s) ## Executing script at 01000000 Initialize NOR flash... SF: Detected W25Q128BV with page size 256 Bytes, erase size 64 KiB, total 16 MiB Erase whole chip (16 MiB)... SF: 1048576 bytes @ 0x0 Erased: OK SF: 1048576 bytes @ 0x100000 Erased: OK SF: 1048576 bytes @ 0x200000 Erased: OK SF: 1048576 bytes @ 0x300000 Erased: OK SF: 1048576 bytes @ 0x400000 Erased: OK SF: 1048576 bytes @ 0x500000 Erased: OK SF: 1048576 bytes @ 0x600000 Erased: OK SF: 1048576 bytes @ 0x700000 Erased: OK SF: 1048576 bytes @ 0x800000 Erased: OK SF: 1048576 bytes @ 0x900000 Erased: OK SF: 1048576 bytes @ 0xa00000 Erased: OK SF: 1048576 bytes @ 0xb00000 Erased: OK SF: 1048576 bytes @ 0xc00000 Erased: OK SF: 1048576 bytes @ 0xd00000 Erased: OK SF: 1048576 bytes @ 0xe00000 Erased: OK SF: 1048576 bytes @ 0xf00000 Erased: OK Program image to flash... 1048576 bytes read in 44 ms (22.7 MiB/s) device 0 offset 0x0, size 0x100000 SF: 1048576 bytes @ 0x0 Written: OK 1048576 bytes read in 50 ms (20 MiB/s) device 0 offset 0x100000, size 0x100000 SF: 1048576 bytes @ 0x100000 Written: OK 1048576 bytes read in 49 ms (20.4 MiB/s) device 0 offset 0x200000, size 0x100000 SF: 1048576 bytes @ 0x200000 Written: OK 1048576 bytes read in 50 ms (20 MiB/s) device 0 offset 0x300000, size 0x100000 SF: 1048576 bytes @ 0x300000 Written: OK 1048576 bytes read in 50 ms (20 MiB/s) device 0 offset 0x400000, size 0x100000 SF: 1048576 bytes @ 0x400000 Written: OK 1048576 bytes read in 49 ms (20.4 MiB/s) device 0 offset 0x500000, size 0x100000 SF: 1048576 bytes @ 0x500000 Written: OK 1048576 bytes read in 50 ms (20 MiB/s) device 0 offset 0x600000, size 0x100000 SF: 1048576 bytes @ 0x600000 Written: OK 1048576 bytes read in 44 ms (22.7 MiB/s) device 0 offset 0x700000, size 0x100000 SF: 1048576 bytes @ 0x700000 Written: OK 1048576 bytes read in 43 ms (23.3 MiB/s) device 0 offset 0x800000, size 0x100000 SF: 1048576 bytes @ 0x800000 Written: OK 1048576 bytes read in 43 ms (23.3 MiB/s) device 0 offset 0x900000, size 0x100000 SF: 1048576 bytes @ 0x900000 Written: OK 1048576 bytes read in 43 ms (23.3 MiB/s) device 0 offset 0xa00000, size 0x100000 SF: 1048576 bytes @ 0xa00000 Written: OK 495616 bytes read in 29 ms (16.3 MiB/s) device 0 offset 0xb00000, size 0x79000 SF: 495616 bytes @ 0xb00000 Written: OK Verifying... device 0 offset 0x0, size 0x100000 SF: 1048576 bytes @ 0x0 Read: OK md5 for 01000000 ... 010fffff ==> 283f2c43248f8cbeaf82638e9626e6ca md5sum: OK. device 0 offset 0x100000, size 0x100000 SF: 1048576 bytes @ 0x100000 Read: OK md5 for 01000000 ... 010fffff ==> 2f7bc78a98e4b9cf561ac1793b1f9f7a md5sum: OK. device 0 offset 0x200000, size 0x100000 SF: 1048576 bytes @ 0x200000 Read: OK md5 for 01000000 ... 010fffff ==> 2f9f5e9cddff6e574a6142221d6bd55b md5sum: OK. device 0 offset 0x300000, size 0x100000 SF: 1048576 bytes @ 0x300000 Read: OK md5 for 01000000 ... 010fffff ==> 6aeb06eb474613e0bcf1cf02e8f3c60b md5sum: OK. device 0 offset 0x400000, size 0x100000 SF: 1048576 bytes @ 0x400000 Read: OK md5 for 01000000 ... 010fffff ==> c9460c0e937c90586a67312a8a2884ff md5sum: OK. device 0 offset 0x500000, size 0x100000 SF: 1048576 bytes @ 0x500000 Read: OK md5 for 01000000 ... 010fffff ==> fe8f6257567d9ed5c4be2bafba70b6fc md5sum: OK. device 0 offset 0x600000, size 0x100000 SF: 1048576 bytes @ 0x600000 Read: OK md5 for 01000000 ... 010fffff ==> 936b674b1d7a378beb1460fa48ad53d6 md5sum: OK. device 0 offset 0x700000, size 0x100000 SF: 1048576 bytes @ 0x700000 Read: OK md5 for 01000000 ... 010fffff ==> 994f5a88be7e45cf5909b05a3a19e962 md5sum: OK. device 0 offset 0x800000, size 0x100000 SF: 1048576 bytes @ 0x800000 Read: OK md5 for 01000000 ... 010fffff ==> 5606b8aa0bb6e9233930bfab0b39fc5a md5sum: OK. device 0 offset 0x900000, size 0x100000 SF: 1048576 bytes @ 0x900000 Read: OK md5 for 01000000 ... 010fffff ==> 890b41c432543ce151ef13122fa0b11c md5sum: OK. device 0 offset 0xa00000, size 0x100000 SF: 1048576 bytes @ 0xa00000 Read: OK md5 for 01000000 ... 010fffff ==> d084a40d0ff729ef6e9d0fd16fe2670b md5sum: OK. device 0 offset 0xb00000, size 0x79000 SF: 495616 bytes @ 0xb00000 Read: OK md5 for 01000000 ... 01078fff ==> 7cc8e23ce2da1c926acdc902113509f3 md5sum: OK. ************************************************** ISP all: Done ************************************************** => |
Appendix C. Log of Booting from SPI-NOR (jffs2) flash
Code Block |
---|
+++iBoot v1.02 Jan 10 2019 11:20:28
-- A --
[d] iboot.c :96
[d] iboot.c :107
[d] iboot.c :877
hw_cfg=0x00015BFF
bootmode=0x00000001
[d] iboot.c :837
[d] iboot.c :736
[uart_isp]
[d] bootmain.c :116
dev=4 pin=0
[d] bootstrap.c :75
[d] bootstrap.c :85
auto scan...
[spibare] X1
[d] iboot.c :132
[d] bootmain.c :116
dev=5 pin=1
[d] iboot.c :136
magic=0xFFFFFFFF
[spi_nor] X1
[d] iboot.c :170
[d] bootmain.c :116
dev=5 pin=1
[d] iboot.c :205
mg=0xFFFFFFFF
len=0xFFFFFFFF
chk=0xFFFFFFFF
[d] iboot.c :222
[emmc_boot]
[d] bootmain.c :116
dev=2 pin=1
[d] drv_sd_mmc.c :21
InitChipCtrl
busclk=200000 div=1012
[d] drv_sd_mmc.c :23
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=2 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=3 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=4 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=5 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=6 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=7 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=0 high=1
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=1
[d] drv_sd_mmc.c :33
init boot area fail
[d] iboot.c :582
[d] drv_sd_mmc.c :21
InitChipCtrl
busclk=200000 div=1012
[d] drv_sd_mmc.c :23
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=2 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=3 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=4 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=5 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=6 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=7 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=0 high=1
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=1
[d] drv_sd_mmc.c :33
init fail
[d] iboot.c :584
[spi_nand] X1
[d] iboot.c :679
[d] bootmain.c :116
dev=6 pin=1
[d] nandop.c :418
[d] spi_nand.c :209
SPI ID=40 18 00 00
Default B0 feature: 0x00000000
Configure B0 feature to:0x00000000
[d] nandop.c :266
[d] nandop.c :283
Header not found!
[d] nandop.c :421
[d] nandop.c :427
[d] iboot.c :685
[spibare] X2
[d] iboot.c :132
[d] bootmain.c :116
dev=5 pin=2
[d] iboot.c :136
magic=0x00000000
[spi_nor] X2
[d] iboot.c :170
[d] bootmain.c :116
dev=5 pin=2
[d] iboot.c :205
mg=0x54554258
len=0x00006418
chk=0x0000B9B3
[d] iboot.c :235
[d] iboot.c :258
mg=0x54554258
len=0x00006418
chk=0x0000B9B3
flg=0x00000001
[d] bootmain.c :338
OTP pub-key:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Verify signature... FAIL
signature:
B1 87 E3 11 8D E1 2D FD D8 E3 82 3B 92 90 4B E5
08 CF E1 80 EC 00 3F F3 86 25 75 ED 7A 73 7B 11
69 F8 E6 9F 1A CB 2A 6D E4 BE DD 9E C8 1D D4 8D
7F 17 3D EC 0F 99 97 E9 B9 74 AD D0 58 FA 59 06
tV=32
OTP Secure Boot is OFF
boot!
.48596
+++xBoot Apr 20 2021 17:12:54
[d] xboot.c :162
-- A --
A_G0.11(pll): 0x00445149
A_G0.3(abio): 0x00020718
A_G0.18(ioctrl): 0x00F1E004
B: b_sysclk=202M abio_ctrl=(16bit,DDR)
A: a_pllc=1863M core=931M a_sysclk=465M a_pllio=1998M abio_bus=399M
release cores
[d] xboot.c :228
[otp_rw.c]otp_rw in
o?++iBoot v1.02 Jan 10 2019 11:20:28
-- A --
[d] iboot.c :96
[d] iboot.c :107
[d] iboot.c :877
hw_cfg=0x00015BFF
bootmode=0x00000001
[d] iboot.c :837
[d] iboot.c :736
[uart_isp]
[d] bootmain.c :116
dev=4 pin=0
[d] bootstrap.c :75
[d] bootstrap.c :85
auto scan...
[spibare] X1
[d] iboot.c :132
[d] bootmain.c :116
dev=5 pin=1
[d] iboot.c :136
magic=0xFFFFFFFF
[spi_nor] X1
[d] iboot.c :170
[d] bootmain.c :116
dev=5 pin=1
[d] iboot.c :205
mg=0xFFFFFFFF
len=0xFFFFFFFF
chk=0xFFFFFFFF
[d] iboot.c :222
[emmc_boot]
[d] bootmain.c :116
dev=2 pin=1
[d] drv_sd_mmc.c :21
InitChipCtrl
busclk=200000 div=1012
[d] drv_sd_mmc.c :23
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=2 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=3 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=4 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=5 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=6 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=7 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=0 high=1
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=1
[d] drv_sd_mmc.c :33
init boot area fail
[d] iboot.c :582
[d] drv_sd_mmc.c :21
InitChipCtrl
busclk=200000 div=1012
[d] drv_sd_mmc.c :23
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=2 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=3 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=4 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=5 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=6 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=7 high=0
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=0 high=1
[d] drv_sd_mmc.c :28
IdentifyStorage
Rsp timeout (0)
CMD:1 SD status0=0x0000C055 status1=0x00002200
RxRsp end err=0x00000002
cmd:1 Set rd_clk_dly=1 high=1
[d] drv_sd_mmc.c :33
init fail
[d] iboot.c :584
[spi_nand] X1
[d] iboot.c :679
[d] bootmain.c :116
dev=6 pin=1
[d] nandop.c :418
[d] spi_nand.c :209
SPI ID=40 18 00 00
Default B0 feature: 0x00000000
Configure B0 feature to:0x00000000
[d] nandop.c :266
[d] nandop.c :283
Header not found!
[d] nandop.c :421
[d] nandop.c :427
[d] iboot.c :685
[spibare] X2
[d] iboot.c :132
[d] bootmain.c :116
dev=5 pin=2
[d] iboot.c :136
magic=0x00000000
[spi_nor] X2
[d] iboot.c :170
[d] bootmain.c :116
dev=5 pin=2
[d] iboot.c :205
mg=0x54554258
len=0x00006418
chk=0x0000B9B3
[d] iboot.c :235
[d] iboot.c :258
mg=0x54554258
len=0x00006418
chk=0x0000B9B3
flg=0x00000001
[d] bootmain.c :338
OTP pub-key:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Verify signature... FAIL
signature:
B1 87 E3 11 8D E1 2D FD D8 E3 82 3B 92 90 4B E5
08 CF E1 80 EC 00 3F F3 86 25 75 ED 7A 73 7B 11
69 F8 E6 9F 1A CB 2A 6D E4 BE DD 9E C8 1D D4 8D
7F 17 3D EC 0F 99 97 E9 B9 74 AD D0 58 FA 59 06
tV=32
OTP Secure Boot is OFF
boot!
.48596
+++xBoot Apr 20 2021 17:12:54
[d] xboot.c :162
-- A --
A_G0.11(pll): 0x00445149
A_G0.3(abio): 0x00020718
A_G0.18(ioctrl): 0x00F1E004
B: b_sysclk=202M abio_ctrl=(16bit,DDR)
A: a_pllc=1863M core=931M a_sysclk=465M a_pllio=1998M abio_bus=399M
release cores
[d] xboot.c :228
[otp_rw.c]otp_rw in
otp_rw.c]otp_rw out
mode=0x00000011
Run draiminit@0x9E80601D
Done draiminit
dram test 0x00800000 - 0x00800400
load uboot@0x00200000
[d] xboot.c :331
[d] xboot.c :334
[d] xboot.c :337
load data size=427713
..
start verify in xboot!
******OTP Secure Boot is OFF, return success******
uboot_pentagram_board
boot next @0x00200040
put bootinfo
130151
Run u-boot @0x00200040
U-Boot 2019.04-g3c37ae1 (Apr 20 2021 - 17:13:02 +0800)
CONFIG_SYS_CACHELINE_SIZE: 64
Model: SP7021/CA7/Ev
DRAM: 512 MiB
clk@osc0 : 27000000 Hz
clk@0 : 13500000 Hz
clk@A_pll0 : 2000000000 Hz
plla : 135475200 Hz
plle : 50000000 Hz
plle_2p5 : 2500000 Hz
plle_25 : 25000000 Hz
plle_112p5 : 112500000 Hz
pllf : 202500000 Hz
plltv : 148500000 Hz
plltv_a : 148500000 Hz
pllsys : 202500000 Hz
SPI: Manufacturer id = 0x00, Device id = 0x4018
MMC: sd: 0
In: serial
Out: serial
Err: serial
Reason(s) of reset: REG(116, 22): 0x0002
After cleaning REG(116, 22): 0x0000
arch/arm/mach-pentagram/cpu.c, arch_misc_init: TBD.
Net:
Warning: l2sw@0x9c108000 using MAC address from ROM
eth0: l2sw@0x9c108000
Hit any key to stop autoboot: 0
[scr] bootcmd started
9e809408: 00000011 ....
[scr] romter boot
Image Name: uboot
Image Type: ARM Linux Sunplus Quick Boot Image (uncompressed)
Data Size: 49088 Bytes = 47.9 KiB
Load Address: 00010040
Entry Point: 00010040
Verifying Checksum ... OK
[u-boot] nonos_B address 0x00010000 nonos_size= 49088
loading kernel ...
SF: Detected W25Q128BV with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x200000, size 0x3ccb28
SF: 3984168 bytes @ 0x200000 Read: OK
kernel_hdr addr = 307fc0
******OTP Secure Boot is OFF, return success******
## Booting kernel from Legacy Image at 00307fc0 ...
Image Name: Linux-5.4.35-g8d2baab
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3984032 Bytes = 3.8 MiB
Load Address: 00308000
Entry Point: 00308000
Verifying Checksum ... OK
## Flattened Device Tree blob at 1f900e98
Booting using the fdt blob at 0x1f900e98
XIP Kernel Image ... OK
Loading Device Tree to 1f8f7000, end 1f8ff010 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.35-g8d2baab (wellslu@scdiu3) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #205 SMP PREEMPT Tue Apr 20 17:13:42 CST 2021
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: SP7021/CA7/Ev
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] sp_map_io
[ 0.000000] P_REG: [9c000000-9dffffff] -> [f8000000-f9ffffff]
[ 0.000000] C_REG: [9ec00000-9effffff] -> [fa000000-fa3fffff]
[ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129540
[ 0.000000] Kernel command line: console=tty1 console=ttyS0,115200 earlyprintk root=/dev/mtdblock6 rw rootfstype=jffs2 user_debug=255 rootwait mtdparts=9c000b00.spinor:64k@0(iboot)ro,64k(xboot)ro,128k(dtb),768k(uboot),1m(nonos),0x3d0000(kernel),-(rootfs)
[ 0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] printk: log_buf_len min size: 16384 bytes
[ 0.000000] printk: log_buf_len: 32768 bytes
[ 0.000000] printk: early log buf free: 14564(88%)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 508120K/522240K available (4096K kernel code, 817K rwdata, 2052K rodata, 1024K init, 229K bss, 14120K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 205
[ 0.000000] random: get_random_bytes called from start_kernel+0x1c3/0x308 with crng_init=0
[ 0.000000] @@@ Sunplus clock init
[ 0.000000] plla 135475200
[ 0.000000] plle 50000000
[ 0.000000] plle_2p5 2500000
[ 0.000000] plle_25 25000000
[ 0.000000] plle_112p5 112500000
[ 0.000000] pllf 202500000
[ 0.000000] plltv 148500000
[ 0.000000] pllsys 202500000
[ 0.000000] arch_timer: cp15 timer(s) running at 27.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[ 0.000010] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[ 0.008131] Switching to timer-based delay loop, resolution 37ns
[ 0.014973] Console: colour dummy device 80x30
[ 0.020167] printk: console [tty1] enabled
[ 0.024361] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=270000)
[ 0.034916] pid_max: default: 32768 minimum: 301
[ 0.039893] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.047359] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.056222] CPU: Testing write buffer coherency: ok
[ 0.061869] CPU0: update cpu_capacity 1024
[ 0.066042] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.132030] Setting up static identity map for 0x400000 - 0x400054
[ 0.138488] rcu: Hierarchical SRCU implementation.
[ 0.183484] smp: Bringing up secondary CPUs ...
[ 0.243940] CPU1: update cpu_capacity 1024
[ 0.243949] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.323886] CPU2: update cpu_capacity 1024
[ 0.323896] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.403971] CPU3: update cpu_capacity 1024
[ 0.403978] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.404095] smp: Brought up 1 node, 4 CPUs
[ 0.438028] SMP: Total of 4 processors activated (216.00 BogoMIPS).
[ 0.444406] CPU: All CPU(s) started in SVC mode.
[ 0.449879] devtmpfs: initialized
[ 0.459392] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.468223] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.478290] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.485751] pinctrl core: initialized pinctrl subsystem
[ 0.491875] NET: Registered protocol family 16
[ 0.497145] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.505944] sp_init
[ 0.508106] av1_stc: 0x00047c03
[ 0.511297] P-chip: sys = 202MHz, cpio_ctrl = (16bit, DDR)
[ 0.516922] C-chip: core = 931MHz, sys = 465MHz, pllio = 1998MHz, cpio_bus = 399MHz
[ 0.524703] apply partial clken to save power
[ 0.529567] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.537711] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.543686] 1: ext0-mask=0xf
[ 0.546619] 2: ext1-mask=0xe
[ 0.566646] sppctl pctl: funcs: 156 unq_grps: 140
[ 0.571743] SP7021 PinCtl by Sunplus/Tibbo Tech.(C) 2020
[ 0.608548] fbcon: Taking over console
[ 0.619009] SCSI subsystem initialized
[ 0.623720] usbcore: registered new interface driver usbfs
[ 0.629537] usbcore: registered new interface driver hub
[ 0.635194] usbcore: registered new device driver usb
[ 0.640950] videodev: Linux video capture interface: v2.00
[ 0.648106] sunplus,sp7021-ocotp 9c00af00.otp: by Sunplus (C) 2020
[ 0.656662] clocksource: Switched to clocksource arch_sys_counter
[ 0.681606] register sunplus_usb_phy0_driver
[ 0.686383] uphy0_irq:36
[ 0.695703] register sunplus_usb_phy1_driver
[ 0.700288] uphy1_irq:37
[ 0.709329] register sunplus_usb_otg0_driver
[ 0.714435] register sunplus_usb_otg1_driver
[ 0.719993] HDMITX installed
[ 0.722990] HDMI plug in
[ 0.727126] NET: Registered protocol family 2
[ 0.732512] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.741088] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.749062] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.756374] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.763045] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.769779] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.777260] NET: Registered protocol family 1
[ 0.797143] RPC: Registered named UNIX socket transport module.
[ 0.803169] RPC: Registered udp transport module.
[ 0.807998] RPC: Registered tcp transport module.
[ 0.812777] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.820468] hw perfevents: no interrupt-affinity property for /arm-pmu, guessing.
[ 0.828578] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.838870] Initialise system trusted keyrings
[ 0.843683] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.866882] NFS: Registering the id_resolver key type
[ 0.872077] Key type id_resolver registered
[ 0.876330] Key type id_legacy registered
[ 0.880484] jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[ 0.886970] Key type asymmetric registered
[ 0.891140] Asymmetric key parser 'x509' registered
[ 0.896187] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.903755] io scheduler mq-deadline registered
[ 0.908376] io scheduler kyber registered
[ 0.915646] K_TTYS: sp_uart0's Rx is in PIO mode.
[ 0.920520] K_TTYS: sp_uart0's Tx is in PIO mode.
[ 0.925316] 9c000900.serial: ttyS0 at MMIO 0x9c000900 (irq = 53, base_baud = 1687500) is a sp_uart0
[ 0.934637] printk: console [ttyS0] enabled
[ 0.934637] printk: console [ttyS0] enabled
[ 0.943075] printk: bootconsole [earlycon0] disabled
[ 0.943075] printk: bootconsole [earlycon0] disabled
[ 0.969072] loop: module loaded
[ 0.972066] sp-spi-nor 9c000b00.spinor: w25q128 (16384 Kbytes)
[ 0.972245] 7 cmdlinepart partitions found on MTD device 9c000b00.spinor
[ 0.973551] Creating 7 MTD partitions on "9c000b00.spinor":
[ 0.979168] 0x000000000000-0x000000010000 : "iboot"
[ 0.988062] 0x000000010000-0x000000020000 : "xboot"
[ 0.998171] 0x000000020000-0x000000040000 : "dtb"
[ 1.007959] 0x000000040000-0x000000100000 : "uboot"
[ 1.018101] 0x000000100000-0x000000200000 : "nonos"
[ 1.028279] 0x000000200000-0x0000005d0000 : "kernel"
[ 1.047909] 0x0000005d0000-0x000001000000 : "rootfs"
[ 1.050784] libphy: Fixed MDIO Bus: probed
[ 1.050907] CAN device driver interface
[ 1.051618] [L2SW] L2 switch mode = 0
[ 1.053459] [L2SW] HW Addr = 00:22:60:00:88:30
[ 1.058587] [L2SW] Registered net device "eth0" successfully.
[ 1.063618] libphy: sunplus_mii_bus: probed
[ 1.069330] net eth0: could not add device link to 9c108000.l2sw-mii:01 err -17
[ 1.076197] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.081405] ehci-platform: EHCI generic platform driver
[ 1.086870] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.092708] ohci-platform: OHCI generic platform driver
[ 1.098126] register ehci0_hcd_sunplus_driver
[ 1.102491] ehci0-sunplus 9c102100.usb: Generic Platform EHCI Controller
[ 1.108943] ehci0-sunplus 9c102100.usb: new USB bus registered, assigned bus number 1
[ 1.116955] ehci0-sunplus 9c102100.usb: irq 14, io mem 0x9c102100
[ 1.146654] ehci0-sunplus 9c102100.usb: USB 2.0 started, EHCI 1.10
[ 1.148023] hub 1-0:1.0: USB hub found
[ 1.148179] hub 1-0:1.0: 1 port detected
[ 1.150019] register ehci1_hcd_sunplus_driver
[ 1.153948] ehci1-sunplus 9c103100.usb: Generic Platform EHCI Controller
[ 1.160369] ehci1-sunplus 9c103100.usb: new USB bus registered, assigned bus number 2
[ 1.168360] ehci1-sunplus 9c103100.usb: irq 17, io mem 0x9c103100
[ 1.196645] ehci1-sunplus 9c103100.usb: USB 2.0 started, EHCI 1.10
[ 1.197784] hub 2-0:1.0: USB hub found
[ 1.197912] hub 2-0:1.0: 1 port detected
[ 1.199952] register ohci0_hcd_sunplus_driver
[ 1.203871] ohci_id:1,irq:15
[ 1.206509] ohci0-sunplus 9c102080.usb: Generic Platform OHCI Controller
[ 1.213201] ohci0-sunplus 9c102080.usb: new USB bus registered, assigned bus number 3
[ 1.221187] ohci0-sunplus 9c102080.usb: irq 15, io mem 0x9c102080
[ 1.299572] hub 3-0:1.0: USB hub found
[ 1.299706] hub 3-0:1.0: 1 port detected
[ 1.300463] register ohci1_hcd_sunplus_driver
[ 1.300805] ohci_id:2,irq:18
[ 1.303294] ohci1-sunplus 9c103080.usb: Generic Platform OHCI Controller
[ 1.310176] ohci1-sunplus 9c103080.usb: new USB bus registered, assigned bus number 4
[ 1.317967] ohci1-sunplus 9c103080.usb: irq 18, io mem 0x9c103080
[ 1.389544] hub 4-0:1.0: USB hub found
[ 1.389682] hub 4-0:1.0: 1 port detected
[ 1.390584] usbcore: registered new interface driver usb-storage
[ 1.392212] register sunplus_driver_udc
[ 1.392212]
[ 1.398544] >>> sp_udc_alloc_request...
[ 1.398544]
[ 1.402608] <<< sp_udc_alloc_request...
[ 1.402608]
[ 1.408186] zero gadget: Gadget Zero, version: Cinco de Mayo 2008
[ 1.413941] zero gadget: zero ready
[ 1.418172] mousedev: PS/2 mouse device common for all mice
[ 1.424311] sp7021-rtc 9c003a00.serial: registered as rtc0
[ 1.428452] [RTC] Info: sp7021-rtc loaded
[ 1.432893] [DISP][_display_probe:3137] disp probe ...
[ 1.437675] [DISP]irq num:4
[ 1.440641] [DISP]ttl-name general hdmi,720X480
[ 1.445942] [DISP][_display_probe:3378] disp probe done
[ 1.450682] usbcore: registered new interface driver uvcvideo
[ 1.455976] USB Video Class driver (1.1.1)
[ 1.460705] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.465688] usbcore: registered new interface driver usbhid
[ 1.470991] usbhid: USB HID core driver
[ 1.474775] exFAT: Version 1.3.0
[ 1.478750] NET: Registered protocol family 10
[ 1.483946] Segment Routing with IPv6
[ 1.486155] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.493100] NET: Registered protocol family 17
[ 1.496390] can: controller area network core (rev 20170425 abi 9)
[ 1.502933] NET: Registered protocol family 29
[ 1.506970] can: raw protocol (rev 20170425)
[ 1.511181] can: broadcast manager protocol (rev 20170425 t)
[ 1.516848] can: netlink gateway (rev 20190810) max_hops=1
[ 1.522464] NET: Registered protocol family 37
[ 1.526769] Key type dns_resolver registered
[ 1.530986] Key type ceph registered
[ 1.534763] libceph: loaded (mon/osd proto 15/24)
[ 1.539514] Registering SWP/SWPB emulation handler
[ 1.544334] Loading compiled-in X.509 certificates
[ 1.569074] Console: switching to colour frame buffer device 90x30
[ 1.578869] sp7021-fb soc@B:fb_device: [_sp7021_fb_create_device:282] mem VA 0xe08cf000(PA 0x1e000000), Palette VA 0xdec61800(PA 0x1ec61800), UI Res 720x480, size 2768896 + 1024
[ 1.593439] sp7021-rtc 9c003a00.serial: setting system clock to 1970-01-01T00:06:09 UTC (369)
[ 1.639233] random: fast init done
[ 2.391760] VFS: Mounted root (jffs2 filesystem) on device 31:6.
[ 2.396215] devtmpfs: mounted
[ 2.401881] Freeing unused kernel memory: 1024K
[ 2.405754] Run /sbin/init as init process
/etc/init.d/rcS starts...
Mounting other filesystems ...
rc.extra [bg]
End of /etc/init.d/rcS
0x00000280
0x00000008
extra done
login[642]: root login on 'console'
~ #
|
Refer to report of df command:
Code Block |
---|
~ # df -hT
Filesystem Type Size Used Available Use% Mounted on
/dev/root jffs2 10.2M 6.0M 4.1M 59% /
devtmpfs devtmpfs 248.1M 0 248.1M 0% /dev
tmpfs tmpfs 248.6M 0 248.6M 0% /dev/shm
tmpfs tmpfs 248.6M 0 248.6M 0% /tmp
~ # |
Type of file-system is jffs2. Total size is 10.2 MB. Used is 6.0 MB. Available is 4.1 MB.
Appendix D. Log of Booting from SPI-NOR (initramfs) flash
Code Block |
---|
+++iBoot v1.02 Jan 10 2019 11:20:28 -- A -- [d] iboot.c :96 [d] iboot.c :107 [d] iboot.c :877 hw_cfg=0x00015BFF bootmode=0x00000001 [d] iboot.c :837 [d] iboot.c :736 [uart_isp] [d] bootmain.c :116 dev=4 pin=0 [d] bootstrap.c :75 [d] bootstrap.c :85 auto scan... [spibare] X1 [d] iboot.c :132 [d] bootmain.c :116 dev=5 pin=1 [d] iboot.c :136 magic=0xFFFFFFFF [spi_nor] X1 [d] iboot.c :170 [d] bootmain.c :116 dev=5 pin=1 [d] iboot.c :205 mg=0xFFFFFFFF len=0xFFFFFFFF chk=0xFFFFFFFF [d] iboot.c :222 [emmc_boot] [d] bootmain.c :116 dev=2 pin=1 [d] drv_sd_mmc.c :21 InitChipCtrl busclk=200000 div=1012 [d] drv_sd_mmc.c :23 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=2 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=3 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=4 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=5 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=6 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=7 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=0 high=1 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=1 [d] drv_sd_mmc.c :33 init boot area fail [d] iboot.c :582 [d] drv_sd_mmc.c :21 InitChipCtrl busclk=200000 div=1012 [d] drv_sd_mmc.c :23 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=2 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=3 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=4 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=5 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=6 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=7 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=0 high=1 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=1 [d] drv_sd_mmc.c :33 init fail [d] iboot.c :584 [spi_nand] X1 [d] iboot.c :679 [d] bootmain.c :116 dev=6 pin=1 [d] nandop.c :418 [d] spi_nand.c :209 SPI ID=40 18 00 00 Default B0 feature: 0x00000000 Configure B0 feature to:0x00000000 [d] nandop.c :266 [d] nandop.c :283 Header not found! [d] nandop.c :421 [d] nandop.c :427 [d] iboot.c :685 [spibare] X2 [d] iboot.c :132 [d] bootmain.c :116 dev=5 pin=2 [d] iboot.c :136 magic=0x00000000 [spi_nor] X2 [d] iboot.c :170 [d] bootmain.c :116 dev=5 pin=2 [d] iboot.c :205 mg=0x54554258 len=0x00006418 chk=0x00008399 [d] iboot.c :235 [d] iboot.c :258 mg=0x54554258 len=0x00006418 chk=0x00008399 flg=0x00000001 [d] bootmain.c :338 OTP pub-key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Verify signature... FAIL signature: 9D 3C 41 A2 CB 82 42 3E 6C 02 D9 4D B8 DA 70 E7 9D 97 3F 50 F1 26 96 8B 87 42 F8 D6 7B 30 C7 F2 FB 91 DC 4E D6 29 B9 2F F4 BB F7 FB 09 54 4A C6 98 A5 81 60 A3 79 8F C6 92 0A A8 E1 C3 F7 AA 01 tV=32 OTP Secure Boot is OFF boot! .48582 +++xBoot Apr 20 2021 17:32:26 [d] xboot.c :162 -- A -- A_G0.11(pll): 0x00445149 A_G0.3(abio): 0x00020718 A_G0.18(ioctrl): 0x00F1E004 B: b_sysclk=202M abio_ctrl=(16bit,DDR) A: a_pllc=1863M core=931M a_sysclk=465M a_pllio=1998M abio_bus=399M release cores [d] xboot.c :228 [otp_rw.c]otp_rw in o?++iBoot v1.02 Jan 10 2019 11:20:28 -- A -- [d] iboot.c :96 [d] iboot.c :107 [d] iboot.c :877 hw_cfg=0x00015BFF bootmode=0x00000001 [d] iboot.c :837 [d] iboot.c :736 [uart_isp] [d] bootmain.c :116 dev=4 pin=0 [d] bootstrap.c :75 [d] bootstrap.c :85 auto scan... [spibare] X1 [d] iboot.c :132 [d] bootmain.c :116 dev=5 pin=1 [d] iboot.c :136 magic=0xFFFFFFFF [spi_nor] X1 [d] iboot.c :170 [d] bootmain.c :116 dev=5 pin=1 [d] iboot.c :205 mg=0xFFFFFFFF len=0xFFFFFFFF chk=0xFFFFFFFF [d] iboot.c :222 [emmc_boot] [d] bootmain.c :116 dev=2 pin=1 [d] drv_sd_mmc.c :21 InitChipCtrl busclk=200000 div=1012 [d] drv_sd_mmc.c :23 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=2 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=3 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=4 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=5 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=6 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=7 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=0 high=1 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=1 [d] drv_sd_mmc.c :33 init boot area fail [d] iboot.c :582 [d] drv_sd_mmc.c :21 InitChipCtrl busclk=200000 div=1012 [d] drv_sd_mmc.c :23 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=2 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=3 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=4 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=5 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=6 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=7 high=0 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=0 high=1 [d] drv_sd_mmc.c :28 IdentifyStorage Rsp timeout (0) CMD:1 SD status0=0x0000C055 status1=0x00002200 RxRsp end err=0x00000002 cmd:1 Set rd_clk_dly=1 high=1 [d] drv_sd_mmc.c :33 init fail [d] iboot.c :584 [spi_nand] X1 [d] iboot.c :679 [d] bootmain.c :116 dev=6 pin=1 [d] nandop.c :418 [d] spi_nand.c :209 SPI ID=40 18 00 00 Default B0 feature: 0x00000000 Configure B0 feature to:0x00000000 [d] nandop.c :266 [d] nandop.c :283 Header not found! [d] nandop.c :421 [d] nandop.c :427 [d] iboot.c :685 [spibare] X2 [d] iboot.c :132 [d] bootmain.c :116 dev=5 pin=2 [d] iboot.c :136 magic=0x00000000 [spi_nor] X2 [d] iboot.c :170 [d] bootmain.c :116 dev=5 pin=2 [d] iboot.c :205 mg=0x54554258 len=0x00006418 chk=0x00008399 [d] iboot.c :235 [d] iboot.c :258 mg=0x54554258 len=0x00006418 chk=0x00008399 flg=0x00000001 [d] bootmain.c :338 OTP pub-key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Verify signature... FAIL signature: 9D 3C 41 A2 CB 82 42 3E 6C 02 D9 4D B8 DA 70 E7 9D 97 3F 50 F1 26 96 8B 87 42 F8 D6 7B 30 C7 F2 FB 91 DC 4E D6 29 B9 2F F4 BB F7 FB 09 54 4A C6 98 A5 81 60 A3 79 8F C6 92 0A A8 E1 C3 F7 AA 01 tV=32 OTP Secure Boot is OFF boot! .48581 +++xBoot Apr 20 2021 17:32:26 [d] xboot.c :162 -- A -- A_G0.11(pll): 0x00445149 A_G0.3(abio): 0x00020718 A_G0.18(ioctrl): 0x00F1E004 B: b_sysclk=202M abio_ctrl=(16bit,DDR) A: a_pllc=1863M core=931M a_sysclk=465M a_pllio=1998M abio_bus=399M release cores [d] xboot.c :228 [otp_rw.c]otp_rw in otp_rw.c]otp_rw out mode=0x00000011 Run draiminit@0x9E80601D Done draiminit dram test 0x00800000 - 0x00800400 load uboot@0x00200000 [d] xboot.c :331 [d] xboot.c :334 [d] xboot.c :337 load data size=427377 .. start verify in xboot! ******OTP Secure Boot is OFF, return success****** uboot_pentagram_board boot next @0x00200040 put bootinfo 130089 Run u-boot @0x00200040 U-Boot 2019.04-g3c37ae1 (Apr 20 2021 - 17:32:33 +0800) CONFIG_SYS_CACHELINE_SIZE: 64 Model: SP7021/CA7/Ev DRAM: 512 MiB clk@osc0 : 27000000 Hz clk@0 : 13500000 Hz clk@A_pll0 : 2000000000 Hz plla : 135475200 Hz plle : 50000000 Hz plle_2p5 : 2500000 Hz plle_25 : 25000000 Hz plle_112p5 : 112500000 Hz pllf : 202500000 Hz plltv : 148500000 Hz plltv_a : 148500000 Hz pllsys : 202500000 Hz SPI: Manufacturer id = 0x00, Device id = 0x4018 MMC: sd: 0 In: serial Out: serial Err: serial Reason(s) of reset: REG(116, 22): 0x0002 After cleaning REG(116, 22): 0x0000 arch/arm/mach-pentagram/cpu.c, arch_misc_init: TBD. Net: Warning: l2sw@0x9c108000 using MAC address from ROM eth0: l2sw@0x9c108000 Hit any key to stop autoboot: 0 [scr] bootcmd started 9e809408: 00000011 .... [scr] romter boot Image Name: uboot Image Type: ARM Linux Sunplus Quick Boot Image (uncompressed) Data Size: 49088 Bytes = 47.9 KiB Load Address: 00010040 Entry Point: 00010040 Verifying Checksum ... OK [u-boot] nonos_B address 0x00010000 nonos_size= 49088 loading kernel ... kernel_hdr addr = 307fc0 ******OTP Secure Boot is OFF, return success****** ## Booting kernel from Legacy Image at 00307fc0 ... Image Name: Linux-5.4.35-g49bbe95g8d2baab Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 86629528697112 Bytes = 8.3 MiB Load Address: 00308000 Entry Point: 00308000 Verifying Checksum ... OK ******OTP Secure Boot is OFF, return success****** ## Flattened Device Tree blob at 1f906f381f900e98 Booting using the fdt blob at 0x1f906f380x1f900e98 XIP Kernel Image ... OK Loading Device Tree to 1f8fd0001f8f7000, end 1f904f701f8ff010 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.35-g49bbe95g8d2baab (wellslu@scdiu3) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #5#207 SMP PREEMPT ThuTue NovApr 1920 17:3533:4119 CST 20202021 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: SP7021/CA7/Ev [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] sp_map_io [ 0.000000] P_REG: [9c000000-9dffffff] -> [f8000000-f9ffffff] [ 0.000000] C_REG: [9ec00000-9effffff] -> [fa000000-fa3fffff] [ 0.000000] On node 0 totalpages: 130560 [ 0.000000] Normal zone: 1020 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129540 [ 0.000000] Kernel command line:: console=tty1 console=ttyS0,115200 root=/dev/ram rw loglevel=8 user_debug=255 earlyprintk [ 0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes [ 0.000000] printk: log_buf_len min size: 16384 bytes [ 0.000000] printk: log_buf_len: 32768 bytes [ 0.000000] printk: early log buf free: 1471614696(89%) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 499952K498916K/522240K available (3072K4096K kernel code, 807K rwdata, 1900K1912K rodata, 10240K init, 219K226K bss, 22288K23324K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 205 [ 0.000000] random: get_random_bytes called from start_kernel+0x1c3/0x344 with crng_init=0 [ 0.000000] @@@ Sunplus clock init [ 0.000000] plla 135475200 [ 0.000000] plle 50000000 [ 0.000000] plle_2p5 2500000 [ 0.000000] plle_25 25000000 [ 0.000000] plle_112p5 112500000 [ 0.000000] pllf 202500000 [ 0.000000] plltv 148500000 [ 0.000000] pllsys 202500000 [ 0.000000] arch_timer: cp15 timer(s) running at 27.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns [ 0.000009000010] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns [ 0.008125008129] Switching to timer-based delay loop, resolution 37ns [ 0.014938014964] Console: colour dummy device 80x30 [ 0.020212] printk: console [tty1] enabled [ 0.019487024434] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=270000) [ 0.030005034964] pid_max: default: 32768 minimum: 301 [ 0.034969039939] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.042409047392] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.051264056271] CPU: Testing write buffer coherency: ok [ 0.056876061918] CPU0: update cpu_capacity 1024 [ 0.061027066093] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.126996132068] Setting up static identity map for 0x400000 - 0x400054 [ 0.133415138524] rcu: Hierarchical SRCU implementation. [ 0.178396183518] smp: Bringing up secondary CPUs ... [ 0.238839243987] CPU1: update cpu_capacity 1024 [ 0.238849243997] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.318795323915] CPU2: update cpu_capacity 1024 [ 0.318805323923] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.398879403998] CPU3: update cpu_capacity 1024 [ 0.398886404005] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.398998404124] smp: Brought up 1 node, 4 CPUs [ 0.432814438046] SMP: Total of 4 processors activated (216.00 BogoMIPS). [ 0.439179444423] CPU: All CPU(s) started in SVC mode. [ 0.444595449858] devtmpfs: initialized [ 0.453926459324] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.462708468109] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.472730478173] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.480162485632] pinctrl core: initialized pinctrl subsystem [ 0.486237491786] NET: Registered protocol family 16 [ 0.491420497004] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.499746505369] sp_init [ 0.501878507524] av1_stc: 0x0006aed50x0006c70c [ 0.505059510715] P-chip: sys = 202MHz, cpio_ctrl = (16bit, DDR) [ 0.510649516331] C-chip: core = 931MHz, sys = 465MHz, pllio = 1998MHz, cpio_bus = 399MHz [ 0.518405524107] apply partial clken to save power [ 0.523239528951] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.531356537100] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.537314543079] 1: ext0-mask=0xf [ 0.540235546014] 2: ext1-mask=0xe [ 0.560008565876] sppctl pctl: funcs: 156 unq_grps: 140 [ 0.565061570981] SP7021 PinCtl by Sunplus/Tibbo Tech.(C) 2020 [ 0.607943] fbcon: Taking over console [ 0.596834618402] SCSI subsystem initialized [ 0.606557623133] usbcore: registered new interface driver usbfs [ 0.612228628939] usbcore: registered new interface driver hub [ 0.617844634585] usbcore: registered new device driver usb [ 0.623173640254] videodev: Linux video capture interface: v2.00 [ 0.629695647364] sunplus,sp7021-ocotp 9c00af00.otp: by Sunplus (C) 2020 [ 0.637707655984] clocksource: Switched to clocksource arch_sys_counter [ 0.656899681159] register sunplus_usb_phy0_driver [ 0.661674686018] uphy0_irq:36 [ 0.670711695287] register sunplus_usb_phy1_driver [ 0.675225699874] uphy1_irq:37 [ 0.684053709048] register sunplus_usb_otg0_driver [ 0.688565713640] #@#OTG: @@@ otg reg -1676663808 112 irq 11 10000 [ 0.694471719667] #@#OTG: Init is B device [ 0.698488723688] register sunplus_usb_otg1_driver [ 0.703019728327] #@#OTG: @@@ otg reg -1676659712 112 irq 10 10000 [ 0.727696745982] #@#OTG: Init is B device [ 0.732043750348] HDMITX installed [ 0.735014753348] HDMI plug in [ 0.738728757085] NET: Registered protocol family 2 [ 0.744001762390] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.752522770975] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.760447778912] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.767755786241] TCP: Hash tables configured (established 4096 bind 4096) [ 0.774410792902] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.781123799633] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.788553807037] NET: Registered protocol family 1 [ 0.808154826440] RPC: Registered named UNIX socket transport module. [ 0.814157832470] RPC: Registered udp transport module. [ 0.818977837313] RPC: Registered tcp transport module. [ 0.823740842093] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.914771934584] hw perfevents: no interrupt-affinity property for /arm-pmu, guessing. [ 0.923026942977] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 0.933384953383] Initialise system trusted keyrings [ 0.938389958500] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.946009966278] NFS: Registering the id_resolver key type [ 0.951180971471] Key type id_resolver registered [ 0.955416975721] Key type id_legacy registered [ 0.959897980166] Key type asymmetric registered [ 0.964052984342] Asymmetric key parser 'x509' registered [ 0.969100989412] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.976605996962] io scheduler mq-deadline registered [ 01.981206001566] io scheduler kyber registered [ 01.988509008859] K_TTYS: sp_uart0's Rx is in PIO mode. [ 01.993284013675] K_TTYS: sp_uart0's Tx is in PIO mode. [ 01.998086018528] 9c000900.serial: ttyS0 at MMIO 0x9c000900 (irq = 53, base_baud = 1687500) is a sp_uart0 [ 1.007331027825] printk: console [ttyS0] enabled [ 1.007331027825] printk: console [ttyS0] enabled [ 1.015747036262] printk: bootconsole [earlycon0] disabled [ 1.015747036262] printk: bootconsole [earlycon0] disabled [ 1.041862062268] loop: module loaded [ 1.043913064388] libphy: Fixed MDIO Bus: probed [ 1.043997064513] CAN device driver interface [ 1.044572065122] [L2SW] L2 switch mode = 0 [ 1.045585066087] [L2SW] HW Addr = 00:22:60:00:88:30 [ 1.050668071075] [L2SW] Registered net device "eth0" successfully. [ 1.055716076189] libphy: sunplus_mii_bus: probed [ 1.157916178894] net eth0: could not add device link to 9c108000.l2sw-mii:01 err -17 [ 1.159540180650] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.160609181616] ehci-platform: EHCI generic platform driver [ 1.166130187180] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.172004192931] ohci-platform: OHCI generic platform driver [ 1.177319198361] register ehci0_hcd_sunplus_driver [ 1.181754202685] ehci_id:1,irq:14 [ 1.184363205362] ehci0-sunplus 9c102100.usb: Generic Platform EHCI Controller [ 1.191037212046] ehci0-sunplus 9c102100.usb: new USB bus registered, assigned bus number 1 [ 1.199062220063] ehci0-sunplus 9c102100.usb: irq 14, io mem 0x9c102100 [ 1.227691245972] ehci0-sunplus 9c102100.usb: USB 2.0 started, EHCI 1.10 [ 1.228985247265] hub 1-0:1.0: USB hub found [ 1.229104247409] hub 1-0:1.0: 1 port detected [ 1.230818249111] hcd_irq:14,14 [ 1.233127251422] register ehci1_hcd_sunplus_driver [ 1.237499255797] ehci_id:2,irq:17 [ 1.240176258495] ehci1-sunplus 9c103100.usb: Generic Platform EHCI Controller [ 1.246804265105] ehci1-sunplus 9c103100.usb: new USB bus registered, assigned bus number 2 [ 1.254832273133] ehci1-sunplus 9c103100.usb: irq 17, io mem 0x9c103100 [ 1.287683305974] ehci1-sunplus 9c103100.usb: USB 2.0 started, EHCI 1.10 [ 1.288738307105] hub 2-0:1.0: USB hub found [ 1.288849307232] hub 2-0:1.0: 1 port detected [ 1.290763309053] hcd_irq:17,17 [ 1.293113311419] register ohci0_hcd_sunplus_driver [ 1.297474315789] ohci_id:1,irq:15 [ 1.300170318494] ohci0-sunplus 9c102080.usb: Generic Platform OHCI Controller [ 1.306797325107] ohci0-sunplus 9c102080.usb: new USB bus registered, assigned bus number 3 [ 1.314833333117] ohci0-sunplus 9c102080.usb: irq 15, io mem 0x9c102080 [ 1.390625408906] hub 3-0:1.0: USB hub found [ 1.390736409038] hub 3-0:1.0: 1 port detected [ 1.391462409752] register ohci1_hcd_sunplus_driver [ 1.391770410082] ohci_id:2,irq:18 [ 1.394320412620] ohci1-sunplus 9c103080.usb: Generic Platform OHCI Controller [ 1.401188419457] ohci1-sunplus 9c103080.usb: new USB bus registered, assigned bus number 4 [ 1.408976427322] ohci1-sunplus 9c103080.usb: irq 18, io mem 0x9c103080 [ 1.480573498850] hub 4-0:1.0: USB hub found [ 1.480688498983] hub 4-0:1.0: 1 port detected [ 1.481578499900] usbcore: registered new interface driver usb-storage [ 1.483223501520] register sunplus_driver_udc [ 1.483223501520] [ 1.489491507805] >>> sp_udc_alloc_request... [ 1.489491507805] [ 1.493600511910] <<< sp_udc_alloc_request... [ 1.493600511910] [ 1.499195517512] zero gadget: Gadget Zero, version: Cinco de Mayo 2008 [ 1.504952523249] zero gadget: zero ready [ 1.509179527633] mousedev: PS/2 mouse device common for all mice [ 1.515280533611] sp7021-rtc 9c003a00.serial: registered as rtc0 [ 1.519451537780] [RTC] Info: sp7021-rtc loaded [ 1.523938542217] [DISP][_display_probe:28453137] disp probe ... [ 1.528679546994] [DISP]irq num:4 [ 1.549945] [DISP]ttl-name general hdmi,720X480 [ 1.532626555283] [DISP][_display_probe:30143378] disp probe done [ 1.537078560018] usbcore: registered new interface driver uvcvideo [ 1.542427565285] USB Video Class driver (1.1.1) [ 1.547058569999] hidraw: raw HID events driver (C) Jiri Kosina [ 1.552158574987] usbcore: registered new interface driver usbhid [ 1.557382580314] usbhid: USB HID core driver [ 1.561219584083] exFAT: Version 1.3.0 [ 1.565133588017] NET: Registered protocol family 10 [ 1.570398593369] Segment Routing with IPv6 [ 1.572568595467] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.579535602450] NET: Registered protocol family 17 [ 1.582798605698] can: controller area network core (rev 20170425 abi 9) [ 1.589337612404] NET: Registered protocol family 29 [ 1.593358616275] can: raw protocol (rev 20170425) [ 1.597600620487] can: broadcast manager protocol (rev 20170425 t) [ 1.603255626149] can: netlink gateway (rev 20190810) max_hops=1 [ 1.608909631760] NET: Registered protocol family 37 [ 1.613173636082] Key type dns_resolver registered [ 1.617406640290] Key type ceph registered [ 1.637730644060] libceph: loaded (mon/osd proto 15/24) [ 1.648765] Registering SWP/SWPB emulation handler [ 1.653670] Loading compiled-in X.509 certificates [ 1.676089] usb 2-1: new high-speed USB device number 2 using ehci1-sunplus [ 1.638046678860] Registering SWP/SWPB emulation handler [ 1.638520] Loading compiled-in X.509 certificates Console: switching to colour frame buffer device 90x30 [ 1.660643688709] sp7021-fb soc@B:fb_device: [_sp7021_fb_create_device:289282] mem VA 0xe0879000(PA 0x1d800000), Palette VA 0x00xddbfec00(PA 0x400000000x1dbfec00), UI Res 720x480, size 2768896 + 01024 [ 1.664750703450] sp7021-rtc 9c003a00.serial: setting system clock to 1970-01-01T0301T00:4502:1139 UTC (13511)159) [ 1.732182] usb-storage 2-1:1.0: USB Mass Storage device detected [ 1.701862733540] Freeing unused kernel memory: 10240K [ 1.736852] scsi host0: usb-storage 2-1:1.0 [ 1.725891748539] random: fast init done [ 1.747848796217] Run /init as init process /etc/init.d/rcS starts... Mounting other filesystems ... rc.extra [bg] End of /etc/init.d/rcS 0x0000A2930x0000CC30 0x00000008 extra done login[595607]: root login on 'console' ~ # extra done ~ # |
Refer to report of df command:
Code Block |
---|
~ # df -hT Filesystem Type Size Used Available Use% Mounted on tmpfs tmpfs 249248.1M6M 0 249248.1M6M 0% /dev/shm tmpfs tmpfs 249248.1M6M 0 249248.1M6M 0% /tmp ~ # |