<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="monospace">Thanks Andy:<br>
I am trying&nbsp;</font><font face="monospace"> reduce the U-Boot.<br>
there are too many files : )<br>
and i also try to build it. there is some error, <br>
i try to google them to </font><font face="monospace">solve the
problem.<br>
<br>
</font><font face="monospace">i also try to build the KBOOT.<br>
use KBOOT in NEO what is the kernel must have (i mean the module)?<br>
if i can configure the kernel base on the OPENMOKO-kernel .config file?<br>
</font><font face="monospace"><br>
xiangfu<br>
<br>
Andy Green wrote:</font>
<blockquote cite="mid:482FE060.9030803@openmoko.com" type="cite"><font
 face="monospace">-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
  <br>
Somebody in the thread at some point said: <br>
|&nbsp; wrote by werner: <br>
|&nbsp;&nbsp;&nbsp;&nbsp; I'd recommend storing the first-stage loader in the first NAND
erase <br>
|&nbsp;&nbsp;&nbsp;&nbsp; page (128kB), and the kboot system in the following pages. That
way, <br>
|&nbsp;&nbsp;&nbsp;&nbsp; the kboot system can be replaced without changing the first-stage
  <br>
| loader, <br>
|&nbsp;&nbsp;&nbsp;&nbsp; and vice versa. <br>
| <br>
| i think the first-stage for kboot needs : <br>
|&nbsp;&nbsp;&nbsp;&nbsp; /u-boot/cpu/arm920t/start.S <br>
|&nbsp;&nbsp;&nbsp;&nbsp; /u-boot/board/neo1973/common/lowlevel_init.S <br>
|&nbsp;&nbsp;&nbsp;&nbsp; /u-boot/cpu/arm920t/s3c24x0/nand_read.c <br>
| <br>
| if we just need the three files. <br>
| i want to know how to build a first-stage&nbsp; bin file. <br>
| <br>
| and i don't want build it in the u-boot project. <br>
| there are too many code and file in u-boot that we don't need. <br>
| i want create a new project about first-stage. <br>
| give me some advice. <br>
  <br>
If I was doing this, I would think about two ways <br>
  <br>
~ - reduce the U-Boot configure to this minimum, then delete all
sources <br>
~ not compiled from U-Boot tree, clean down the Makefile, until you can
  <br>
have the minimum needed <br>
  <br>
~ - capture the existing U-Boot build actions into a script, ie, watch <br>
the gcc command lines used and copy the ones for the files you are <br>
interested in.&nbsp; Simulate just running those with your script. <br>
  <br>
- -Andy <br>
  </font></blockquote>
</body>
</html>