All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Ignatov <lexszero@gmail.com>
To: meta-freescale@yoctoproject.org
Cc: Alexey Ignatov <lexszero@gmail.com>
Subject: [PATCHv2 2/2] imx28evk: Add U-Boot NAND image generation support
Date: Thu,  5 Jun 2014 14:22:00 +0400	[thread overview]
Message-ID: <1401963720-23756-2-git-send-email-lexszero@gmail.com> (raw)
In-Reply-To: <1401963720-23756-1-git-send-email-lexszero@gmail.com>

This defines NAND parameters for u-boot.mxsboot-nand image creation
similar to those used for UBI image (for K9LBG08U0D-PCB chip):
- page size: 4 k
- OOB size: 218 bytes
- erase size: 512 k

Signed-off-by: Alexey Ignatov <lexszero@gmail.com>
---
 conf/machine/imx28evk.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index d4f1ad6..c25e54b 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -29,6 +29,7 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
 
 MKUBIFS_ARGS = "--min-io-size 4096 --leb-size 516096 --max-leb-cnt 8139"
 UBINIZE_ARGS = "--min-io-size 4096 --peb-size 524288 --sub-page-size 4096"
+MXSBOOT_NAND_ARGS = "-w 4096 -o 218 -e 524288"
 
 ## To determine parameters' values, run "ubiattach -m 6 /dev/ubi_ctrl"
 ## (assuming the rootfs device is /dev/mtd6).  Here's an example:
-- 
1.8.2.1



      reply	other threads:[~2014-06-05 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 10:21 [PATCHv2 1/2] image_types_fsl.bbclass: Add U-Boot NAND support for i.MX23/i.MX28 Alexey Ignatov
2014-06-05 10:22 ` Alexey Ignatov [this message]

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=1401963720-23756-2-git-send-email-lexszero@gmail.com \
    --to=lexszero@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.