Hello,
I've a question regarding the absolute bare minimum of HW resources LSDK19.09 supports where I can build both firmware and boot partition/RFS user land and run a (even very small) fully fledged Linux at the end.
The LS1012ARDB originally comes with this:
My question, can a LSDK19.09 setup with following HW resources be compiled, flashed and startup with no pain:
What are tweaks I've to know about to squeeze all this into my reduced memory HW resource setup.
And, looks this reasonable and feasible or shall I better add more memory and where?
Some build parameters so I can test very welcome!
Thx Christophe
Hello Christophe SCHMID ,
You need to modify ls1012ardb u-boot source code according to your custom board.
$flex-builder -c uboot -m ls1012ardb
Please go to uboot source code folder packages/firmware/u-boot, please modify include/configs/ls1012ardb.h
#define CONFIG_SYS_SDRAM_SIZE 0x40000000
=>
#define CONFIG_SYS_SDRAM_SIZE 0x10000000
Please add the following.
#undef FSL_QSPI_FLASH_SIZE
#define FSL_QSPI_FLASH_SIZE SZ_16M
Then rebuild u-boot with the following command (remove build/firmware/u-boot/ls1012ardb/output/ls1012ardb_tfa_defconfig/)
$flex-builder -c uboot -m ls1012ardb
Thanks,
Yiping
Hello yipingwang,
Thank you for the details, I will test that out.
There were other questions also about the boot partition + RFS I'd like to squeeze.
But first: is LS1012A (and its RDB) only able to boot on QSPI or can it boot on eMMC too? Think was only QSPI, right?
Because my idea is as following
So, now that you told me how to configure u-boot (but that's only part of the answer about firmware), can you please also tell me how I possibly can squeeze in the Linux into the embedded 4 G eMMC of the LS1012ARDB? Possible or do I need more space? There also please if you can provide me some hints I'd be very thankful.
Best regards,
Christophe
Please refer to https://community.nxp.com/thread/524737 .