Commit Graph

331 Commits

Author SHA1 Message Date
Trevor Woerner
13316b7968 KERNEL_DEVICETREE: 32-bit re-org
The upstream kernel reorganized the 32-bit arch/arm device-tree directory
structure to separate out the device-trees by manufacturer (similar to the
organization of the arch/arm64 device-trees). Update the references to
32-bit arm device-trees to match.

This patch can now be applied since all pre-6.5-rc1 kernels have been
removed from oe-core.

NOTE: trying to build a post-6.5-rc1 32-bit kernel with this patch applied
      will fail

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Stephen Chen <stephen@radxa.com>
2024-01-24 20:57:59 -05:00
André Draszik
5f10374c07 wic: implement wic list and tweak description
This now produces sensible output in
    wic list images
    wic list rockchip help

Signed-off-by: André Draszik <git@andred.net>
2024-01-22 14:19:34 -05:00
Stephen Chen
f7f2878e02 rock-4c-plus: add
ROCK 4C Plus is a Rockchip RK3399-T based SBC from Radxa.

Specs:
- Rockchip RK3399-T, 2x Cortex-A72 @ 1.5GHz, 4x Cortex-A53@1GHz
- Mali T860MP4 GPU
- RaspberryPi 4 form factor
- 64bit LPDDR4
- eMMC
- Micro SD
- SPI Nor Flash
- Two Micro-HDMI (HDMI 4K and HDMI 2K)
- 4-lane MIPI DSI
- MIPI CSI
- GbE LAN with Power over Ethernet (PoE) support
- Wi-Fi 5 and BT5.0 wireless module
- 3.5mm headphone jack
- Four USB ports (two USB2.0 and two USB3.0)
- RTC
- LEDs
- Power button
- Pwm fan
- 40-pin color expansion header

https://wiki.radxa.com/Rock4/4cplus

Signed-off-by: Stephen Chen <stephen@radxa.com>
2024-01-20 16:20:37 -05:00
Trevor Woerner
3620d858ab rock-3a: add
The ROCK 3A has an rpi form factor and features:
- 4x Cortex-A55 ARM processor
- Mali G52 GPU
- 0.8TOPS NPU
- 32bit 3200Mb/s LPDDR4, up to 4K@60
- HDMI, MIPI DSI, MIPI CSI
- 3.5mm jack with mic
- USB Port
- GbE LAN
- PCIe 3.0, PCIe 2.0
- 40-pin color expansion header
- RTC
- supports USB PD and QC powering

https://wiki.radxa.com/Rock3/3a

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Anthony Davies <anthony.t.davies@gmail.com>
2024-01-20 16:20:37 -05:00
Abhisit Sangjan
959ba6dc52 orangepi-5-plus: add
The Orange Pi 5 Plus is an RK3588-based SBC featuring:
- Rockchip RK3588 4x Cortex-A76, 4x Cortex-A55
- Mali-G610
- 6TOPS NPU
- 2x 2.5G ethernet ports – onboard NIC connected to PCIe 2.0 interface
- 2x USB 2.0 host ports
- 2x USB 3.0 host ports (exposed over USB 3.0 hub)
- Type-C port featuring USB 2.0/3.0 and Alt-DP mode
- PCIe 2.0/USB 2.0/I2S/I2C/UART on E.KEY socket
- RTC
- ES8388 on-board sound codec – jack in/out, onboard mic, speaker amplifier
- SPI NOR flash
- RGB LED (R is always on)
- IR receiver
- PCIe 3.0 on the bottom for NVMe, etc.
- 40pin GPIO header (with gpio, I2C, SPI, PWM, UART)
- Power, recovery and Mask ROM buttons
- 2x HDMI out, 1x HDMI in
- Slots/connectors for eMMC, uSD card, fan, MIPI CSI/DSI
- 4 GB, 8 GB, 16 GB and 32 GB of RAM

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Abhisit Sangjan <abhisit.sangjan@gmail.com>
2024-01-20 16:20:37 -05:00
Trevor Woerner
b5bba3a011 rock-pi-e: apply upstream PHY fix
This patch was submitted to the U-Boot mailing list to fix an issue
initializing the PHY on the rock-pi-e.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-19 22:48:48 -05:00
Trevor Woerner
09ead816cd roc-rk3308-cc: add
The T-Firefly ROC-RK3308-CC is a miniature and compact main board which is
equipped with a cost-effective RK3308 Core Processor and a high-performance
CODEC.

Features:
- Rockchip RK3308, 64-bit, quad-core, Arm Cortex-A35 processor @ 1.3GHz
- 100M ethernet
- PoE
- USB 2.0 and Type-C (OTG and power)
- 802.11 b/g/n WiFi and Bluetooth 4.2

https://en.t-firefly.com/product/rocrk3308cc

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-17 15:04:03 -05:00
Trevor Woerner
cc2d078806 u-boot: fix build for rk3308
In upstream mainline U-Boot commit 9e13fef00b8d ("rockchip: Kconfig: Enable
external TPL binary for rk3308") U-Boot was changed to incorporate the DDR TPL
using the same mechanism as the RK3568 and RK3588 platforms.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-17 15:04:03 -05:00
Trevor Woerner
346a287ae2 roc-rk3328-cc: add
AKA the "renegade"

The ROC-RK3328-CC platform is built on the Rockchip RK3328 system-on-chip
optimized for low cost, low power, and high performance IO. It features a
high performance native USB 3.0 interface and Gigabit MAC.

Specs:
- RaspberryPi 2/3 form factor
- quad-core ARM Cortex-A53 @ 1.5GHz
- ARM Mali-450 MP2
- DDR4 RAM
- USB 3.0
- GbE MAC

https://libre.computer/products/roc-rk3328-cc/
https://wiki.t-firefly.com/ROC-RK3328-CC/intro.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-17 15:04:03 -05:00
Stephen Chen
655ba387b1 rock-5a: add
The Radxa ROCK 5 Model A is an SBC in roughly a RaspberryPi-ish form factor
packed with a wide range of class-leading functionality, features and
expansion options. The ROCK 5A board comes in several LPDDR4x RAM memory
options: 4GB, 8GB, 16GB, and 32GB.

It uses the Rockchip RK3588S SoC (quad A76 @ 2.2GHz + quad A55 @ 1.8GHz,
Mali G610mp4 GPU), has both 8k and 4k HDMI, Gb ethernet with PoE support,
USB2/3, M.2 E Key (NVMe or SATA), a 40-pin RaspberryPi-ish 3V3 GPIO header,
USB Type-C power, MIPI DSI/CSI, SDcard slot, optional eMMC, and more.

https://wiki.radxa.com/Rock5/5b
https://radxa.com/products/rock5/5a/

[
with the following tweaks by Trevor:
- switch to information URL to one that points to information in english
- improved the commit message
- add rock-5a to README
]

Signed-off-by: Stephen Chen <stephen@radxa.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-12-18 17:32:43 -05:00
Anthony Davies
265e8c3df2 allow KERNEL_IMAGETYPE override
Update machine include files to allow overriding of KERNEL_IMAGETYPE.

[
with the following 2 tweaks by Trevor:
- remove the "v3" from the commit's subject
- extended patch to rk3308 and rk3588s, which were added in between this patch
  being submitted, and this patch being applied
]

Signed-off-by: Anthony Davies <anthony.t.davies@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-11-16 17:34:24 -05:00
Trevor Woerner
3d91ea1db4 rock-pi-s: add
ROCK Pi S is a Rockchip RK3308 based SBC from Radxa. It contains a 64-bit
quad core processor, USB, ethernet, wireless connectivity, and voice
detection engine in 1.7-inches square. The ROCK Pi S comes in two RAM sizes
256MB or 512MB DDR3, and uses an sdmmc card for OS and storage. Optionally,
some versions of the ROCK Pi S provide on-board storage via 1Gb/2Gb/4Gb/8Gb
of SLC NAND flash.

"S" stands for "small square" since the total board size of the rock-pi-s
is 1.7-inches square.

This BSP assumes booting from sdmmc, and using ttyS0 for the serial console
(similar to Raspberry Pi).

The latest version of the binary ddr initializer code from rkbin does not
provide a uart0 option, therefore all diagnostic output from rkbin and u-boot
is lost on the console (and replaced with a stream of gibberish until the
Linux kernel starts). Therefore, by default, the build assumes the user would
prefer to see this information and have the option to interact with U-Boot,
which means an older version of rkbin is used. The user can override this
decision by setting:

	RKBIN_RK3308_LATEST = "1"

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-11-02 15:51:36 -04:00
Trevor Woerner
e628b72ed4 nanopi-m4b: add
NanoPi M4B is a RK3399-based (dual-core A72, quad-core A53 with NEON) board
in the same form factor as the RPi B3+ (including compatible connectors) with
onboard 2.4/5.0 dual-band WiFi + Bluetooth 5.0 with USB type-C power from
FriendlyElec.

https://www.friendlyelec.com/index.php?route=product/product&product_id=275

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-30 09:39:09 -04:00
Trevor Woerner
2a5eb2aa59 rockchip-rkbin: fail if lacking an override
Looking forward, rkbin should only be used by specific Rockchip platforms
for which TF-A support is not (yet?) available. If rkbin gets added by
accident without an override, add a bbfatal to let the user know an
override is required.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-30 09:18:55 -04:00
Quentin Schulz
36b07ec60c bsp: rkbin: fix default COMPATIBLE_MACHINE matching all
The goal of the default COMPATIBLE_MACHINE was to not allow
rockchip-rkbin to be even parsed if a MACHINE isn't part of the
COMPATIBLE_MACHINE.

However, COMPATIBLE_MACHINE is a regexp checked using Python's re module
approximately like:
"""
if re.match(COMPATIBLE_MACHINE, MACHINE):
	return True
"""

and re.match() returns a match whatever MACHINE is if COMPATIBLE_MACHINE
is the empty string.

Therefore, let's change it to `^$` which only matches the empty string,
which shouldn't be possible for anything in MACHINEOVERRIDES, and if it
is there are probably bigger problems than parsing rockchip-rkbin.

Fixes: f8af59dd7c ("rock-5b: add")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2023-10-25 09:38:39 -04:00
Trevor Woerner
782e9f4242 u-boot cleanup: organize DEPENDS
Group and sort the DEPENDS.

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03 09:00:00 -04:00
Trevor Woerner
94bafe5920 u-boot cleanup: group EXTRA_OEMAKE
Group the EXTRA_OEMAKE items together and sort.

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03 08:59:55 -04:00
Trevor Woerner
89aecaade9 u-boot cleanup: group dependencies
Group the INIT_FIRMWARE_DEPENDS together and sort.

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03 08:59:48 -04:00
Trevor Woerner
ee17021681 u-boot cleanup: move task
According to the Yocto Recipe Style Guide[1] the tasks should be at the end.

[1] https://docs.yoctoproject.org/dev/contributor-guide/recipe-style-guide.html

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03 08:59:41 -04:00
Trevor Woerner
0bef49242f nanopi-r2s: add
The NanoPi R2S is a mini router with edge computing and dual GbE ports by
FriendlyElec. It is based on the Rockchip RK3328 - a quad A53 core, 64-bit SoC
running at 1.2GHz with at least 1GB of DDR4 RAM. It has one USB 2.0 host and
is powered via a USB type-C connector (5V/2A).

https://www.friendlyelec.com/index.php?route=product/product&product_id=282

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-02 18:58:58 -04:00
Trevor Woerner
851a174649 rock-pi-e.conf: remove redundant MACHINEOVERRIDES
The MACHINE name is already added to the MACHINEOVERRIDES implicitly, no need
to add it explicitly.

Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-02 17:55:02 -04:00
Trevor Woerner
f8af59dd7c rock-5b: add
Add support for the Radxa Rock 5B
https://wiki.radxa.com/Rock5/5b

The device-tree for this board is better in the 6.5 (and later) kernels,
therefore set the kernel to linux-yocto-dev for now (eventually this won't be
needed as linux-yocto moves forward).

Unfortunately the TF-A project does not currently have support for
the rk3588. Therefore, for the time-being, the only way to supply a
TPL/DDR-init for the rk3588 is to use the closed-source rkbin binaries
from Rockchip. If/when TF-A adds support for the rk3588 we can investigate
switching.

The rk3588 comes in two variants: rk3588 and rk3588s. The "s" option is a
stripped-down version of the rk3588. In the Linux kernel these two SoCs are
kept separate, with the rk3588 building on the rk3588s, so we've mimicked that
same behaviour here.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-29 09:00:24 -04:00
Trevor Woerner
4e9d72d659 u-boot: rename firmware dependency
In anticipation of Rockchip SoC families to which the TF-A project has not
been ported, the initial boot firmware needs to come from other sources (e.g.
Rockchip's rkbin binaries). Update the variable used to describe this
dependency to be more generic and not TF-A specific.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-29 09:00:17 -04:00
Trevor Woerner
3c678726a1 nanopi-r4s: add
Add a MACHINE definition for the FriendlyElec NanoPi R4S
https://www.friendlyelec.com/index.php?route=product/product&product_id=284

Include a device-tree patch to enable the 2nd PCIe ethernet.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-21 22:48:41 -04:00
Trevor Woerner
dd1fc4abcf linux-yocto: remove non-rockchip archs
Remove the non-rockchip architectures from the kernel build since these are
all a waste of build time, filesystem space, and runtime memory.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-16 07:38:36 -04:00
Martin Jansa
5361fb22e3 layer.conf: update LAYERSERIES_COMPAT for nanbield
* oe-core switched to nanbield in:
  https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6

oe-core: f212cb12a0db ("layer.conf: Update to nanbield release series").

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2023-09-10 16:15:37 -04:00
Leon Anavi
af8b921015 trusted-firmware-a_%.bbappend: gcc-arm-none-eabi
Change virtual/arm-none-eabi-gcc-native to gcc-arm-none-eabi-native
following the recent modification in layer meta-arm (git commit
a64fb4a40d707795d9adb7736920fcbeaa7ce5e2) to remove provides.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-07-25 00:52:25 -04:00
Khem Raj
ec7b7803e0 trusted-firmware-a: Add missing Upstream-Status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2023-07-05 18:25:23 -04:00
Witold Lipieta
06e44b861e mesa: Enable Panfrost for PX30
PX30 has Mali G31 GPU and needs Mesa Panfrost for graphic acceleration.

Signed-off-by: Witold Lipieta <witold.lipieta@thaumatec.com>
2023-06-09 12:40:34 -04:00
Leon Anavi
6127d169ac u-boot%.bbappend: pyelftools
Various machines require pyelftools Python3 library for parsing dtb files
so it should be added to DEPENDS.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-05-19 08:32:29 -04:00
Trevor Woerner
efa9c51159 rock-pi-4: remove MACHINE
The last kernel to not split the rock-pi-4[abc] MACHINEs into separate
device trees was 5.10. The linux-yocto kernels supported in this release
are all after 5.10. Therefore remove the rock-pi-4 MACHINE. By now, on master,
everyone should be selecting specific MACHINEs from one of the variants and
not using "rock-pi-4".

NOTE: this layer will continue to use "rock-pi-4" as a MACHINEOVERRIDE when
      the specific variant doesn't matter

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-30 17:59:00 -05:00
Trevor Woerner
8891ea386a U-Boot: add DEPENDS for rock-pi-4[abc]
The U-Boot build for rock-pi-4[abc] was recently changed to add information
for UEFI. The build now DEPENDS on gnutls-native.

U-Boot: e86c789ca372 ("rockpi4: board: Add firmware image information for capsule updates")

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-30 17:58:34 -05:00
Trevor Woerner
5f06c7c018 layer.conf: update LAYERSERIES_COMPAT for mickledore
oe-core switched to mickedore in:
  oe-core: 57239d66b933 ("layer.conf: Update to use mickledore as the layer series name")
  https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-03 14:17:39 -05:00
Quentin Schulz
9f37e0902c rockchip.wic.inc: let wic update fstab again
The commit ed3a97f7b2 ("rockchip-wic.inc: don't let wic edit fstab")
removing this ability was introduced to fix an issue in the wic tool in
OE-Core in which wic partitions whose "mountpoint" is not a valid path
are still added to fstab.
This was eventually fixed in OE-Core in commit 7aa678ce804c
("wic:direct.py: ignore invalid mountpoints during fstab update") which
is part of release Honister (3.4) and later.

Therefore, it should be safe to now let wic update fstab again for
partitions with a valid mountpoint path. The benefit being that the wic
partitions with a mountpoint are now automounted at boot.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2022-11-21 14:24:37 -05:00
Trevor Woerner
361f19c3d4 rockchip-defaults: remove xf86-input-keyboard
xf86-input-keyboard was removed from openembedded-core at its commit:
f1d7c33b64 (xf86-input-keyboard: remove the recipe, 2022-07-20). Therefore
remove it from the XSERVER definition.

Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2022-11-21 14:23:58 -05:00
Quentin Schulz
f2b4e6efde add support for PX30 SoC
Rockchip PX30 SoC is a quad-core ARM Cortex-A35 CPU fully implementing
the ARMv8-A instruction set with ARM Neon Advanced SIMD and Cryptography
Extensions.

This adds a base configuration file which can be included by PX30-based
boards and the required changes in U-Boot and TF-A for proper support.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2022-10-20 14:20:49 -04:00
Martin Jansa
e8e4b39b8b layer.conf: update LAYERSERIES_COMPAT for langdale
* the next release 4.2 will be named mickledore

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-09-30 09:10:09 -04:00
Trevor Woerner
3d640e3246 wic: add e2fsprogs dependency
Started seeing the following error in my builds:

	 ERROR: A native program mkfs.ext4 required to build the image was not found
	 Please make sure wic-tools have e2fsprogs-native in its DEPENDS

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2022-03-08 21:15:10 -05:00
Khem Raj
966e8a3ffa layers: bump to use kirkstone
Its not going to be backward ABI compatible with honister due to variable
renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 09:14:08 -05:00
Quentin Schulz
17703ee37b trusted-firmware-a: replace baudrate with the one specified in machine conf
Not all Rockchip boards have their console running at 1500000 baud in
U-Boot and the kernel. Such is the case for puma-haikou RK3399-based
SoM+Carrierboard.

In order to prepare for the addition of puma-haikou to meta-rockchip,
let's replace the baudrate in TF-A by the one defined in the machine
conf file in the RK_CONSOLE_BAUD variable.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2021-12-17 13:08:48 -05:00
Trevor Woerner
6fed2791f1 override syntax fixup
The _virtual notation is not an override. These syntax "fixes" need to be
reverted.

In the case of the kernel override, when it was added, the rock-pi-e needed
the latest kernel (linux-yocto-dev) but now the default linux-yocto kernel
will suffice. So this mistake actually switched the rock-pi-e from
linux-yocto-dev back to linux-yocto inadvertently but at a time when
linux-yocto-dev was no longer required.

In the case of the bootloader overrides, u-boot was always the default, so
these overrides were always redundant.

Therefore, in the end, simply removing these overrides is the best way
forward (considering these aren't doing anything, and the builds are working
fine regardless).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-12-13 17:32:36 -05:00
Khem Raj
b0f006ed86 trusted-firmware-a: Pin to use gcc for now
tf-a built with clang is bloated for rk3399 SOCs with 2.6+
it needs looking into, until then use gcc always to build it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jon.mason@arm.com>
Cc: Ross Burton <ross.burton@arm.com>
2021-12-10 00:37:20 -05:00
Trevor Woerner
5b88b057e7 u-boot: remove "virtual" keyword in dependency
The latest trusted-firmware-a recipe in meta-arm no longer considers
trusted-firmware-a to have potentially multiple providers.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-12-08 21:00:43 -05:00
Khem Raj
bd1899239b trusted-firmware-a: Drop 0001-Fix-build-with-gcc-11.patch
This has been included upstream see [1]

[1] f943b7c8e2%5E%21/#F0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-08 20:59:37 -05:00
Trevor Woerner
26b758fc71 README: fixup wording
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-12-07 09:33:57 -05:00
Trevor Woerner
ef90c57b29 README: retain tabs vs spaces
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-12-07 09:33:26 -05:00
Khem Raj
d31a601900 README: Add intstructions to add patch template
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-07 09:31:38 -05:00
Markus Volk
c59ac324f7 rockchip.wks: use uuid for /boot during fstab-update
Since the recent patch to switch to UUIDs [0aa5e600: "use uuid
instead of hard-coding root device"] wic fstab-update is not able
to get the correct value for the used device anymore and falls to
the default 'sda'. Thus wrong /dev/sda entries are generated in fstab.

For partitions that should be updated automatically this can be avoided
by either generate entries using uuid or label.

[NOTE: I rearranged the order of the arguments so they line up]

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
2021-10-05 16:26:13 -04:00
Trevor Woerner
fcd503f6c6 nanopi-m4: add common override
Add a common override for both nanopi-m4 MACHINEs.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-10-05 16:26:05 -04:00
Trevor Woerner
9534c174b1 include/nanopi-m4: remove KMACHINE
There is no "nanopi-m4" defined in any yocto kernel metadata (yet?), therefore
remove this superfluous line.

Build (core-image-base) and run tested (both systemd and sysvinit) on:
- nanopi-m4

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-10-05 16:25:59 -04:00