From: John Stile <john@stilen.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] is it possilbe to have uboot find the kernel in the file system?
Date: Thu, 03 Jan 2013 12:56:41 -0800 [thread overview]
Message-ID: <1357246601.7939.128.camel@genx> (raw)
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
next reply other threads:[~2013-01-03 20:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 20:56 John Stile [this message]
2013-01-03 21:07 ` [U-Boot] is it possilbe to have uboot find the kernel in the file system? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357246601.7939.128.camel@genx \
--to=john@stilen.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox