From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?=22David_M=FCller_=28ELSOFT_AG=29=22?= Date: Thu, 23 Jan 2003 08:58:18 +0100 Subject: [U-Boot-Users] directly execute linux zImage: cmd_bootz In-Reply-To: <200301221713.29387.h.schurig@mn-logistik.de> References: <200301221713.29387.h.schurig@mn-logistik.de> Message-ID: <3E2FA09A.508@elsoft.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Holger Schurig wrote: > Hi ! > > Attached is a patch for armboot that directly calls a Linux zImage. It has > been tested on my PXA250 platform. > > Prerequisites: > > - works only on arm, because it takes stuff from asm_arm/armlinux.c > - set CONFIG_KERNEL_RAM_BASE to where the zImage is in Flash > > Problems: > > - I have no clue if the tag list get's correctly set up, I'm using a kernel > 2.4 which doesn't use the tags anyway. AFAICS 2.4 uses the tag list if there is one prepared by the bootloader. > - how can I pass the cmdline? By using the "ATAG_CMDLINE" in the tag list. Make sure you have defined "CONFIG_CMDLINE_TAG" in your u-boot config file. > - Kernel 2.4. clobbers r2, the pointer to the tag list. In your fixup code you > can have > > MACHINE_START(...) > BOOT_PARAMS(0xa0000100) > ... > MACHINE_END > > but how put I *params to some fixed address? > See http://sourceforge.net/mailarchive/forum.php?thread_id=1531608&forum_id=12898 Dave