Re: [jornada] We all need to move to 2.6

From: Sebastian Hesselbarth <hesselbarth_at_ims.uni-hannover.de>
Date: Mon, 18 Apr 2005 11:12:36 +0200

alexgrosy_at_t-online.de wrote:
>>>>>>>getting 2.6 to boot with haret shouldn't be a big task. If someone
>>>>>>>without a flashboard is able to code a little then it is very easy to
>>>>>>>correct the kernel boot parameters to get them working with haret.
>>>>>>>Probably just the memory layouts are wrong so it fails somewhere.

I took a look at the haret (haret-0.3.4-j720-20041026.tgz) sources and found the
place where registers should be changed for 2.6 booting. If someone with ms
wince compiler could alter the file haret/src/wince/asmstuff.asm to set
registers correctly it should boot latest kernel even without flashboard.

Actually, haret sets the registers like this:
; IN: r0 = boot machine type
; r1 = number of pages
; r2 = physical RAM address
; r3 = physical address of the preloader
; r4 = number of pages for tags + kernel

according to ARM Booting docu 2.6 kernels expect r0 = 0, r1 = MACHTYPE and r2 =
physical address of tagged list. I could test the resulting haret binary but are
not able to compile that changes right now.

Regards,

Sebastian Hesselbarth

-- 
Dipl.-Wirtsch.-Ing. Sebastian Hesselbarth
Institute of Microelectronic Systems
Architectures and Systems Group
University of Hannover        phone: +49 (511) 762 - 19607
Appelstrasse 4                fax  : +49 (511) 762 - 19601
30167 Hannover                email: hesselbarth_at_ims.uni-hannover.de
Germany                       http://www.ims.uni-hannover.de/~hesselbarth/
Received on Mon Apr 18 2005 - 05:16:04 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:26:20 EDT