LS1012ARDB - Bare minimum HW resources required by LSDK

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1012ARDB - Bare minimum HW resources required by LSDK

168 Views
Contributor IV

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:

  • DDR: 1 GB (MT41K512M16HA)
  • QSPI: 512 MB (S25FS512SAGMFI011)
  • eMMC: 4G (MTFC4GACAAAM-1M WT)

My question, can a LSDK19.09 setup with following HW resources be compiled, flashed and startup with no pain:

  • DDR: 128 MB (MT41K64M16TW-107:J TR)
  • QSPI: 128 MB (S25FS128SAGNFI003)
  • eMMC: 8G (SDINBDG4-8G, iNAND® 7250)

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

Labels (1)
0 Kudos
3 Replies

86 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

86 Views
Contributor IV

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

  • Firmware (all bootloaders, TF-A, secure mode) --> goes QSPI
  • Linux boot partition + RFS user land --> goes eMMC
  • I keep USB and SD slots free on the RDB (I need them for other purpose)

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

0 Kudos

86 Views
NXP TechSupport
NXP TechSupport
0 Kudos