public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] is it possilbe to have uboot find the kernel in the file system?
@ 2013-01-03 20:56 John Stile
  2013-01-03 21:07 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: John Stile @ 2013-01-03 20:56 UTC (permalink / raw)
  To: u-boot

Is it possible to add my kernel to the rootfs partition rather than have
a separate partition? 

I am using U-Boot 1.3.4, on a at91sam9g20ek (256Mb Nand, 8Mb Nor), and
use the sam-ba firmware upload tool. 

I'd like to put everything on nand, ignore nor, and hold redundant
areas, in perpetration for firmware updates.

My starting point is from the atmel Linux4SAM project:
Nor layout:
 Logical address: 0xD0000000
   size          Address-Range
   16895 Area 0: D0000000 to D00041FF (RO) Bootstrap
   16895 Area 1: D0004200 to D00083FF      Environment
  236543 Area 2: D0008400 to D0041FFF (RO) U-Boot
 2152687 Area 3: D0042000 to D0251FFF      Kernel
 6217727 Area 4: D0252000 to D083FFFF      FS

Nand layout:
 4194304:  0x000000000000-0x000000400000 : "bootstrap/uboot/kernel"
 62914560  0x000000400000-0x000004000000 : "rootfs"
 201226592 0x000004000000-0x000010000000 : "data"

bootargs:
mem=64M console=ttyS0,115200
mtdparts=atmel_nand:4M(bootstrap/uboot/kernel)ro,60M(rootfs),-(data)
root=/dev/mtdblock1 rw rootfstype=jffs2

bootcmd:
cp.b 0xD0042000 0x22200000 0x0019306C; bootm 0x22200000

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-01-05  1:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 20:56 [U-Boot] is it possilbe to have uboot find the kernel in the file system? John Stile
2013-01-03 21:07 ` Wolfgang Denk
2013-01-04  2:06   ` John Stile
2013-01-04  8:00     ` Wolfgang Denk
2013-01-04 18:19       ` John Stile
2013-01-04 20:46         ` Jeroen Hofstee
2013-01-04 22:12         ` Wolfgang Denk
2013-01-05  1:25           ` John Stile
2013-01-05  1:53             ` Bo Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox