From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/7] add support for the etamin draco board variant.
Date: Tue, 7 Jun 2016 08:55:38 +0200 [thread overview]
Message-ID: <1465282545-2810-1-git-send-email-hs@denx.de> (raw)
In the draco CPU board family, etamin is a new variant
with bigger flash and more RAM. Due to new flash that
uses larger pages (4K) some changes are necessary because
it impacts the MTD partition layout and the ubi mount
parameters.
special here is:
- adding MTD concat support for nand flashs
- add UBI Fastmap support for the siemens boards
- fix a bug in dfu/nand when erasing remaining blocks on
ubi partitions.
- nand on etamin uses eccstrength bch16, so support
switch to bch16 also.
- read the ecc type from the config in i2c eeprom, so
no need to use a define.
$ ./tools/buildman/buildman arm -se
boards.cfg is up to date. Nothing to do.
Summary of current source for 561 boards (8 threads, 1 job per thread)
arm: + Cubietruck omap3_logic omap3_overo gwventana
+arm-linux-gnueabi-ld.bfd: u-boot-spl section `.data' will not fit in region `.sram'
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 236 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 944 bytes
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 620 bytes
+common/spl/spl_ext.c: In function 'spl_load_image_ext_os':
+common/spl/spl_ext.c:125:20: error: 'CONFIG_SPL_FS_LOAD_ARGS_NAME' undeclared (first use in this function)
+common/spl/spl_ext.c:125:20: note: each undeclared identifier is reported only once for each function it appears in
+common/spl/spl_ext.c:139:4: error: 'CONFIG_SPL_FS_LOAD_KERNEL_NAME' undeclared (first use in this function)
+make[3]: *** [spl/common/spl/spl_ext.o] Error 1
+make[2]: *** [spl/common/spl] Error 2
w+common/spl/spl_ext.c:140:1: warning: control reaches end of non-void function [-Wreturn-type]
$
No new errors/warnings
- news for the v2 version:
as Scott Wood posted a "mtd, nand sync with Linux v4.6"
patchserie, I rebased this patchset to his series, so my
patches are based on the patches:
[U-Boot,1/7] mtd: nand: Remove jz4740 driver
http://patchwork.ozlabs.org/patch/627922/
[U-Boot,2/7] mtd: nand: Remove docg4 driver and palmtreo680 flashing tool
http://patchwork.ozlabs.org/patch/627924/
[U-Boot,3/7] mtd: nand: Remove nand_info_t typedef
http://patchwork.ozlabs.org/patch/627923/
[U-Boot,4/7] nand: Embed mtd_info in struct nand_chip
http://patchwork.ozlabs.org/patch/627925/
[U-Boot,5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data
http://patchwork.ozlabs.org/patch/627926/
[U-Boot,6/7] mtd: nand: Add page argument to write_page() etc.
http://patchwork.ozlabs.org/patch/627927/
[U-Boot,7/7] mtd: nand: Sync with Linux v4.6
http://patchwork.ozlabs.org/patch/627928/
Last but not least, tbot results for the etamin module
(UBI/UBIFS and a lot of DFU tests)
xeidos.ddns.net/tests/test_db_auslesen.php#42
http://xeidos.ddns.net/tbot/id_42/html_log.html
Changes in v2:
- rebase to current mainline commit id:
e4a94ce4ac77396b181663c0493c50bc2d5b9143
- add comments from Scott Wood:
- correct spelling error "dettach" -> "detach"
- use "oss at buserror.net" as email address for Scott
- rebase to current mainline commit id:
e4a94ce4ac77396b181663c0493c50bc2d5b9143
- add comments from Scott Wood:
- move c_mtd_name from file scope to local
- use nand_info instead mtd_nand_list
- use oss at buserror.net as email address for Scott
- rebase to current mainline commit id:
e4a94ce4ac77396b181663c0493c50bc2d5b9143
and the "mtd: nand Sync with Linux v4.6" patches:
[U-Boot,1/7] mtd: nand: Remove jz4740 driver
http://patchwork.ozlabs.org/patch/627922/
[U-Boot,2/7] mtd: nand: Remove docg4 driver and palmtreo680 flashing tool
http://patchwork.ozlabs.org/patch/627924/
[U-Boot,3/7] mtd: nand: Remove nand_info_t typedef
http://patchwork.ozlabs.org/patch/627923/
[U-Boot,4/7] nand: Embed mtd_info in struct nand_chip
http://patchwork.ozlabs.org/patch/627925/
[U-Boot,5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data
http://patchwork.ozlabs.org/patch/627926/
[U-Boot,6/7] mtd: nand: Add page argument to write_page() etc.
http://patchwork.ozlabs.org/patch/627927/
[U-Boot,7/7] mtd: nand: Sync with Linux v4.6
http://patchwork.ozlabs.org/patch/627928/
Series-changes: 3
- add comment from Scott Wood
build an array for none NULL-devices. While at it
move the nand mtd concat code into a seperate
function.
- rebase to "Prepare v2016.07-rc1"
b104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91
and the "mtd: nand Sync with Linux v4.6" patches:
[U-Boot,1/7] mtd: nand: Remove jz4740 driver
http://patchwork.ozlabs.org/patch/627922/
[U-Boot,2/7] mtd: nand: Remove docg4 driver and palmtreo680 flashing tool
http://patchwork.ozlabs.org/patch/627924/
[U-Boot,3/7] mtd: nand: Remove nand_info_t typedef
http://patchwork.ozlabs.org/patch/627923/
[U-Boot,4/7] nand: Embed mtd_info in struct nand_chip
http://patchwork.ozlabs.org/patch/627925/
[U-Boot,5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data
http://patchwork.ozlabs.org/patch/627926/
[U-Boot,6/7] mtd: nand: Add page argument to write_page() etc.
http://patchwork.ozlabs.org/patch/627927/
[U-Boot,7/7] mtd: nand: Sync with Linux v4.6
http://patchwork.ozlabs.org/patch/627928/
Heiko Schocher (6):
ubi: add new ubi command "ubi detach"
nand: add nand mtd concat support
mtd: nand: omap: allow to switch to BCH16
am335x, dxr2: get ECC sType from I2C eeprom
dfu, nand, ubi: fix erasing after write finish
siemens,am33x: add draco etamin board
Samuel Egli (1):
siemens,am33x: add ubi fastmap support
arch/arm/Kconfig | 5 +
arch/arm/cpu/armv7/omap3/board.c | 6 +-
board/siemens/common/board.c | 4 +
board/siemens/draco/Kconfig | 16 ++
board/siemens/draco/MAINTAINERS | 1 +
board/siemens/draco/board.c | 84 ++++++++++-
board/siemens/draco/mux.c | 2 +-
cmd/ubi.c | 38 +++--
configs/etamin_defconfig | 17 +++
drivers/dfu/dfu_nand.c | 12 +-
drivers/mtd/nand/nand.c | 41 ++++++
drivers/mtd/nand/omap_gpmc.c | 4 +
include/configs/draco.h | 1 +
include/configs/etamin.h | 261 +++++++++++++++++++++++++++++++++
include/configs/pxm2.h | 1 +
include/configs/rastaban.h | 1 +
include/configs/rut.h | 1 +
include/configs/siemens-am33x-common.h | 7 +-
include/configs/thuban.h | 1 +
19 files changed, 484 insertions(+), 19 deletions(-)
create mode 100644 configs/etamin_defconfig
create mode 100644 include/configs/etamin.h
--
2.5.5
next reply other threads:[~2016-06-07 6:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 6:55 Heiko Schocher [this message]
2016-06-07 6:55 ` [U-Boot] [PATCH v3 1/7] siemens,am33x: add ubi fastmap support Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, 1/7] siemens, am33x: " Tom Rini
2016-06-07 6:55 ` [U-Boot] [PATCH v3 2/7] ubi: add new ubi command "ubi detach" Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot,v3,2/7] " Tom Rini
2016-06-07 6:55 ` [U-Boot] [PATCH v3 3/7] nand: add nand mtd concat support Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot,v3,3/7] " Tom Rini
2016-06-07 6:55 ` [U-Boot] [PATCH v3 4/7] mtd: nand: omap: allow to switch to BCH16 Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:55 ` [U-Boot] [PATCH v3 5/7] am335x, dxr2: get ECC sType from I2C eeprom Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:55 ` [U-Boot] [PATCH v3 6/7] dfu, nand, ubi: fix erasing after write finish Heiko Schocher
2016-06-09 18:04 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-23 15:00 ` [U-Boot] [PATCH v3 " Lukasz Majewski
2016-06-07 6:55 ` [U-Boot] [PATCH v3 7/7] siemens,am33x: add draco etamin board Heiko Schocher
2016-06-09 18:04 ` [U-Boot] [U-Boot,v3,7/7] " Tom Rini
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=1465282545-2810-1-git-send-email-hs@denx.de \
--to=hs@denx.de \
--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