| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
For building FIP images, we need a firmware config describing e.g.
where to place components, a device tree for the bl32, a secure
monitor (SP_min, bl32.bin), as well as non-trusted firmware and
hardware configuration. The latter two will be provided by barebox,
so install here the ones provided by TF-A in addition to the TF-A
binaries itself (which will load the FIP).
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-5-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
FIP images are passed along a device tree via r2 (called hardware
config). As we want barebox to be booted with the barebox DT to
decouple kernel and bootloader updates, install the relevant barebox
DTs, but with a barebox- prefix as they would conflict with kernel
device tree blobs otherwise.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-4-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need at least v2.6 for FIP support, but there's a freshly released
v2.7, so lets use that. This unfortunately means we need to carry a
patch for the MC-1 because upstream broke it. To ensure the legacy
image works for now, we need to set a new build option, but that will
be removed soon enough with the switch to FIP.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
We only generate SD/eMMC images for STM32MP1, so having NAND/NOR
drivers in the FSBL just increases size pressure On-Chip RAM,
so drop them.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MMC images generated by DistroKit for i.MX8M family of EVK boards did
not boot beyond bootloader shell without manual intervention, because
there was no environment compiled in telling barebox where to load the
kernel from. Add this missing environment, so we can boot directly to
userspace shell with DistroKit-generated i.MX8M SD-Card images.
Fixes: f1d8cd1 ("Add barebox for i.MX8M boards")
Co-developed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
Link: https://lore.pengutronix.de/20220713084555.3371718-1-j.zink@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The v7a_noneon patform uses image-boot-vfat, which needs mcopy, provided
by mtools. Select HOST_MTOOLS from image-ksz9477-evb.in to get ist.
Inspired-by: Bastian Krause <b.krause@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
Link: https://lore.pengutronix.de/20220705084150.3272186-1-j.zink@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220618132622.957869-3-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220618132622.957869-2-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Add missing diff file, otherwise build from clean source will fail.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220618132622.957869-1-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
barebox has had the ability to generate an extra image that's bootable
like a kernel for a while now. With small adjustment, we can let the
videocore use this image and pass it the appropriate device tree
depending on the board used. Moving this decision into the VideoCore
allows us to use the same image for both Raspberry Pi 2, Rasperry Pi 3
and Raspberry Pi CM3.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220426083821.1829442-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Config changes are those of olddefconfig with the exception of
CONFIG_FS_UBIFS_COMPRESSION_ZSTD for the i.MX6 barebox: We already have
UBIFS support enabled, so it makes sense to allow mounting UBIFS with
zstd as well.
This update imports two barebox patches to address regressions due to
recent Raspberry Pi upstream rework.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220426083821.1829442-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update config files by running oldconfig
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220407105352.1256734-4-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Sync barebox-at91 make file with other make variants and enable build
out of tree, to avoid build conflicts if local_src is used.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220407105352.1256734-3-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Sync barebox-at91 make file with other make variants and enable build
out of tree, to avoid build conflicts if local_src is used.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220407105352.1256734-2-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Sync barebox-stm32mp make file with other make variants and enable build
out of tree, to avoid build conflicts if local_src is used.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20220407105352.1256734-1-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
Since ptxdist-2022.02.0, the -R functionality of BUSYBOX_HEXDUMP_REVERSE
went to the xxd tool. Switch it on.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 5.16, there is a bug that results in this backtrace:
[ 0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
[ 0.009001] Failed to initialize '/bus@40000000/motherboard-bus@40000000/iofpga@7,00000000/timer@12000': -22
[ 0.011756] smp_twd: clock not found -2
[ 0.922280] irq: type mismatch, failed to map hwirq-75 for interrupt-controller@1e001000!
[ 1.493972] physmap-flash 48000000.psram: map_probe failed
[ 1.668170] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM
[ 1.668867] Modules linked in:
[ 1.669245] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.16.0 #1
[ 1.669593] Hardware name: ARM-Versatile Express
[ 1.669953] PC is at crypto_unregister_alg+0xf8/0x100
[ 1.670857] LR is at 0x0
[ 1.671324] pc : [<c04bcc84>] lr : [<00000000>] psr: 20000013
[ 1.671595] sp : c18c7ea0 ip : 00000000 fp : c0d7e100
[ 1.671826] r10: c0e55858 r9 : c100c000 r8 : 00000000
[ 1.672067] r7 : c100c41c r6 : 00000001 r5 : c198ad00 r4 : c1c23080
[ 1.672354] r3 : 00000002 r2 : ffffffff r1 : 00000001 r0 : c0f9e0d0
[ 1.672702] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 1.673012] Control: 10c5387d Table: 6000406a DAC: 00000051
[ 1.673309] Register r0 information: non-slab/vmalloc memory
[ 1.674112] Register r1 information: non-paged memory
[ 1.674405] Register r2 information: non-paged memory
[ 1.674629] Register r3 information: non-paged memory
[ 1.674853] Register r4 information: slab kmalloc-512 start c1c23000 pointer offset 128 size 512
[ 1.675788] Register r5 information: slab task_struct start c198ad00 pointer offset 0
[ 1.676170] Register r6 information: non-paged memory
[ 1.676474] Register r7 information: non-slab/vmalloc memory
[ 1.676727] Register r8 information: NULL pointer
[ 1.676938] Register r9 information: non-slab/vmalloc memory
[ 1.677182] Register r10 information: non-slab/vmalloc memory
[ 1.677429] Register r11 information: non-slab/vmalloc memory
[ 1.677686] Register r12 information: NULL pointer
[ 1.677923] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
We work around this by switching on CONFIG_CRYPTO_CBC=y.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Freshest barebox release incorporates the OMAP patches we have in the
BSP. Bump up the release and drop these two patches in return.
The release also introduced CONFIG_STM32_BSEC_WRITE, which enables
blowing e-fuses on STM32MP1 SoCs, e.g. to persist an Ethernet address.
We support a couple of STM32MP1 boards, so it makes sense to enable
this option. All other Kconfig changes are those of olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
| |
Update to the latest ptxdist release.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The upstream device tree change addressed by the previous commit
also made it into barebox and broke Beaglebone networking there.
This is fixed in master, so import the patch.
It was also reported that bumping bumping up core clock frequency for
faster boot times broke reboot from within Linux.
This might be brown out resulting from Linux scaling down the
voltage and Linux system reset not affecting the PMIC. Until that's
resolved, barebox master reverts the overclocking, so import that patch
as well. Both patches are scheduled to appear in v2022.01.0.
Fixes: 949c5ef2 ("v7a: barebox: version bump v2021.08.0 → v2021.11.0") # CPSW
Fixes: afdae878 ("v7a: barebox: version bump v2021.05.0 → v2021.07.0") # reset
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220108075723.432333-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The kernel now has two CPSW drivers and the device tree has two device
tree nodes, where one or the other may be enabled. The upstream device
tree was switched to new switchdev-based CPSW in v5.15-rc1.
Update our kernelconfig to enable the appropriate driver to get
networking working again on the Beaglebone Black.
Reported-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220108075723.432333-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
A new ptxdist version has been released, update.
ptxdist-2021.12.0 has genimage-15 which has a strikter check for
partitions that overlay: specify holes in the barebox partition that
allow to overlap with MBR.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
We have a new kernel, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
GCC plugins are now properly disabled again.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20211126103937.2856148-5-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These macros make sure that the version and MD5 result in the string
"undefined" when the respective package is not enabled in the menu.
See the following PTXdist commits:
* commit 80d19e055622e87116df ("rules: new macros ptx/config-version and ptx/config-md5")
* commit bc40d075ebcdf81cc14b ("kernel: use ptx/config-version and ptx/config-md5")
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=80d19e055622e87116df
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=bc40d075ebcdf81cc14b
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20211126103937.2856148-4-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ports the kernel template part of PTXdist commit f50cd1449e934730:
| commit f50cd1449e9347309b1050b0b738882dac1954e9
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2021-07-09 17:25:41
|
| rework device-tree handling
|
| It's not really possible to build a dtb by itself. A lot of included dtsi
| and header files are needed. So build the device-trees with the package
| that provides these files. Currently that's the kernel package.
|
| This also means, that other kernel packages can have their own device-trees
| as well.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Set KERNEL_*_DTS to the current values of PTXCONF_DTC_OFTREE_DTS from
the platformconfig, as this symbol will vanish when migrating to the
next PTXdist version.
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f50cd1449e9347309b10
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20211126103937.2856148-3-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ports the following PTXdist commits:
| commit 5b006ca1670901a4b74a863535e68ec5324b2366
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2019-10-28 22:47:54
|
| template-kernel: use ptx/nl
|
| Otherwise, errors might be ignored.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit a81a9f0fa98d78c62749011666e360603ae35b08
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-06-23 12:17:30
|
| template: kernel: fix make syntax
|
| The closing brace for the foreach macro was removed when the line was
| converted from ';' to '$(ptx/nl)'.
|
| Fixes: 5b006ca1670901a4b74a ("template-kernel: use ptx/nl")
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
| Message-Id: <20200623101730.32495-1-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 0284f2d88e5c50ebc65684282ef0be8a6259f76b
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2020-06-26 11:15:34
|
| template-kernel: handle plugin detection for kernel version >= v5.7
|
| The old hack to disable plugin support no longer works with v5.7.
| Instead, add -DGENERATOR_FILE to the HOSTCC/HOSTCXX command.
| The plugin headers produce an error if this is defined.
|
| Tested with v4.19, v5.6 and v5.7.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 7fb691e014c06b17c17dffe0d6c5d5f6c2a54403
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2020-07-02 11:58:18
|
| template-kernel: improve
|
| The imagedir is deleted in 'ptxdist clean root'. So installing files there
| should only happen in targetinstall.
|
| Keep the variable handling similar to the kernel package and make it
| possible to overwrite the kernel version in the kernel config.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 80ce928da2c8e0822e91964f0d65afcea5966c1c
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-08-06 18:49:47
|
| kernel: fix typo in HOSTCXX variable
|
| The typo makes the variable expand to nothing. This was probably never
| caught because g++ is usually not used when building the kernel.
|
| Fixes: a668fd6120742fe5ef6e (2020-06-11, "kernel: handle plugin detection for kernel version >= v5.7")
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
| Message-Id: <20200806164947.4187-1-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit b0f9f2fe33ca9027a554395c7ff467cabdc255e3
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-08-07 12:44:24
|
| barebox, kernel: enable use of {allyes, allno, allmod, alldef, rand}config
|
| These config targets are documented in the man page, but until now, they
| only resulted in an error:
|
| $ ptxdist alldefconfig kernel
| ptxdist: Checking dependencies. This may take some seconds.
|
| make: *** No rule to make target 'kernel_alldefconfig'. Stop.
|
| Both kernel and barebox support all config targets which can be given on
| the ptxdist command line, so keep the match in the make recipe broad, as
| the ptxdist option parser will catch unknown config targets.
|
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
| Message-Id: <20200807104425.30276-2-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 682d95986b7acfcabb31a25c58f0074e69c9005d
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-08-19 13:27:00
|
| barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely
|
| Until now this worked without setting the variable because
| ptxd_make_world_init tries to autodetect the config tool, but we should
| make this explicit.
|
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
| Message-Id: <20200819112703.11988-1-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 5af76a1c7d631cd69e673e4ac77783ba059b109d
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-08-19 13:27:01
|
| barebox, kernel: tab-align variables
|
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
| Message-Id: <20200819112703.11988-2-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 7fa9235fb915e537d21054dc6a60af6981969ba5
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2020-10-07 11:32:05
|
| kernel, barebox: use explicit list of config targets
|
| The problem with the pattern rule is that it also matches some files, such
| as $(PTXDIST_TOPDIR)/config/images/barebox_partitions.config. This results
| in strange error messages.
|
| Use a global list of possible config targets and use it to generate
| explicit lists of make targets.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 6db79433b230a4d86a2f8b74442ed2d8239ab6cd
| Author: Roland Hieber <rhi@pengutronix.de>
| Date: 2020-09-28 16:23:50
|
| templates: add <PKG>_LICENSE_FILES variable where appropriate
|
| Signed-off-by: Roland Hieber <rhi@pengutronix.de>
| Message-Id: <20200928142350.31523-1-rhi@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 7a90f622f3e46e1cbae6ddc4c4debe4ae62a3e52
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2021-04-01 16:09:33
|
| template: kernel: fix disabling gcc plugins for >= v5.11
|
| Just a copy of the same change from the kernel package.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 533f7709f61c54a1c133c5415be8de9b671a8095
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2021-04-15 11:19:06
|
| kernel/kernel-template: set PTXDIST_NO_GCC_PLUGINS=1 in _MAKE_ENV as well
|
| Otherwise an implicit 'oldconfig' in the compile stage will try to enable
| plugins again.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=a81a9f0fa98d78c62749
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=0284f2d88e5c50ebc656
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7fb691e014c06b17c17d
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=80ce928da2c8e0822e91
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=b0f9f2fe33ca9027a554
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=682d95986b7acfcabb31
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=5af76a1c7d631cd69e67
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7fa9235fb915e537d210
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=6db79433b230a4d86a2f
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7a90f622f3e46e1cbae6
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=533f7709f61c54a1c133
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20211126103937.2856148-2-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Even if this is currently unused, having this variable like in the
PTXdist template prevents confusion when backporting patches from the
template to the BSP recipes.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20211126103937.2856148-1-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update to latest barebox release. Config changes are the default.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20211126064836.1306873-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
The variable expansion braces should have been arithmetic evaluation
parentheses, which had the effect that the PPID was always used as a
port number (which incidentally works fine for PPIDs < 65535).
Fixes: d975eb8b04087f8606d8 (2021-04-26, "v7a: run: make the SSH forwarding port multiprocess-compatible")
Reported-by: Jürgen Borleis <jbe@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since ptxdist commit f50cd1449e9347309b1050b0b738882dac1954e9, there is
a check that makes sure that devicetrees are separated from their
paths. Unfortunately for arm64, devicetrees live in vendor subtrees, so
we get this error:
ptxdist: error: DistroKit/ptxdist/rules/kernel.make: the device trees in PTXCONF_KERNEL_DTS must be specified without
ptxdist: error: DistroKit/ptxdist/rules/kernel.make: directory. Use PTXCONF_KERNEL_DTS_PATH to provide a list of direcories
ptxdist: error: DistroKit/ptxdist/rules/kernel.make: that will be searched.
Workaround is to add the path componet to PTXCONF_KERNEL_DTS_PATH
and inform mol to fix that up in ptxdist upstream.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
We missed some ptxdist updates, so it might be a good time to catch up
now.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some ARMv7 MPUs like the Microchip SAMA5D3 series do not implement the
ARM SIMD (single instruction multiple data) extension NEON.
Therefore, the new DistroKit platform-v7a_noneon provides a configuration
setup targeting at ARMv7 processors that only include a no-NEON implementation.
In this commit the platform gets populated with the files necessary to run a
SAMA5D3 MCU on a KSZ9477 evaluation board and copy of vexpress target
for qemu testing.
Signed-off-by: Holger Assmann <h.assmann@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.pengutronix.de/20211109092212.2774811-1-o.rempel@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way boards can keep time over reboots:
[ 2.661867] at91_rtc f80480b0.rtc: registered as rtc0
[ 2.666917] at91_rtc f80480b0.rtc: setting system clock to 2021-09-16T08:37:00 UTC (1631781420)
[ 2.675817] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210916084101.26647-1-ada@thorsis.com
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Starting with kernel v5.12 we have more strict alignment checking for
the devicetree buffers. Fix it by telling the compiler to align fdt_buf
properly.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
We have a new kernel, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
We forgot some kernel updates. Do it now.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
We forgot some kernel updates. Do it now.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The orc unwinder needs the host-tool 'objtool' and libelf is needed to
build it and ptxdist has an option to ensure it is available. The kernel
and ptxdist options for this should match.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|