Hi all,

I'm having trouble finding some infos regarding Boot0/Boot1 bootloaders - I 
need some GPIO control during boot and I also want to try to change the 
part of it which has magic number checking for NAND implemented.
So far I have found only some general things about it on linux-sunxi.org 
and I'm currently going through the code to figure it out more (I've cloned 
hno/allwinner-boot), but some pointers or reading would be nice.

My current GPIO Boot1 problem:

I am booting off NAND with Olinuxino-A20 and I've changed the lcd_bl_en pin 
from PH07 to PB04 in my fex file, recompiled binary script.bin and copied 
it to /dev/nanda. I've also changed the actual physical connection on the 
pcb. After the kernel boots, it's the same as before - backlight working 
normally. However, during power-up, until the kernel LCD driver kicks in, 
the LCD is blank and I can no longer see the Boot1 logo (haven't changed it 
- still says Allwinner A20 Dual Core or something) - I just see the glimpse 
of it when kernel fires up the backlight. So for Boot1 (which inits the LCD 
also during LiPo charging), nothing's changed - BL_EN is still at PH07. 
This is why I've decided to change it in the source.

However, the Boot1 source is quite messy for my taste and I also see 
references to script_parsers in the source like for regular linux kernel 
drivers, so it seems to also parse the script, but maybe not script.bin.

So, if someone's got any info on this it'd be quite nice to share.
Thanks in advance!

-- 
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