From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: RONETIX - Asen Dimov <dimov@ronetix.at>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 1/4] pm9g45: boot from NAND
Date: Thu, 8 Mar 2012 14:05:29 +0100 [thread overview]
Message-ID: <20120308130529.GN12248@game.jcrosoft.org> (raw)
In-Reply-To: <4F5899EF.8010801@ronetix.at>
On 13:37 Thu 08 Mar , RONETIX - Asen Dimov wrote:
> Hi Jean-Christophe,
>
> On 03/02/2012 07:18 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> >On 18:55 Fri 02 Mar , Asen Chavdarov Dimov wrote:
> >>- change the kernel and rootfs locations
> >>- correct the NAND mtd partitions
> >>- fix the DDR RAM location(so BareBox load address)
> >>- expect the root file system type to be UBIFS
> >>
> >>Signed-off-by: Asen Chavdarov Dimov<dimov@ronetix.at>
> >>---
> >>since v1:
> >> this patch I gorgot to send, so it pops-up now
> >>---
> >> arch/arm/boards/pm9g45/env/config | 8 +-
> >> arch/arm/configs/pm9g45_defconfig | 339 +++++++++++++++++++++++++++++++++---
> >please use savedefconfig to generate the defconfig
> done.
> >> 2 files changed, 314 insertions(+), 33 deletions(-)
> >>
> >>diff --git a/arch/arm/boards/pm9g45/env/config b/arch/arm/boards/pm9g45/env/config
> >>index 3dea724..1858292 100644
> >>--- a/arch/arm/boards/pm9g45/env/config
> >>+++ b/arch/arm/boards/pm9g45/env/config
> >>@@ -11,9 +11,9 @@ ip=dhcp
> >> #eth0.serverip=a.b.c.d
> >>
> >> # can be either 'nfs', 'tftp' or 'nand'
> >>-kernel_loc=tftp
> >>+kernel_loc=nand
> >> # can be either 'net', 'nand' or 'initrd'
> >>-rootfs_loc=net
> >>+rootfs_loc=nand
> >>
> >> # can be either 'jffs2' or 'ubifs'
> >> rootfs_type=ubifs
> >>@@ -25,8 +25,8 @@ kernelimage=uImage
> >> #kernelimage=Image.lzo
> >>
> >> nand_device=atmel_nand
> >>-nand_parts="256k(barebox)ro,64k(bareboxenv),1536k(kernel),-(root)"
> >>-rootfs_mtdblock_nand=3
> >>+nand_parts="128k(bootstrap)ro,256k(barebox)ro,1664k(bareboxenv),3M(kernel.bb),-(root)"
> >use kerenel not kernel.bb
> In the "defaultenv/bin/boot" it is mentioned "/dev/nand0.kernel.bb"
> and many boards are using
> ".bb" suffix.
no the name need to be kernel
the .dd will be add automatically for the bad bloack aware device
> >why env the 1664k?
> To align the kernel to start at 2MiB offset.
so you loose space
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-03-08 13:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 16:21 [PATCH 1/3] pm9g45: fix Ethernet Asen Chavdarov Dimov
2012-03-01 16:21 ` [PATCH 2/3] pm9g45: enable MCI0 Asen Chavdarov Dimov
2012-03-01 17:10 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-01 16:21 ` [PATCH 3/3] pm9g45: enable USB OHCI host and USB mass storage Asen Chavdarov Dimov
2012-03-01 17:12 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 15:20 ` RONETIX - Asen Dimov
2012-03-02 17:13 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-01 17:08 ` [PATCH 1/3] pm9g45: fix Ethernet Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 16:55 ` [PATCH v2 1/4] pm9g45: boot from NAND Asen Chavdarov Dimov
2012-03-02 16:55 ` [PATCH v2 2/4] pm9g45: fix Ethernet Asen Chavdarov Dimov
2012-03-02 17:19 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 16:55 ` [PATCH v2 3/4] pm9g45: enable MCI0 Asen Chavdarov Dimov
2012-03-02 17:21 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 16:55 ` [PATCH v2 4/4] pm9g45: enable USB OHCI host and USB mass storage Asen Chavdarov Dimov
2012-03-02 17:22 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 17:18 ` [PATCH v2 1/4] pm9g45: boot from NAND Jean-Christophe PLAGNIOL-VILLARD
2012-03-08 11:37 ` RONETIX - Asen Dimov
2012-03-08 13:05 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-03-21 16:43 ` RONETIX - Asen Dimov
2012-03-21 16:27 ` [PATCH v3 " Asen Chavdarov Dimov
2012-03-21 16:27 ` [PATCH v3 2/4] pm9g45: fix Ethernet Asen Chavdarov Dimov
2012-03-21 16:27 ` [PATCH v3 3/4] pm9g45: enable MCI0 Asen Chavdarov Dimov
2012-03-22 20:17 ` Sascha Hauer
2012-03-23 12:55 ` RONETIX - Asen Dimov
2012-03-23 15:18 ` Sascha Hauer
2012-03-21 16:27 ` [PATCH v3 4/4] pm9g45: enable USB OHCI host and USB mass storage Asen Chavdarov Dimov
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=20120308130529.GN12248@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=dimov@ronetix.at \
/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