[U-Boot-Users] u-boot for PXA270

Eric Miao
2007-05-16T09:34:37Z

On 5/16/07, ? ?? <bdx_1981@hotmail.com> wrote:
> Dear all,
> I am John , and I met a problem about uboot migrate for PXA270.
> My modification as following:
> 1 add my board johnPxa in Makefile
> johnPxa_config : unconfig
> @$(MKCONFIG) $(@:_config=) arm pxa270 johnPxa
> 2 add my board directory under board/ with board/lubbock
> cp -a lubbock johnPxa
> 3 add johnPxa.h under include/configs/ with lubbock.h
> cp lubbock.h johnPxa.h
> and modified it as my board's configuration.
> 4 add pxa270 directory under cpu/ with cpu/pxa
> cp -a pxa pxa270
> 5 modified config.mk under cpu/pxa270/
> PLATFORM_CPPFLAGS += -mapcs-32 -march=armv5 -mtune=xscale
> 6 add my board information into mach-types.h
> 7 modified start.S(cpu/pxa270) with blob's start.S and
> xlli_LowLev_Init.s
> ps: this blob could run on my board.
> and I compiled with arm-linux-gcc 3.4.1
> At last the u-boot.bin couldn't run on my board.
> Could you give me some help, thank you very much.
> Best regards
> John

is it really necessary to copy cpu/pxa/ to cpu/pxa270? xlli_lowlevel_init.s
could be placed in boards/xxxx/, it should be no problem since that file
mainly initialize SDRAM if I remember correctly.

There could be many reasons that u-boot.bin doesn't run, and your
description is not enough for anyone to help you debug. You better
put more information if you have a JTAG as which step your u-boot
has reached.

BTW: someone else has already ported pxa27x to u-boot AFAIK.

> _________________________________________________________________
> ???? MSN Explorer: http://explorer.msn.com/lccn
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>