Commit Graph

731 Commits

Author SHA1 Message Date
Paul Barker
6786c0709d docs, readme: Update branch references for pyro
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-12-04 17:53:58 +01:00
Andrei Gherzan
3fa61f096f firmware.inc: Update to 20171029
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-12-04 17:53:58 +01:00
Andrei Gherzan
89a9e2d88d linux-raspberrypi: Update 4.9 recipe to 4.9.59
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-12-04 17:53:58 +01:00
Khem Raj
b7defa119a userland: Update to latest revision
Forward port patches as needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-12-04 17:53:58 +01:00
Francesco Giancane
d4ce736c91 userland: RPROVIDES is missing libegl
userland package is the Raspberry Pi provider for the openGL stack.
If selected, it shall provide the gles2 and egl stacks in conjunction
with mesa-gl.

libegl was missing in the RPROVIDES variable, thus some run-time
dependencies were not met when using userland as provider.

Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
2017-12-04 17:53:58 +01:00
Andrei Gherzan
b0acfb8dd3 userland: Update to current master HEAD
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-12-04 17:53:58 +01:00
Andrea Galbusera
8bd0459044 userland: Add missing EGL_CAST defines
Needed by libepoxy

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-12-04 17:53:58 +01:00
Paul Barker
40447de478 rpi-base.inc: Set dependencies for creating wic images
We need to ensure that the bootloader and firmware files are present in the
deploy directory before creating wic images.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-10-20 15:53:35 +01:00
Paul Barker
a6ebf95260 rpi-base.inc: Simplify setting of IMAGE_BOOT_FILES
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-10-20 15:53:35 +01:00
Andrea Galbusera
9bb89a75c0 rpi-base: wic: generate entries for u-boot
This commit allow wic generated images to work when we want u-boot to
load the kernel image.

Augment IMAGE_BOOT_FILES with the proper entries when KERNEL_IMAGETYPE
is "uImage". More specifically add u-boot image and boot.scr to deployed files
and give the proper name to the kernel image accordingly.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-10-20 15:53:35 +01:00
Khem Raj
015999bc02 linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-10-20 15:53:35 +01:00
Andrea Galbusera
093286dae8 sdcard_image-rpi: fix absolute path in vfat symlink
Fix bitbake complaining with:

ERROR: core-image-minimal-1.0-r0 do_image_complete: sstate found an absolute
path symlink [...].vfat pointing at [...].vfat. Please replace this with a
relative link.

This patch redefines SDIMG_VFAT as a file name instead of a full absolute path,
then fixing the symlink creation by pointing to a relative target. The cp
command that deploys the artifact is changed accordingly to include the
destination path.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-10-20 15:53:35 +01:00
Paul Barker
ed3b254454 Merge pull request #134 from agherzan/pyro-wifi-fw-update
linux-firmware: Update brcmfmac43430 to 7.45.41.46
2017-10-04 10:00:41 +01:00
Andrei Gherzan
1220c461d8
linux-firmware: Update brcmfmac43430 to 7.45.41.46
The version of this firmware provided by linux-firmware is 7.45.41.26. This
version seems to have connectivity issues when bonding interfaces. Raspbian
included an updated version (7.45.41.46) which tested, proved to fix this
problem (see https://github.com/resin-os/meta-resin/issues/812).

The version Raspbian is providing is not yet in linux-firmware as they have it
directly from Cypress (see https://github.com/RPi-Distro/repo/issues/88).
Besides the issue described above, it fixes various other issues including a
broadpwn fix.

Hopefully this version, or a newer one, will end up in upstream soon. In order
to catch when that happens and stop overwriting this firmware, a check is added
in the racipe based on the md5sum of the current shipped firmware.

In terms of ditribution license, we got an informal one in the github thread
mentioned above.

Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-10-02 12:28:53 +01:00
Aurelian Zanoschi
c981f01a2c wiringpi: Fix linking problem
[github issue #105: wiringpi library is not linked correctly]

Incorrect order of compiler flags causing the libwiringpi.so library
to not have the required linking dependencies. The cross-compilation
patch needed to be reworked in order to fix this problem.

Fixes #105

Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
2017-09-12 13:48:38 +01:00
Paul Barker
8291756c3f firmware: Update to tag '1.20170811'
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-06 18:44:27 +01:00
Paul Barker
6521c4db7d linux-raspberrypi: Update to tag 'raspberrypi-kernel_1.20170811-1'
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-06 18:44:27 +01:00
Thomas Thorne
6b38f3c6f9 rpio: Add RDEPENDS For python-logging & python-threading
[GitHub Ticket #98 - rpio requires the logging and threading Python
packages but does not RDEPENDS them in recipie]

The rpio tool needs the Python logging and threading pacakges installed
on the target system for it to work.  The pacakges are not included when
doing a rpi-basci-image.  This change updates the recipe so that all the
required dependencies of the prio script are identified by the recipie.

Fixes #98

Signed-off-by: Thomas A F Thorne <TafThorne@GoogleMail.com>
2017-09-06 18:44:27 +01:00
Paul Barker
62ecc5a45b linux-rasbperrypi: Update to 4.9.35
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-06 18:44:27 +01:00
Michal Mazurek
8ba2d6fc80 raspberrypi3-64.conf: Don't use raspberrypi as MACHINEOVERRIDES
The current setup broke the build for rpi3-64 when we wanted to port
some changes from rpi3 to rpi0.

Signed-off-by: Michal Mazurek <michal@resin.io>
2017-07-04 16:49:14 +01:00
Matthew McClintock
ff59ad9d4b sdcard_image-rpi.bbclass: deploy vfat partition
This is useful to update the bootloader/vfat partition from u-boot when
you don't want to update everything:

U-Boot> tftpboot 0x1000000 tmp/0VXje
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.26
Filename 'image.vfat'.
Load address: 0x1000000
Loading: ##################################################  40 MiB
	 2.1 MiB/s
done
Bytes transferred = 41943040 (2800000 hex)
U-Boot> mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	8192      	81920     	a63a4fbc-01	0c Boot
  2	90112     	163840    	a63a4fbc-02	83
U-Boot> mmc erase 0x2000 0x14000

MMC erase: dev # 0, block # 8192, count 81920 ... 81920 blocks erased:
OK
U-Boot> mmc write 0x1000000 0x2000 0x14000

MMC write: dev # 0, block # 8192, count 81920 ... 81920 blocks written:
OK
U-Boot>

Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
2017-07-04 16:49:14 +01:00
Petter Mabäcker
c750b0ac5d pi-blaster: update to include proper rpi3 support
Update to latest available revision, in order to include proper rpi3
support as well as latest fixes.

LIC_FILES_CHKSUM for the license text in README.md is changed to handle
fixes of whitespace and newlines in the license text, introduced by the
pi-blaster commit: '0e1a1df Cleaning up the README'.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2017-07-04 16:49:14 +01:00
Andrei Gherzan
31a813c069 Merge pull request #81 from agherzan/master
[pyro] Update to follow master
2017-06-02 12:27:12 +01:00
Paul Barker
081405feaa linux-raspberrypi-dev: Skip if not preferred provider
This should avoid network traffic to resolve ${AUTOREV} unless this
recipe is explicitly selected as the preferred provider of
virtual/kernel.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-06-01 13:48:23 +01:00
Paul Barker
e147e12d94 linux-raspberrypi-dev: Rename recipe
This recipe is now uniquely named instead of just being another version
of linux-raspberrypi.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-06-01 13:48:23 +01:00
Andrei Gherzan
a71483f9d9 bcm2835: Remove dependency of bcm2835-dev on bcm2835
By default, the ${PN}-dev package of a recipe depends on the ${PN}
package.  However, since the bcm2835 package contains no file, it is not
generated.  As a result, when trying to include bcm2835-dev in an image
(or another package that depends on bcm2835-dev, such as
bcm2835-staticdev), we receive an error message saying that the bcm2835
package is not found.

A solution would be to define ALLOW_EMPTY for bcm2835, so that an empty
package is generated.  However, that would causes a useless package to
be installed on the target.  This patch uses another solution, which is
to empty the RDEPENDS variable of bcm2835-dev, so that it doesn't pull
in bcm2835.

Fixes #22

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-27 03:24:35 +01:00
Paul Barker
371f85ce53 docs: Format all links correctly
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 12:16:52 +01:00
Mirza Krak
5eb159d32d docs: small editorial fix
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2017-05-26 12:16:52 +01:00
Mirza Krak
caabd6a608 docs: drop "Device tree support" section
We no longer provide any Linux kernel which do not have device-tree
support and all machines setup KERNEL_DEVICETREE correctly.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2017-05-26 12:16:52 +01:00
Mirza Krak
34113350f4 docs: fix alignment of "code blocks"
We provide a lot of variable examples as code blocks in the following
format:

	some text: `Variable`

or
	some test:
	`Variable`

Which is not as pretty as (when converted to html/pdf):

	some text:

		Variable

Converted all and hoppefully this will improve readability a bit.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2017-05-26 12:16:52 +01:00
Paul Barker
a30708d49c docs: Remove incompatible table format
Sadly sphinx doesn't support pipe tables in markdown at the minute.
Let's use a bullet-point list instead.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 12:16:52 +01:00
Paul Barker
bf02bfd2ed docs: Include readme in sphinx documentation
This allows us to avoid having to duplicate any information in the
readme into another documentation file.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 12:16:52 +01:00
Paul Barker
654d84d68a docs: Initial sphinx configuration
This allows us to create documentation by running 'make html' or 'make
latexpdf' in the docs directory. It depends on sphinx and the
recommonmark python module (for parsing markdown files in sphinx).
Creation of the PDF document requires a full LaTeX toolchain to be
installed.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 12:16:52 +01:00
Paul Barker
03976f7ff1 docs: Initial split of README into docs directory
The top-level README document has got pretty unwieldy and so we need to
switch to add some more structure to our documentation. The first step
is to split out sub-sections of the README document into separate files
in a new 'docs' directory.

Whilst splitting up the README, we can also take the opportunity to tidy
things up and fix a couple of typos.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 12:16:52 +01:00
Khem Raj
f6764c85e3 userland: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-26 11:18:55 +01:00
Paul Barker
7f88c39eeb linux-raspberrypi: Minor recipe tidyup
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 11:18:55 +01:00
Paul Barker
b32257c841 linux-rasbperrypi: Update to 4.9.27
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26 11:18:55 +01:00
Khem Raj
4f2dd0f0e8 userland: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-24 16:20:58 +01:00
Paul Barker
45ece9cd0a linux-raspberrypi: Minor recipe tidyup
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-22 10:48:05 +02:00
Paul Barker
e5f33333ca linux-rasbperrypi: Update to 4.9.27
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-22 10:48:05 +02:00
Andrei Gherzan
3d43e174d2 Merge pull request #71 from agherzan/pbarker/dev-4.11
linux-raspberrypi: Switch dev recipe to 4.11 branch
2017-05-17 18:49:11 +01:00
Andrei Gherzan
c4e6ff4f9f Merge pull request #59 from LocutusOfBorg/patch-2
Make CMDLINE overridable from outside
2017-05-17 18:48:50 +01:00
Andrei Gherzan
39e1d49097 Merge pull request #70 from agherzan/pbarker/drop-4.4
linux-rasberrypi: Drop 4.4 series kernel
2017-05-17 18:48:36 +01:00
Andrei Gherzan
adf62cd9e8 Merge pull request #68 from resin-os/ignore-logs
.gitignore: Ignore log files
2017-05-16 12:26:41 +01:00
Gianfranco Costamagna
e28e6e6422 raspberrypi0.conf: make SERIAL_CONSOLE overridable from outside
currently there is no way to override the default SERIAL_CONSOLE,
 this variable needs to be set only if the developer didn't set it already from
 another layer.

Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
2017-05-16 12:54:04 +02:00
Gianfranco Costamagna
4a2e37f96e linux-raspberrypi: Make CMDLINE overridable from outside
currently there is no way to override the default CMDLINE,
 this variable needs to be set only if the developer didn't set it already from
 another layer.

Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
2017-05-16 12:53:47 +02:00
Andrei Gherzan
6d5d83f1d6 Merge pull request #67 from agherzan/misc-fixes
Various tweaks and fixes
2017-05-15 13:12:28 +01:00
Andrei Gherzan
a438f1d514 Merge pull request #69 from agherzan/github
GitHub templates
2017-05-15 12:25:24 +01:00
Paul Barker
a001d9f316 linux-raspberrypi: Switch dev recipe to 4.11 branch
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-15 10:29:14 +01:00
Paul Barker
9eaff5ce1a linux-rasberrypi: Drop 4.4 series kernel
The rpi-4.4.y branch has been unmaintained for a couple of months now.
Let's drop it before branching for pyro.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-15 10:19:17 +01:00