Originally Posted by geekmaster
For my K4 custom u-boot, I added a like that inserted my hard-coded (string constant) values immediately after reading the value from mmc. There is a function for reading mmc.
It was able to boot up that way, even though it did not write to mmc. The K4 needs to know the serial number AND pcbsn to decide how to init DRAM.
In /common directory i have found the idme functions (something like idme_find_var, idme_set.., i don't have the code right now). I was thinking maybe i can set the vars from to code before the system check them (with idme_set..()). Anyway before this i must try to build U-boot with no errors.