Booting linux for 405EP --> mem_pieces_find( ) nightmare
Conn Clark
clark at esteem.com
Wed Apr 27 19:21:11 EST 2005
Hi Jérémie,
Garcia Jérémie wrote:
> Hi everybody,
> I'm tryin to adapt a linux LSP deom Montavista (the one for the 405EP evaluation board) to a proprietary hardware using a 405EP.
> Unfortunately, it is not as easy as I thought. Here is my problem:
> To load our linux image (zImage.treeboot), we use the "VxWorks bootrom" bootloader which download the image via tftp.
> That works well except the fact that in the LSP, linux tried to get a board info structure in flash memory at an address where we have nothing. So we replace this behavior in "embed_config.c" with the following lines (note: I had to re-code the strcpy although there is the #include<string.h> because it cannot find the reference at the link level... why???):
>
I would recomend using u-boot for a boot rom. It was a god send to us in
getting our MPC850 board up and going the first time. On our 405EP board
we did have to do some slight hacking but nothing really major.
> /* We use VxWorks bootrom, so we have to create ourselves the boot info structure */
<snip>
> Jérémie \\ (°.°) //~ ~ ~ HELP ~ ~ ~ \\ (°.°) //
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
-- Conn
*****************************************************************
Blessed be the heretic, for he causes some to think and unites
the rest against him.
*****************************************************************
Conn Clark
Engineering Assistant clark at esteem.com
Electronic Systems Technology Inc. www.esteem.com
Stock Ticker Symbol ELST
More information about the Linuxppc-dev
mailing list