Commit Graph

40 Commits

Author SHA1 Message Date
Maxime Chevallier
1984222c84 configs/beaglebone: add DT for the Beaglebone Black Wireless
The Beaglebone Black Wireless needs a specific DT, which u-boot tries to
load based on the board name. Make sure we ship the DT so that we can
boot on that platform.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-14 20:56:04 +01:00
Vincent Stehlé
08c48454e2 configs/beaglebone: bump kernel and U-Boot versions
- Bump kernel to version 5.10.30-ti-r3.
- Bump U-Boot to version 2021.04.

Add mdev to the beaglebone_defconfig. This gives us automatic USB support,
as the omap2plus kernel has most drivers as modules.

While at it, enable VFPv3 with 32 registers (instead of 16) and add a few
comments to the defconfig.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-18 15:20:30 +02:00
Heiko Thiery
a2e9f6d639 configs/beaglebone_defconfig: bump U-Boot to 2020.04
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-21 23:10:55 +02:00
Thomas Petazzoni
38912a61be configs/beaglebone: kernel builds needs host-openssl
Fixes:

514 scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
515  #include <openssl/bio.h>

Seen at:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/378314247

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-12-16 22:11:08 +01:00
Carlos Santos
447368496c configs/beaglebone: bump kernel version to 4.19.79-ti-r30
Use the github macro instead of git, to save download time.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-11-13 14:02:35 +01:00
Carlos Santos
5401d71e61 configs/beaglebone: use the new BeagleBoard/BeagleBone kernel repository
The original source URL (http://beagleboard.org/source) now redirects to
https://elinux.org/Beagleboard:BeagleBoneBlack_Rebuilding_Software_Image
which points to an official kernel repository at GitHub.

There are updated RT and non-RT kernel source trees. Use the last non-RT
release (4.19.73-ti-r29) and the omap2plus defconfig.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-11-08 22:10:55 +01:00
Carlos Santos
5570bf9850 configs/beaglebone: don't use custom post-image script
Use support/scripts/genimage.sh, instead, which prevents duplicating
TARGET_DIR under ${BUILD_DIR}/genimage.tmp/root.

Use a post-build script to copy uEnv.txt to BINARIES_DIR, as made for
beagleboneai.

Keep the post-image script because it is still used by beaglebone_qt5.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-27 12:20:46 +01:00
Lothar Felten
b6dd1a07e9 configs: beaglebone: bump kernel and uboot version
Switch to Linux kernel version 4.19.38 from the TI SDK 06.00.00.07
(TI SDK release date: 7.8.2019)
Added beaglebone blue
Updated uboot to version 2019.07

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-10-11 22:01:12 +02:00
Yegor Yefremov
68b5b79b2f configs/beaglebone_defconfig: use default console device
OMAP kernels use 8250 driver by default. Hence the name of
the console device is not /dev/ttyO0 but /dev/ttyS0.
Use /dev/console in order to handle the console independently
of the selected driver.

Tested in BeagleBone Black board.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-30 22:21:11 +02:00
Thomas Petazzoni
80029da692 configs/beaglebone: kernel build needs mkimage
Following ffbe46a529 ("linux: simplify
LINUX_BUILD_CMDS"), the Linux kernel build for beaglebone_defconfig
builds more things, including some .itb files, which require mkimage
with FIT support.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339433

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-24 22:46:49 +02:00
Lothar Felten
4220eee68a configs/beaglebone: bump U-Boot and Linux versions
Switch to Linux kernel version 4.14.40 from the TI SDK 05.00.00.15 (TI
SDK release date: 26.07.2018).

Bump u-boot version to 2018.07.

Tested on Beaglebone Black and Beaglebone White

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-09-14 22:05:42 +02:00
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