Following the getting started guide for LS1028ARDB doesn't actually get you started

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Following the getting started guide for LS1028ARDB doesn't actually get you started

1,594 Views
sebastian_plama
Contributor II

I was following Getting Started with LS1028ARDB | NXP - but the system does not boot to Linux successfully.

The connected monitor does not show anything, on the serial port I can see the boot process, but it never finsihes and gives me no login prompt.

Here you can see the output of the serial port:

picocom v3.1

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready


U-Boot 2018.03-00139-ge124969f47-dirty (Dec 20 2018 - 15:22:43 +0530)

SoC:  LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
       CPU0(A72):1300 MHz  CPU1(A72):1300 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s
Reset Configuration Word (RCW):
       00000000: 34004010 00000030 00000000 00000000
       00000010: 00000000 008f0000 0030c000 00000000
       00000020: 006031a0 00002580 00000000 00003296
       00000030: 00000000 00000010 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 20067054 00000000
       00000070: bb580000 00000000
Model: NXP Layerscape 1028a RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from NOR
FPGA: v6 (RELEASED: RDB_2018_1206_2148)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
I2C:   ready
DRAM:  Initializing DDR....
Detected UDIMM Fixed DDR on board
3.9 GiB
DDR    3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
PPA Firmware: Version LSDK-18.09
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPI Flash... SF: Detected mt35xu02g with page size 256 Bytes, erase size 128 KiB, total 2 GiB
OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: enetc#0
Warning: enetc#1 (eth1) using random MAC address - fe:ec:e4:6e:d5:b0
, eth1: enetc#1, eth2: enetc#2, eth3: netc_mdio
MDIO MUX: no MDIO MUX node
Hit any key to stop autoboot:  0
=>
U-Boot SPL 2018.03 (Jan 20 2019 - 13:52:38 +0800)
Initializing DDR....
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
Trying to boot from MMC1


U-Boot 2018.03 (Jan 20 2019 - 13:52:38 +0800)

SoC:  LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
       CPU0(A72):1300 MHz  CPU1(A72):1300 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s
Reset Configuration Word (RCW):
       00000000: 34004010 00000030 00000000 00000000
       00000010: 00000000 00bf0000 0030c000 00000000
       00000020: 01e03150 00002580 00000000 00003496
       00000030: 00000000 00000010 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 200e705a 00000000
       00000070: bb580000 00000000
Model: NXP Layerscape 1028a RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from SD
FPGA: v6 (RELEASED: RDB_2018_1206_2148)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
I2C:   ready
DRAM:  3.9 GiB
DDR    3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
FSL_SDHC: 0, FSL_SDHC: 1
PPA Firmware: Version LSDK-18.09
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
MMC:   Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
EEPROM: Invalid ID (ff ff ff ff)
In:    serial
Out:   serial
Err:   serial
Net:   
Warning: enetc#0 (eth0) using random MAC address - d2:23:eb:bd:18:9e
eth0: enetc#0
Warning: enetc#1 (eth1) using random MAC address - 4e:92:e6:68:45:cb
, eth1: enetc#1
Warning: enetc#2 (eth2) using random MAC address - 26:99:88:5b:02:34
, eth2: enetc#2
Warning: netc_mdio (eth3) using random MAC address - 00:00:00:00:00:00
, eth3: netc_mdio
Warning: enetc#3 (eth4) using random MAC address - 16:ca:5c:81:67:30
, eth4: enetc#3
MDIO MUX: no MDIO MUX node
Hit any key to stop autoboot:  0
Trying load HDP firmware from SD..
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD16G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 18432, count 512 ... 512 blocks read: OK
Loading hdp firmware from 0x00000000a0000000 offset 0x0000000000002000
Loading hdp firmware Complete
switch to partitions #0, OK
mmc0 is current device
** Unrecognized filesystem type **
starting USB...
USB0:   Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1:   Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Trying load from SD ..
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD16G
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 32768, count 81920 ... 81920 blocks read: OK
## Loading kernel from FIT Image at a0000000 ...
   Using 'ls1028ardb' configuration
   Trying 'kernel' kernel subimage
     Description:  ARM64 Kernel
     Created:      2019-01-20   5:53:18 UTC
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0xa00000d0
     Data Size:    9874810 Bytes = 9.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x80080000
     Entry Point:  0x80080000
     Hash algo:    crc32
     Hash value:   965777f2
   Verifying Hash Integrity ... crc32+ OK
## Loading ramdisk from FIT Image at a0000000 ...
   Using 'ls1028ardb' configuration
   Trying 'initrd' ramdisk subimage
     Description:  initrd for arm64
     Created:      2019-01-20   5:53:18 UTC
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0xa096af2c
     Data Size:    11535243 Bytes = 11 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00000000
     Entry Point:  0x00000000
     Hash algo:    crc32
     Hash value:   c150f71f
   Verifying Hash Integrity ... crc32+ OK
## Loading fdt from FIT Image at a0000000 ...
   Using 'ls1028ardb' configuration
   Trying 'ls1028ardb-dtb' fdt subimage
     Description:  ls1028ardb-dtb
     Created:      2019-01-20   5:53:18 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0xa1470594
     Data Size:    19213 Bytes = 18.8 KiB
     Architecture: AArch64
     Load Address: 0x90000000
     Hash algo:    crc32
     Hash value:   9b48af12
   Verifying Hash Integrity ... crc32+ OK
   Loading fdt from 0xa1470594 to 0x90000000
   Booting using the fdt blob at 0x90000000
   Uncompressing Kernel Image ... OK
   Using Device Tree in place at 0000000090000000, end 0000000090007b0c
configuring ENETC AMQs, MACs..

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.47 (jenkins@saturn) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubuntu3)) #1 SMP PREEMPT Sun Jan 20 13:48:40 CST 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd083]
[    0.000000] Machine model: LS1028A RDB Board
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x00000000ebc00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20fffd9b00-0x20fffdb2bf]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000020ffffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 24 pages/cpu @ffff80207ffa4000 s59992 r8192 d30120 u98304
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1015296
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256 video=1920x1080-32@60 cma=256M
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] software IO TLB [mem 0xe7c00000-0xebc00000] (64MB) mapped at [ffff800067c00000-ffff80006bbfffff]
[    0.000000] Memory: 3698208K/4126720K available (13692K kernel code, 1564K rwdata, 5648K rodata, 1216K init, 977K bss, 166368K reserved, 262144K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008de0000   ( 13696 KB)
[    0.000000]     .rodata : 0xffff000008de0000 - 0xffff000009370000   (  5696 KB)
[    0.000000]       .init : 0xffff000009370000 - 0xffff0000094a0000   (  1216 KB)
[    0.000000]       .data : 0xffff0000094a0000 - 0xffff000009627200   (  1565 KB)
[    0.000000]        .bss : 0xffff000009627200 - 0xffff00000971b7a8   (   978 KB)
[    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0082000000   (  2080 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff802080000000   (133120 MB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.000000]     Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices @20fb880000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x00000020fb830000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006040000
[    0.000000] CPU0: using LPI pending table @0x00000020fb840000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008378] Console: colour dummy device 80x25
[    0.012900] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.023379] pid_max: default: 32768 minimum: 301
[    0.028098] Security Framework initialized
[    0.033852] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.042027] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.049211] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.056010] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.079267] ASID allocator initialised with 32768 entries
[    0.084767] Hierarchical SRCU implementation.
[    0.097218] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[    0.104842] Platform MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[    0.112884] fsl-mc MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[    0.120957] EFI services will not be available.
[    0.133550] smp: Bringing up secondary CPUs ...
[    0.166267] Detected PIPT I-cache on CPU1
[    0.166286] GICv3: CPU1: found redistributor 1 region 0:0x0000000006060000
[    0.166336] CPU1: using LPI pending table @0x00000020fb3b0000
[    0.166354] CPU1: Booted secondary processor [410fd083]
[    0.166399] smp: Brought up 1 node, 2 CPUs
[    0.192656] SMP: Total of 2 processors activated.
[    0.197415] CPU features: detected feature: GIC system register CPU interface
[    0.204628] CPU features: detected feature: 32-bit EL0 Support
[    0.210529] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.222802] CPU: All CPU(s) started at EL2
[    0.226947] alternatives: patching kernel code
[    0.232029] devtmpfs: initialized
[    0.237091] random: get_random_u32 called from bucket_table_alloc+0x108/0x258 with crng_init=0
[    0.246084] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.255953] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.265363] xor: measuring software checksum speed
[    0.309853]    8regs     :  5511.000 MB/sec
[    0.353875]    8regs_prefetch:  4821.000 MB/sec
[    0.397897]    32regs    :  5548.000 MB/sec
[    0.441920]    32regs_prefetch:  5229.000 MB/sec
[    0.446584] xor: using function: 32regs (5548.000 MB/sec)
[    0.452049] pinctrl core: initialized pinctrl subsystem
[    0.458045] DMI not present or invalid.
[    0.462126] NET: Registered protocol family 16
[    0.470642] cpuidle: using governor menu
[    0.474968] vdso: 2 pages (1 code @ ffff000008de6000, 1 data @ ffff0000094a5000)
[    0.482627] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.490023] DMA: preallocated 256 KiB pool for atomic allocations
[    0.496403] Serial: AMBA PL011 UART driver
[    0.530609] HugeTLB registered 2.00 MiB page size, pre-allocated 256 pages
[    0.604814] raid6: int64x1  gen()   870 MB/s
[    0.677188] raid6: int64x1  xor()   665 MB/s
[    0.749569] raid6: int64x2  gen()  1354 MB/s
[    0.821945] raid6: int64x2  xor()  1055 MB/s
[    0.894325] raid6: int64x4  gen()  1850 MB/s
[    0.966710] raid6: int64x4  xor()  1194 MB/s
[    1.038744] raid6: int64x8  gen()  1720 MB/s
[    1.110762] raid6: int64x8  xor()  1163 MB/s
[    1.182834] raid6: neonx1   gen()  1677 MB/s
[    1.254844] raid6: neonx1   xor()  1653 MB/s
[    1.326883] raid6: neonx2   gen()  2604 MB/s
[    1.398927] raid6: neonx2   xor()  2313 MB/s
[    1.470966] raid6: neonx4   gen()  3442 MB/s
[    1.542996] raid6: neonx4   xor()  2398 MB/s
[    1.615036] raid6: neonx8   gen()  3162 MB/s
[    1.687068] raid6: neonx8   xor()  2699 MB/s
[    1.691381] raid6: using algorithm neonx4 gen() 3442 MB/s
[    1.696841] raid6: .... xor() 2398 MB/s, rmw enabled
[    1.701855] raid6: using neon recovery algorithm
[    1.706720] ACPI: Interpreter disabled.
[    1.712717] vgaarb: loaded
[    1.715645] SCSI subsystem initialized
[    1.719639] usbcore: registered new interface driver usbfs
[    1.725413] usbcore: registered new interface driver hub
[    1.730813] usbcore: registered new device driver usb
[    1.736161] imx-i2c 2000000.i2c: fsl-scl-gpio not found
[    1.741488] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not supported
[    1.748927] i2c i2c-0: IMX I2C adapter registered
[    1.753690] i2c i2c-0: can't use DMA, using PIO instead.
[    1.759355] pps_core: LinuxPPS API ver. 1 registered
[    1.764377] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.773644] PTP clock support registered
[    1.777681] EDAC MC: Ver: 3.0.0
[    1.780994] dmi: Firmware registration failed.
[    1.785584] No BMan portals available!
[    1.789661] QMan: Allocated lookup table at ffff00000ae95000, entry count 65537
[    1.797148] No QMan portals available!
[    1.801043] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    1.807444] Advanced Linux Sound Architecture Driver Initialized.
[    1.814025] clocksource: Switched to clocksource arch_sys_counter
[    1.820273] VFS: Disk quotas dquot_6.6.0
[    1.824271] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.831302] pnp: PnP ACPI: disabled
[    1.838055] NET: Registered protocol family 2
[    1.842779] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    1.850309] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    1.857338] TCP: Hash tables configured (established 32768 bind 32768)
[    1.864023] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    1.870499] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    1.877172] NET: Registered protocol family 1
[    1.881745] RPC: Registered named UNIX socket transport module.
[    1.887742] RPC: Registered udp transport module.
[    1.892533] RPC: Registered tcp transport module.
[    1.897293] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.903891] Trying to unpack rootfs image as initramfs...
[    1.909563] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    1.933170] Freeing initrd memory: 11264K
[    1.937567] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.944885] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.953302] kvm [1]: 8-bit VMID
[    1.957248] kvm [1]: GICv3: no GICV resource entry
[    1.962099] kvm [1]: disabling GICv2 emulation
[    1.966610] kvm [1]: GIC system register CPU interface enabled
[    1.972534] kvm [1]: vgic interrupt IRQ1
[    1.976542] kvm [1]: Hyp mode initialized successfully
[    1.983135] audit: initializing netlink subsys (disabled)
[    1.988652] audit: type=2000 audit(1.872:1): state=initialized audit_enabled=0 res=1
[    1.996616] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    2.003446] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.009473] NFS: Registering the id_resolver key type
[    2.014608] Key type id_resolver registered
[    2.018854] Key type id_legacy registered
[    2.022917] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.029771] fuse init (API version 7.26)
[    2.033807] 9p: Installing v9fs 9p2000 file system support
[    2.040757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.048286] io scheduler noop registered
[    2.052277] io scheduler cfq registered (default)
[    2.057034] io scheduler mq-deadline registered
[    2.061642] io scheduler kyber registered
[    2.067109] Galcore version 6.2.4.163672
[    2.157051] OF: PCI: host bridge /soc/pcie@1f0000000 ranges:
[    2.162793] OF: PCI:   MEM 0x1f8000000..0x1f815ffff -> 0x00000000
[    2.168968] OF: PCI:   MEM 0x1f8160000..0x1f81cffff -> 0x00000000
[    2.175132] OF: PCI:   MEM 0x1f81d0000..0x1f81effff -> 0x00000000
[    2.181305] OF: PCI:   MEM 0x1f81f0000..0x1f820ffff -> 0x00000000
[    2.187469] OF: PCI:   MEM 0x1f8210000..0x1f822ffff -> 0x00000000
[    2.193642] OF: PCI:   MEM 0x1f8230000..0x1f824ffff -> 0x00000000
[    2.199803] OF: PCI:   MEM 0x1fc000000..0x1fc3fffff -> 0x00000000
[    2.206009] pci-host-generic 1f0000000.pcie: ECAM at [mem 0x1f0000000-0x1f00fffff] for [bus 00]
[    2.214880] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 0000:00
[    2.221926] pci_bus 0000:00: root bus resource [bus 00]
[    2.227216] pci_bus 0000:00: root bus resource [mem 0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    2.237686] pci_bus 0000:00: root bus resource [mem 0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    2.248608] pci_bus 0000:00: root bus resource [mem 0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    2.259078] pci_bus 0000:00: root bus resource [mem 0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    2.269996] pci_bus 0000:00: root bus resource [mem 0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    2.280466] pci_bus 0000:00: root bus resource [mem 0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    2.291385] pci_bus 0000:00: root bus resource [mem 0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    2.301943] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    2.311984] pci 0000:00:00.0: VF(n) BAR2 space: [mem 0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    2.322616] pci 0000:00:00.1: VF(n) BAR0 space: [mem 0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    2.332647] pci 0000:00:00.1: VF(n) BAR2 space: [mem 0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    2.343899] /soc/pcie@1f0000000: Invalid msi-map translation - no match for rid 0xf8 on           (null)
[    2.353939] OF: PCI: host bridge /soc/pcie@3400000 ranges:
[    2.359503] OF: PCI:    IO 0x8000010000..0x800001ffff -> 0x00000000
[    2.365850] OF: PCI:   MEM 0x8040000000..0x807fffffff -> 0x40000000
[    2.372278] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0001:00
[    2.379060] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.384616] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    2.390866] pci_bus 0001:00: root bus resource [mem 0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    2.401749] pci 0001:00:00.0: BAR 6: assigned [mem 0x8040000000-0x80400007ff pref]
[    2.409407] pci 0001:00:00.0: PCI bridge to [bus 01]
[    2.414554] pcieport 0001:00:00.0: Signaling PME with IRQ 95
[    2.420408] pcieport 0001:00:00.0: AER enabled with IRQ 96
[    2.426086] OF: PCI: host bridge /soc/pcie@3500000 ranges:
[    2.431644] OF: PCI:    IO 0x8800010000..0x880001ffff -> 0x00000000
[    2.437991] OF: PCI:   MEM 0x8840000000..0x887fffffff -> 0x40000000
[    2.444412] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0002:00
[    2.451191] pci_bus 0002:00: root bus resource [bus 00-ff]
[    2.456745] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    2.465807] pci_bus 0002:00: root bus resource [mem 0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    2.476683] pci 0002:00:00.0: BAR 6: assigned [mem 0x8840000000-0x88400007ff pref]
[    2.484342] pci 0002:00:00.0: PCI bridge to [bus 01]
[    2.489473] pcieport 0002:00:00.0: Signaling PME with IRQ 97
[    2.495266] pcieport 0002:00:00.0: AER enabled with IRQ 98
[    2.506783] Freescale LS2 console driver
[    2.510828] fsl-ls2-console: device fsl_mc_console registered
[    2.516686] fsl-ls2-console: device fsl_aiop_console registered
[    2.525088] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.532691] console [ttyS0] disabled
[    2.536495] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 89, base_baud = 12500000) is a 16550A
[    2.545442] console [ttyS0] enabled
[    2.545442] console [ttyS0] enabled
[    2.552468] bootconsole [uart8250] disabled
[    2.552468] bootconsole [uart8250] disabled
[    2.561323] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 89, base_baud = 12500000) is a 16550A
[    2.570508] SuperH (H)SCI(F) driver initialized
[    2.575269] msm_serial: driver initialized
[    2.580169] arm-smmu 5000000.iommu: probing hardware configuration...
[    2.586641] arm-smmu 5000000.iommu: SMMUv2 with:
[    2.591278] arm-smmu 5000000.iommu:     stage 1 translation
[    2.596610] arm-smmu 5000000.iommu:     stage 2 translation
[    2.601943] arm-smmu 5000000.iommu:     nested translation
[    2.607189] arm-smmu 5000000.iommu:     stream matching with 128 register groups
[    2.614357] arm-smmu 5000000.iommu:     64 context banks (0 stage-2 only)
[    2.620912] arm-smmu 5000000.iommu:     Supported page sizes: 0x61311000
[    2.627379] arm-smmu 5000000.iommu:     Stage-1: 48-bit VA -> 48-bit IPA
[    2.633845] arm-smmu 5000000.iommu:     Stage-2: 48-bit IPA -> 48-bit PA
[    2.641377] [drm] found ARM Mali-DP500 version r1p2
[    2.646413] i.mx8-hdp f1f0000.phy: lane_mapping 0x4e
[    2.651403] i.mx8-hdp f1f0000.phy: edp_link_rate 0x06
[    2.656474] i.mx8-hdp f1f0000.phy: dp_num_lanes 0x04
[    2.661617] [drm] Started firmware!
[    2.665119] [drm] CDN_API_CheckAlive returned ret = 0
[    2.670192] [drm] Firmware version: 23029, Lib version: 20691
[    2.675980] [drm] CDN_API_MainControl_blocking (ret = 0 resp = 1)
[    2.682132] [drm] CDN_API_General_Test_Echo_Ext_blocking (ret = 0 echo_resp = echo test)
[    2.690263] [drm] CDN_API_General_Write_Register_blockin ... setting LANES_CONFIG
[    2.697831] [drm] pixel engine reset
[    2.701427] [drm] CDN_*_Write_Register_blocking ... setting LANES_CONFIG 4e
[    2.710196] [drm] AFE_init
[    2.712917] [drm] deasserted reset
[    2.716415] Wait for A2 ACK
[    2.740776] [drm] AFE_power exit
[    2.744017] [drm] CDN_API_DPTX_SetVideo_blocking (ret = 0)
[    2.749609] mali-dp f080000.display: bound f1f0000.phy (ops imx_hdp_imx_ops)
[    2.756797] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.763439] [drm] No driver support for vblank timestamp query.

Tags (1)
1 Reply

1,540 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Please install the latest LSDK 20.04 and download ls1028ardb firmware image.

flex-installer -i download -m ls1028ardb -f firmware_ls1028ardb_uboot_sdboot.img

Deploy firmware image to SD card.

# dd if=firmware_ls1028ardb_uboot_sdboot.img of=/dev/mmcblk1 seek=8

=> pri sd_bootcmd

sd_bootcmd=echo Trying load from SD ...;mmcinfo; mmc read $load_addr $kernel_addr_sd $kernel_size_sd && env exists secureboot && mmc read $kernelheader_addr_r $kernelhdr_addr_sd $kernelhdr_size_sd  && esbc_validate ${kernelheader_addr_r};bootm $load_addr#$board

=> pri load_addr

load_addr=0xa0000000

=> pri kernel_addr_sd

kernel_addr_sd=0x8000

=> pri kernel_size_sd

kernel_size_sd=0x14000

=> pri board

board=ls1028ardb

=>run sd_bootcmd

2. Install Ubuntu rootfs.

Please download default LSDK images for LS1028ARDB. rootfs_lsdk2004_ubuntu_main_arm64.tgz,
firmware_ls1028ardb_uboot_sdboot.img, and bootpartition_LS_arm64_lts_5.4.tgz.

$ flex-installer -i download -m ls1028ardb

Deploy images to SD card

flex-installer -b bootpartition_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -f
firmware_ls1028ardb_uboot_sdboot.img -d /dev/sdx