buildroot/board/acmesystems/acqua-a5
Edgar Bonet 120218981e board/acmesystems/acqua-a5: update device tree for newer kernels
The Ethernet MAC address of the Acqua board is stored in an onboard
EEPROM. Its location is described in the device tree as:

        eeprom@58 {  // NVMEM node
                // EEPROM parameters...

                eth0_addr: eth-mac-addr@9A {  // NVMEM cells
                        reg = <0x0 0x06>;
                };
        };

Since Linux 6.5, defining NVMEM cells this way, as direct children of
the NVMEM node, is deprecated. It is instead recommended to wrap the
cells inside a "fixed-layout" node.

The older, deprecated syntax is still supported on Linux 6.6. Since
Linux 6.7 (commit 2cc3b37f5b6d: "nvmem: add explicit config option to
read old syntax fixed OF cells") however, it is only supported by
selected NVMEM drivers. It is not supported by the at24 driver used to
access the Acqua's onboard EEPROM.

Update the device tree to the new, recommended, syntax. This makes it
work with newer kernels, while preserving compatibility with the
currently used 6.6.30.

Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-29 22:32:48 +01:00
..
patches board/acmesystems/acqua-a5: fix hash of at91bootstrap3 2024-05-14 17:39:06 +02:00
at91-sama5d3_acqua.dts board/acmesystems/acqua-a5: update device tree for newer kernels 2024-10-29 22:32:48 +01:00
genimage.cfg board/acmesystems/acqua-a5/genimage.cfg: beautify file 2021-11-08 22:20:34 +01:00
readme.txt configs/acmesystems_acqua_a5: new defconfigs 2021-03-30 22:15:58 +02:00

Acme Systems Acqua A5

Intro
=====

The Acqua A5 is a system on module based on the Microchip SAMA5D31 SoC:

    https://www.acmesystems.it/acqua

The files here support configurations that build a microSD image for a
minimal system that can be accessed through the serial console. You will
need an USB-to-serial interface in order to access that console from
your computer:

    https://www.acmesystems.it/DPI

How to build the image
======================

If you have an Acqua module with 256 MiB of RAM, type:

$ make acmesystems_acqua_a5_256mb_defconfig

If you have the 512 MiB version, type instead:

$ make acmesystems_acqua_a5_512mb_defconfig

You can optionally tweak the configuration and add packages by typing:

$ make menuconfig

Then, proceed with the build:

$ make

How to write the microSD card
=============================

The system image is the file "sdcard.img" in the "output/images"
directory. Write it to the card by invoking:

$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M

where `sdX' is the block device representing the microSD card.