Hi,

Somewhat related to current discussion: I did notice u-boot does have a lot of #ifdef's nowadays for SoC and PMU. And was wondering if that couldn't be replaced with something that detects SoC and PMU at runtime, if it's necessary to have different initialization.


One of the reasons I wrote the original meminfo wasn't just for displaying the memory information under Android, but also to use it in combination with an Android SD card writer app that is able to patch the binary u-boot SPL image with the detected settings and write it to SD card automatically. Allowing users to write a generic sunxi OS image to the SD card, without having to compile and patch u-boot manually.
( https://github.com/maxnet/android-sdcard-writer )
That concept only works if it is possible to build a single u-boot binary that can be patched after compilation though.

--
Yours sincerely,

Floris Bos

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to