Commit Graph

14 Commits

Author SHA1 Message Date
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