On Fri, Feb 13, 2009 at 11:47:54PM -0500, Christopher Friedt wrote: > #define PHYSOFFSET_KERNEL 0x8000 > > So RAMADDR + PHYSOFFSET_KERNEL is the location of the zImage _after_ > it has been copied by the preloader in linboot.cpp, correct? In my > case, that's 0xa0008000, so I'm assuming this to be my zreladdr (it's > the default anyway). > > #define PHYSOFFSET_TAGS 0x100 > > So RAMADDR + PHYSOFFSET_TAGS is the location of the atags structure > _after_ it has been copied by the preloader in linboot.cpp, correct? > In my case, that's 0xa0000100 ... so I'm guessing that I should set > the .boot_params member to that in my MACHINE_START().
It shouldn't be necessary to tweak either of these values in the kernel code. The kernel bootup code is supposed to relocate things if they don't match. > Incidentally, do you have any tips for getting the fb console working? > My display is QVGA 240x320 ... HaRET reports where the video ram > starts, but does it also have the size somewhere? ... I'm just asking > because I have no console at all, and thought that might be fixed if i > were to set video_start and video_end in MACHINE_START. The FB size would be 240*320*2 = 153600 bytes. I'm not familiar with the video_start/end parameters of MACHINE_START. Lots of things have changed since I last worked on this. A couple of years ago, the handheld.org kernel guys came up with a "vsfb" driver to help get video going early. You can probably still find it in the CVS. -Kevin _______________________________________________ Haret mailing list [email protected] https://handhelds.org/mailman/listinfo/haret
