Re: Re: Bootldr 2.14.9cvs

From: Bordi Zhou (bordi@bronzesoft.org)
Date: Fri Jun 15 2001 - 03:11:53 EDT


I modified two files to change the kernel start address to 0xc0108000:
1. arch/arm/Makefile,
ifeq ($(CONFIG_CPU_32),y)
PROCESSOR = armv
TEXTADDR = 0xC0108000

2. arch/arm/boot/Makefile
ifeq ($(CONFIG_ARCH_SA1100),y)
ZTEXTADDR = 0xc0108000
ZRELADDR = 0xc0108000

Is it enough?
Thanx.

BOrdi Zhou
DP> Load ram by itself is kind of unintersting, but combined with call and
DP> baddr it becomes lots of fun.

DP> At this point, baddr is just a hack to allow me to boot a kernel
DP> loaded somewhere in ram.

DP> Unless your kernel loads at 0xc0008000, you need to relink the
DP> bootstrap code part of the zImage.
DP> For my purposes, since I wanted to boot a kernel from the bootldr
DP> run from wince (the c0022000 linked version), I modified some files to
DP> make a kernel that can be loaded to 0xc0208000 which then copies
DP> itself to 0xc0008000 and then boots. This was not as easy as it seems
DP> since wince uses a feature of the arm call Process ID Virtual Address
DP> Mapping and requires that the PIDVAM register be zeroed during kernel
DP> boot. This zeroing is bootldr 2.14.9.

DP> If you want info on making kernels that load to addresses other than
DP> 0xc0008000 let me know and I'll send you a list of instructions.

DP> Christian: for your work, using a kernel that loads to 0xc0208000
DP> would save you the extra download of the second bootldr. Let me know
DP> if you're interested.

DP> Regards,

DP> davep

>>>>>> "Dino" == Dino <deanmao@cc.gatech.edu> writes:

Dino>> I just read "[Bootldr] RE: set download_kernel 1 disappeared?"
Dino>> on the bootldr archives of mailing lists. I would be greatly,
Dino>> greatly interested on documentation regarding the load ram
Dino>> feature or anything new regarding the new bootldr.

Dino>> Thanks!

DP> --
DP> David Panariti Compaq Computer Corporation
DP> Scalable Computing Group Cambridge Research Lab
DP> David.Panariti@Compaq.Com 617-551-7620
DP> _______________________________________________
DP> Bootldr mailing list
DP> Bootldr@handhelds.org
DP> http://handhelds.org/mailman/listinfo/bootldr



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