Commit Graph

8 Commits

Author SHA1 Message Date
Peter Korsgaard
4b65991461 openblocks_a6_defconfig: improve/fix configuration
The board has an ethernet interface, so enable DHCP for it.

The used flash chip uses 16K erase blocks, so use that for JFFS2:

mtdinfo -a
..
mtd5
Name:                           user
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          1915 (31375360 bytes, 29.9 MiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:10
Bad blocks are allowed:         true
Device is writable:             true

While we're at it, add a readme explaining how to build and upload the build
to the board.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-06-17 10:48:05 +02:00
Peter Korsgaard
9f58085800 openblocks_a6_defconfig: bump to linux-4.11.5 to fix build with gcc 6
The recent change to default to gcc 6 for the internal toolchain broke this
defconfig, as the kernel doesn't contain commit cb984d101b (compiler-gcc:
integrate the various compiler-gcc[345].h files) which was added during the
4.2 cycle.

Fix the build by bumping the kernel to 4.11.5.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-06-17 10:47:48 +02:00
Peter Korsgaard
7fac78c51e configs/*: drop explicit BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
Commit 7f1f9185e (system: default to devtmpfs for /dev) changed our default
for /dev handling, but didn't remove the explicit selection of devtmpfs from
a number of defconfigs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-25 14:07:58 +02:00
Yann E. MORIN
674e099678 defconfigs: all use the headers from the kernel
For most defconfigs, it was trivial to deduce the kernel version, by
just reading the version string, which could be:
  - a standard upstream version string vX.Y.Z
  - a non-standard version string, but still containg the standard X.Y.Z

Those for which it was not so trivial were those hosted on git tree.
Since most were already using a custom linux-headers version, it could
be easily deduced from that. It was confirmed by browsing said git trees
and check the version there.

There are a few cases were there was a mismatch:

  - microzed:     uses a 3.18 kernel, but 3.8 headers; fixed.
  - xilinx_zc706: uses a 3.14 kernel, but 3.8 headers; fixed.
  - zedboard:     uses a 3.18 kernel, but 3.8 headers; fixed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-06 10:59:15 +01:00
Michał Leśniewski
e3904a890d fs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage
Fixes 

Mkfs.jffs2 accepts a --pagesize parameter, which allows specifying the size
of the virtual memory page size of the target machine, where the image will
be used.  (This is the value of the PAGE_SIZE macro in Linux.) In most cases
the parameter doesn't need to be set as the default value of 4 kB is usually
correct.

The parameter was used incorrectly in Buildroot -- it was set to the page
size of flash memory chip -- this commit fixes this problem.  Now the
--pagesize parameter is not used at all (unless the user explicitly chooses
to use a custom value during configuration).  All existing defconfigs were
corrected to match the new configuration variable names.

[Peter: reword, add Config.in.legacy handling]
Signed-off-by: Michał Leśniewski <mlesniew@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-22 11:36:00 +02:00
Peter Korsgaard
c089bb25e2 defconfigs: bump openblocks a6 kernel to 3.18.1
And move to mvebu_v5_defconfig as kirkwood has been merged with mvebu since
3.17.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-02 00:02:23 +01:00
Peter Korsgaard
f06109a815 openblocks_a6_defconfig: bump to 3.14.3 kernel
And lock kernel headers to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 16:26:14 +02:00
Peter Korsgaard
8ebfb350a4 configs: add basic defconfig for openblocks a6
For details, see http://openblocks.plathome.com/products/a6/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-08 15:39:49 +02:00