All of lore.kernel.org
 help / color / mirror / Atom feed
From: drew.moseley@mender.io
To: yocto@yoctoproject.org
Subject: [meta-chip][PATCH V3 1/4] chip: Make page size into a variable.
Date: Wed, 28 Jun 2017 21:12:03 -0400	[thread overview]
Message-ID: <ef210e07d2b7161718afb1e33e663a3fcee7c06b.1498698415.git.drew.moseley@mender.io> (raw)
In-Reply-To: <cover.1498698415.git.drew.moseley@mender.io>

From: Drew Moseley <drew.moseley@mender.io>

Signed-off-by: Drew Moseley <drew.moseley@mender.io>
---
 conf/machine/chip.conf | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf
index 0a45a2f..dad1bdb 100644
--- a/conf/machine/chip.conf
+++ b/conf/machine/chip.conf
@@ -30,5 +30,6 @@ MACHINE_FEATURES = "usbgadget usbhost wifi"
 MACHINE_EXTRA_RRECOMMENDS += "kernel-module-r8723bs rtl8723bs"
 
 UBI_VOLNAME = "rootfs"
-MKUBIFS_ARGS = "--min-io-size 16384 --leb-size 2064384 --max-leb-cnt 2000"
-UBINIZE_ARGS = "--min-io-size 16384 --peb-size 2097152 --sub-page-size 16384"
+CHIP_UBI_PAGE_SIZE = "16384"
+MKUBIFS_ARGS = "--min-io-size ${CHIP_UBI_PAGE_SIZE} --leb-size 2064384 --max-leb-cnt 2000"
+UBINIZE_ARGS = "--min-io-size ${CHIP_UBI_PAGE_SIZE} --peb-size 2097152 --sub-page-size 16384"
-- 
2.7.4



  reply	other threads:[~2017-06-29  1:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29  1:12 [meta-chip][PATCH V3 0/4] Initial attempt at flashing instructions drew.moseley
2017-06-29  1:12 ` drew.moseley [this message]
2017-06-29  1:12 ` [meta-chip][PATCH V3 2/4] u-boot-chip: Deploy the sunxi-spl-with-ecc.bin file drew.moseley
2017-06-29  1:12 ` [meta-chip][PATCH V3 3/4] chip: Build sunxi-tools-native drew.moseley
2017-06-29  1:12 ` [meta-chip][PATCH V3 4/4] chip: Add chip-u-boot-scr recipe and flash script drew.moseley
2017-06-29 15:48 ` [meta-chip][PATCH V3 0/4] Initial attempt at flashing instructions Andrei Gherzan

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=ef210e07d2b7161718afb1e33e663a3fcee7c06b.1498698415.git.drew.moseley@mender.io \
    --to=drew.moseley@mender.io \
    --cc=yocto@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.