Commit Graph

634 Commits

Author SHA1 Message Date
Andrei Gherzan
ecb269577b raspberrypi3-64.conf: Make SERIAL_CONSOLE overwritable
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-20 18:17:10 +01:00
Andrei Gherzan
8b433e41f6 raspberrypi2.conf: Make SERIAL_CONSOLE overwritable
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-20 18:16:35 +01:00
Andrei Gherzan
f95491903a raspberrypi.conf: Have the ability to overwrite SERIAL_CONSOLE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-20 12:24:51 +01:00
Andrei Gherzan
039a1d7f2a raspberrypi0-wifi.conf: Use a stand alone machine configuration
As well make all the variables assigned in a way that they can be
overwritten so we can give maximum flexibility to distros.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-19 19:19:32 +01:00
Khem Raj
375e5d64ba rpi-config: Specify bcm2710-rpi-3-b dtb for 64bit rpi3
Let config.txt explicitly specify it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:57 +01:00
Khem Raj
b61403a6a3 sdcard: Use kernel8.img for 64bit kernel image name
This helps the firmware to identify the kernel as 64bit
image

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:56 +01:00
Paul Barker
a151923fa5 raspberrypi3-64: Override rpi-default-versions.inc
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-04-19 19:17:55 +01:00
Khem Raj
a168fc389e raspberrypi3-64.conf: Specifiy rpi3-64bit dtbs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:53 +01:00
Khem Raj
bc2a2abce0 raspberrypi3-64.conf: Use 4.9 as default kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:52 +01:00
Herve Jourdain
317cdf9934 Add raspberrypi3-64.conf
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:48 +01:00
Khem Raj
0fa47d5f2a linux-raspberrypi: Add defconfig for raspberrypi3-64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-19 19:17:47 +01:00
Andrei Gherzan
b82067de87 linux-raspberrypi_4.9: Bump to 4.9.21
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-19 19:17:46 +01:00
Andrei Gherzan
1df7181396 udev: Create rules file to generate serial0/1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-18 20:08:42 +02:00
Andrei Gherzan
45638700dd README: Add info about raspberrypi0-wifi
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-17 13:27:43 +01:00
Andrei Gherzan
736e4fabca raspberrypi0-wifi.conf: Add machine configuration file
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-17 13:20:46 +01:00
Andrei Gherzan
e9a4bf9ef5 rpi-base.inc: Include dtb for RPI0 WiFi
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-17 13:20:10 +01:00
Andrei Gherzan
19e9381dbc firmware.inc: Bump to 20170405
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-17 13:16:51 +01:00
Khem Raj
ab9335f90c firmware: Update to 20170303 release
Uses 4.9.13 and has rpi0w support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 13:16:46 +01:00
Khem Raj
4c1362117a firmware: Update to 20161215 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 13:16:42 +01:00
Khem Raj
86fe4f9ccb linux-firmware: Bring up wifi/ble interface on rpi3
Currently the firmware is installed but kernel fails to load it
due this .txt file missing in the firmware directory and it ends
up with wifi/bluetooth i/f not being initialized. The error is
also in dmesg

[    3.120991] usbcore: registered new interface driver brcmfmac
[    3.148240] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2

After applying this patch now ifconfig -a can list wlan0 interface
successfully.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 12:58:46 +01:00
Paul Barker
5de45f285e
linux-raspberrypi_4.4: Update to 4.4.50
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-21 16:54:08 +00:00
Paul Barker
cb8587a395
linux-raspberrypi: Fix uImage build on 4.9.y and later
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-21 16:54:06 +00:00
Khem Raj
9cd3776bd2
linux-raspberrypi_4.9.bb: Update to 4.9.13
drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-21 16:54:05 +00:00
Khem Raj
cce6292e41
linux-raspberrypi_4.9.bb: Upgrade to 4.9.10
Fix dtbo builds for arm64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-02-19 22:27:55 -08:00
Paul Barker
c34a6b0343
linux-raspberrypi_4.4: Update to 4.4.48
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-02-19 22:27:54 -08:00
Mirza Krak
73980301cf Revert "u-boot: drop patch to include lowlevel_init"
Not applicable on U-boot 2016.03 which is used in poky/morty and causes an build
error when KERNEL_IMAGETYPE = "uImage".

This reverts commit 031e26954b.

[Issue #43]

Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
2017-01-25 16:32:28 +01:00
Andrei Gherzan
69c56754bd README: Mention CM1 and CM3 support
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 18:45:48 +01:00
Andrei Gherzan
56b0c59894 rpi-base.inc: Include dtb file for CM1 and CM3
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 18:45:41 +01:00
Andrei Gherzan
a7354774fe raspberrypi*.conf: Minor tweaks
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 18:45:30 +01:00
Andrei Gherzan
9923618351 raspberrypi-cm3.conf: Add dummy machine for CM3 (alias for RPi2)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 18:42:20 +01:00
Andrei Gherzan
d5aa048edb raspberrypi-cm.conf: Add dummy machine for CM1 (alias for RPi1)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 18:41:58 +01:00
Andrei Gherzan
5b5c4d9334 linux-raspberrypi_4.9: Update to 4.9.4
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-19 12:47:28 +01:00
Andrei Gherzan
f81f022439 linux-raspberrypi_4.4: Update to 4.4.43
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-19 12:47:22 +01:00
Paul Barker
263e6bdf57 linux-raspberrypi: Drop v4.8
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-19 12:47:15 +01:00
Paul Barker
121e2005cc linux-raspberrypi: Drop v4.7
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-19 12:47:10 +01:00
Paul Barker
cb7068a6dc linux-raspberrypi: Upgrade to v4.4.39
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-19 12:47:03 +01:00
Paul Barker
38bc32478e linux-raspberrypi: Drop v4.1
The linux-raspberrypi 4.1 recipe has been broken for a while, probably since
09b76a43f6. It should now be safe to drop this
version.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-19 12:46:55 +01:00
Khem Raj
e1f69daa80 linux-raspberrypi_4.9.bb: Add recipe for 4.9 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-01-12 19:47:52 +01:00
Khem Raj
02c0d41478 linux-raspberrypi_4.8.bb: Upgrade to 4.8.16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-01-12 19:47:51 +01:00
Mirza Krak
031e26954b u-boot: drop patch to include lowlevel_init
The patch 0003-Include-lowlevel_init.o-for-rpi2.patch does not apply on
2016.11 and causes an build error.

Patch 0002-rpi-passthrough-of-the-firmware-provided-FDT-blob.patch
provides the inclusion of lowlever_init.o.

Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
2016-12-29 20:00:55 +01:00
Andreas Müller
c40558173f rpi-base.inc: remove input modules form XSERVER
This is nothing a BSP has to decide

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-12-29 19:51:37 +01:00
Andreas Müller
d77f3d46e3 rpi-base.inc: add xserver-xorg-extension-glx to XSERVER for vc4 enabled
make glxinfo/glggears/.. work

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-12-29 19:51:34 +01:00
Andrei Gherzan
672e025e2d linux-raspberrypi-4.8: Upgrade to 4.8.15
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-12-29 19:48:13 +01:00
Khem Raj
1bf09a45a9 userland: Fix building on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-29 19:33:20 +01:00
Khem Raj
22fb2b4b25 linux-raspberrypi-4.8: Upgrade to 4.8.13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-29 19:33:18 +01:00
Khem Raj
90c45b48f6 userland: Update to latest
* Regenerate forward patches
* Remove upstreamed ones

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-29 19:33:17 +01:00
Andreas Müller
96b9c633d7 linux-raspberrypi-base.bbclass: remove version hack
* no more required (version > 3.17 | > 4.3.x | > 4.4.5)
* causes error with rt kernel

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-12-29 19:23:28 +01:00
Frank Meerkoetter
17f0c23305 linux-rpi.inc: Do not rely on DISTRO_TYPE to enable/disable kernel debug
DISTRO_TYPE doesn't seem to be set anywhere in OE/poky. This causes
CMDLINE_DEBUG to default to "debug" which is very noisy. This is
especially true when building a systemd based system, as systemd
also looks at the kernel commandline to set the debug level.
Such a system is nearly unuseable from the serial console due
to the amount of data logged by systemd.

Signed-off-by: Frank Meerkoetter <meerkoetter@googlemail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-12-06 19:55:18 +01:00
Jonathan Liu
064aa0a388 u-boot: Simplify boot script
A patch is backported to check if the firmware loaded a device tree blob
into memory and set the fdt_addr variable if it is found. The U-Boot
script will then read the command line arguments generated by the
firmware from the device tree and boot the kernel with the command
line arguments and the loaded device tree.

This allows things like MAC address, board revision and serial number
to be correctly configured and options in config.txt to be used.

An additional patch is backported and further changes are made to support
this.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2016-12-06 19:16:11 +01:00
Trevor Woerner
0e66d6953c linux-raspberrypi_4.8.bb: upgrade to 4.8.12
The rpi-4.8.y branch of git://github.com/raspberrypi/linux.git was rebased,
losing any previous commit hashes. This latest update doesn't include the
raspberry pi patches for 4.8.6, but the upstream patches are included starting
with 4.8.11.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-12-06 17:20:33 +01:00