From: Holger S. <h.s...@mn...> - 2002-11-04 16:21:10
|
> i´m new to the bootloader staff and i want to use blob for my system. It > is based an the Accelent IDP for PXA. What have i to do to port blob to > a custom board? Hi ! I also have an Accelent Board. First you need a cross-compiler. Then you need to read README files. Next you will need time and practice. A JTAG debugger like the BDI 2000 would be very helpful. Now you see in src/blob/ that there is already a pxa_idp.c file. Jeff started a port, but discontinued it because lack of time. Therefore you can see such gems like in start-pxa.S: @ loop here infinitely until I can get this to compile and boot @ TODO: get this to compile and boot. crap: b crap The biggest piece of incomplete part is src/blob/memsetup-pxa250.S. As you can see, there are lots of values that get stored into PXA internal registers. You have to get them all rigth. Maybe you can get those values from my memsetup.S (part of armboot-for-Accelent PXA IDP) and store them in include/blob/arch/pxa_idp.h from http://www.mn-logistik.de/unsupported/pxa250/ Please note: when I once tried quickly to get blob running, arm-linux-objdump -D src/blob/blob-start revealed that some X!%MFP stuff it did use virtual addresses (the ones from Linux) for the PXA internal registers. This is of course total crap (but might be an issue of the used kernel, I tried it with Linux 2.4.19-rmkX-pxaY). You always need to access stuff at physical addresses (blob run's without the MMU enabled). Please take care of that. Greetings, Holger -- MN-Logistik GmbH http://www.mn-logistik.de Holger Schurig Dieselstr. 18 61191 Rosbach v.d.Höhe Tel: 06003/9141-0 Fax: 06003/9141-49 |