LS1046A-FRWY Baremetal yocto build fails

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

LS1046A-FRWY Baremetal yocto build fails

483 Views
sheershak
Contributor I

Hello,

I started working with ls1046a-frwy board and was able to build real-time-edge linux for it. But when I tried to build the baremetal version, I got an error while building:

Screenshot from 2022-06-29 15-59-47.png

 

After this I tried to build for ls1046ardb board and it successfully built but doesn't work on my device showing this error on console:

ERROR: First slot cannot be empty.
ERROR: Parsing DIMM Error
ERROR: DDR init failed.
NOTICE: Incorrect DRAM0 size is defined in platform_def.h
ERROR: mmap_add_region_check() failed. error -22
ERROR: mmap_add_region_check() failed. error -22
NOTICE: BL2: v2.4(release):lf-5.10.72-2.2.0-0-g5782363f9-dirty
NOTICE: BL2: Built : 12:17:17, Nov 18 2021

I read that baremetal is not supported by all boards but since one ls1046a board supports it, then why not others.

Is it possible to build nxp-real-time-edge-baremetal for ls1046afrwy? If yes, how?

Tags (2)
0 Kudos
1 Reply

472 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Download the project source from the following path:
https://github.com/real-time-edge-sw/real-time-edge-uboot.git
2. Check it out to the tag:
• Real-Time-Edge-v2.1-baremetal-202112
3. Configure cross-toolchain on your host environment.

4. In u-boot source code, please create configs/ls1046afrwy_bm_defconfig file according to configs/ls1046ardb_bm_defconfig

5.  $ make ls1046afrwy_bm_defconfig
     $ make 

0 Kudos