Commit Graph

29 Commits

Author SHA1 Message Date
Lothar Felten
23df65e10e configs: beaglebone: bump kernel and uboot version
Switch to Linux kernel version 4.9.59 from the TI SDK 04.02.00.09
(TI SDK release date: 23.12.2017)
Updated uboot to version 2018.01
uEnv.txt corrected to boot from sd card on the ti-am335x-evm

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-02 17:23:36 +02:00
Lothar Felten
eb1a20049b configs: beaglebone: bump kernel version to 4.4.41
Switch to Linux kernel version 4.4.41 from the TI SDK 03.03.00.04
(TI SDK release date: 29.03.2017)

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-05-17 10:46:53 +02:00
Matthias Fritzsche
4b2440b7dc beaglebone: add DT for BeagleBone Green
Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-05 22:25:40 +02:00
Lothar Felten
7b09ccedbc configs: beaglebone: bump kernel version to 4.4.32
Switch to Linux kernel version 4.4.32 from the TI SDK 03.02.00.05

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-24 18:26:52 +13:00
Peter Korsgaard
ae2dc85b89 beaglebone: defconfigs: u-boot needs dtc
Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/168763221

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-19 17:54:22 +02:00
Lothar Felten
70f5fb8c69 beaglebone: defconfigs: select ext4 as rootfs
Select ext4 as root file system as the genimage config expects ext4 not ext2.
Tested on beaglebone, beagleboneblack and AM335x EVM

[Peter: reworded slightly]
Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-18 22:13:41 +02:00
Lothar Felten
87d265f13f configs/beaglebone: update kernel/uboot, add AM335x EVM support
This patch updates the target config for the beaglebone based on the
AM335x CPU. It also supports the beagleboneblack, the TI evm and evmsk.
Device tree blobs for am335x-evm, am335x-evmsk, am335x-bone,
am335x-boneblack will be built and a sd card image is created with a
post-image script.  The kernel and driver versions match the
ti-processor-sdk 02.00.00.00.  Patches allow the use of old AM335x evm
revisions (1 bit sd card) and JTAG debugging.

Kernel JTAG patch: By default the kernel will disable the JTAG clock,
access via the JTAG port will not work after the kernel booted. The
AM335x-evm has a JTAG header fitted, this patch keeps the JTAG clock
alive.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
[Thomas: remove 1-bit MMC patch, it's causing a significant performance
regression for users of BeagleBone, which are 99.99% of the users of
this defconfig.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-15 17:39:46 +02:00
Ezequiel Garcia
2f4e8dbc2f configs/beaglebone: Bump U-Boot version
Currently selected version of U-Boot fails to compile.
Dying words are:

  gcc -g -O2 -I/home/zeta/buildroot/buildroot/output/host/usr/include -c -o env_embedded.o /home/zeta/buildroot/buildroot/output/build/uboot-2013.10/common/env_embedded.c
  /home/zeta/buildroot/buildroot/output/build/uboot-2013.10/lib/crc32.c:14:20: fatal error: common.h: No such file or directory
  compilation terminated.
  Makefile:258: recipe for target 'crc32.o' failed

Since it's quite old, instead of trying to fix it, let's
just upgrade.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-06 22:39:57 +02:00
Ezequiel Garcia
7d0b7d3c27 configs/beaglebone: Use genimage to produce the SD card image
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
[Thomas: added host dosfstools to the defconfig, needed to build a SD
card image with genimage when a FAT partition is listed in the
genimage configuration.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-06 22:38:19 +02:00
Gustavo Zacarias
fb1913210d configs: remove trailing directory slashes
They're not necessary and look bad.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-31 21:56:29 +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
Thomas Petazzoni
5c67cb1d04 linux: use zImage by default on ARM
Since quite some time, the kernel and bootloader communities consider
zImage as the default format for kernel images on ARM, replacing
uImage. The load address information in uImage is no longer needed,
since the kernel is position-independent in terms of physical address,
except on a few old platforms. For most people, using zImage is simply
better/simpler, so let's switch to zImage as the default image format
on ARM.

All defconfigs are updated: 46 defconfigs no longer need to select
explicitly zImage because it's the default, and 16 defconfigs now need
to explicitly select uImage because that's no longer the default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Acked-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-05 22:23:54 +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
Marcin Jabrzyk
620d4bc3af beaglebone: better support for starting and creating images
- Added short readme file with description of first steps how to start.
- Added uEnv.txt so the board can start from SDCard
- Added post-image.sh script to copy included uEnv.txt to output/images

[Peter: strip trailing spaces]
Signed-off-by: Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
Tested-by: Stephan Hoffmann <sho@relinux.de>
Tested-by: Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-12 18:27:49 +02:00
Hadrien Boutteville
0686dcf7a9 Improve support of OpenGL for BeagleBone Black
Make ti-gfx working on BeagleBone Black by adding an ugly necessary
patch to the kernel wich fix:
pvrsrvkm: Unknown symbol v7_dma_map_area
pvrsrvkm: Unknown symbol v7_dma_flush_range

Add drivers to the default kernel config used in beaglebone_defconfig
to enable the framebuffer.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-08 16:32:20 +02:00
Yann E. MORIN
96941a9f51 defconfigs: add the _AT_LEAST_X_Y headers options
Since commit 2a5cf5e (check kernel headers version), we also need to
specify the series of the custom kernel headers version.

The defconfigs file that define such a custom kernel headers version
now fail to build.

Add the required _AT_LEAST_X_Y options to those config files. Done with
this (convoluted but very fast, uch faster ythan manual editing!) rule:

    for f in $( git grep -l BR2_DEFAULT_KERNEL_VERSION=\"3 ); do
        grep -E '^BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_' "${f}" >/dev/null && continue
        sed -r -e '/^(BR2_DEFAULT_KERNEL_VERSION="3\.([[:digit:]]+).*")$/s//\1\nBR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_\2=y/' "${f}"
    done

Only kernels >= 3.0 need those options in the defconfig, since the
default for 2.6.x kernels is correct (selects _AT_LEAST_2_6), and
the default is not saved in a defconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-08 09:41:15 +01:00
Marcelo Gutiérrez(UTN/FRH)
52aef8aebc beaglebone: add DT for BeagleBone Black
The devicetree data for BeagleBone Black is the am335x–boneblack.dts file
(includes "am33xx.dtsi" and "am335x-bone-common.dtsi")

BeagleBone White uses the am335x-bone.dts file.

Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-17 09:01:38 +01:00
Anders Darander
994bf3ce91 beaglebone: change to zImage
The default U-Boot configuration is now to use a zImage instead of uImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-10 19:43:34 +01:00
Anders Darander
4c3144475e beaglebone: update to latest U-Boot
Update to the default version of U-Boot, at this time 2013.10.

Tested with an old uEnv.txt (i.e. using uImage) and with the
currently prefered zImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-10 19:42:50 +01:00
Anders Darander
1ca56e4e15 beaglebone: update to TI 3.12 kernel
Git repo version is taken from meta-ti.
It's a 3.12.10 kernel with TI's own patches on top.

The defconfig has been kept rather close to our old defconfig.
The kernel has been boot-tested using an NFS-root.

Apart from the kernel change, the linux headers has also been
updated from 3.8.12 to 3.12.10.

[Peter: drop UEVENT_HELPER_PATH setting]
Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-10 19:40:27 +01:00
Thomas De Schampheleire
d0a4de053e defconfigs: update after rename of custom git repo/version options
[Peter: also update cubieboard2, freescale_imx6* and wandboard]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-27 08:09:01 +01:00
Thomas Petazzoni
d2dc7be318 configs: use new EABIhf option for beaglebone_defconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-16 15:39:59 +02:00
Anders Darander
0399249b76 beaglebone: add am33x-cm3 to the build
Add the FW needed for the Cortex M3 on the beaglebone. This is required
for working power management.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 22:50:17 +02:00
Anders Darander
0012b7dcdb beaglebone: update to linux 3.8
As the beaglebone support is mainlined, there's no support for the old
board setup files, and the only supported run-time configuration is through
the device tree.

We're also setting the kernel headers to follow the 3.8 series.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-14 22:17:39 +02:00
Fabio Porcedda
5a6b7aa8d1 configs: use new u-boot custom version option
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-07 09:30:27 +02:00
Peter Korsgaard
53b2e94e2f beaglebone_defconfig: use u-boot 2013.04, add comments
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-24 09:19:19 +02:00
Gustavo Zacarias
85ffaecb27 configs/beaglebone_defconfig: lock down kernel headers version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-08 15:12:09 +01:00
Peter Korsgaard
177444c2e0 beaglebone_defconfig: use mainline u-boot
Board is now supported in mainline.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-18 23:20:26 +02:00
Frank Hunleth
2ab997142b BeagleBone: new board
This configuration provides a basic setup for using Buildroot
to create all of the images needed for a BeagleBone.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-07 21:43:16 +02:00