Re: boot-pxa.s fix ups.

From: Ken Gordon (kengordon@magneticscrolls.com)
Date: Tue Oct 08 2002 - 10:11:14 EDT


Ahh.

Now I've set it to CONFIG_MACH=H3900 rather than h3900

Now it gets a lot further. I should be more careful with my reading.

----- Original Message -----
From: "Hicks, Jamey" <Jamey.Hicks@hp.com>
To: "Ken Gordon" <ken@magneticscrolls.com>; <bootldr@handhelds.org>
Sent: Tuesday, October 08, 2002 2:42 PM
Subject: RE: [Bootldr] boot-pxa.s fix ups.

If you just did a CVS update, then you got the code I just broke. Sorry
about that. I think I just fixed the two instances you mention, but I need
to jtag the h3900 to verify the fix.

  cvs update -r BOOTLDR_2_19_30

will put your sources into a working state if use use CONFIG_ARCH=PXA and
CONFIG_MACH=H3900.

Jamey

> -----Original Message-----
> From: Ken Gordon [mailto:ken@magneticscrolls.com]
> Sent: Tuesday, October 08, 2002 9:46 AM
> To: Hicks, Jamey; bootldr@handhelds.org
> Subject: Re: [Bootldr] boot-pxa.s fix ups.
>
>
> I've done this now. It still fails in the same way.
>
> // lets try the power button : (
> ldr r1, GPIO_BASE ------
> THIS LINE FAILS
> add r1,r1,#__OFFSET(GPLR0)
> ldr r0,[r1]
> tst r0, #0x1
> bne WakeUpWince // pressed -> Z high so skip this
> b BootldrStartForced // no button go here : )
>
> WakeUpWince:
> @ now jump to wince
> ldr r1,wince_jp
> ----------- SO DOES
> THIS
> nop
> nop
>
>
> Should it be (for example)
>
> ldr r1,=GPIO_BASE
>
> Ken
>
>
>
> ----- Original Message -----
> From: "Hicks, Jamey" <Jamey.Hicks@hp.com>
> To: "Ken Gordon" <kengordon@magneticscrolls.com>;
> <bootldr@handhelds.org>
> Sent: Tuesday, October 08, 2002 2:08 PM
> Subject: RE: [Bootldr] boot-pxa.s fix ups.
>
>
> Ken,
>
> It looks like we need to update config.mk and
> README.building. For the PXA
> platforms you need to specify CONFIG_ARCH=PXA and CONFIG_MACH=H3900 in
> config.local.mk.
>
> I just made the same sort of split for the SA11x0 and SA110
> platforms and
> went to a more uniform naming scheme of CONFIG_ARCH_zzz and
> CONFIG_MACH_yyy
> for architectures and machines. This change was made in
> bootldr 2.19.32.
>
> Jamey
>
>
> > -----Original Message-----
> > From: Ken Gordon [mailto:kengordon@magneticscrolls.com]
> > Sent: Tuesday, October 08, 2002 8:42 AM
> > To: bootldr@handhelds.org
> > Subject: [Bootldr] boot-pxa.s fix ups.
> >
> >
> > Using gcc 2.95.2 or 2.95.3 I get the following when trying to
> > build a pxa
> > bootldr. I took 2.19.30 from CVS, set CONFIG_ARCH=PXA in
> config.mk and
> > build. Do I need a newer gcc. If so which.
> >
> > I'm assuming the comment in config.mk
> >
> > #
> > # one of skiff, bitsy, assabet, jornada720, jornada56x, spot,
> > gator, h3900
> > # skiff: Compaq Personal Server research prototype
> > # bitsy: Compaq iPAQ - H31xx, H36xx, H37xx, H38xx
> > # assabet: Intel SA1110 evaluation board
> > CONFIG_ARCH=PXA
> >
> > is a lie. CONFIG_ARCH=h3900 results in:
> >
> > bootldr.c:2401: #error no architecture defined in update_baudrate
> >
> > Is there anything else non-obvious I should know wrt the pxa
> > support. I've
> > used bootldr before on a custom sa1110 board and I'd prefer
> > it to RedBoot
> > for our pxa250 board.
> >
> > Ken
> >
> > bash-2.04# gmake
> > arm-linux-gcc -DCONFIG_BIG_KERNEL -DCONFIG_POWERMGR
> > -DCONFIG_=1 -DCONFIG_PXA
> > =1 -DCONFIG_INTEL_FLASH=1 -march=armv4 -DCONFIG_LOAD_KERNEL=1
> > -DCONFIG_MD5=1
> > -DCONFIG_PROTECT_BOOTLDR -DVERSION_MAJOR=2
> > -DVERSION_MINOR=19 -DVERSION_M
> > ICRO=30 -DVERSION_SPECIAL=\"\" -DBOOTLDR -DDATE=\"`date
> > %y-%m-%d_%H:%M`\" -DCONFIG_ACCEPT_GPL -DCONFIG_YMODEM
> > -UBOOT_SILENT -UNO_SP
> > LASH -DSPLASH_LINUX -x
> > assembler-with-cpp -c -I/root/linux/kernel/include
> > -I/skiff/local/arm-linux
> > /include boot-pxa.s
> > boot-pxa.s: Assembler messages:
> > boot-pxa.s:344: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:353: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:469: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:470: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:472: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:474: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:497: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > <snip>
> > boot-pxa.s:828: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:831: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:835: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:838: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:848: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > boot-pxa.s:882: Error: Internal_relocation (type 187) not fixed up
> > (OFFSET_IMM)
> > gmake: *** [boot-pxa.o] Error 1
> >
> >
> > _______________________________________________
> > Bootldr mailing list
> > Bootldr@handhelds.org
> > http://handhelds.org/mailman/listinfo/bootldr
> >
>
>
>
>
_______________________________________________
Bootldr mailing list
Bootldr@handhelds.org
http://handhelds.org/mailman/listinfo/bootldr



This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:04 EST