i have myhello.c file
in this myhello.c content is like
int main()
{
if(i2c_read()==true)
{
debug(" read success\n");
}
}
this i2c_read function is called at the start of uboot , before DRAM initialization, I want to print the debug message on the console at the time of booting.
is anyone know how to do it please help me
Thanks&Regads
srinivas
Hi, @srinivas_123
You can refre from the below link:
https://wiki.st.com/stm32mpu/index.php?title=U-Boot_-_How_to_debug&oldid=81073
There are debug messages present in uboot receipe how can i change debug to printk.
because every time it is overriden by default files right. is there any other option to print or enable to display debug messages at the time of booting
B.R