Unable to boot kernel with UEFI on LS1012A FRWY board.

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

Unable to boot kernel with UEFI on LS1012A FRWY board.

1,397 Views
srinidhir
Contributor I

Unable to boot kernel with UEFI on LS1012A FRWY board.

I am using LS1012A FRWY device and I have partitioned SD-Card with two partitons.
1] vfat to store efi binary , dtb and grub.cfg

2]ext4 for rootfs.

When I power on the board and enter u-boot prompt, If I give the command, "run bootcmd", u-boot loads kernel 'Image' and then kernel boots up properly as expectedand I get the login prompt.

When I run command 'run scan_dev_for_efi', EFI binary executes properly and It provides grub prompt. However, If I load the same kernel 'Image' and 'dtb' as used by u-boot by using 'linux' and 'devictree' commands, Kernel is hanging during boot-up.

Kernel starts to boot and it has parsed the dtb properly. After PCI initialization etc., It disables serial console and then It tries to load UART driver. after this, the console output is not it readable format and it is also not reaching the stage where it mounts rootfs.

================================================

=> pfe stop
Stopping PFE...
=> run scan_dev_for_efi
Found EFI removable media binary efi/boot/bootaa64.efi
reading efi/boot/bootaa64.efi
4652544 bytes read in 256 ms (17.3 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 96000000 ...
WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND
couldn't find /cpus
couldn't find /cpus
WARNING: Missing crypto node
Scanning disks on usb...
Scanning disks on mmc...
mmc_init: -70, time 33
MMC Device 2 not found
MMC Device 3 not found
Found 5 disks
Welcome to GRUB!

MMC: block number 0x3b72401 exceeds max(0x3b72400)
GNU GRUB version 2.02

Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.

grub> linux (hd0,2/Image )/Image root=/dev/mmcblk0p2 rootwat rw console=ttyS0,115200n8
earlycon=uart8250,mmio,0x21c0500

grub> devicetree (hd0,1)/fsl-ls1012a-frwy.dtb

grub> boot
EFI stub: Booting Linux Kernel...
EFI stub: ERROR: Could not determine UEFI Secure Boot status.
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.19.6 (root@XXXXXX) (gcc version 7.3.0 (GCC)) #1-XXXXXX SMP Wed Dec 19 09:31:03 UTC 2018
[ 0.000000] Machine model: LS1012A FRWY 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: EFI v2.05 by Das U-boot
[ 0.000000] efi: SMBIOS=0x9a887000
[ 0.000000] cma: Reserved 16 MiB at 0x000000009ac00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000009bdfffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x9bdca680-0x9bde3cbf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080000000-0x000000009bdfffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000088001fff]
[ 0.000000] node 0: [mem 0x0000000088003000-0x000000009a886fff]
[ 0.000000] node 0: [mem 0x000000009a887000-0x000000009a887fff]
[ 0.000000] node 0: [mem 0x000000009a888000-0x000000009bdaafff]
[ 0.000000] node 0: [mem 0x000000009bdab000-0x000000009bdabfff]
[ 0.000000] node 0: [mem 0x000000009bdac000-0x000000009bdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009bdfffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0xa8/0x474 with crng_init=0
[ 0.000000] percpu: Embedded 24 pages/cpu @(____ptrval____) s60376 r8192 d29736 u98304
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 112391
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: BOOT_IMAGE=(hd0,2)/Image root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200n8 earlycon=uart8250,mmio,0x21c0500
[ 0.000000] Memory: 388356K/456700K available (11196K kernel code, 1854K rwdata, 4468K rodata, 1728K init, 1110K bss, 51960K reserved, 16384K cma-reserved)
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=1.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 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.000004] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008446] Console: colour dummy device 80x25
[ 0.012994] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023436] pid_max: default: 32768 minimum: 301
[ 0.028173] Security Framework initialized
[ 0.032306] Yama: becoming mindful.
[ 0.042079] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.049277] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.056235] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.062912] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.071330] ASID allocator initialised with 32768 entries
[ 0.076894] rcu: Hierarchical SRCU implementation.
[ 0.083527] Remapping and enabling EFI services.
[ 0.088445] smp: Bringing up secondary CPUs ...
[ 0.093021] smp: Brought up 1 node, 1 CPU
[ 0.097063] SMP: Total of 1 processors activated.
[ 0.101811] CPU features: detected: 32-bit EL0 Support
[ 0.110540] CPU: All CPU(s) started at EL2
[ 0.114680] alternatives: patching kernel code
[ 0.120094] devtmpfs: initialized
[ 0.126117] Registered cp15_barrier emulation handler
[ 0.131249] Registered setend emulation handler
[ 0.135991] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.145833] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.152668] pinctrl core: initialized pinctrl subsystem
[ 0.158812] SMBIOS 3.0 present.
[ 0.162025] DMI: freescale ls1012afrdm/ls1012afrdm, BIOS 2017.07-00013-gac7670f 04/12/2018
[ 0.170705] NET: Registered protocol family 16
[ 0.175534] audit: initializing netlink subsys (disabled)
[ 0.181929] cpuidle: using governor ladder
[ 0.186083] cpuidle: using governor menu
[ 0.190239] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[ 0.197702] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.204588] audit: type=2000 audit(0.116:1): state=initialized audit_enabled=0 res=1
[ 0.213431] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.221329] Machine: LS1012A FRWY Board
[ 0.225235] SoC family: QorIQ LS1012A
[ 0.228919] SoC ID: svr:0x87040020, Revision: 2.0
[ 0.243128] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.250916] ACPI: Interpreter disabled.
[ 0.256922] vgaarb: loaded
[ 0.260181] SCSI subsystem initialized
[ 0.264410] pps_core: LinuxPPS API ver. 1 registered
[ 0.269427] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.278651] PTP clock support registered
[ 0.282684] EDAC MC: Ver: 3.0.0
[ 0.286243] Registered efivars operations
[ 0.290441] efivars: get_next_variable: status=8000000000000007
[ 0.297093] NetLabel: Initializing
[ 0.300552] NetLabel: domain hash size = 128
[ 0.304943] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.310703] NetLabel: unlabeled traffic allowed by default
[ 0.316712] clocksource: Switched to clocksource arch_sys_counter
[ 0.376228] VFS: Disk quotas dquot_6.6.0
[ 0.380268] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.387422] pnp: PnP ACPI: disabled
[ 0.396845] NET: Registered protocol family 2
[ 0.401722] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes)
[ 0.409493] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.416649] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.423212] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.429716] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.435616] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.442089] NET: Registered protocol family 1
[ 0.447195] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.456307] Initialise system trusted keyrings
[ 0.461055] workingset: timestamp_bits=36 max_order=17 bucket_order=0
[ 0.467699] zbud: loaded
[ 0.470794] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 0.478652] pstore: using deflate compression
[ 0.645716] Key type asymmetric registered
[ 0.649926] Asymmetric key parser 'x509' registered
[ 0.654901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.662551] io scheduler noop registered
[ 0.666534] io scheduler deadline registered (default)
[ 0.671784] io scheduler cfq registered
[ 0.675655] io scheduler mq-deadline registered (default)
[ 0.681099] io scheduler kyber registered
[ 0.687101] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[ 0.694551] layerscape-pcie 3400000.pcie: IO 0x4000010000..0x400001ffff -> 0x00000000
[ 0.702727] layerscape-pcie 3400000.pcie: MEM 0x4040000000..0x407fffffff -> 0x40000000
[ 0.711042] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[ 0.717809] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.723345] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.729583] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[ 0.741741] pci 0000:00:00.0: BAR 6: assigned [mem 0x4040000000-0x40400007ff pref]
[ 0.749384] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 0.754900] pcieport 0000:00:00.0: Signaling PME with IRQ 26
[ 0.760716] pcieport 0000:00:00.0: AER enabled with IRQ 26
[ 0.768937] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.776641] console [ttyS0] disabled
[ 0.780352] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 12, base_baud = 31250000) is a 16550A
øø€€€€€€øø€€€€€€ø€€€ø€€øøø€øø€øøøø€€€€€øø€ø€øø€€€€€€øø€€€€€€ø€€€ø€€øøø€øø€øøøø€€€€€øø€ø€øø€€€€€€€€øø€€€ø€€€øøøøø€øø€øøø€ø€€€€ø€€€€€ø€ø€ø€øø€€€€€€€€øø€€€ø€€€øøøøø€øø€øøø€ø€€€€ø€€€€€ø€ø€ø€øø€€€€€€€ø€€ø€€€€€€øø€øø€øø€€øø€øø€€øø€øø€ø€ø€€ø€€€€ø€€ø€€€øø€€€€€€€€ø€€øø€ø€€€€€€€ø€€øø€ø€øø€€ø€øø€€€€€€€€ø€€ø€ø€€€øøøø€€øø€ø€øø€€ø€øø€€€€€€€€€ø€€€€ø€€ø€€€ø€€øø€€ø€ø€€€ø€ø€ø€ø€øø€€€€ø€€€€€øø€€€€øø€€€€€€€ø€€€ø€€€ø€€€€€€ø€€€ø€ø€øø€ø€€€€€€ø€ø€€ø€øø€€€€€€€ø€€€€€€€€ø€€øø€€ø€€€€ø€€€øøø€€€€€ø€€€€€€€€€€€€øø€€ø€øø€€€€€€€øø€ø€ø€€ø€€ø€€ø€øø€ø€€€€ø€€€€€€€€€ø€€€ø€ø€øø€€€€€€€€€ø€€€€€€€€€€€ø€€€øøø€€€€€ø€€€€€€€€øøø€€€€øø€€€€ø€€€øøø€øø€€ø€€€€€€€ø€€€€ø€øø€€€€€€€€€ø€€€€ø€€€€€€€€ø€€øø€€€ø€øø€ø€€€€€€€€€€€€ø€€€øøø€øø€ø€ø€øøø€øø€€€€€€€ø€€€€ø€€€ø€€€€€€€€ø€€€øøø€€€€€ø€€€€€€€€øøø€€€€øø€€€ø€€€€€€€€ø€øø€øø€€€€€€€€ø€ø€€ø€ø€ø€€€€€€€€ø€€øø€€€ø€øøø€€€€€€€€€€€€€ø€€€øøø€øø€ø€ø€øøø€øø€€€€€€€€€€€€€€€€€€ø€ø€€€øøøøø€€€€ø€ø€øø€€€€€€€€€øø€€€€ø€€€øøø€€€ø€€€€ø€€€øø€€€ø€øø€€€€€€€€ø€øø€€€ø€€€€€øøø€€€€€€€€€øø€€ø€€€€ø€€€€€€€øø€€€€€€€ø€€€€€€ø€€€ø€€øø€€€ø€øø€ø€€€€€€€€€€€€€€€€€øø€ø€ø€øøøø€øø€€€€€€€ø€€ø€€ø€€€€€€øøø€€€ø€€€€ø€ø€€€€øø€€ø€€€€ø€€€€€€€øø€€€€€€€€ø€€€€€ø€€ø€€€€€øøø€€€ø€€€€ø€ø€€€€øø€€ø€€€€ø€€€€€€€øø€€€€€€€€øø€€€ø€€€€€øøø€€€ø€ø€€€ø€ø€øøøø€€€€€øø€€ø€€€€ø€€€€€€€øø€€€€€€€€€€€øø€€€€øøøøø€€€€€€€ø€ø€€€øø€øøø€€€€øøø€€€€€€€€€øø€ø€øø€€€€€€€€€ø€€€ø€øø€ø€€øøøøø€€ø€øøøøø€€øø€ø€øøø€ø€€€€€€€€€€€øø€€€€€€€€€ø€€€€€€€€ø€€ø€ø€ø€€øø€€ø€€€€€øø€ø€øø€€€€€€€€€€ø€ø€€ø€€€€ø€ø€ø€€øøø€€ø€€€€€€øø€€øø€øø€øø€ø€ø€ø€øø€ø€øø€€€€€€€€€€øø€€ø€ø€€€€ø€€ø€øø€€ø€€€€€ø€€øøø€€ø€ø€øøøø€øøø€€€øø€€€€€€øø€ø€øø€€€€€€ø€€€€€€€€€€€ø€€ø€€ø€øø€€øø€€€ø€øøø€€ø€€€ø€€€øøøø€øø€€€€€€ø€€€€€€øø€€€€€€ø€€ø€øøøø€øøø€€ø€€€€€øø€ø€øø€ø€€ø€€€€€øø€€øø€ø€øø€€€€€€ø€€ø€ø€€€€€ø€€€€€ø€€€€€€€ø€ø€€€€øøøøø€€€øø€øø€€€€€øø€€€€€€ø€€øø€€€ø€øø€ø€€ø€€€øøøø€€€øøø€øø€€øø€øøø€€€øø€€øø€€€€€€ø€€€€ø€ø€€€ø€€€€€ø€€€€€€€ø€ø€€€€øøøøø€€€øø€øø€€€øø€€øø€€€€€€ø€€ø€øø€€€ø€€€€€€ø€ø€€€ø€€øø€€€ø€€€øøø€€€øø€€€€€€ø€€€€€€€€ø€€€ø€€øø€€øøøø€øø€øøø€€ø€€€€ø€ø€ø€€øø€ø€øø€€€€€€ø€ø€ø€€€€ø€€€€ø€€€€ø€€€€ø€ø€ø€€€€øø€€ø€øøø€øø€ø€ø€€ø€øø€ø€ø€€ø€€€€€€€€€€ø€ø€ø€ø€ø€€€€€€ø€ø€€€ø€€€€€ø€€€ø€€€€ø€€ø€€€€ø€€€øø€€€€€€ø€€ø€€€ø€øø€ø€€€ø€øø€€øø€€€ø€€øø€€øøø€øøø€ø€ø€øø€€€€€€ø€€€€€€øø€€€øøø€€€ø€€øøø€øø€øøø€€€ø€€ø€ø€€€ø€€øø€€€€€€ø€€€€€€€€ø€€€€€€ø€€øøøøø€øøø€€€øøø€€ø€ø€€€øøøø€€€€€€øø€€øøøøøøø€øø€€€ø€€€€€ø€€€ø€€øø€€€€€€ø€ø€ø€€€€ø€€ø€€ø€€€øø€€ø€€€€€øøøø€€€€€øøø€øøø€øøøø€€ø€€€€øø€ø€øøø€€ø€øø€øøø€ø€€øø€€€€€€ø€€øø€€€€€€€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€øø€€€€€€ø€€øø€€€€ø€€€€€€€€øø€€€øø€€€€€€€ø€€€ø€ø€øø€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€øø€€€€€€€ø€€€ø€ø€€€€€€€øø€€€øø€€€€€€€ø€ø€€ø€€€ø€ø€€€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€øø€€€€€€€ø€ø€€ø€€€ø€ø€€€€€€øø€€€øø€€€€€€€ø€€ø€€€øø€€€€€€ø€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€øø€€€€€€€ø€€ø€€€€€€€€€€øø€€€øø€€€€€€€ø€€ø€ø€€€€€€€€€ø€€€€€€€€€€€€€ø€€€€ø€€€€øøø€€€øø€€€€€€€ø€€ø€ø€€ø€€€€€€€øø€€€øø€€€€€€øø€€€€€€ø€€€€€ø€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€øø€€€€€€øø€€€€€€€€€€€øø€€€øø€€€€€€øø€ø€€ø€€€€€€€€€€€€ø€€€€€€€€€€€€€ø€€€€ø€€€€øøø€€€øø€€€€€€øø€ø€€ø€€€€€€€€€€€€€€øø€€€øø€€€€€€øø€ø€øø€ø€ø€€ø€€€€€øø€€€€€€€€€€€€€ø€€€€ø€€€€øøø€€€øø€€€€€€øø€ø€øø€ø€ø€€€ø€€€€€€øø€€€øø€€€€€€øø€€€øø€ø€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€øø€€€€€€øø€€€øø€ø€€€€€€€øø€€€øø€€€€€€€€€ø€€€ø€ø€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€øø€€€€€€€€€ø€€€ø€€ø€€€€€€øø€€€øø€€€€€€€ø€€€ø€€øø€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€øø€€€€€€€ø€€€ø€€€€€€€€€øø€€€øø€€€€€€€ø€ø€€ø€€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€øø€€€€€€€ø€ø€€ø€€€€€€€øø€€€øø€€€€€€€øø€€øø€€€€€€€ø€€€€€€€€€€€€ø€€€€ø€€€€øø€€€€€€øø€€€€€€€øø€€øø€€€€€€€€€€øø€€€øø€€€€€€€€ø€ø€€€ø€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€ø€€€€øø€€€€€€€€ø€ø€€€ø€ø€€€€€€€øø€€€øø€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€ø€€€øø€€€€€€€€€€€€€€€ø€€€€€€øø€€€øø€€€€€€€ø€ø€€€ø€€€ø€€€€€€€€€€€€€€€€€€€ø€€€€ø€€€€øø€ø€€€øø€€€€€€€ø€ø€€€ø€€€€€€€€øø€€€øø€€€€€€€øø€€ø€€ø€€€ø€øø€ø€ø€€€øøø€ø€€ø€øø€ø€€€€€ø€€øø€øø€øøøø€€€øøø€€€€€øøø€øøøøøøø€øø€€€øø€€€€€€€€€€€ø€€€ø€€øø€€€€€ø€€€€øøøøøøø€€ø€ø€€€€€øø€ø€øøø€€ø€€€€€€ø€ø€€€ø€€€ø€€øøøøøø€øø€€€€€€€€€ø€€€ø€€€€€€€€€ø€€€øøøø€€€€€€ø€ø€€€€€€€€€€øøø€€€€€€€€€€øø€€€€€€€€€€€€øø€€€øø€€€€€ø€€ø€ø€€ø€øø€€€€€€ø€ø€€€€ø€€€€€€€øø€€€€€€€€€øø€ø€€ø€ø€€€øøø€ø€ø€€øø€€€€€€€€€€ø€ø€€ø€€€€øø€ø€€€€ø€€€€€øø€€€€€€€€€€€€€ø€ø€€€ø€øøøø€ø€€€ø€ø€€€€€øø€€€€€€€€€€ø€€ø€€ø€øø€€€€øøø€ø€€€€€ø€ø€€øø€€€€€€€€€€€€€ø€ø€ø€€€€ø€ø€€€€€€€ø€€€€ø€€øø€€€€€€€€€ø€€€øø€€€€€øøøø€øø€€øøø€€€€€ø€ø€€€€ø€øø€€€€€€€€€ø€ø€€ø€€ø€€€€øøøø€€øøø€€€ø€ø€€€ø€€øø€€€€€€€€€€ø€øø€€ø€€€€€€€øøø€€€€€ø€ø€€€ø€€øø€€€€€€€€€€ø€€øø€€€€€€ø€øøøø€øø€€€ø€€€€ø€€ø€€€€€€øø€€€€€€€€€€€€€ø€€€€€€€ø€øøøø€øø€€€€ø€€€€€øø€€€€€€€€€€€€ø€ø€€ø€€€€€ø€€€øøø€€ø€€€€€ø€€øø€øø€€€€€€€€€€€€€€€€ø€ø€€€ø€øø€ø€€€€øø€€€€ø€ø€ø€øø€€€€€€€€€€€ø€ø€€ø€ø€€€€€€ø€€€ø€€ø€€€€€€€€€€€€€€€ø€€øø€€€€€€€€€€€ø€€ø€ø€€ø€€€øøø€€€€€øøø€øøø€€€øøøø€øø€€€€€€€€€€€øø€€€ø€€€€øø€€ø€€ø€øø€ø€ø€€€øøø€ø€€ø€øø€ø€€€€€ø€€øø€øø€øøøø€€€øøø€€€€€øøø€øøøøøøø€øø€€€€

=================================================

I am using 4.19.6 kernel, but this kernel works properly when booted directly from u-boot. I am facing this problem only with uefi-grub. I have used the efi binary which was generated from LSDK-18.09 as well as another efi binary generated from grub git source code but I am facing the same issue with both the binaries.

Thanks & Regards,

Srinidhi Rao 

Labels (1)
Tags (1)
0 Kudos
2 Replies

1,033 Views
srinidhir
Contributor I

Somehow the command 'devicetree' in grub does not pass the dtb to kernel. I had to load dtb from u-boot prompt and then boot the kernel from grub prompt.

0 Kudos

1,033 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello SRINIDHI RAO,

In the recent released LSDK, we use different procedure to boot UEFI from you, please refer to the section "5.4.3 LSDK distro boot with UEFI Boot" in LSDK 1812, which could be downloaded from Layerscape SDK | NXP .

If you use the previous version Linux SDK, you could refer to https://community.nxp.com/docs/DOC-333443 .

Thanks,

Yiping

0 Kudos