Blinky basic application not loading in uboot for the same load address as hello world

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

Blinky basic application not loading in uboot for the same load address as hello world

880 Views
Neha_V
Contributor II

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 ...



0 Kudos
Reply
1 Reply

835 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @Neha_V 

 

I hope you are doinf very well.
 
Just to clarify: Zephyr is not officially supported in this support channel, so we are unable to assist with issues related to Zephyr-based applications, including DTS configurations or runtime behavior on Zephyr.

If you are working with Zephyr on the i.MX8MP platform, I recommend reaching out to the Zephyr Project community or checking their GitHub discussions for more targeted support.

Let me know if you would like help with Linux, U-Boot, or anything else related to supported platforms!
 
Best regards, 
Salas.
0 Kudos
Reply