You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During compilation time no issue but while loading in uboot it is hanging .I have used below commands for loading in uboot.
fatload mmc 0:1 0x40000000 zephyr.bin
dcache off; icache flush
go 0x40000000
the same commands works for fine for other applications but for blinky appliaction its hanging like this
U-Boot 2023.04-00001-gb88d03b44c1-dirty (Jan 07 2025 - 11:05:26 +0530)
CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 50C
Reset cause: POR
Model: iW-RainboW-G40M-i.MX8MP-OSM
Board: iWave iW-RainboW-G40M OSM
DRAM: 2 GiB
optee optee: OP-TEE api uid mismatch
Core: 257 devices, 35 uclasses, devicetree: separate
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Board Info:
BSP Version : iW-PRGLZ-SC-01-R2.0-REL0.1-Linux6.6.3 Debian 12
SOM Version : iW-PRGLZ-AP-01-R2.0
CPU Unique ID : 0x0A0878007A3A417A
Carrier Board Version : iW-PRGJJ-AP-01-R1.0
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net: eth0: ethernet@30be0000 [PRIME], eth1: ethernet@30bf0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
iWave-G40M>
iWave-G40M>
iWave-G40M>
iWave-G40M> ums 0 mmc 0
UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1d5a000
CTRL+C - Operation aborted
iWave-G40M> fatload mmc 0:1 0x40000000 zephyr.bin
93984 bytes read in 3 ms (29.9 MiB/s)
iWave-G40M> dcache off; icache flush
iWave-G40M> go 0x40000000
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
i have configured unused gpio in A53 dts like below
aliases {
led0 = &myled0;
};
leds {
compatible = "gpio-leds";
myled0: led_0 {
gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
};
};
During compilation time no issue but while loading in uboot it is hanging .I have used below commands for loading in uboot.
fatload mmc 0:1 0x40000000 zephyr.bin
dcache off; icache flush
go 0x40000000
the same commands works for fine for other applications but for blinky appliaction its hanging like this
U-Boot 2023.04-00001-gb88d03b44c1-dirty (Jan 07 2025 - 11:05:26 +0530)
CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 50C
Reset cause: POR
Model: iW-RainboW-G40M-i.MX8MP-OSM
Board: iWave iW-RainboW-G40M OSM
DRAM: 2 GiB
optee optee: OP-TEE api uid mismatch
Core: 257 devices, 35 uclasses, devicetree: separate
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Board Info:
BSP Version : iW-PRGLZ-SC-01-R2.0-REL0.1-Linux6.6.3 Debian 12
SOM Version : iW-PRGLZ-AP-01-R2.0
CPU Unique ID : 0x0A0878007A3A417A
Carrier Board Version : iW-PRGJJ-AP-01-R1.0
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net: eth0: ethernet@30be0000 [PRIME], eth1: ethernet@30bf0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
iWave-G40M>
iWave-G40M>
iWave-G40M>
iWave-G40M> ums 0 mmc 0
UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1d5a000
CTRL+C - Operation aborted
iWave-G40M> fatload mmc 0:1 0x40000000 zephyr.bin
93984 bytes read in 3 ms (29.9 MiB/s)
iWave-G40M> dcache off; icache flush
iWave-G40M> go 0x40000000
Starting application at 0x40000000 ...
This is my bdinfo
iWave-G40M> bdinfo
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000040000000
-> size = 0x0000000080000000
flashstart = 0x0000000000000000
flashsize = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate = 115200 bps
relocaddr = 0x00000000bdea8000
reloc off = 0x000000007dca8000
Build = 64-bit
current eth = ethernet@30be0000
ethaddr = 00:01:02:03:04:05
IP addr =
fdt_blob = 0x00000000bbe998c0
new_fdt = 0x00000000bbe998c0
fdt_size = 0x000000000000e4c0
Video = lcd-controller@32e80000 inactive
Video = lcd-controller@32e90000 inactive
lmb_dump_all:
memory.cnt = 0x1
memory[0] [0x40000000-0xbfffffff], 0x80000000 bytes flags: 0
reserved.cnt = 0x4
reserved[0] [0x900000-0x96ffff], 0x00070000 bytes flags: 4
reserved[1] [0xbae8f000-0xbfffffff], 0x05171000 bytes flags: 0
reserved[2] [0xbbe95290-0xbfffffff], 0x0416ad70 bytes flags: 0
reserved[3] [0x100000000-0x10fffffff], 0x10000000 bytes flags: 4
devicetree = separate
arch_number = 0x0000000000000000
TLB addr = 0x00000000bfff0000
irq_sp = 0x00000000bbe998b0
sp start = 0x00000000bbe998b0
Early malloc usage: f200 / 10000
Beta Was this translation helpful? Give feedback.
All reactions