diff --git a/.editorconfig b/.editorconfig index af6cf4b44940adb78907068978c2abd37e4cfd84..e0243e4966c4af9ee8755bfd61b59a4f91e65daf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -35,3 +35,6 @@ indent_size = tab [*.adoc] trim_trailing_whitespace = false + +[*.md] +trim_trailing_whitespace = false diff --git a/Makefile b/Makefile index 91973cca60628f16fe336af57a262601e32d8725..f05c0435173bdd7900038fad270ad4faa3322588 100644 --- a/Makefile +++ b/Makefile @@ -587,7 +587,7 @@ prepare: $(BUILD_DIR)/buildroot-config/auto.conf $(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) .PHONY: world -world: target-post-image +world: grant_sudo_perm target-post-image .PHONY: prepare-sdk prepare-sdk: world @@ -725,6 +725,7 @@ target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize @$(call MESSAGE,"Finalizing target directory") $(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR),copy) $(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep)) +ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y) rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \ $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \ $(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \ @@ -766,6 +767,7 @@ endif echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \ ) > $(TARGET_DIR)/usr/lib/os-release ln -sf ../usr/lib/os-release $(TARGET_DIR)/etc +endif # BR2_ROOTFS_SKELETON_DEFAULT @$(call MESSAGE,"Sanitizing RPATH in target tree") PARALLEL_JOBS=$(PARALLEL_JOBS) \ @@ -821,6 +823,13 @@ target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize $(call MESSAGE,"Executing post-image script $(s)"); \ $(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) +.PHONY: grant_sudo_perm +grant_sudo_perm: +ifeq ($(BR2_ROOTFS_SKELETON_DEBIAN),y) + @echo "*************************" + @$(TOPDIR)/utils/grant_sudo_perm.sh || exit 1 +endif + .PHONY: source source: $(foreach p,$(PACKAGES),$(p)-all-source) diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..29e18524da440af67964a5159c4148cdf518baab --- /dev/null +++ b/README.md @@ -0,0 +1,215 @@ +# Phytium Pi OS +飞腾派OS(Phytium Pi OS)是运行在飞腾派开发板上的深度定制的Linux系统。2024.02分支基于Buildroot 2024.02,可以编译构建飞腾Linux 6.6内核和设备树,Debian12文件系统。 +编译出的系统镜像可以烧录在SD卡中,作为飞腾派开发板的启动系统。 +飞腾派OS由Buildroot生成,获取更多Buildroot的信息,可参考用户手册docs/manual/manual.pdf。 + +# 开发环境 +## 系统要求 +Buildroot被设计为在x86 Linux系统上运行,结合其他因素,本仓库只支持在ubuntu20.04、ubuntu22.04、ubuntu24.04、debian12这四种x86系统上进行开发,不支持其他系统。 +首先,Buildroot需要主机系统上安装如下Linux程序,请检查是否已安装: +``` +• Build tools: +– which +– sed +– make (version 3.81 or any later) +– binutils +– build-essential (only for Debian based systems) +– gcc (version 4.8 or any later) +– g++ (version 4.8 or any later) +– bash +– patch +– gzip +– bzip2 +– perl (version 5.8.7 or any later) +– tar +– cpio +– unzip +– rsync +– file (must be in /usr/bin/file) +– bc +• Source fetching tools: +– wget +– git +``` +除此之外,还需要安装如下软件包: +`$ sudo apt install debootstrap qemu-user-static binfmt-support debian-archive-keyring` +对于debian12系统,需要设置PATH环境变量:`PATH=$PATH:/usr/sbin` + +## 下载Phytium Pi OS +`$ git clone https://gitee.com/phytium_embedded/phytium-pi-os` +克隆后,将会生成phytium-pi-os目录,我们称之为源码根目录,若无另外说明,下面的操作命令都是基于该源码根目录进行描述的 +# 查看支持的defconfig +为飞腾派构建的文件系统的配置文件位于configs目录。 +执行`$ make list-defconfigs`,返回configs目录中的defconfig配置文件。 +``` +$ cd xxx/phytium-pi-os +$ make list-defconfigs +``` +其中以phytiumpi开头的为飞腾相关的defconfig配置文件,包含: +``` +phytiumpi_defconfig - Build for phytiumpi +phytiumpi_desktop_defconfig - Build for phytiumpi with desktop +``` + +# 编译文件系统 +## 为phytiumpi编译文件系统 +### 编译默认配置的文件系统 +(1)加载defconfig +`$ make phytiumpi_xxx_defconfig` +其中`phytiumpi_xxx_defconfig`为以下文件系统之一: +``` +phytiumpi_defconfig +phytiumpi_desktop_defconfig +``` +(2)编译 +`$ make` +(3)镜像的输出位置 +生成的根文件系统、内核、sdcard.img 镜像位于output/images目录。 + +#### phytiumpi img 镜像 +支持编译phytiumpi img 镜像(sdcard.img),生成的phytiumpi img 镜像位于output/images目录。sdcard.img 镜像包含了根文件系统、内核、设备树和固件。 +使用sdcard.img 镜像安装系统,不需要将存储设备手动分区再拷贝文件,只需要将sdcard.img文件写入存储设备即可。 + +### 更换文件系统的linux内核版本 +defconfig中的内核版本默认是linux 6.6。我们支持在编译文件系统时将内核版本更换为linux 6.6 rt。 +关于phytiumpi linux内核的信息请参考:`https://gitee.com/phytium_embedded/phytium-linux-kernel` +更换内核版本的操作步骤为: +(1)使用phytiumpi_xxx_defconfig作为基础配置项,合并支持其他内核版本的配置: +`$ ./support/kconfig/merge_config.sh configs/phytiumpi_xxx_defconfig configs/phytiumpi_linux_xxx.config` +其中`configs/phytiumpi_linux_xxx.config`为以下配置文件: +``` +configs/phytiumpi_linux_6.6_rt.config +``` +这个文件对应于linux 6.6 rt内核。 +(2)编译 +`$ make` +(3)镜像的输出位置 +生成的根文件系统、内核、sdcard.img 镜像位于output/images目录。 + +### 支持Phytium-optee +本项目还支持编译Phytium-optee,关于Phytium-optee的信息请参考:`https://gitee.com/phytium_embedded/phytium-optee` +defconfig默认不编译Phytium-optee,如果需要编译Phytium-optee请执行: +(1)使用phytiumpi_xxx_defconfig作为基础配置项,合并支持optee的配置: +`$ ./support/kconfig/merge_config.sh configs/phytiumpi_xxx_defconfig configs/phytiumpi_optee.config` +(2)编译 +`$ make` +(3)镜像的输出位置 +生成的根文件系统、内核、TEE OS位于output/images目录。 +后续部署及使用方法,请参考`https://gitee.com/phytium_embedded/phytium-embedded-docs/tree/master/optee` + +## 清理编译结果 +(1)`$ make clean` +删除所有编译结果,包括output目录下的所有内容。当编译完一个文件系统后,编译另一个文件系统前,需要执行此命令。 +(2)`$ make distclean` +重置源码根目录,删除所有编译结果、下载目录以及配置。 +注:make distclean命令会删除下载目录(dl目录)下的所有源码压缩包。将下载目录提前备份,二次编译时,可以大大减少编译所需时间。 + +## 树外构建 +默认情况下,编译生成的所有内容都存储在output目录,然而,树外构建允许使用除output以外的其他输出目录。使用树外构建时,全局配置文件.config和临时文件也存储在输出目录中。这意味着使用相同的源码树,只要使用不同的输出目录,就可以并行运行多个构建。 +使用树外构建进行配置的方式有以下三种可供选择: +(1)在源码根目录下,使用O变量指定输出目录: +`$ make O=xxx/foo-output phytiumpi_xxx_defconfig` +(2)在一个空的输出目录运行,指定O变量和源码根目录的路径: +`$ mkdir xxx/foo-output` +`$ cd xxx/foo-output` +`$ make -C xxx/phytium-pi-os/ O=$(pwd) phytiumpi_xxx_defconfig` +(3)对于使用merge_config.sh合并配置文件的情况,在源码根目录运行: +`$ mkdir xxx/foo-output` +`$ ./support/kconfig/merge_config.sh -O xxx/foo-output configs/phytiumpi_xxx_defconfig configs/phytiumpi_xxx.config` + +运行上述命令之一,会在输出目录中创建一个Makefile,所以在输出目录中再次运行make时,不再需要指定O变量和源码根目录的路径。 +因此配置完成后,编译的命令为: +`$ cd xxx/foo-output` +`$ make` + +## 修改内核进行编译 +默认的内核源码目录是`output/build/linux-`,如果在该目录对内核进行了修改(例如修改内核配置或源码), +当运行`make clean`后该目录会被删除,修改也随之被删除,所以在该目录中直接修改内核是不合适的。 +因此,对于这种情况提供了一种机制:`_OVERRIDE_SRCDIR`机制。 +操作方法是,创建一个叫做local.mk的文件,local.mk的内容可以是: +``` +LINUX_OVERRIDE_SRCDIR = /home/xxx/linux-kernel/linux-xxx +``` +将local.mk文件和.config文件放在同一目录下。这个目录对于树内构建是源码根目录,对于树外构建是树外构建的输出目录。 +LINUX_OVERRIDE_SRCDIR指定了一个本地的内核源码目录,这样就不会去下载、解压、打补丁内核源码了,而是使用LINUX_OVERRIDE_SRCDIR +指定的内核源码目录。需要注意内核源码实际存放的目录要与LINUX_OVERRIDE_SRCDIR的值相对应。 +这样开发人员首先在LINUX_OVERRIDE_SRCDIR指定的目录对内核进行修改,然后运行`make linux-rebuild`或者 `make linux-reconfigure`即可。 +该命令首先将LINUX_OVERRIDE_SRCDIR中的内核源码同步到`output/build/linux-custom`目录,然后进行配置、编译、安装。 +如果想要编译、安装内核,并重新生成系统镜像,请运行`make linux-rebuild phyuboot-rebuild all`。 + +# 在开发板上启动文件系统 +## 在phytiumpi开发板上启动文件系统 +### 使用U-Boot启动文件系统(使用phytiumpi img 镜像) +(1)将phytiumpi img 镜像(sdcard.img)写入sd卡: +`$ sudo dd if=xxx/phytium-pi-os/output/images/sdcard.img of=/dev/sdb bs=1M status=progress` + +本项目还提供了将img镜像烧录进sd卡并进行md5值校验的脚本,确保烧录正确。该脚本需在顶层目录下执行,用法为以下其中之一: +`$ sudo ./board/phytium/dd_and_checkMD5.sh /dev/sdx desktop` +`$ sudo ./board/phytium/dd_and_checkMD5.sh /dev/sdx no_desktop` +其中,/dev/sdx表示sd卡对应的设备节点名称; +如果编译的是phytiumpi_desktop_defconfig,使用第一条命令; +如果编译的是phytiumpi_defconfig,使用第二条命令。 +(2)SD卡接到开发板,启动开发板电源,启动文件系统 +(3)开发板运行时,如果需要更换uboot、Image和dtb,可以在飞腾派上执行对应脚本,用法如下: +`$ sudo runtime_replace_bootloader.sh all` +`$ sudo runtime_replace_bootloader.sh uboot` +`$ sudo runtime_replace_bootloader.sh image` +以上三条命令分别实现了更换uboot+image+dtb、更换uboot和更换image+dtb的功能,要求当前目录下有fip-all.bin和fitImage文件。 + +# 编译内核模块 +关于如何编译内核外部模块,可参考https://www.kernel.org/doc/html/latest/kbuild/modules.html + +## 交叉编译内核模块 +使用工具链来交叉编译内核模块,工具链位于`output/host/bin`,工具链的sysroot为 +`output/host/aarch64-buildroot-linux-gnu/sysroot`。 + +交叉编译内核外部模块的命令为: +``` +$ make ARCH=arm64 \ +CROSS_COMPILE=/home/xxx/phytium-pi-os/output/host/bin/aarch64-none-linux-gnu- \ +-C /home/xxx/phytium-pi-os/output/build/linux-xxx/ \ +M=$PWD \ +modules +``` + +## 开发板上编译内核模块 +利用linux-headers可以在开发板上进行内核模块编译,软链接`/lib/modules/xxx/build`指向linux-headers。 +在开发板上编译内核外部模块的命令为: +`make -C /lib/modules/xxx/build M=$PWD modules` + +# 编译新的应用软件 +本节简单介绍如何交叉编译出能够运行在飞腾派开发板上的应用软件,完整的教程请参考用户手册docs/manual/manual.pdf。 +## 软件包介绍 +所有用户态的软件包都在package目录,每个软件包有自己的目录`package/`,其中``是小写的软件包名。这个目录包含: +(1)`Config.in`文件,用Kconfig语言编写,描述了包的配置选项。 +(2)`.mk`文件,用make编写,描述了包如何构建,即从哪里获取源码,如何编译和安装等。 +(3)`.hash`文件,提供hash值,检查下载文件的完整性,如检查下载的软件包源码是否完整,这个文件是可选的。 +(4)`*.patch`文件,在编译之前应用于源码的补丁文件,这个文件是可选的。 +(5)可能对包有用的其他文件。 +## 编写软件包 +首先创建软件包的目录`package/`,然后编写该目录下的文件。 +一般情况下,`package/`下有`Config.in`和`.mk`两个文件。关于如何编写这两个文件,大家可以参考用户手册docs/manual/manual.pdf,这里简单概括一下。 +(1)`Config.in`文件中必须包含启用或禁用该包的选项,而且必须命名为`BR2_PACKAGE_`,其中``是大写的软件包名,这个选项的值是布尔类型。 +也可以定义其他功能选项来进一步配置该软件包。然后还必须在`package/Config.in`文件中包含该文件: +`source "package//Config.in"` +(2)`.mk`文件看起来不像普通的Makefile文件,而是一连串的变量定义,而且必须以大写的包名作为变量的前缀。最后以调用软件包的基础结构(package +infrastructure)结束。变量告诉软件包的基础结构要做什么。 +对于使用手写Makefile来编译的软件源码,在`.mk`中调用generic-package基础结构。generic-package基础结构实现了包的下载、提取、打补丁。 +而配置、编译和安装由`.mk`文件描述。`.mk`文件中可以设置的变量及其含义,请参考用户手册docs/manual/manual.pdf。 +## 编译软件包 +(1)单独编译软件包 +``` +$ cd xxx/phytium-pi-os +$ make +``` +编译结果在`output/build/-` + +(2)将软件包编译进根文件系统 +``` +在phytiumpi_xxx_defconfig中添加一行BR2_PACKAGE_=y +$ make phytiumpi_xxx_defconfig +$ make +``` + +# FAQ +1、关于phytium pi vpu的包请咨询飞腾技术支持或FAE。 diff --git a/board/aarch64-efi/genimage-efi.cfg b/board/aarch64-efi/genimage-efi.cfg deleted file mode 100644 index 158deab87dc38cb918f066ceb5e9ba8d791e9895..0000000000000000000000000000000000000000 --- a/board/aarch64-efi/genimage-efi.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - file Image { - image = "Image" - } - } - - size = 64M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae - image = "rootfs.ext2" - } -} diff --git a/board/aarch64-efi/grub.cfg b/board/aarch64-efi/grub.cfg deleted file mode 100644 index d99e19c4cd52721c10bbcce0feb7816357f3088c..0000000000000000000000000000000000000000 --- a/board/aarch64-efi/grub.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /Image root=PARTLABEL=root rootwait -} diff --git a/board/aarch64-efi/readme.txt b/board/aarch64-efi/readme.txt deleted file mode 100644 index 0e7ea0b5dd740595e3da557ef0a4e75243baaaf5..0000000000000000000000000000000000000000 --- a/board/aarch64-efi/readme.txt +++ /dev/null @@ -1,53 +0,0 @@ - -The aarch64_efi_defconfig allows to build a minimal Linux system that -can boot on all AArch64 servers providing an EFI firmware. - -This includes all Arm EBBR[1] compliant systems, and all Arm SystemReady[2] -compliant systems for example. - - -Building and booting -==================== - -$ make aarch64_efi_defconfig -$ make - -The file output/images/disk.img is a complete disk image that can be -booted, it includes the grub2 bootloader, Linux kernel and root -filesystem. - -Testing under Qemu -================== - -This image can also be tested using Qemu: - -qemu-system-aarch64 \ - -M virt \ - -cpu cortex-a57 \ - -m 512 \ - -nographic \ - -bios \ - -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \ - -device virtio-blk-device,drive=hd0 \ - -netdev user,id=eth0 \ - -device virtio-net-device,netdev=eth0 - -Note that needs to point to a valid aarch64 UEFI -firmware image for qemu. -It may be provided by your distribution as a edk2-aarch64 or AAVMF -package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd . - -U-Boot based qemu firmware -========================== - -A qemu firmware with support for UEFI based on U-Boot can be built following -the instructions in [3], with qemu_arm64_defconfig. - -This should give you a nor_flash.bin, which you can use with qemu as an -alternative to QEMU_EFI.fd. You will also need to change the machine -specification to "-M virt,secure=on" on qemu command line, to enable TrustZone -support, and you will need to increase the memory with "-m 1024". - -[1]: https://github.com/ARM-software/ebbr -[2]: https://developer.arm.com/architectures/system-architectures/arm-systemready -[3]: https://github.com/glikely/u-boot-tfa-build diff --git a/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts b/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts deleted file mode 100644 index a7a4a2035265178db38555b64590deef4560d407..0000000000000000000000000000000000000000 --- a/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts +++ /dev/null @@ -1,334 +0,0 @@ -/* - * acme-acqua.dts - Device Tree file for Acqua A5 Board - * - * Copyright (C) 2014 Atmel, - * 2014 Nicolas Ferre - * - * 2022 Sergio Tanzilli - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -#include "microchip/sama5d31.dtsi" - -/ { - model = "Acme Systems Acqua SOM"; - compatible = "acme,acqua", "atmel,sama5d3", "atmel,sama5"; - - chosen { - stdout-path = "serial0:115200n8"; - bootargs = "mem=256M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait net.ifnames=0"; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - clocks { - slow_xtal { - clock-frequency = <32768>; - }; - - main_xtal { - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - hlcdc: hlcdc@f0030000 { - status = "disabled"; - hlcdc-display-controller { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888_alt>; - port@0 { - hlcdc_panel_output: endpoint@0 { - remote-endpoint = <&panel_input>; - }; - }; - }; - }; - - /* MicroSD mounted on the SOM */ - - mmc0: mmc@f0000000 { - pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; - status = "okay"; - slot@0 { - reg = <0>; - bus-width = <4>; - }; - }; - - /* Optional MicroSD to mount on the carrier board */ - - mmc1: mmc@f8000000 { - pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; - status = "disabled"; - slot@0 { - reg = <0>; - bus-width = <4>; - cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>; - }; - }; - - spi0: spi@f0004000 { - cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>; - status = "disabled"; - }; - - can0: can@f000c000 { - status = "disabled"; - }; - - tcb0: timer@f0010000 { - timer0: timer@0 { - compatible = "atmel,tcb-timer"; - reg = <0>; - }; - - timer1: timer@1 { - compatible = "atmel,tcb-timer"; - reg = <1>; - }; - }; - - i2c0: i2c@f0014000 { - pinctrl-0 = <&pinctrl_i2c0_pu>; - status = "disabled"; - }; - - i2c1: i2c@f0018000 { - status = "disabled"; - }; - - macb1: ethernet@f802c000 { - compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb"; - - status = "okay"; - phy-mode = "rmii"; - #address-cells = <1>; - #size-cells = <0>; - - nvmem-cells = <ð0_addr>; - nvmem-cell-names = "mac-address"; - - phy0: ethernet-phy@1 { - interrupt-parent = <&pioE>; - interrupts = <30 IRQ_TYPE_EDGE_FALLING>; - reg = <1>; - }; - - /*ethernet-phy@1 { - reg = <0x1>; - };*/ - }; - - /* Bit banging internal I2C to manage the AT24MAC402 chip */ - - i2c3@ { - compatible = "i2c-gpio"; - - sda-gpios = <&pioE 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - scl-gpios = <&pioE 2 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c3_gpio>; - - i2c-gpio,delay-us = <4>; /* ~178 kHz */ - #address-cells = <1>; - #size-cells = <0>; - - /* EEPROM contains the eth0 MAC address */ - - eeprom@58 { - compatible = "atmel,24mac402"; - pagesize = <256>; - read-only; - reg = <0x58>; - #address-cells = <1>; - #size-cells = <1>; - - eth0_addr: eth-mac-addr@9A { - reg = <0x0 0x06>; - }; - }; - - }; - - pwm0: pwm@f002c000 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>; - status = "disabled"; - }; - - usart0: serial@f001c000 { - status = "okay"; - }; - - usart1: serial@f0020000 { - pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>; - status = "disabled"; - }; - - uart0: serial@f0024000 { - status = "disabled"; - }; - - - spi1: spi@f8008000 { - cs-gpios = <&pioC 25 0>; - status = "disabled"; - }; - - adc0: adc@f8018000 { - atmel,adc-vref = <3300>; - atmel,adc-channels-used = <0xfe>; - pinctrl-0 = < - &pinctrl_adc0_adtrg - &pinctrl_adc0_ad1 - &pinctrl_adc0_ad2 - &pinctrl_adc0_ad3 - &pinctrl_adc0_ad4 - &pinctrl_adc0_ad5 - &pinctrl_adc0_ad6 - &pinctrl_adc0_ad7 - >; - status = "disabled"; - }; - - i2c2: i2c@f801c000 { - dmas = <0>, <0>; /* Do not use DMA for i2c2 */ - pinctrl-0 = <&pinctrl_i2c2_pu>; - status = "disabled"; - }; - - - dbgu: serial@ffffee00 { - status = "okay"; - }; - - pinctrl@fffff200 { - - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */ - 0xffffffff 0x0ff8ffff 0x00000000 /* pioB */ - 0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */ - 0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */ - 0xfffffff9 0xbf9f8000 0x18000000 /* pioE */ - /* 0xffffffff 0xb8000000 0x18000000 */ /* pioE */ - >; - - board { - pinctrl_i2c0_pu: i2c0_pu { - atmel,pins = - , - ; - }; - - pinctrl_i2c2_pu: i2c2_pu { - atmel,pins = - , - ; - }; - - pinctrl_i2c3_gpio: i2c3-gpio { - atmel,pins = - ; - }; - - - pinctrl_key_gpio: key_gpio_0 { - atmel,pins = - ; - }; - - pinctrl_mmc0_cd: mmc0_cd { - atmel,pins = - ; - }; - - pinctrl_mmc1_cd: mmc1_cd { - atmel,pins = - ; - }; - - pinctrl_usba_vbus: usba_vbus { - atmel,pins = - ; /* PE9, conflicts with A9 */ - }; - - pinctrl_gpio_leds: gpio_leds_default { - atmel,pins = - ; - }; - }; - }; - }; - - usb0: gadget@500000 { - status = "disabled"; - }; - - usb1: ohci@600000 { - status = "okay"; - }; - - usb2: ehci@700000 { - status = "okay"; - }; - - }; - - - panel: panel { - /* compatible = "acme,43inch", "simple-panel"; */ - compatible = "acme,50inch", "simple-panel"; - /* compatible = "acme,70inch", "simple-panel"; */ - - status = "disable"; - - port@0 { - panel_input: endpoint@0 { - remote-endpoint = <&hlcdc_panel_output>; - }; - }; - }; - - - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_leds>; - - led0 { - label = "led0"; - gpios = <&pioE 3 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - - led1 { - label = "led1"; - gpios = <&pioE 4 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - - led2 { - label = "led2"; - gpios = <&pioE 5 GPIO_ACTIVE_LOW>; - linux,default-trigger = "heartbeat"; - }; - - led3 { - label = "led3"; - gpios = <&pioE 6 GPIO_ACTIVE_LOW>; - linux,default-trigger = "mmc0"; - default-state = "off"; - }; - }; -}; diff --git a/board/acmesystems/acqua-a5/genimage.cfg b/board/acmesystems/acqua-a5/genimage.cfg deleted file mode 100644 index 7fa0a69c4a9586bdfd5fe37e3695feedd2627a46..0000000000000000000000000000000000000000 --- a/board/acmesystems/acqua-a5/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -# Minimal SD card image for the Acme Systems Acqua A5 - -image boot.vfat { - vfat { - files = { - "boot.bin", - "zImage", - "at91-sama5d3_acqua.dtb" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/acmesystems/acqua-a5/readme.txt b/board/acmesystems/acqua-a5/readme.txt deleted file mode 100644 index ce7dbafb291f39218ef75d25115eee1c5985ca67..0000000000000000000000000000000000000000 --- a/board/acmesystems/acqua-a5/readme.txt +++ /dev/null @@ -1,44 +0,0 @@ -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. diff --git a/board/acmesystems/aria-g25/genimage.cfg b/board/acmesystems/aria-g25/genimage.cfg deleted file mode 100644 index 29dc697153ded9fba8d7918362288d2592106ba2..0000000000000000000000000000000000000000 --- a/board/acmesystems/aria-g25/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the Acmesystems Aria G25 - -image boot.vfat { - vfat { - file zImage { - image = "zImage" - } - - file at91-ariag25.dtb { - image = "at91-ariag25.dtb" - } - - file boot.bin { - image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.10.3.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/acmesystems/aria-g25/readme.txt b/board/acmesystems/aria-g25/readme.txt deleted file mode 100644 index cb9e9abf7785b622c87e039e8de1eb3c18b361a3..0000000000000000000000000000000000000000 --- a/board/acmesystems/aria-g25/readme.txt +++ /dev/null @@ -1,44 +0,0 @@ -Acme Systems Aria G25 - -Build instructions -================== - -To build an image for the Aria G25 choose the configuration -corresponding to the Aria variant. - -For 128MB RAM variant type: - -$ make acmesystems_aria_g25_128mb_defconfig - -else for 256MB RAM variant type: - -$ make acmesystems_aria_g25_256mb_defconfig - -To customize the configuration choosed type: - -$ make menuconfig - -When you are ready to start building Buildroot type: - -$ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Write the bootable SD card image "sdcard.img" onto an SD card with -"dd" command: - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Assuming your Aria G25 baseboard has a MicroSD socket, for example -with the Terra baseboard, insert the microSD card into the baseboard -slot and power it. - -To get the kernel log messages you can use a DPI cable -(http://www.acmesystems.it/DPI) - -You can find additional informations, tutorials and a very -comprehensive documentation on http://www.acmesystems.it/aria. diff --git a/board/acmesystems/arietta-g25/genimage.cfg b/board/acmesystems/arietta-g25/genimage.cfg deleted file mode 100644 index 3b67a474cd06c875f5e7fc2c05315d3a05e14a56..0000000000000000000000000000000000000000 --- a/board/acmesystems/arietta-g25/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the Acmesystems Arietta G25 - -image boot.vfat { - vfat { - file zImage { - image = "zImage" - } - - file acme-arietta.dtb { - image = "at91-ariettag25.dtb" - } - - file boot.bin { - image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.10.3.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/acmesystems/arietta-g25/readme.txt b/board/acmesystems/arietta-g25/readme.txt deleted file mode 100644 index f356b0a2645f7d9846308c42f866998ea670ec5b..0000000000000000000000000000000000000000 --- a/board/acmesystems/arietta-g25/readme.txt +++ /dev/null @@ -1,49 +0,0 @@ -Acme Systems Arietta G25 - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Arietta G25. With the current configuration -it will bring-up the board, and allow access through the serial console. - -You can find additional informations, tutorials and a very comprehensive -documentation on http://www.acmesystems.it/arietta. - -Build instructions -================== - -To build an image for the Arietta G25 choose the configuration -corresponding to the Arietta variant. - -For 128MB RAM variant type: - -$ make acmesystems_arietta_g25_128mb_defconfig - -else for 256MB RAM variant type: - -$ make acmesystems_arietta_g25_256mb_defconfig - -To customize the configuration chosen type: - -$ make menuconfig - -When you are ready to start building Buildroot type: - -$ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the microSD card into the Arietta slot and power it. - -The image just built is fairly basic and the only output -you will get is on serial console, please consider to use a DPI -cable (http://www.acmesystems.it/DPI) diff --git a/board/altera/socrates_cyclone5/boot-env.txt b/board/altera/socrates_cyclone5/boot-env.txt deleted file mode 100644 index ed5b61386cc413c885497037afb3b6a84766362b..0000000000000000000000000000000000000000 --- a/board/altera/socrates_cyclone5/boot-env.txt +++ /dev/null @@ -1,8 +0,0 @@ -linux_load_address=0x100000 -linux_dtb_load_address=0x100 -linux_dtb=socfpga_cyclone5_socrates.dtb -linux_load=mmc rescan; fatload mmc 0:1 ${linux_load_address} zImage; fatload mmc 0:1 ${linux_dtb_load_address} ${linux_dtb} -bootargs=console=ttyS0,115200 root=/dev/mmcblk0p3 ro rootwait -source_env=fatload mmc 0:1 0x2000000 boot.scr; source 0x2000000 -bootcmd=run linux_load; bootz ${linux_load_address} - ${linux_dtb_load_address} -bootdelay=1 diff --git a/board/altera/socrates_cyclone5/genimage.cfg b/board/altera/socrates_cyclone5/genimage.cfg deleted file mode 100644 index d31c3838be798829a36373645a63f237b91c0e18..0000000000000000000000000000000000000000 --- a/board/altera/socrates_cyclone5/genimage.cfg +++ /dev/null @@ -1,59 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "socfpga_cyclone5_socrates.dtb" - } - } - - size = 8M -} - -image uboot.img { - hdimage { - partition-table = "no" - } - - partition spl { - in-partition-table = "no" - image = "u-boot-spl.bin.crc" - offset = 0 - size = 64K - } - - partition uboot-full { - in-partition-table = "no" - image = "u-boot.img" - offset = 256K - } - - size = 1M -} - -image sdcard.img { - hdimage { - } - - partition uboot-env { - in-partition-table = "no" - image = "uboot-env.bin" - offset = 17K # 512 * 34 -> just after gpt - } - - partition boot { - partition-type = 0xc - bootable = "true" - image = "boot.vfat" - } - - partition uboot { - partition-type = 0xa2 - image = "uboot.img" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 500M - } -} diff --git a/board/altera/socrates_cyclone5/readme.txt b/board/altera/socrates_cyclone5/readme.txt deleted file mode 100644 index 4e78feef11a54551526e6bf7e3b90f49873e34c5..0000000000000000000000000000000000000000 --- a/board/altera/socrates_cyclone5/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ -EBV SoCrates Evaluation Board - -Intro -===== - -More information about this board can be found here: -https://rocketboards.org/foswiki/Documentation/EBVSoCratesEvaluationBoard - -Build -===== - -First, load socrates config for buildroot - - make socrates_cyclone5_defconfig - -Build everything - - make - -Following files will be generated in output/images - -. -├── boot.vfat -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── socfpga_cyclone5_socrates.dtb -├── u-boot-spl.bin -├── u-boot-spl.bin.crc -├── u-boot.bin -├── u-boot.img -├── uboot-env.bin -├── uboot.img -└── zImage - - -Creating bootable SD card -========================= - -Simply invoke - -dd if=output/images/sdcard.img of=/dev/sdX - -Where X is your SD card device (not partition) - -Booting -======= - -Pins 6:8 on P18 selector is used to determine boot device. To boot socrates from -sdcard set these pins to value 0x5 (101b). Remaining pins are used to determine -how to configure FPGA and are not associated with booting into Linux kernel. diff --git a/board/amarula/vyasa/extlinux.conf b/board/amarula/vyasa/extlinux.conf deleted file mode 100644 index a8fcc35f5a6ba128bb94bb0d9e708cd82338f7db..0000000000000000000000000000000000000000 --- a/board/amarula/vyasa/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Vyasa linux-next - kernel /boot/uImage - devicetree /boot/rk3288-vyasa.dtb - append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/amarula/vyasa/genimage.cfg b/board/amarula/vyasa/genimage.cfg deleted file mode 100644 index e7076679da217b51423b1008c74e8930a7edf91d..0000000000000000000000000000000000000000 --- a/board/amarula/vyasa/genimage.cfg +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot-tpl-spl-dtb { - in-partition-table = "no" - image = "u-boot-tpl-spl-dtb.img" - offset = 32K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 8M - size = 30M # falcon mode: args @ 16M args, uImage @ 17M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/amarula/vyasa/linux_gmac.fragment b/board/amarula/vyasa/linux_gmac.fragment deleted file mode 100644 index 8ebf383597ba9b1bad272c709dd48d0ba794f9e5..0000000000000000000000000000000000000000 --- a/board/amarula/vyasa/linux_gmac.fragment +++ /dev/null @@ -1,3 +0,0 @@ -# Currently mainline kernel exhibits issues when running rockchip gmac -# on the board, so enable it as loadable module and insert it later -CONFIG_DWMAC_ROCKCHIP=m diff --git a/board/amarula/vyasa/post-build.sh b/board/amarula/vyasa/post-build.sh deleted file mode 100755 index ffbbcdeb5894ecbc7742232d86fb7e06bc7eb67f..0000000000000000000000000000000000000000 --- a/board/amarula/vyasa/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -MKIMAGE=$HOST_DIR/bin/mkimage -BOARD_DIR="$(dirname $0)" - -$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img -cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/amarula/vyasa/readme.txt b/board/amarula/vyasa/readme.txt deleted file mode 100644 index b95889e81410c15708f19c46ff3b95bbb409be70..0000000000000000000000000000000000000000 --- a/board/amarula/vyasa/readme.txt +++ /dev/null @@ -1,31 +0,0 @@ -Vyasa RK3288 -============ - -Vyasa is RK3288 based Single board computer with fully supported opensource software. - -https://openedev.amarulasolutions.com/display/ODWIKI/Vyasa+RK3288 - -How to build it -=============== - - $ make amarula_vyasa_rk3288_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build rootfs image: - - $ make - -Prepare your SDCard -=================== - -Buildroot generates a ready-to-use SD card image that you can flash directly to -the card. The image will be in output/images/sdcard.img. -You can write this image directly to an SD card device (i.e. /dev/xxx): - - $ sudo dd if=output/images/sdcard.img of=/dev/xxx - $ sudo sync - -Finally, you can insert the SD card to the Vyasa RK3288 board, close J4 and boot it. diff --git a/board/andes/ae350/genimage_sdcard.cfg b/board/andes/ae350/genimage_sdcard.cfg deleted file mode 100644 index 58c6f8f15604f9623a1a01abc8b2b62ef4fc1ad9..0000000000000000000000000000000000000000 --- a/board/andes/ae350/genimage_sdcard.cfg +++ /dev/null @@ -1,26 +0,0 @@ -image boot.vfat { - vfat { - files = { - "u-boot-spl.bin", - "u-boot.itb", - "ae350_ax45mp.dtb", - } - } - size = 2M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - bootable = true - image = "rootfs.ext4" - } -} diff --git a/board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch b/board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch deleted file mode 100644 index be89a1563f7fcbd531ad1518ec4df80f40406fcc..0000000000000000000000000000000000000000 --- a/board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 16aad5594e08550295ea3c12c1c9ed6f64774748 Mon Sep 17 00:00:00 2001 -From: Rick Chen -Date: Tue, 29 Mar 2022 13:41:10 +0800 -Subject: [PATCH] mmc: ftsdc010_mci: Support DTS of ftsdc010 driver for - generic dma - -The ftsdc010 driver has been implemented for generic dma in Linux -kernel. And its compatible is andestech,atfsdc010g to distinguish -the legacy andestech,atfsdc010 which is not for generic dma. - -Althought the ftsdc010_mci driver in U-Boot does not use dma, but -it still can work well with the mmc node for generic dma. So add -the compatible string to support it. - -Signed-off-by: Rick Chen - -Upstream-Status: Pending - -Signed-off-by: Yu Chien Peter Lin ---- - drivers/mmc/ftsdc010_mci.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c -index 570d54cf9d..65b1d447a8 100644 ---- a/drivers/mmc/ftsdc010_mci.c -+++ b/drivers/mmc/ftsdc010_mci.c -@@ -460,6 +460,7 @@ int ftsdc010_mmc_bind(struct udevice *dev) - - static const struct udevice_id ftsdc010_mmc_ids[] = { - { .compatible = "andestech,atfsdc010" }, -+ { .compatible = "andestech,atfsdc010g" }, - { } - }; - --- -2.34.1 - diff --git a/board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch b/board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch deleted file mode 100644 index 5080554ca1f6bd37e287a53db2f327569c434f3c..0000000000000000000000000000000000000000 --- a/board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 933ad8a59f7fd9b2088badc3e97167d750a40b5a Mon Sep 17 00:00:00 2001 -From: Bin Meng -Date: Mon, 12 Jul 2021 11:52:31 +0800 -Subject: [PATCH] spl: Align device tree blob address at 8-byte boundary - -Since libfdt v1.6.1, a new requirement on the device tree address via: - - commit 5e735860c478 ("libfdt: Check for 8-byte address alignment in fdt_ro_probe_()") - -must be met that the device tree must be loaded in to memory at an -8-byte aligned address. - -Signed-off-by: Bin Meng - -This patch was imported from U-boot patchwork: -https://patchwork.ozlabs.org/project/uboot/patch/20210712035231.26475-1-bmeng.cn@gmail.com/ - -Signed-off-by: Yu Chien Peter Lin ---- - common/spl/spl_fit.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c -index a35be529..a76ad14a 100644 ---- a/common/spl/spl_fit.c -+++ b/common/spl/spl_fit.c -@@ -382,6 +382,12 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image, - */ - image_info.load_addr = spl_image->load_addr + spl_image->size; - -+ /* -+ * Since libfdt v1.6.1, the device tree must be loaded in to memory -+ * at an 8-byte aligned address. -+ */ -+ image_info.load_addr = roundup(image_info.load_addr, 8); -+ - /* Figure out which device tree the board wants to use */ - node = spl_fit_get_image_node(ctx, FIT_FDT_PROP, index++); - if (node < 0) { --- -2.34.1 - diff --git a/board/andes/ae350/post-build.sh b/board/andes/ae350/post-build.sh deleted file mode 100755 index 84187a064bc8f062f5c4ca249e5f1f8e6bcb0170..0000000000000000000000000000000000000000 --- a/board/andes/ae350/post-build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cp $BINARIES_DIR/Image $TARGET_DIR/boot -cp $BINARIES_DIR/ae350_ax45mp.dtb $TARGET_DIR/boot diff --git a/board/andes/ae350/readme.txt b/board/andes/ae350/readme.txt deleted file mode 100644 index 4de4cb38943be041abfd50913574a2021cdf0728..0000000000000000000000000000000000000000 --- a/board/andes/ae350/readme.txt +++ /dev/null @@ -1,63 +0,0 @@ -Intro -===== - -Andestech AE350 Platform - -The AE350 prototype demonstrates the AE350 platform on the FPGA. - -How to build it -=============== - -Configure Buildroot -------------------- - - $ make andes_ae350_45_defconfig - -If you want to customize your configuration: - - $ make menuconfig - -Build everything ----------------- -Note: you will need to access to the network, since Buildroot will -download the packages' sources. - - $ make - -Result of the build -------------------- - -After building, you should obtain the following files: - - output/images/ - |-- ae350_ax45mp.dtb - |-- boot.vfat - |-- fw_dynamic.bin - |-- fw_dynamic.elf - |-- Image - |-- rootfs.ext2 - |-- rootfs.ext4 -> rootfs.ext2 - |-- sdcard.img - |-- u-boot-spl.bin - `-- u-boot.itb - -Copy the sdcard.img to a SD card with "dd": - - $ sudo dd if=sdcard.img of=/dev/sdX bs=4096 - $ sudo sync - -Your SD card partition should be: - - Disk /dev/sdb: 14.48 GiB, 15552479232 bytes, 30375936 sectors - Disk model: Multi-Card - Units: sectors of 1 * 512 = 512 bytes - Sector size (logical/physical): 512 bytes / 512 bytes - I/O size (minimum/optimal): 512 bytes / 512 bytes - Disklabel type: dos - Disk identifier: 0x00000000 - - Device Boot Start End Sectors Size Id Type - /dev/sdb1 1 4096 4096 2M c W95 FAT32 (LBA) - /dev/sdb2 * 4097 126976 122880 60M 83 Linux - -Insert SD card and reset the board, it should boot Linux from mmc. diff --git a/board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf b/board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index be19e196a80482dcda44c19face75138a6e77c5b..0000000000000000000000000000000000000000 --- a/board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - fdt /boot/ae350_ax45mp.dtb - append earlycon=sbi root=/dev/mmcblk0p2 rootwait diff --git a/board/andes/ae350/uboot.config.fragment b/board/andes/ae350/uboot.config.fragment deleted file mode 100644 index fa38bbca3a6362c4cf2c686d62c7f9e310a0fcdb..0000000000000000000000000000000000000000 --- a/board/andes/ae350/uboot.config.fragment +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_SPL_FS_FAT=y -CONFIG_SPL_MMC=y -# CONFIG_SPL_RAM_SUPPORT is not set -CONFIG_SPL_OPENSBI_LOAD_ADDR=0x0 -CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS=0x0 -CONFIG_DISPLAY_CPUINFO=y -CONFIG_DISPLAY_BOARDINFO=y diff --git a/board/arcturus/aarch64-ucls1012a/post-build.sh b/board/arcturus/aarch64-ucls1012a/post-build.sh deleted file mode 100755 index 372df59c61fa2926aa711cc3aed40bf2f5adca1f..0000000000000000000000000000000000000000 --- a/board/arcturus/aarch64-ucls1012a/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -mkdir -p ${TARGET_DIR}/lib/firmware -cp -f ${BUILD_DIR}/linux-custom/br2-ucls1012a.its ${BINARIES_DIR}/ diff --git a/board/arcturus/aarch64-ucls1012a/post-image.sh b/board/arcturus/aarch64-ucls1012a/post-image.sh deleted file mode 100755 index ccfacd3858bc83daddc63143647da7ec1cff4466..0000000000000000000000000000000000000000 --- a/board/arcturus/aarch64-ucls1012a/post-image.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -MKIMAGE=${HOST_DIR}/usr/bin/mkimage -MKIMAGE_IN=${BINARIES_DIR}/br2-ucls1012a.its -MKIMAGE_OUT=${BINARIES_DIR}/part0-000000.itb -${MKIMAGE} -f ${MKIMAGE_IN} ${MKIMAGE_OUT} diff --git a/board/arcturus/aarch64-ucls1012a/readme.txt b/board/arcturus/aarch64-ucls1012a/readme.txt deleted file mode 100644 index b486ecebc719aa3ff6a54d5f70a58915346c8697..0000000000000000000000000000000000000000 --- a/board/arcturus/aarch64-ucls1012a/readme.txt +++ /dev/null @@ -1,74 +0,0 @@ -Arcturus uCLS1012A SoM -====================== - -This tutorial describes how to use the predefined Buildroot -configuration for the Arcturus uCLS101A SoM platform. - -Additional information about the uCLS1012A System on Module can be found at -https://www.arcturusnetworks.com/products/ucls1012a -and product support for registered users at -https://www.arcturusnetworks.com/support - -Building --------- - -Return to the top directory and execute the following commands. - - make arcturus_ucls1012a_defconfig - make - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- arc-ucls1012a.dtb - +-- Image.gz - +-- part0-000000.itb - +-- rootfs.cpio - +-- rootfs.cpio.gz - +-- rootfs.tar - +-- u-boot.bin - +-- br2-ucls1012a.its - -Flashing --------- - -You'll need to program the image created by buildroot into the SPI NOR flash. - -1. Reboot your module and via the serial console press to enter the B$ -u-boot shell. - From the shell you will need to update four environment variables replacing the - IPv4 IP Address with ones that will work with your network and tftp server. - - B$ setenv ipaddr 192.168.1.81 - B$ setenv serverip 192.168.1.80 - B$ setenv gatewayip 192.168.1.1 - B$ setenv netmask 255.255.255.0 - B$ saveenv - -2. Enable tftp server to serve the /output/images/ folder. - -3. Program the new U-Boot binary (optional) - If you don't feel confident upgrading your bootloader then don't do it, - it's unnecessary most of the time. - - B$ tftp u-boot.bin - B$ run program_uboot - -4. Program the ITB image (includes Kernel, DTB and Ramdisk) - - B$ tftp part0-000000.itb - B$ run iprogram - -5. Booting your new system - - Reboot your system by reset command - B$ reset - - or - - B$ run bootcmd - -Good Luck ! diff --git a/board/arcturus/ppc-ucp1020/readme.txt b/board/arcturus/ppc-ucp1020/readme.txt deleted file mode 100644 index 07986f50e06a611717ad523b3c508c74a931c333..0000000000000000000000000000000000000000 --- a/board/arcturus/ppc-ucp1020/readme.txt +++ /dev/null @@ -1,74 +0,0 @@ -Arcturus uCP1020 SoM -==================== - -This tutorial describes how to use the predefined Buildroot -configuration for the Arcturus uCP1020 SoM platform. - -Additional information about this module can be found at - - -Building --------- - - make arcturus_ucp1020_defconfig - make - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- rootfs.jffs2 - +-- rootfs.tar - +-- u-boot.bin - +-- ucp1020.dtb - +-- uImage - -Flashing --------- - -You'll need to program the files created by buildroot into the NOR flash. - -1. Program the new U-Boot binary (optional) - If you don't feel confident upgrading your bootloader then don't do it, - it's unnecessary most of the time. - - B$ tftp u-boot.bin - B$ protect off 0xeff80000 +$filesize - B$ erase 0xeff80000 +$filesize - B$ cp.b $loadaddr 0xeff80000 $filesize - B$ protect on 0xeff80000 +$filesize - -2. Program the kernel - - B$ tftp uImage - B$ erase 0xec140000 +$filesize - B$ cp.b $loadaddr 0xec140000 $filesize - -3. Program the DTB - - B$ tftp ucp1020.dtb - B$ erase 0xec100000 +$filesize - B$ cp.b $loadaddr 0xec100000 $filesize - -4. Program the jffs2 root filesystem - - B$ tftp rootfs.jffs2 - B$ erase 0xec800000 0xee8fffff - B$ cp.b $loadaddr 0xec800000 $filesize - -5. Booting your new system - - B$ setenv norboot 'setenv bootargs root=/dev/mtdblock1 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xec140000 - 0xec100000' - - If you want to set this boot option as default: - - B$ setenv bootcmd 'run norboot' - B$ saveenv - - ...or for a single boot: - - B$ run norboot - -Good Luck ! diff --git a/board/arm/foundation-v8/readme.txt b/board/arm/foundation-v8/readme.txt deleted file mode 100644 index cb0fe08b87555dbb25460105cab550ac630850c1..0000000000000000000000000000000000000000 --- a/board/arm/foundation-v8/readme.txt +++ /dev/null @@ -1,20 +0,0 @@ -This is the support for the ARM Foundation v8 machine emulated by the -ARM software simulator of the AArch64 architecture. - -First, one has to download the AArch64 software simulator from: - - https://armkeil.blob.core.windows.net/developer/Files/downloads/ecosystem-models/Foundation_Platform_11.20_15_Linux64.tgz - -Then, use the arm_foundationv8_defconfig configuration to build your -Buildroot system. - -Finally, boot your system with: - - ${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-9.3/Foundation_Platform \ - --image output/images/linux-system.axf \ - --block-device output/images/rootfs.ext2 \ - --network=nat \ - --cores 4 - -You can get network access from within the simulated environment -by requesting an IP address using DHCP (run the command 'udhcpc'). diff --git a/board/armadeus/apf27/linux-4.12.config b/board/armadeus/apf27/linux-4.12.config deleted file mode 100644 index d0fb5d35dd73f1023aad6aa2278e5a0dc3ea70fe..0000000000000000000000000000000000000000 --- a/board/armadeus/apf27/linux-4.12.config +++ /dev/null @@ -1,216 +0,0 @@ -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_CGROUPS=y -CONFIG_EMBEDDED=y -# CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -# CONFIG_IOSCHED_DEADLINE is not set -# CONFIG_IOSCHED_CFQ is not set -# CONFIG_ARCH_MULTI_V7 is not set -CONFIG_ARCH_MXC=y -CONFIG_MACH_IMX27_DT=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_PM_DEBUG=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_DIAG is not set -CONFIG_CAN=m -CONFIG_CAN_VCAN=m -CONFIG_CAN_MCP251X=m -CONFIG_BT=m -CONFIG_BT_RFCOMM=m -CONFIG_BT_RFCOMM_TTY=y -CONFIG_BT_BNEP=m -CONFIG_BT_HIDP=m -CONFIG_BT_HCIBTUSB=m -CONFIG_BT_HCIUART=m -CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_BCSP=y -CONFIG_CFG80211=m -CONFIG_MAC80211=m -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_GEOMETRY=y -# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set -# CONFIG_MTD_CFI_I2 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_MXC=y -CONFIG_MTD_UBI=y -CONFIG_EEPROM_AT24=y -CONFIG_EEPROM_AT25=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -# CONFIG_NET_VENDOR_WIZNET is not set -CONFIG_SMSC_PHY=y -CONFIG_LIBERTAS=m -CONFIG_LIBERTAS_SDIO=m -CONFIG_RT2X00=m -CONFIG_RT2500USB=m -CONFIG_RT73USB=m -CONFIG_RT2800USB=m -CONFIG_RTL8187=m -CONFIG_RTL8192CU=m -CONFIG_ZD1211RW=m -CONFIG_INPUT_JOYDEV=y -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_KEYBOARD_IMX=m -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_JOYSTICK=y -CONFIG_INPUT_TOUCHSCREEN=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_IMX=y -CONFIG_SERIAL_IMX_CONSOLE=y -# CONFIG_HW_RANDOM is not set -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_IMX=y -CONFIG_SPI=y -CONFIG_SPI_IMX=y -CONFIG_SPI_SPIDEV=m -CONFIG_GPIO_SYSFS=y -CONFIG_W1=y -CONFIG_W1_MASTER_MXC=y -CONFIG_W1_SLAVE_THERM=y -CONFIG_WATCHDOG=y -CONFIG_IMX2_WDT=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_MEDIA_SUPPORT=m -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_USB_PWC=m -CONFIG_V4L_PLATFORM_DRIVERS=y -CONFIG_SOC_CAMERA=m -# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set -CONFIG_FB=y -# CONFIG_FB_MX3 is not set -CONFIG_BACKLIGHT_LCD_SUPPORT=y -# CONFIG_LCD_CLASS_DEVICE is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_LOGO=y -# CONFIG_LOGO_LINUX_MONO is not set -# CONFIG_LOGO_LINUX_VGA16 is not set -CONFIG_SOUND=m -CONFIG_SND=m -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -# CONFIG_SND_DRIVERS is not set -# CONFIG_SND_ARM is not set -# CONFIG_SND_SPI is not set -# CONFIG_SND_USB is not set -CONFIG_SND_SOC=m -CONFIG_SND_IMX_SOC=m -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_MXC=y -CONFIG_USB_ACM=y -CONFIG_USB_PRINTER=y -CONFIG_USB_STORAGE=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_SERIAL=y -CONFIG_USB_SERIAL_FTDI_SIO=y -CONFIG_USB_SERIAL_PL2303=y -CONFIG_USB_ULPI=y -CONFIG_USB_GADGET=y -CONFIG_USB_ETH=m -CONFIG_USB_GADGETFS=m -CONFIG_USB_MASS_STORAGE=m -CONFIG_USB_G_HID=m -CONFIG_MMC=y -CONFIG_MMC_MXC=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_ONESHOT=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_BACKLIGHT=y -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_GPIO=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_LEDS_TRIGGER_TRANSIENT=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1374=y -CONFIG_RTC_DRV_MXC=m -CONFIG_DMADEVICES=y -CONFIG_IMX_DMA=y -CONFIG_IMX_SDMA=y -# CONFIG_IOMMU_SUPPORT is not set -CONFIG_IIO=y -CONFIG_MAX1027=y -CONFIG_MAX5821=y -CONFIG_PWM=y -CONFIG_PWM_IMX=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_EXT3_FS_SECURITY=y -# CONFIG_DNOTIFY is not set -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -# CONFIG_PROC_PAGE_MONITOR is not set -CONFIG_TMPFS=y -CONFIG_JFFS2_FS=y -CONFIG_UBIFS_FS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V4=y -CONFIG_ROOT_NFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_ISO8859_15=m -CONFIG_PRINTK_TIME=y -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_FS=y -# CONFIG_SCHED_DEBUG is not set -# CONFIG_DEBUG_PREEMPT is not set -# CONFIG_FTRACE is not set -CONFIG_DEBUG_LL=y -CONFIG_EARLY_PRINTK=y -CONFIG_FONTS=y -CONFIG_FONT_8x8=y diff --git a/board/armadeus/apf51/linux-4.4.config b/board/armadeus/apf51/linux-4.4.config deleted file mode 100644 index 6957b635a1f365d3d103fcf47ab13e11749c799d..0000000000000000000000000000000000000000 --- a/board/armadeus/apf51/linux-4.4.config +++ /dev/null @@ -1,278 +0,0 @@ -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EMBEDDED=y -# CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_PARTITION_ADVANCED=y -CONFIG_BSD_DISKLABEL=y -# CONFIG_IOSCHED_CFQ is not set -CONFIG_ARCH_MXC=y -CONFIG_MXC_IRQ_PRIOR=y -CONFIG_SOC_IMX51=y -CONFIG_ARM_THUMBEE=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_STAT_DETAILS=y -CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_PERFORMANCE=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_IMX=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -# CONFIG_SUSPEND is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_PNP=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_LRO is not set -# CONFIG_INET_DIAG is not set -CONFIG_IPV6=y -CONFIG_CAN=m -CONFIG_CAN_RAW=m -CONFIG_CAN_BCM=m -CONFIG_CAN_VCAN=m -CONFIG_CAN_MCP251X=m -CONFIG_BT=m -CONFIG_BT_L2CAP=y -CONFIG_BT_SCO=y -CONFIG_BT_RFCOMM=m -CONFIG_BT_RFCOMM_TTY=y -CONFIG_BT_BNEP=m -CONFIG_BT_HIDP=m -CONFIG_BT_HCIBTUSB=m -CONFIG_BT_HCIUART=m -CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_BCSP=y -CONFIG_CFG80211=m -CONFIG_MAC80211=m -CONFIG_MAC80211_RC_PID=y -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_FW_LOADER=m -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_MXC=y -CONFIG_MTD_UBI=y -CONFIG_MISC_DEVICES=y -CONFIG_EEPROM_AT24=y -CONFIG_EEPROM_AT25=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_ST=y -CONFIG_BLK_DEV_SR=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -CONFIG_MII=y -CONFIG_SMSC_PHY=y -CONFIG_NET_ETHERNET=y -# CONFIG_NETDEV_1000 is not set -# CONFIG_NETDEV_10000 is not set -CONFIG_RTL8187=m -CONFIG_LIBERTAS=m -CONFIG_LIBERTAS_SDIO=m -CONFIG_RT2X00=m -CONFIG_RT73USB=m -CONFIG_ZD1211RW=m -CONFIG_INPUT_JOYDEV=y -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_GPIO=m -CONFIG_KEYBOARD_IMX=m -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_WM831X=y -CONFIG_TOUCHSCREEN_MC13XXX=m -CONFIG_INPUT_MISC=y -CONFIG_INPUT_MC13783_PWRBUTTON=m -CONFIG_INPUT_UINPUT=m -CONFIG_INPUT_WM831X_ON=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_8250=m -CONFIG_SERIAL_IMX=y -CONFIG_SERIAL_IMX_CONSOLE=y -# CONFIG_HW_RANDOM is not set -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_IMX=y -CONFIG_SPI=y -CONFIG_SPI_IMX=y -CONFIG_SPI_SPIDEV=m -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_WM831X=m -CONFIG_POWER_SUPPLY=y -CONFIG_WM831X_BACKUP=m -CONFIG_WM831X_POWER=m -CONFIG_HWMON=m -CONFIG_SENSORS_AS1531=m -CONFIG_SENSORS_MC13783_ADC=m -CONFIG_SENSORS_WM831X=m -CONFIG_WATCHDOG=y -CONFIG_WATCHDOG_NOWAYOUT=y -CONFIG_WM831X_WATCHDOG=m -CONFIG_IMX2_WDT=y -CONFIG_MFD_MC13XXX_I2C=y -CONFIG_MFD_WM831X_I2C=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_MC13892=m -CONFIG_IMX_IPUV3_CORE=y -CONFIG_DRM=y -CONFIG_MFD_IMX_IPU_V3=y -CONFIG_MEDIA_SUPPORT=m -CONFIG_VIDEO_DEV=m -# CONFIG_RC_CORE is not set -# CONFIG_MEDIA_TUNER_SIMPLE is not set -# CONFIG_MEDIA_TUNER_TDA8290 is not set -# CONFIG_MEDIA_TUNER_TDA827X is not set -# CONFIG_MEDIA_TUNER_TDA18271 is not set -# CONFIG_MEDIA_TUNER_TDA9887 is not set -# CONFIG_MEDIA_TUNER_TEA5761 is not set -# CONFIG_MEDIA_TUNER_TEA5767 is not set -# CONFIG_MEDIA_TUNER_MT20XX is not set -# CONFIG_MEDIA_TUNER_MT2060 is not set -# CONFIG_MEDIA_TUNER_MT2266 is not set -# CONFIG_MEDIA_TUNER_MT2131 is not set -# CONFIG_MEDIA_TUNER_QT1010 is not set -# CONFIG_MEDIA_TUNER_XC2028 is not set -# CONFIG_MEDIA_TUNER_XC5000 is not set -# CONFIG_MEDIA_TUNER_MXL5005S is not set -# CONFIG_MEDIA_TUNER_MXL5007T is not set -# CONFIG_MEDIA_TUNER_MC44S803 is not set -# CONFIG_MEDIA_TUNER_MAX2165 is not set -# CONFIG_MEDIA_TUNER_TDA18218 is not set -CONFIG_VIDEO_VIVI=m -CONFIG_USB_VIDEO_CLASS=m -# CONFIG_RADIO_ADAPTERS is not set -CONFIG_FB=y -CONFIG_FB_MX5=y -CONFIG_BACKLIGHT_LCD_SUPPORT=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FONTS=y -CONFIG_FONT_8x8=y -CONFIG_LOGO=y -# CONFIG_LOGO_LINUX_MONO is not set -# CONFIG_LOGO_LINUX_VGA16 is not set -CONFIG_SOUND=m -# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set -CONFIG_SND=m -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -# CONFIG_SND_DRIVERS is not set -# CONFIG_SND_ARM is not set -# CONFIG_SND_SPI is not set -# CONFIG_SND_USB is not set -CONFIG_SND_SOC=m -CONFIG_SND_IMX_SOC=m -CONFIG_SND_SOC_APF51_DEV_WM8960=m -CONFIG_USB=y -CONFIG_USB_DEBUG=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_DEVICEFS=y -# CONFIG_USB_DEVICE_CLASS is not set -CONFIG_USB_SUSPEND=y -CONFIG_USB_OTG=y -# CONFIG_USB_OTG_WHITELIST is not set -CONFIG_USB_MON=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_MXC=y -CONFIG_USB_ACM=y -CONFIG_USB_PRINTER=y -CONFIG_USB_WDM=y -CONFIG_USB_STORAGE=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_UDC=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_PHY=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_GPIO_VBUS=y -CONFIG_USB_ULPI=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_GADGET_DEBUG_FS=y -CONFIG_USB_ETH=m -CONFIG_USB_MASS_STORAGE=m -CONFIG_USB_G_SERIAL=m -CONFIG_USB_CDC_COMPOSITE=m -CONFIG_USB_G_MULTI=m -CONFIG_USB_G_MULTI_CDC=y -CONFIG_USB_G_HID=m -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_ESDHC_IMX=y -CONFIG_MMC_SPI=m -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_WM831X_STATUS=m -CONFIG_LEDS_MC13783=m -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_MXC=y -CONFIG_RTC_DRV_WM831X=y -CONFIG_RTC_DRV_MC13XXX=m -CONFIG_STAGING=y -CONFIG_DRM_IMX=y -CONFIG_DRM_IMX_FB_HELPER=y -CONFIG_DRM_IMX_PARALLEL_DISPLAY=y -CONFIG_DRM_IMX_TVE=y -CONFIG_DRM_IMX_IPUV3=y -CONFIG_IIO=m -CONFIG_EXT2_FS=y -CONFIG_EXT2_FS_XATTR=y -CONFIG_EXT2_FS_POSIX_ACL=y -CONFIG_EXT2_FS_SECURITY=y -CONFIG_EXT2_FS_XIP=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_EXT3_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_ISO9660_FS=y -CONFIG_JOLIET=y -CONFIG_ZISOFS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_UBIFS_FS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -CONFIG_NFS_V4=y -CONFIG_ROOT_NFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_DEBUG_FS=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set -# CONFIG_CRYPTO_HW is not set diff --git a/board/armadeus/readme.txt b/board/armadeus/readme.txt deleted file mode 100644 index c03508c604d064cc37f47716e201e42c0ac39ab4..0000000000000000000000000000000000000000 --- a/board/armadeus/readme.txt +++ /dev/null @@ -1,84 +0,0 @@ -Introduction -============ - -Armadeus APFxx are Systems On Module (SOM) based on Freescale/NXP i.MX -processors associated with an FPGA (except on APF28). Non volatile -data are stored in on-module NOR or NAND Flash, depending on the -model. These SOM can be used on Armadeus development boards or with -custom docking boards. - -Supported platforms -=================== - -Buildroot currently supports the following Armadeus platforms with the -associated defconfigs: - - * APF27 SOM + devt board -> armadeus_apf27_defconfig - * APF51 SOM + devt board -> armadeus_apf51_defconfig - * APF28 SOM + devt board -> armadeus_apf28_defconfig - -Vanilla Linux versions are preferred to Freescale's one in these -configurations. - -How to build it -=============== - -Configure Buildroot -------------------- - -Let's say you own an APFxx SOM with it's corresponding development -board, all you have to do is: - - $ make armadeus_apfxx_defconfig - -where "apfxx" is the version of your SOM. - -Launch build ------------- - - $ make - -Result of the build -------------------- - -When the build is finished, you will end up with: - - output/images/ - +-- imx**-apfxxdev.dtb [1] - +-- rootfs.tar - +-- rootfs.ubi - +-- rootfs.ubifs - +-- uImage - -[1] Only if the kernel version used uses a Device Tree. - -Building U-Boot is currently not supported in these configurations. - -Installation -============ - -You will require a serial connection to the board and a TFTP server on -your Host PC. Assuming your server is configured for exporting -/tftpboot/ directory, you will have to copy the generated images to -it: - - $ cp output/images/uImage /tftpboot/apfxx-linux.bin - $ cp output/images/*.dtb /tftpboot/ - $ cp output/images/rootfs.ubi /tftpboot/apfxx-rootfs.ubi - -where "apfxx" is the version of your SOM, as used with _defconfigs. - -Then on your serial terminal, all you have to do is: - -* interrupt the boot process and access U-Boot console by pressing any - key when booting, -* configure board and server IP addresses with "ipaddr" and "serverip" - environment variables, -* if you want to update kernel: - BIOS > run update_kernel -* if you want to update device tree: - BIOS > run update_dtb -* if you want to update rootfs: - BIOS > run update_rootfs - -That's it ! diff --git a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 5d506b3daeae6c608d86d97587c84a969223587a..0000000000000000000000000000000000000000 --- a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32mp157c-dk2-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157a-dhcor-avenger96.dtb - append root=/dev/mmcblk1p4 rootwait diff --git a/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch b/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch deleted file mode 100644 index 8cec0af3b1ff5448cdda50fedd237efeddf8c2b9..0000000000000000000000000000000000000000 --- a/board/arrow/avenger96/patches/arm-trusted-firmware/0001-stm32mp157a-avenger96.dts-enable-hash-device-to-unbr.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 336dc301e02d64507447f82020ce7a349797bef3 Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard -Date: Sun, 5 Nov 2023 14:59:16 +0100 -Subject: [PATCH] stm32mp157a-avenger96.dts: enable hash device to unbreak boot - issue - -The avenger96 board was forgotten when authentication support was added with -commit 4bdb1a7a6a1325343 (stm32mp1: add authentication support for -stm32image), causing a panic when stm32mp_init_auth() is called, so fix it -similar to how it was done for the STM32MP157C-ED1 board with: - -commit b37b52ef8bc05bfd8dcca992d4ba84cd7c5d23bb -Author: Yann Gautier -Date: Tue Oct 13 18:05:06 2020 +0200 - - fdts: add missing hash node in STM32MP157C-ED1 board DT - - Without this node, the board fails to boot and panics in the function - stm32mp_init_auth(). - - Change-Id: Ia54924410dac2a8c94dd6e45d7e93977fe7d87e2 - Signed-off-by: Yann Gautier - -Upstream: N/A - Upstream reworked authentication to skip it for MP157A - variant since v2.7, see "feat(st): disable authentication based on - part_number" - (https://github.com/ARM-software/arm-trusted-firmware/commit/49abdfd8cececb91a4bc7e7b29a30c09dce461c7) - -Signed-off-by: Peter Korsgaard ---- - fdts/stm32mp157a-avenger96.dts | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/fdts/stm32mp157a-avenger96.dts b/fdts/stm32mp157a-avenger96.dts -index b967736e4..76edecb83 100644 ---- a/fdts/stm32mp157a-avenger96.dts -+++ b/fdts/stm32mp157a-avenger96.dts -@@ -271,6 +271,10 @@ - }; - }; - -+&hash1 { -+ status = "okay"; -+}; -+ - &rng1 { - status = "okay"; - }; --- -2.39.2 - diff --git a/board/arrow/avenger96/readme.txt b/board/arrow/avenger96/readme.txt deleted file mode 100644 index 19ab09eb8148495ade882f783db968a57f44736f..0000000000000000000000000000000000000000 --- a/board/arrow/avenger96/readme.txt +++ /dev/null @@ -1,41 +0,0 @@ -Arrow Avenger96 - -Intro -===== - -This configuration supports the Arrow Avenger96 board: - -https://wiki.dh-electronics.com/index.php/Avenger96 - -How to build -============ - - $ make avenger96_defconfig - $ make - -How to write the microSD card -============================= - -WARNING! This will destroy all the card content. Use with care! - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Configure the boot switches for boot from microsd: 1-0-1 - - (2) Insert the microSD card in the slot - - (3) Plug a serial adapter (beware: 1v8 levels!) to the low speed - expansion connector - - (4) Plug in power cable - - (5) The system will start, with the console on UART, but also visible - on the screen. diff --git a/board/aspeed/ast2500-evb/genimage.cfg b/board/aspeed/ast2500-evb/genimage.cfg deleted file mode 100644 index 498a71e4d75dba3beb04cfc821a8021b7304619e..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2500-evb/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -# -# This config reproduces the OpenBMC flash layout defined in Linux : -# -# arch/arm/boot/dts/openbmc-flash-layout.dtsi -# -# and included by aspeed-ast2500-evb.dts -# -flash nor-32M-256 { - pebsize = 4K - numpebs = 8K - minimum-io-unit-size = 256 -} - -image flash.img { - flash { - } - flashtype = "nor-32M-256" - - partition uboot { - image = "u-boot.bin" - size = 384K - } - - partition ubootenv { - /* TODO */ - offset = 384K - size = 128K - } - - partition fitimage { - image = "image.itb" - offset = 512K - size = 4352K - } - - partition spare { - offset = 4864K - size = 27904K - } -} diff --git a/board/aspeed/ast2500-evb/linux.fragment b/board/aspeed/ast2500-evb/linux.fragment deleted file mode 100644 index 1cee95f8427bd606a3d95e2af305a949dc3047a2..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2500-evb/linux.fragment +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_KERNEL_XZ=y -CONFIG_ARCH_MULTI_V7=n -CONFIG_MACH_ASPEED_G6=n -CONFIG_SMP=n -CONFIG_EXT4_FS=n -CONFIG_DEBUG_FS=n -CONFIG_SUSPEND=n diff --git a/board/aspeed/ast2500-evb/readme.txt b/board/aspeed/ast2500-evb/readme.txt deleted file mode 100644 index f509be553bcf76acb5685006d56c1091fad93f4c..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2500-evb/readme.txt +++ /dev/null @@ -1,80 +0,0 @@ -Aspeed AST2500 EVB - -Introduction -============ - -The AST2500 EVB is an evaluation board for the AST2500 SoC, most -commonly used as a Server Management Processor. It includes an 800MHz -ARM11 processor with DDR3 or DDR4 SDRAM (up to 1GB), SPI flash memory -devices for BMC and host firmwares and numerous controllers to drive -the server board. - - https://www.aspeedtech.com/server_ast2500/ - -How to build it -=============== - -Configure buildroot: - - $ make aspeed_ast2500evb_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -=================== - -After building, the output/images directory contains: - - output/images/ - ├── aspeed-ast2500-evb.dtb - ├── flash.img - ├── image.itb - ├── rootfs.cpio - ├── rootfs.cpio.xz - ├── rootfs.tar - ├── u-boot.bin - └── zImage - -Flashing the image -================== - -To update the contents of the first flash device, copy flash.img : - - $ flashcp flash.img /dev/mtd0 - -or simply the boot loader: - - $ flashcp u-boot.bin /dev/mtd1 - -Preparing the board -=================== - - * Connect a serial line to the board - * Power-up the board - -Booting the board -================= - -The AST2500 EVB boots from the SPI flash device directly and loads a -first bootloader (usually U-Boot). U-Boot will attempt to load a Linux -kernel from the same flash device by default but other storage could -be used. - - * from U-Boot - - The FIT image image.itb can be used to boot the board from U-Boot - using tftp - - * with QEMU - - $ qemu-system-arm -M ast2500-evb \ - -drive file=output/images/flash.img,format=raw,if=mtd \ - -nographic - - $ qemu-system-arm -M ast2500-evb \ - -kernel output/images/zImage \ - -initrd output/images/rootfs.cpio \ - -dtb output/images/aspeed-ast2500-evb.dtb \ - -nographic diff --git a/board/aspeed/ast2500-evb/uboot.fragment b/board/aspeed/ast2500-evb/uboot.fragment deleted file mode 100644 index 8463252e591121ecce2b0c1a05765ae3e036b220..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2500-evb/uboot.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_BOOTCOMMAND="bootm 20080000" -CONFIG_FIT=y -CONFIG_SHA256=y diff --git a/board/aspeed/ast2600-evb/genimage.cfg b/board/aspeed/ast2600-evb/genimage.cfg deleted file mode 100644 index 56932d478756d0316bce8ab68ee8954d08aa939b..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2600-evb/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -# -# This config reproduces the OpenBMC flash layout defined in Linux : -# -# arch/arm/boot/dts/openbmc-flash-layout-64.dtsi -# -# and included by aspeed-ast2600-evb.dts -# -flash nor-64M-256 { - pebsize = 4K - numpebs = 16K - minimum-io-unit-size = 256 -} - -image flash.img { - flash { - } - flashtype = "nor-64M-256" - - partition uboot { - image = "u-boot.bin" - size = 896K - } - - partition ubootenv { - /* TODO */ - offset = 896K - size = 128K - } - - partition fitimage { - image = "image.itb" - offset = 1M - size = 9M - } - - partition spare { - offset = 10M - size = 54M - } -} diff --git a/board/aspeed/ast2600-evb/readme.txt b/board/aspeed/ast2600-evb/readme.txt deleted file mode 100644 index 1f7ba13d5d97bb0d374315903813748459af0ef6..0000000000000000000000000000000000000000 --- a/board/aspeed/ast2600-evb/readme.txt +++ /dev/null @@ -1,80 +0,0 @@ -Aspeed AST2600 EVB - -Introduction -============ - -The AST2600 EVB is an evaluation board for the AST2600 SoC, most -commonly used as a Server Management Processor. It includes a -Dual-core ARM Cortex A7 processor with DDR4 SDRAM (up to 2GB), SPI -flash memory devices for BMC and host firmwares and numerous -controllers to drive the server board. - - https://www.aspeedtech.com/server_ast2600/ - -How to build it -=============== - -Configure buildroot: - - $ make aspeed_ast2600evb_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -=================== - -After building, the output/images directory contains: - - output/images/ - ├── aspeed-ast2600-evb.dtb - ├── flash.img - ├── image.itb - ├── rootfs.cpio - ├── rootfs.cpio.xz - ├── rootfs.tar - ├── u-boot.bin - └── zImage - -Flashing the image -================== - -To update the contents of the first flash device, copy flash.img : - - $ flashcp flash.img /dev/mtd0 - -or simply the boot loader: - - $ flashcp u-boot.bin /dev/mtd1 - -Preparing the board -=================== - - * Connect a serial line to the board - * Power-up the board - -Booting the board -================= - -The AST2600 EVB boots from the SPI flash device directly and loads a -first bootloader (usually U-Boot). U-Boot will attempt to load a Linux -kernel from the same flash device by default but other storage could -be used. - - * from U-Boot - - The FIT image image.itb can be used to boot the board from U-Boot - using tftp - - * with QEMU - - $ qemu-system-arm -M ast2600-evb \ - -drive file=output/images/flash.img,format=raw,if=mtd \ - -nographic - - $ qemu-system-arm -M ast2600-evb \ - -kernel output/images/zImage \ - -initrd output/images/rootfs.cpio \ - -dtb output/images/aspeed-ast2600-evb.dtb \ - -nographic diff --git a/board/aspeed/common/image.its.template b/board/aspeed/common/image.its.template deleted file mode 100644 index e3200e240709450325c60ba87e11671c3f701911..0000000000000000000000000000000000000000 --- a/board/aspeed/common/image.its.template +++ /dev/null @@ -1,56 +0,0 @@ -/dts-v1/; - -/ { - description = "Kernel and buildroot image"; - #address-cells = <1>; - - images { - kernel-1 { - description = "Linux kernel"; - data = /incbin/("zImage"); - type = "kernel"; - arch = "arm"; - os = "linux"; - compression = "none"; - load = <0x80001000>; - entry = <0x80001000>; - hash-1 { - algo = "sha256"; - }; - }; - fdt-1 { - description = "Flattened Device Tree blob"; - data = /incbin/("%BOARD_DTB%"); - type = "flat_dt"; - arch = "arm"; - compression = "none"; - hash-1 { - algo = "sha256"; - }; - }; - ramdisk-1 { - description = "ramdisk"; - data = /incbin/("rootfs.cpio.xz"); - type = "ramdisk"; - arch = "arm"; - os = "linux"; - compression = "none"; - hash-1 { - algo = "sha256"; - }; - }; - }; - - configurations { - default = "conf-1"; - conf-1 { - description = "Boot Linux kernel with FDT blob, ramdisk"; - kernel = "kernel-1"; - fdt = "fdt-1"; - ramdisk = "ramdisk-1"; - hash-1 { - algo = "sha256"; - }; - }; - }; -}; diff --git a/board/aspeed/common/post-image.sh b/board/aspeed/common/post-image.sh deleted file mode 100755 index ea65a49afff0c14ceba161b610b42f2c835f830b..0000000000000000000000000000000000000000 --- a/board/aspeed/common/post-image.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -BOARD_DIR="$(dirname $0)" -mkimage=$HOST_DIR/bin/mkimage - -BOARD_DT=$(sed -n \ - 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ - ${BR2_CONFIG}) - -sed -e "s/%BOARD_DTB%/${BOARD_DT}.dtb/" \ - $BOARD_DIR/image.its.template > $BINARIES_DIR/image.its - -(cd $BINARIES_DIR && $mkimage -f image.its image.itb) - -GENIMAGE_CFG="board/aspeed/${BOARD_DT#aspeed-*}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -rm -f $BINARIES_DIR/image.its diff --git a/board/asus/tinker-s/extlinux.conf b/board/asus/tinker-s/extlinux.conf deleted file mode 100644 index 61ebe50c7106f1cfc44ac2f5f250ac585213b865..0000000000000000000000000000000000000000 --- a/board/asus/tinker-s/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Tinker linux - kernel /boot/zImage - devicetree /boot/rk3288-tinker-s.dtb - append console=ttyS2,115200n8 root=179:1 rootwait diff --git a/board/asus/tinker-s/post-build.sh b/board/asus/tinker-s/post-build.sh deleted file mode 100755 index f938876625c0e9652410736bd07dba990868cf31..0000000000000000000000000000000000000000 --- a/board/asus/tinker-s/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -MKIMAGE=$HOST_DIR/bin/mkimage -BOARD_DIR="$(dirname "$0")" - -$MKIMAGE -n rk3288 -T rksd -d "$BINARIES_DIR"/u-boot-tpl.bin "$BINARIES_DIR"/u-boot-tpl.img -cat "$BINARIES_DIR"/u-boot-tpl.img "$BINARIES_DIR"/u-boot-spl-dtb.bin > "$BINARIES_DIR"/u-boot-tpl-spl-dtb.img - -install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf diff --git a/board/asus/tinker-s/readme.txt b/board/asus/tinker-s/readme.txt deleted file mode 100644 index 3dffa12b45f51c8e4d5fe24af1675155fad14c36..0000000000000000000000000000000000000000 --- a/board/asus/tinker-s/readme.txt +++ /dev/null @@ -1,43 +0,0 @@ -Tinker S RK3288 -============= - -Tinker Board is a Single Board Computer (SBC) in an ultra-small form -factor that offers class-leading performance while leveraging outstanding -mechanical compatibility. The "S" variant of the Tinker Board has eMMC - -Tinker link: -https://www.asus.com/br/motherboards-components/single-board-computer/all-series/tinker-board-s/ - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Tinker+RK3288 - -How to build it -=============== - - $ make asus_tinker-s_rk3288_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build rootfs image: - - $ make - -Prepare your SDCard -=================== - -Buildroot generates a ready-to-use SD card image that you can flash directly to -the card. The image will be in output/images/sdcard.img. -You can write this image directly to an SD card device (i.e. /dev/xxx): - - $ sudo dd if=output/images/sdcard.img of=/dev/xxx - $ sudo sync - -Finally, you can insert the SD card to the Tinker RK3288 board and boot it. - -NOTE: -USB power supply requires more than the standard 500mA USB current, so -this board must be supplied from a capable port or from an external -AC/DC adapter. Otherwise it will hang forever while loading the kernel -image. diff --git a/board/asus/tinker/extlinux.conf b/board/asus/tinker/extlinux.conf deleted file mode 100644 index be21e246ec340686d563683f31f66aaa198f3fda..0000000000000000000000000000000000000000 --- a/board/asus/tinker/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Tinker linux - kernel /boot/zImage - devicetree /boot/rk3288-tinker.dtb - append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/asus/tinker/genimage.cfg b/board/asus/tinker/genimage.cfg deleted file mode 100644 index fa7fd734f200f7622886a1d298215dc25959c0e2..0000000000000000000000000000000000000000 --- a/board/asus/tinker/genimage.cfg +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot-tpl-spl-dtb { - in-partition-table = "no" - image = "u-boot-tpl-spl-dtb.img" - offset = 32K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 8M - size = 30M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/asus/tinker/post-build.sh b/board/asus/tinker/post-build.sh deleted file mode 100755 index ffbbcdeb5894ecbc7742232d86fb7e06bc7eb67f..0000000000000000000000000000000000000000 --- a/board/asus/tinker/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -MKIMAGE=$HOST_DIR/bin/mkimage -BOARD_DIR="$(dirname $0)" - -$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img -cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/asus/tinker/readme.txt b/board/asus/tinker/readme.txt deleted file mode 100644 index 110e2168c9a1cb10b85d34991a4d848f436884e8..0000000000000000000000000000000000000000 --- a/board/asus/tinker/readme.txt +++ /dev/null @@ -1,43 +0,0 @@ -Tinker RK3288 -============= - -Tinker Board is a Single Board Computer (SBC) in an ultra-small form -factor that offers class-leading performance while leveraging outstanding -mechanical compatibility. - -Tinker link: -https://www.asus.com/in/Single-Board-Computer/Tinker-Board/ - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Tinker+RK3288 - -How to build it -=============== - - $ make asus_tinker_rk3288_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build rootfs image: - - $ make - -Prepare your SDCard -=================== - -Buildroot generates a ready-to-use SD card image that you can flash directly to -the card. The image will be in output/images/sdcard.img. -You can write this image directly to an SD card device (i.e. /dev/xxx): - - $ sudo dd if=output/images/sdcard.img of=/dev/xxx - $ sudo sync - -Finally, you can insert the SD card to the Tinker RK3288 board and boot it. - -NOTE: -USB power supply requires more than the standard 500mA USB current, so -this board must be supplied from a capable port or from an external -AC/DC adapter. Otherwise it will hang forever while loading the kernel -image. diff --git a/board/atmel/at91sam9x5ek_mmc/genimage.cfg b/board/atmel/at91sam9x5ek_mmc/genimage.cfg deleted file mode 100644 index d99ebd26be91ac6737fc043fb04ab7cecc514711..0000000000000000000000000000000000000000 --- a/board/atmel/at91sam9x5ek_mmc/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -# Image for SD card boot on Atmel at91sam9x5ek boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91sam9g15ek.dtb", - "at91sam9g25ek.dtb", - "at91sam9g35ek.dtb", - "at91sam9x25ek.dtb", - "at91sam9x35ek.dtb", - "boot.bin", - "u-boot.bin" - } - - file uboot.env { - image = "uboot-env.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/atmel/at91sam9x5ek_mmc/uboot-env.txt b/board/atmel/at91sam9x5ek_mmc/uboot-env.txt deleted file mode 100644 index 568e4bc9853eb22be7862dcbf7550bd0ece9600f..0000000000000000000000000000000000000000 --- a/board/atmel/at91sam9x5ek_mmc/uboot-env.txt +++ /dev/null @@ -1,7 +0,0 @@ -bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait video=Unknown-1:800x480-16 -bootcmd=fatload mmc 0:1 0x21000000 at91sam9g35ek.dtb; fatload mmc 0:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000 -bootdelay=1 -ethact=gmac0 -stderr=serial -stdin=serial -stdout=serial diff --git a/board/atmel/flasher.sh b/board/atmel/flasher.sh deleted file mode 100755 index a7409ce8800f4fe6a0f0afb2ae0b837a3cf03ec4..0000000000000000000000000000000000000000 --- a/board/atmel/flasher.sh +++ /dev/null @@ -1,145 +0,0 @@ -#!/usr/bin/env bash - -BUILDIR=$1 -TTY=$2 -BOARD=$3 - -family_at91sam9260ek="at91sam9260ek" -mach_at91sam9260ek="at91sam9260-ek" -dtb_at91sam9260ek="at91sam9260ek.dtb" - -family_at91sam9g45m10ek="at91sam9m10g45ek" -mach_at91sam9g45m10ek="at91sam9m10-g45-ek" -dtb_at91sam9g45m10ek="at91sam9m10g45ek.dtb" - -family_at91sam9rlek="at91sam9rlek" -mach_at91sam9rlek="at91sam9rl64-ek" -dtb_at91sam9rlek="at91sam9rlek.dtb" - -family_at91sam9g15ek="at91sam9x5ek" -mach_at91sam9g15ek="at91sam9g15-ek" -dtb_at91sam9g15ek="at91sam9g15ek.dtb" - -family_at91sam9g20ek="at91sam9g20ek" -mach_at91sam9g20ek="at91sam9g20-ek" -dtb_at91sam9g20ek="at91sam9g20ek.dtb" - -family_at91sam9g25ek="at91sam9x5ek" -mach_at91sam9g25ek="at91sam9g25-ek" -dtb_at91sam9g25ek="at91sam9g25ek.dtb" - -family_at91sam9g35ek="at91sam9x5ek" -mach_at91sam9g35ek="at91sam9g35-ek" -dtb_at91sam9g35ek="at91sam9g35ek.dtb" - -family_at91sam9x25ek="at91sam9x5ek" -mach_at91sam9x25ek="at91sam9x25-ek" -dtb_at91sam9x25ek="at91sam9x25ek.dtb" - -family_at91sam9x35ek="at91sam9x5ek" -mach_at91sam9x35ek="at91sam9x35-ek" -dtb_at91sam9x35ek="at91sam9x35ek.dtb" - -family_sama5d31ek="sama5d3xek" -mach_sama5d31ek="at91sama5d3x-ek" -dtb_sama5d31ek="sama5d31ek.dtb" - -family_sama5d31ek_revc="sama5d3xek" -mach_sama5d31ek_revc="at91sama5d3x-ek" -dtb_sama5d31ek_revc="sama5d31ek_revc.dtb" - -family_sama5d33ek="sama5d3xek" -mach_sama5d33ek="at91sama5d3x-ek" -dtb_sama5d33ek="sama5d33ek.dtb" - -family_sama5d33ek_revc="sama5d3xek" -mach_sama5d33ek_revc="at91sama5d3x-ek" -dtb_sama5d33ek_revc="sama5d33ek_revc.dtb" - -family_sama5d34ek="sama5d3xek" -mach_sama5d34ek="at91sama5d3x-ek" -dtb_sama5d34ek="sama5d34ek.dtb" - -family_sama5d34ek_revc="sama5d3xek" -mach_sama5d34ek_revc="at91sama5d3x-ek" -dtb_sama5d34ek_revc="sama5d34ek_revc.dtb" - -family_sama5d35ek="sama5d3xek" -mach_sama5d35ek="at91sama5d3x-ek" -dtb_sama5d35ek="sama5d35ek.dtb" - -family_sama5d35ek_revc="sama5d3xek" -mach_sama5d35ek_revc="at91sama5d3x-ek" -dtb_sama5d35ek_revc="sama5d35ek_revc.dtb" - -family_sama5d36ek="sama5d3xek" -mach_sama5d36ek="at91sama5d3x-ek" -dtb_sama5d36ek="sama5d36ek.dtb" - -family_sama5d36ek_revc="sama5d3xek" -mach_sama5d36ek_revc="at91sama5d3x-ek" -dtb_sama5d36ek_revc="sama5d36ek_revc.dtb" - -family_sama5d3_xplained="sama5d3_xplained" -mach_sama5d3_xplained="at91sama5d3x-xplained" -dtb_sama5d3_xplained="at91-sama5d3_xplained.dtb" - -family_sama5d4ek="sama5d4ek" -mach_sama5d4ek="at91sama5d4x-ek" -dtb_sama5d4ek="at91-sama5d4ek.dtb" - -family_sama5d4_xplained="sama5d4_xplained" -mach_sama5d4_xplained="at91sama5d4x-ek" -dtb_sama5d4_xplained="at91-sama5d4_xplained.dtb" - -usage() { - cat << EOF -Usage: - $0 - -Available boards: - at91sam9260ek - at91sam9g45m10ek - at91sam9rlek - at91sam9g15ek - at91sam9g20ek - at91sam9g25ek - at91sam9x25ek - at91sam9g35ek - at91sam9x35ek - sama5d31ek - sama5d33ek - sama5d34ek - sama5d35ek - sama5d36ek - sama5d31ek_revc (Until rev. C) - sama5d33ek_revc (Until rev. C) - sama5d34ek_revc (Until rev. C) - sama5d35ek_revc (Until rev. C) - sama5d36ek_revc (Until rev. C) - sama5d3_xplained - sama5d4ek - sama5d4_xplained - -Example: - $0 ./output /dev/ttyACM0 at91sam9g45m10ek -EOF -} - -F="family_$BOARD" -M="mach_$BOARD" -D="dtb_$BOARD" - -if [[ $# != 3 || -z ${!F} ]]; then - usage - exit 1 -fi - -video_mode="video=LVDS-1:800x480-16" -if [[ $BOARD == "*pda4" ]]; then - video_mode="video=LVDS-1:480x272-16" -fi - -echo "Executing: ${!F} O=$1/images $1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode" -export O=$1/images -$1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode diff --git a/board/atmel/nandflash.tcl b/board/atmel/nandflash.tcl deleted file mode 100644 index 3955b345a44cc89e5cca7a91a2c0b8474cd2d473..0000000000000000000000000000000000000000 --- a/board/atmel/nandflash.tcl +++ /dev/null @@ -1,358 +0,0 @@ -# ---------------------------------------------------------------------------- -# ATMEL Microcontroller -# ---------------------------------------------------------------------------- -# Copyright (c) 2015, Atmel Corporation -# -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# - Redistributions of source code must retain the above copyright notice, -# this list of conditions and the disclaimer below. -# -# Atmel's name may not be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE -# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# ---------------------------------------------------------------------------- - -################################################################################ -# Script data -################################################################################ -# DBGU address for rm9200, 9260/9g20, 9261/9g10, 9rl, 9x5 -set at91_base_dbgu0 0xfffff200 -# DBGU address for 9263, 9g45, sama5d3 -set at91_base_dbgu1 0xffffee00 -# DBGU address for sama5d4 -set at91_base_dbgu2 0xfc069000 - -set arch_exid_offset 0x44 - -# arch id -set arch_id_at91sam9g20 0x019905a0 -set arch_id_at91sam9g45 0x819b05a0 -set arch_id_at91sam9x5 0x819a05a0 -set arch_id_at91sam9n12 0x819a07a0 -set arch_id_sama5d3 0x8a5c07c0 - -## Find out at91sam9x5 variant to load the corresponding dtb file -array set at91sam9x5_variant { - 0x00000000 at91sam9g15 - 0x00000001 at91sam9g35 - 0x00000002 at91sam9x35 - 0x00000003 at91sam9g25 - 0x00000004 at91sam9x25 -} - -## Find out sama5d3 variant to load the corresponding dtb file -array set sama5d3_variant { - 0x00444300 sama5d31 - 0x00414300 sama5d33 - 0x00414301 sama5d34 - 0x00584300 sama5d35 - 0x00004301 sama5d36 -} - -## Find out sama5d4 variant -array set sama5d4_variant { - 0x00000001 sama5d41 - 0x00000002 sama5d42 - 0x00000003 sama5d43 - 0x00000004 sama5d44 -} - -################################################################################ -# proc uboot_env: Convert u-boot variables in a string ready to be flashed -# in the region reserved for environment variables -################################################################################ -proc set_uboot_env {nameOfLstOfVar} { - upvar $nameOfLstOfVar lstOfVar - - # sector size is the size defined in u-boot CFG_ENV_SIZE - set sectorSize [expr 0x20000 - 5] - - set strEnv [join $lstOfVar "\0"] - while {[string length $strEnv] < $sectorSize} { - append strEnv "\0" - } - # \0 between crc and strEnv is the flag value for redundant environment - set strCrc [binary format i [::vfs::crc $strEnv]] - return "$strCrc\0$strEnv" -} - -################################################################################ -proc find_variant_name {boardType} { - global at91_base_dbgu0 - global at91_base_dbgu1 - global at91_base_dbgu2 - global arch_exid_offset - global at91sam9x5_variant - global sama5d3_variant - global sama5d4_variant - set socName "none" - - switch $boardType { - at91sam9x5ek { - set exidAddr [expr {$at91_base_dbgu0 + $arch_exid_offset}] - set chip_variant [format "0x%08x" [read_int $exidAddr]] - - foreach {key value} [array get at91sam9x5_variant] { - if {$key == $chip_variant} { - set socName "$value" - break; - } - } - } - sama5d3xek { - set exidAddr [expr {$at91_base_dbgu1 + $arch_exid_offset}] - set chip_variant [format "0x%08x" [read_int $exidAddr]] - - foreach {key value} [array get sama5d3_variant] { - #puts "-I- === $chip_variant ? $key ($value) ===" - if {$key == $chip_variant} { - set socName "$value" - break; - } - } - } - sama5d3_xplained { - set exidAddr [expr {$at91_base_dbgu1 + $arch_exid_offset}] - set chip_variant [format "0x%08x" [read_int $exidAddr]] - - foreach {key value} [array get sama5d3_variant] { - #puts "-I- === $chip_variant ? $key ($value) ===" - if {$key == $chip_variant} { - set socName "$value" - break; - } - } - } - sama5d4ek { - set exidAddr [expr {$at91_base_dbgu2 + $arch_exid_offset}] - set chip_variant [format "0x%08x" [read_int $exidAddr]] - - foreach {key value} [array get sama5d4_variant] { - #puts "-I- === $chip_variant ? $key ($value) ===" - if {$key == $chip_variant} { - set socName "$value" - break; - } - } - } - sama5d4_xplained { - set exidAddr [expr {$at91_base_dbgu2 + $arch_exid_offset}] - set chip_variant [format "0x%08x" [read_int $exidAddr]] - - foreach {key value} [array get sama5d4_variant] { - #puts "-I- === $chip_variant ? $key ($value) ===" - if {$key == $chip_variant} { - set socName "$value" - break; - } - } - } - } - - return "$socName" -} - -proc find_variant_ecc {boardType} { - set eccType "none" - - switch $boardType { - at91sam9x5ek { - set eccType 0xc0c00405 - } - at91sam9n12ek { - set eccType 0xc0c00405 - } - sama5d3xek { - set eccType 0xc0902405 - } - sama5d3_xplained { - set eccType 0xc0902405 - } - sama5d4ek { - set eccType 0xc1e04e07 - } - sama5d4_xplained { - set eccType 0xc1e04e07 - } - } - - puts "-I- === eccType is $eccType ===" - return $eccType -} - -proc get_kernel_load_addr {boardType} { - set kernel_load_addr 0x22000000 - - switch $boardType { - at91sam9m10g45ek { - set kernel_load_addr 0x72000000 - } - } - - return $kernel_load_addr -} - -proc get_dtb_load_addr {boardType} { - set dtb_load_addr 0x21000000 - - switch $boardType { - at91sam9m10g45ek { - set dtb_load_addr 0x71000000 - } - } - - return $dtb_load_addr -} - -################################################################################ -# Main script: Load the linux demo in NandFlash, -# Update the environment variables -################################################################################ - -################################################################################ - -# check for proper variable initialization -if {! [info exists boardFamily]} { - puts "-I- === Parsing script arguments ===" - if {! [info exists env(O)]} { - puts "-E- === Binaries path not defined ===" - exit - } - - set bootstrapFile "$env(O)/at91bootstrap.bin" - set ubootFile "$env(O)/u-boot.bin" - set kernelFile "$env(O)/zImage" - set rootfsFile "$env(O)/rootfs.ubi" - set build_uboot_env "yes" - - set i 1 - foreach arg $::argv { - puts "argument $i is $arg" - switch $i { - 4 { set boardFamily $arg } - 5 { set dtbFile "$env(O)/$arg" } - 6 { set videoMode $arg } - } - incr i - } -} - -puts "-I- === Board Family is $boardFamily ===" - -set pmeccConfig [find_variant_ecc $boardFamily] - -## Now check for the needed files -if {! [file exists $bootstrapFile]} { - puts "-E- === AT91Bootstrap file not found ===" - exit -} - -if {! [file exists $ubootFile]} { - puts "-E- === U-Boot file not found ===" - exit -} - -if {! [file exists $kernelFile]} { - puts "-E- === Linux kernel file not found ===" - exit -} - -if {! [file exists $dtbFile]} { - puts "-E- === Device Tree binary: $dtbFile file not found ===" - exit -} - -if {! [file exists $rootfsFile]} { - puts "-E- === Rootfs file not found ===" - exit -} - -## NandFlash Mapping -set bootStrapAddr 0x00000000 -set ubootAddr 0x00040000 -set ubootEnvAddr 0x000c0000 -set dtbAddr 0x00180000 -set kernelAddr 0x00200000 -set rootfsAddr 0x00800000 - -## u-boot variable -set kernelLoadAddr [get_kernel_load_addr $boardFamily] -set dtbLoadAddr [get_dtb_load_addr $boardFamily] - -## NandFlash Mapping -set kernelSize [format "0x%08X" [file size $kernelFile]] -set dtbSize [format "0x%08X" [file size $dtbFile]] -set bootCmd "bootcmd=nand read $dtbLoadAddr $dtbAddr $dtbSize; nand read $kernelLoadAddr $kernelAddr $kernelSize; bootz $kernelLoadAddr - $dtbLoadAddr" -set rootfsSize [format "0x%08X" [file size $rootfsFile]] - -lappend u_boot_variables \ - "bootdelay=1" \ - "baudrate=115200" \ - "stdin=serial" \ - "stdout=serial" \ - "stderr=serial" \ - "bootargs=console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw $videoMode" \ - "$bootCmd" - -## Additional files to load -set ubootEnvFile "ubootEnvtFileNandFlash.bin" - - -## Start flashing procedure ################################################## -puts "-I- === Initialize the NAND access ===" -NANDFLASH::Init - -if {$pmeccConfig != "none"} { - puts "-I- === Enable PMECC OS Parameters ===" - NANDFLASH::NandHeaderValue HEADER $pmeccConfig -} - -puts "-I- === Erase all the NAND flash blocs and test the erasing ===" -NANDFLASH::EraseAllNandFlash - -puts "-I- === Load AT91Bootstrap in the first sector ===" -if {$pmeccConfig != "none"} { - NANDFLASH::SendBootFilePmeccCmd $bootstrapFile -} else { - NANDFLASH::sendBootFile $bootstrapFile -} - -puts "-I- === Load u-boot in the next sectors ===" -send_file {NandFlash} "$ubootFile" $ubootAddr 0 - -if {$build_uboot_env == "yes"} { - puts "-I- === Load the u-boot environment variables ===" - set fh [open "$ubootEnvFile" w] - fconfigure $fh -translation binary - puts -nonewline $fh [set_uboot_env u_boot_variables] - close $fh - send_file {NandFlash} "$ubootEnvFile" $ubootEnvAddr 0 -} - -puts "-I- === Load the Kernel image and device tree database ===" -send_file {NandFlash} "$dtbFile" $dtbAddr 0 -send_file {NandFlash} "$kernelFile" $kernelAddr 0 - -if {$pmeccConfig != "none"} { - puts "-I- === Enable trimffs ===" - NANDFLASH::NandSetTrimffs 1 -} - -puts "-I- === Load the linux file system ===" -send_file {NandFlash} "$rootfsFile" $rootfsAddr 0 - -puts "-I- === DONE. ===" diff --git a/board/atmel/readme.txt b/board/atmel/readme.txt deleted file mode 100644 index a9c427e90bcfc3fa45a05d75a549a60aee2a83d1..0000000000000000000000000000000000000000 --- a/board/atmel/readme.txt +++ /dev/null @@ -1,181 +0,0 @@ -This document explains how to set up a basic Buildroot system on -various Atmel/Microchip boards. Additional details can also be found -on the Linux4SAM website: http://www.linux4sam.org - -This guide covers the following configurations: - - at91sam9g45m10ek_defconfig - - at91sam9rlek_defconfig - - at91sam9x5ek_defconfig (at91sam9g15, at91sam9g25, at91sam9x25, - at91sam9g35 and at91sam9x35) - - atmel_sama5d3xek_defconfig (sama5d31, sama5d33, sama5d34, sama5d35, - sama5d36) - - atmel_sama5d3_xplained_defconfig - - atmel_sama5d3_xplained_dev_defconfig - - atmel_sama5d3_xplained_mmc_defconfig - - atmel_sama5d3_xplained_mmc_dev_defconfig - - atmel_sama5d4_xplained_defconfig - - atmel_sama5d4_xplained_dev_defconfig - - atmel_sama5d4_xplained_mmc_defconfig - - atmel_sama5d4_xplained_mmc_dev_defconfig - - atmel_sama5d2_xplained_mmc_defconfig - - atmel_sama5d2_xplained_mmc_dev_defconfig - - microchip_sama5d27_wlsom1_ek_mmc_defconfig - - microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig - - microchip_sam9x60ek_mmc_defconfig - - microchip_sam9x60ek_mmc_dev_defconfig - - microchip_sama5d2_icp_mmc_defconfig - - microchip_sama5d2_icp_mmc_dev_defconfig - - microchip_sama7g5ek_mmc_defconfig - - microchip_sama7g5ek_mmc_dev_defconfig - -These configurations will use AT91Bootstrap, u-boot and a linux kernel from -the git trees maintained by Atmel. - -The configurations labeled as 'dev' provide a development rootfs with tools to -tests the features of the SoC: -- ALSA tools to test audio -- FFMPEG to record video from the ISI/ISC -- I2C, SPI, CAN, etc. tools -- modetest for LCD screens, HDMI -- Wilc1000/Wilc3000 firmware for the Atmel Wireless sdio module -- SSH for convenience -- GDB/GDB server for debug - -Configuring and building Buildroot -================================== - -For the Xplained/Evaluation Kit boards, the Buildroot configuration is -provided to boot from an SD card. Those configurations are labeled as -'mmc'. In this case, after building Buildroot, follow the instructions -in the "Preparing the SD card" section. - -For the other configurations listed above, the Buildroot configuration -assumes the system will be flashed on NAND. In this case, after -building Buildroot, follow the instructions in the "Flashing the NAND -using SAM-BA" section below. - -To configure and build Buildroot, run: - - make _defconfig - make - -Flashing the NAND using SAM-BA -============================== - -Flashing the board ------------------- - -Connect the board: - o at91sam9g45m10ek: DBGU: J10, USB sam-ba: J14 - o at91sam9rlek: DBGU: J19, USB sam-ba: J21 - o at91sam9x5ek: DBGU: J11, USB sam-ba: J20 - o sama5d3xek: DBGU: J14, USB sam-ba: J20 - o sama5d3 Xplained: DBGU: J23, USB sam-ba: J6 - o sama5d4ek: DBGU: J22 or J24, USB sam-ba: J1 - o sama5d4 Xplained: DBGU: J1, USB sam-ba: J11 - -Start the board in RomBOOT: - o at91sam9g45m10ek: - 1. open JP8, JP10 and JP12 - 2. start the board - 3. close JP8, JP10 and JP12 - - o at91sam9rlek: - 1. J11 on 1-2 (BMS=1), open J12 and J13 - 2. start the board - 3. close J12 and J13 - - o at91sam9x5ek: - 1. open JP9 and: - - Cogent: open *NCS jumper - - Embest: open SW1 - - Ronetix: open J1 and J2 - 2. start the board - 3. close JP9 and: - - Cogent: close *NCS jumper - - Embest: close SW1 (ON position) - - Ronetix: close J1 and J2 - - o sama5d3xek: - 1. start the board - 2. push BP4 and BP1 - 3. release BP1 - 4. release BP4 - - o sama5d3 Xplained: - 1. open JP5 (NANDCS) and JP6 (SPICS) - 2. start the board - 3. close JP5 ans JP6 - - o sama5d4ek: - 1. start the board - 2. push BP3 and BP4 - 3. release BP4 - 4. release BP3 - - o sama5d4 Xplained: - 1. close JP7 (BOOT_DIS) - 2. start the board - 3. open JP7 - -"RomBOOT" should appear on your console (this should be ttyUSBx or ttyACMx) - -Now locate the USB sam-ba interface it should be ttyACMx, usually ttyACM0 -dmesg on your machine should give: -usb 1-2.1.4: New USB device found, idVendor=03eb, idProduct=6124 -usb 1-2.1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 -cdc_acm 1-2.1.4:1.0: ttyACM0: USB ACM device - -Look for idVendor=03eb, idProduct=6124, this is the interface you want to use. - -You can then flash the board using the provided flasher.sh script in board/atmel: - -board/atmel/flasher.sh - -For example, for an out of tree build made in -/tmp/atmel_sama5d3_xplained/ for the sama5d3 Xplained, you would use: -board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplained - -Reboot, the system should boot up to the buildroot login invite. - -Preparing the SD card -===================== - -An image named sdcard.img is automatically generated. With this image, -you no longer have to care about the creation of the partition and -copying files to the SD card. - -You need at least a 1GB SD card. All the data on the SD card will be -lost. To copy the image on the SD card: - -/!\ Caution be sure to do it on the right mmcblk device /!\ - -dd if=output/images/sdcard.img of=/dev/mmcblk0 - -Insert your SD card in your Xplained/Evaluation Kit board, and -enjoy. The default U-Boot environment will load properly the kernel -and Device Tree blob from the first partition of the SD card, so -everything works automatically. - -By default a 16MB FAT partition is created. It contains at91bootstrap, -u-boot, the kernel image and all dtb variants for your board. The dtb -used is the basic one: - -U-Boot> print -[...] -bootcmd=fatload mmc 1:1 0x21000000 at91-sama5d2_xplained.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000 -[...] - -If you want to use a variant such as the _pda7 one, you will have to -update your u-boot environment: - -U-Boot> setenv bootcmd 'fatload mmc 1:1 0x21000000 at91-sama5d2_xplained_pda7.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000' -U-Boot> save -Saving Environment to FAT... -writing uboot.env -done - -A 512MB ext4 partition is also created to store the rootfs generated. - -If you want to customize the size of the partitions and their content, -take a look at the the genimage.cfg file in the board directory. diff --git a/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg b/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg deleted file mode 100644 index a0adecfd3421437e72b32a678533319927934240..0000000000000000000000000000000000000000 --- a/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D2 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d27_som1_ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg b/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg deleted file mode 100644 index cf55f46fc7e27dbfad046794ee218ab88101049e..0000000000000000000000000000000000000000 --- a/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Microchip SAMA5D27 WLSOM1 EK -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d27_wlsom1_ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/atmel/sama5d2_xplained_mmc/genimage.cfg b/board/atmel/sama5d2_xplained_mmc/genimage.cfg deleted file mode 100644 index 2c5a0f6dce7331ede125af727e4aae8fcca3949a..0000000000000000000000000000000000000000 --- a/board/atmel/sama5d2_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D2 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d2_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/atmel/sama5d3_xplained_mmc/genimage.cfg b/board/atmel/sama5d3_xplained_mmc/genimage.cfg deleted file mode 100644 index 0456e8d5a2e5a53e4105767ad18e1c37aac78e6d..0000000000000000000000000000000000000000 --- a/board/atmel/sama5d3_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D3 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d3_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/atmel/sama5d4_xplained_mmc/genimage.cfg b/board/atmel/sama5d4_xplained_mmc/genimage.cfg deleted file mode 100644 index bd929ffab40737fade01338d519ad44047f7522b..0000000000000000000000000000000000000000 --- a/board/atmel/sama5d4_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D4 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d4_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/avnet/rzboard_v2l/genimage.cfg b/board/avnet/rzboard_v2l/genimage.cfg deleted file mode 100644 index 94f35cb36044816fc23d722deaedb6c50934247b..0000000000000000000000000000000000000000 --- a/board/avnet/rzboard_v2l/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -# SD card image for RZBoard V2L - -image boot.vfat { - vfat { - files = { - "Image", - "rzboard.dtb", - "uEnv.txt" - } - } - size = 24M -} - -image sdcard.img { - hdimage { - partition-table-type = "hybrid" - } - - partition boot { - partition-type = "0xC" - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/avnet/rzboard_v2l/post-image.sh b/board/avnet/rzboard_v2l/post-image.sh deleted file mode 100755 index 25bef8f793d7ec624064c9e3be29cf0a86c79f19..0000000000000000000000000000000000000000 --- a/board/avnet/rzboard_v2l/post-image.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -e - -cp board/avnet/rzboard_v2l/uEnv.txt "${BINARIES_DIR}" -support/scripts/genimage.sh -c board/avnet/rzboard_v2l/genimage.cfg diff --git a/board/avnet/rzboard_v2l/readme.txt b/board/avnet/rzboard_v2l/readme.txt deleted file mode 100644 index 24b5680874e701c4a57aa926735cd86e406235df..0000000000000000000000000000000000000000 --- a/board/avnet/rzboard_v2l/readme.txt +++ /dev/null @@ -1,71 +0,0 @@ -RZBoard V2L -=========== - -https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/rzboard-v2l/ - -This board support creates a bootable sd card image for the AVNET RZBoard V2L. -This board is shipped with a u-boot inside its eMMC. This board support uses -that u-boot and only puts uEnv.txt, kernel image and rootfs onto the sd card. - -Build: -====== - - $ make rzboard_v2l_defconfig - $ make - -Files created in output directory -================================= - -output/images -. -├── Image -├── boot.vfat -├── rootfs.ext2 -├── rootfs.ext4 -├── rootfs.tar -├── rzboard.dtb -├── sdcard.img -└── uEnv.txt - -Creating bootable SD card: -========================== - -Simply invoke (as root) - -sudo dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device. - -Booting: -======== - -Configure board for sd card boot: ---------------------------------- -Set the 'BOOT1' switch (next to the audio jack) to '1' (away from 'ON') in -order to let the board boot kernel and rootfs from SD card. - -Serial console: ---------------- -The RZBoard V2L has a 4-pin header "J19" right next to the micro USB. Its -layout can be seen in the Quick-Start Guide, or the Hardware User Guide, -obtainable from: -https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/rzboard-v2l/ - -The uart pins are as follows (from left to right - orientation according to the -board's labeling): - -pin 1: n/a (most away from the board's corner) -pin 2: tx -pin 3: rx -pin 4: gnd (nearest to the board's corner) - -Baudrate for this board is 115200. - -Power-Up: ---------- -Plug in a suitable USB-C power supply and press the button 'S1' (next to the -USB-C port) for 2 seconds until the LED goes on. - -Login: ------- -Enter 'root' as login user, and the prompt is ready. diff --git a/board/avnet/rzboard_v2l/uEnv.txt b/board/avnet/rzboard_v2l/uEnv.txt deleted file mode 100644 index 28b8acb8c671c1321d8f1b534f3efbd57707e6f8..0000000000000000000000000000000000000000 --- a/board/avnet/rzboard_v2l/uEnv.txt +++ /dev/null @@ -1,3 +0,0 @@ -bootcmd=booti ${kernel_addr_r} - ${fdt_addr_r} -uenvcmd=fatload mmc 0:1 ${kernel_addr_r} Image; fatload mmc 0:1 ${fdt_addr_r} rzboard.dtb -bootargs=root=/dev/mmcblk0p2 rw rootfstype=ext4 earlyprintk console=ttyS0,115200 rootwait earlycon clk_ignore_unused debug diff --git a/board/avnet/s6lx9_microboard/lx9_mmu.dts b/board/avnet/s6lx9_microboard/lx9_mmu.dts deleted file mode 100644 index 8ffedd9febc27d93648e14110fee7986498b696e..0000000000000000000000000000000000000000 --- a/board/avnet/s6lx9_microboard/lx9_mmu.dts +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Device Tree Generator version: 1.3 - * - * (C) Copyright 2007-2008 Xilinx, Inc. - * (C) Copyright 2007-2009 Michal Simek - * - * Michal SIMEK - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * - * CAUTION: This file is automatically generated by libgen. - * Version: Xilinx EDK 13.2 EDK_O.61xd - * - * XPS project directory: device-tree_bsp_230-orig - */ - -/dts-v1/; -/ { - #address-cells = <1>; - #size-cells = <1>; - compatible = "xlnx,microblaze"; - model = "testing"; - MCB3_LPDDR: memory@80000000 { - device_type = "memory"; - reg = < 0x80000000 0x4000000 >; - } ; - aliases { - ethernet0 = &Ethernet_MAC; - serial0 = &USB_Uart; - } ; - chosen { - bootargs = "console=ttyUL0"; - linux,stdout-path = "/axi@0/serial@40600000"; - } ; - cpus { - #address-cells = <1>; - #cpus = <0x1>; - #size-cells = <0>; - microblaze_0: cpu@0 { - clock-frequency = <66666667>; - compatible = "xlnx,microblaze-8.20.a"; - d-cache-baseaddr = <0x80000000>; - d-cache-highaddr = <0x83ffffff>; - d-cache-line-size = <0x10>; - d-cache-size = <0x2000>; - device_type = "cpu"; - i-cache-baseaddr = <0x80000000>; - i-cache-highaddr = <0x83ffffff>; - i-cache-line-size = <0x10>; - i-cache-size = <0x2000>; - model = "microblaze,8.20.a"; - reg = <0>; - timebase-frequency = <66666667>; - xlnx,addr-tag-bits = <0xd>; - xlnx,allow-dcache-wr = <0x1>; - xlnx,allow-icache-wr = <0x1>; - xlnx,area-optimized = <0x0>; - xlnx,avoid-primitives = <0x0>; - xlnx,branch-target-cache-size = <0x0>; - xlnx,cache-byte-size = <0x2000>; - xlnx,d-axi = <0x1>; - xlnx,d-lmb = <0x1>; - xlnx,d-plb = <0x0>; - xlnx,data-size = <0x20>; - xlnx,dcache-addr-tag = <0xd>; - xlnx,dcache-always-used = <0x1>; - xlnx,dcache-byte-size = <0x2000>; - xlnx,dcache-data-width = <0x0>; - xlnx,dcache-force-tag-lutram = <0x0>; - xlnx,dcache-interface = <0x0>; - xlnx,dcache-line-len = <0x4>; - xlnx,dcache-use-fsl = <0x0>; - xlnx,dcache-use-writeback = <0x0>; - xlnx,dcache-victims = <0x0>; - xlnx,debug-enabled = <0x1>; - xlnx,div-zero-exception = <0x0>; - xlnx,dynamic-bus-sizing = <0x1>; - xlnx,ecc-use-ce-exception = <0x0>; - xlnx,edge-is-positive = <0x1>; - xlnx,endianness = <0x1>; - xlnx,family = "spartan6"; - xlnx,fault-tolerant = <0x0>; - xlnx,fpu-exception = <0x0>; - xlnx,freq = <0x3f940ab>; - xlnx,fsl-data-size = <0x20>; - xlnx,fsl-exception = <0x0>; - xlnx,fsl-links = <0x0>; - xlnx,i-axi = <0x0>; - xlnx,i-lmb = <0x1>; - xlnx,i-plb = <0x0>; - xlnx,icache-always-used = <0x1>; - xlnx,icache-data-width = <0x0>; - xlnx,icache-force-tag-lutram = <0x0>; - xlnx,icache-interface = <0x0>; - xlnx,icache-line-len = <0x4>; - xlnx,icache-streams = <0x0>; - xlnx,icache-use-fsl = <0x0>; - xlnx,icache-victims = <0x0>; - xlnx,ill-opcode-exception = <0x0>; - xlnx,instance = "microblaze_0"; - xlnx,interconnect = <0x2>; - xlnx,interconnect-m-axi-dc-aw-register = <0x0>; - xlnx,interconnect-m-axi-dc-read-issuing = <0x2>; - xlnx,interconnect-m-axi-dc-w-register = <0x0>; - xlnx,interconnect-m-axi-dc-write-issuing = <0x20>; - xlnx,interconnect-m-axi-dp-read-issuing = <0x1>; - xlnx,interconnect-m-axi-dp-write-issuing = <0x1>; - xlnx,interconnect-m-axi-ic-read-issuing = <0x2>; - xlnx,interconnect-m-axi-ip-read-issuing = <0x1>; - xlnx,interrupt-is-edge = <0x0>; - xlnx,lockstep-slave = <0x0>; - xlnx,mmu-dtlb-size = <0x1>; - xlnx,mmu-itlb-size = <0x1>; - xlnx,mmu-privileged-instr = <0x0>; - xlnx,mmu-tlb-access = <0x3>; - xlnx,mmu-zones = <0x2>; - xlnx,number-of-pc-brk = <0x1>; - xlnx,number-of-rd-addr-brk = <0x0>; - xlnx,number-of-wr-addr-brk = <0x0>; - xlnx,opcode-0x0-illegal = <0x0>; - xlnx,optimization = <0x0>; - xlnx,pvr = <0x0>; - xlnx,pvr-user1 = <0x0>; - xlnx,pvr-user2 = <0x0>; - xlnx,reset-msr = <0x0>; - xlnx,sco = <0x0>; - xlnx,stream-interconnect = <0x0>; - xlnx,unaligned-exceptions = <0x0>; - xlnx,use-barrel = <0x1>; - xlnx,use-branch-target-cache = <0x0>; - xlnx,use-dcache = <0x1>; - xlnx,use-div = <0x0>; - xlnx,use-ext-brk = <0x1>; - xlnx,use-ext-nm-brk = <0x1>; - xlnx,use-extended-fsl-instr = <0x0>; - xlnx,use-fpu = <0x0>; - xlnx,use-hw-mul = <0x1>; - xlnx,use-icache = <0x1>; - xlnx,use-interrupt = <0x1>; - xlnx,use-mmu = <0x3>; - xlnx,use-msr-instr = <0x1>; - xlnx,use-pcmp-instr = <0x0>; - xlnx,use-stack-protection = <0x0>; - } ; - } ; - axi4lite_0: axi@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "xlnx,axi-interconnect-1.03.a", "simple-bus"; - ranges ; - Ethernet_MAC: ethernet@40e00000 { - compatible = "xlnx,axi-ethernetlite-1.00.a", "xlnx,xps-ethernetlite-1.00.a"; - device_type = "network"; - interrupt-parent = <µblaze_0_intc>; - interrupts = < 2 0 >; - local-mac-address = [ 00 0a 35 aa de 00 ]; -// phy-handle = <&phy0>; - reg = < 0x40e00000 0x10000 >; - xlnx,duplex = <0x1>; - xlnx,family = "spartan6"; - xlnx,include-global-buffers = <0x0>; - xlnx,include-internal-loopback = <0x0>; - xlnx,include-mdio = <0x1>; - xlnx,include-phy-constraints = <0x1>; - xlnx,interconnect-s-axi-read-acceptance = <0x1>; - xlnx,interconnect-s-axi-write-acceptance = <0x1>; - xlnx,rx-ping-pong = <0x0>; - xlnx,s-axi-aclk-period-ps = <0x3a98>; - xlnx,s-axi-id-width = <0x1>; - xlnx,s-axi-supports-narrow-burst = <0x0>; - xlnx,tx-ping-pong = <0x0>; -/* - mdio { - #address-cells = <1>; - #size-cells = <0>; - phy0: phy@7 { - compatible = "marvell,88e1111"; - device_type = "ethernet-phy"; - reg = <7>; - } ; - } ; -*/ - } ; - SPI_FLASH: spi@40a00000 { - compatible = "xlnx,axi-spi-1.01.a", "xlnx,xps-spi-2.00.a"; - interrupt-parent = <µblaze_0_intc>; - interrupts = < 1 2 >; - reg = < 0x40a00000 0x10000 >; - xlnx,family = "spartan6"; - xlnx,fifo-exist = <0x1>; - xlnx,num-ss-bits = <0x1>; - xlnx,num-transfer-bits = <0x8>; - xlnx,sck-ratio = <0x4>; - } ; - USB_Uart: serial@40600000 { - clock-frequency = <66666667>; - compatible = "xlnx,axi-uartlite-1.02.a", "xlnx,xps-uartlite-1.00.a"; - current-speed = <115200>; - device_type = "serial"; - interrupt-parent = <µblaze_0_intc>; - interrupts = < 3 0 >; - port-number = <0>; - reg = < 0x40600000 0x10000 >; - xlnx,baudrate = <0x1c200>; - xlnx,data-bits = <0x8>; - xlnx,family = "spartan6"; - xlnx,odd-parity = <0x1>; - xlnx,s-axi-aclk-freq-hz = <0x3f940ab>; - xlnx,use-parity = <0x0>; - } ; - microblaze_0_intc: interrupt-controller@41200000 { - #interrupt-cells = <0x2>; - compatible = "xlnx,axi-intc-1.01.a", "xlnx,xps-intc-1.00.a"; - interrupt-controller ; - reg = < 0x41200000 0x10000 >; - xlnx,kind-of-intr = <0xc>; - xlnx,num-intr-inputs = <0x4>; - } ; - system_timer: timer@41c00000 { - clock-frequency = <66666667>; - compatible = "xlnx,axi-timer-1.02.a", "xlnx,xps-timer-1.00.a"; - interrupt-parent = <µblaze_0_intc>; - interrupts = < 0 2 >; - reg = < 0x41c00000 0x10000 >; - xlnx,count-width = <0x20>; - xlnx,family = "spartan6"; - xlnx,gen0-assert = <0x1>; - xlnx,gen1-assert = <0x1>; - xlnx,one-timer-only = <0x0>; - xlnx,trig0-assert = <0x1>; - xlnx,trig1-assert = <0x1>; - } ; - } ; -} ; diff --git a/board/avnet/s6lx9_microboard/lx9_mmu_defconfig b/board/avnet/s6lx9_microboard/lx9_mmu_defconfig deleted file mode 100644 index 5d01ca00a19dc4adadfff4371efc4beb83ee53e2..0000000000000000000000000000000000000000 --- a/board/avnet/s6lx9_microboard/lx9_mmu_defconfig +++ /dev/null @@ -1,68 +0,0 @@ -CONFIG_EXPERIMENTAL=y -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="rootfs.cpio" -CONFIG_INITRAMFS_COMPRESSION_GZIP=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_EXPERT=y -CONFIG_KALLSYMS_ALL=y -CONFIG_KALLSYMS_EXTRA_PASS=y -# CONFIG_HOTPLUG is not set -# CONFIG_BASE_FULL is not set -# CONFIG_FUTEX is not set -# CONFIG_EPOLL is not set -# CONFIG_SIGNALFD is not set -# CONFIG_SHMEM is not set -CONFIG_SLAB=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -# CONFIG_OPT_LIB_ASM is not set -CONFIG_KERNEL_BASE_ADDR=0x80000000 -CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan6" -CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 -# CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR is not set -CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 -CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1 -CONFIG_XILINX_MICROBLAZE0_HW_VER="8.20.a" -CONFIG_HZ_100=y -CONFIG_MMU=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE_FORCE=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_LRO is not set -# CONFIG_IPV6 is not set -CONFIG_PROC_DEVICETREE=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=8192 -CONFIG_NETDEVICES=y -CONFIG_NET_ETHERNET=y -CONFIG_XILINX_EMACLITE=y -# CONFIG_INPUT is not set -# CONFIG_SERIO is not set -# CONFIG_VT is not set -CONFIG_SERIAL_UARTLITE=y -CONFIG_SERIAL_UARTLITE_CONSOLE=y -# CONFIG_HW_RANDOM is not set -# CONFIG_HWMON is not set -# CONFIG_USB_SUPPORT is not set -CONFIG_EXT2_FS=y -# CONFIG_DNOTIFY is not set -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -CONFIG_CIFS=y -CONFIG_CIFS_STATS=y -CONFIG_CIFS_STATS2=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_DEBUG_KERNEL=y -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEBUG_SLAB=y -CONFIG_DEBUG_SPINLOCK=y -CONFIG_DEBUG_INFO=y -CONFIG_EARLY_PRINTK=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set diff --git a/board/avnet/s6lx9_microboard/readme.txt b/board/avnet/s6lx9_microboard/readme.txt deleted file mode 100644 index 3cb2ce982ace8e54db25cca829575283dd3628e3..0000000000000000000000000000000000000000 --- a/board/avnet/s6lx9_microboard/readme.txt +++ /dev/null @@ -1,70 +0,0 @@ -This is the buildroot board support for the Avnet Spartan6 LX9 MicroBoard. - -The Avnet S6LX9 Microboard is a small USB-Stick sized module containing -a Spartan6 FPGA capable of running the Microblaze softcore processor -together with RAM and FLASH memory. - -The board can be bought from Avnet (avnet.com) or from Trenz Electronic -(www.trenz-electronic.de) for a low price. - -To run the Linux built with buildroot you have to install the FPGA bitfile -and u-boot as described in the tutorial AvtS6LX9MicroBoard_SW302_PetaLinux -available on http://www.em.avnet.com/s6microboard - -On this site also is a forum containing information on how to build your own -Microblaze processor for the Microboard. - -The image file (default name is simpleImage.lx9_mmu.ub) has to be copied -to your tftp folder (often /tftpboot/) or can be programmed into the -board's SPI flash. - -Sample session: - -$ make s6lx9_microboard_defconfig -$ make -$ cp build/linux-/arch/microblaze/boot/simpleImage.lx9_mmu.ub /tftpboot/br12.2a.ub -$ minicom - - - Icache:ON - Dcache:ON - U-Boot Start:0x83f00000 -SF: Got idcode 20 ba 18 10 01 -*** Warning - bad CRC, using default environment - -Net: Xilinx_Emaclite -MAC: 00:0a:35:00:63:37 -U-BOOT for Avnet-LX9-Microboard-AXI-tiny-13.1 - -BOOTP broadcast 1 -DHCP client bound to address 192.168.11.122 -Hit any key to stop autoboot: 0 -U-Boot-PetaLinux> tftp br12.2a.ub -Using Xilinx_Emaclite device -TFTP from server 192.168.11.10; our IP address is 192.168.11.122 -Filename 'br12.2a.ub'. -Load address: 0x80002000 -Loading: ################################################################# - ################################################################# - ################################################################# - ################################################################# - ################################################################# - ############################## -done -Bytes transferred = 5207724 (4f76ac hex) -U-Boot-PetaLinux> bootm -## Booting kernel from Legacy Image at 80002000 ... - Image Name: Linux-3.1.0 - Image Type: MicroBlaze Linux Kernel Image (uncompressed) - Data Size: 5207660 Bytes = 5 MB - Load Address: 80000000 - Entry Point: 80000000 - Verifying Checksum ... OK - Loading Kernel Image ... OK -OK -## Transferring control to Linux (at address 80000000), 0x80000000 ramdisk 0x00000000, FDT 0x00000000... -Early console on uartlite at 0x40600000 -..... boot log skipped - -Welcome to Microblaze Buildroot -Microblaze login: diff --git a/board/bananapi/bananapi-m2-berry/extlinux.conf b/board/bananapi/bananapi-m2-berry/extlinux.conf deleted file mode 100644 index 1f1b4f5cf36a33fa71ba2a8e4aef23da944978c2..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-berry/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Bananapi M2 Berry linux - kernel /boot/zImage - devicetree /boot/sun8i-v40-bananapi-m2-berry.dtb - append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-berry/genimage.cfg b/board/bananapi/bananapi-m2-berry/genimage.cfg deleted file mode 100644 index 92c86775456824d173497db4638f842f36c4ff08..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-berry/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/bananapi/bananapi-m2-berry/post-build.sh b/board/bananapi/bananapi-m2-berry/post-build.sh deleted file mode 100755 index 21a2b0d8e7eaa441aa4a51c100818aa9e86f7dea..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-berry/post-build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -install -m 644 -D "${BOARD_DIR}"/extlinux.conf \ - "${TARGET_DIR}"/boot/extlinux/extlinux.conf diff --git a/board/bananapi/bananapi-m2-berry/readme.txt b/board/bananapi/bananapi-m2-berry/readme.txt deleted file mode 100644 index 838675ed94cbcd9f63b8fc1c3a850268214d9c36..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-berry/readme.txt +++ /dev/null @@ -1,35 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Bananapi M2 Berry. With the current -configuration it will bring-up the board, and allow access through the -serial console. - -Bananapi M2 Berry link: -https://wiki.banana-pi.org/Banana_Pi_BPI-M2_Berry - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make bananapi_m2_berry_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Bananapi M2 Berry and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/bananapi/bananapi-m2-ultra/extlinux.conf b/board/bananapi/bananapi-m2-ultra/extlinux.conf deleted file mode 100644 index f5f35c1d8fcb420ca7366b435677b294fe1c892b..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-ultra/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Bananapi M2 Ultra linux - kernel /boot/zImage - devicetree /boot/sun8i-r40-bananapi-m2-ultra.dtb - append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/bananapi/bananapi-m2-ultra/genimage.cfg b/board/bananapi/bananapi-m2-ultra/genimage.cfg deleted file mode 100644 index 92c86775456824d173497db4638f842f36c4ff08..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-ultra/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/bananapi/bananapi-m2-ultra/post-build.sh b/board/bananapi/bananapi-m2-ultra/post-build.sh deleted file mode 100755 index 21a2b0d8e7eaa441aa4a51c100818aa9e86f7dea..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-ultra/post-build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -install -m 644 -D "${BOARD_DIR}"/extlinux.conf \ - "${TARGET_DIR}"/boot/extlinux/extlinux.conf diff --git a/board/bananapi/bananapi-m2-ultra/readme.txt b/board/bananapi/bananapi-m2-ultra/readme.txt deleted file mode 100644 index c3de84f5b891d565924e9b6cb46d5719fb7b3099..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-ultra/readme.txt +++ /dev/null @@ -1,35 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Bananapi M2 ULtra. With the current -configuration it will bring-up the board, and allow access through the -serial console. - -Bananapi M2 Ultra link: -http://www.banana-pi.org/m2u.html - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make bananapi_m2_ultra_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Bananapi M2 Ultra and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/bananapi/bananapi-m2-zero/boot.cmd b/board/bananapi/bananapi-m2-zero/boot.cmd deleted file mode 100644 index 081450935b8faa526ea2df01cf3357e33ac8fcbd..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-zero/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-h2-plus-bananapi-m2-zero.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/bananapi/bananapi-m2-zero/genimage.cfg b/board/bananapi/bananapi-m2-zero/genimage.cfg deleted file mode 100644 index 1f565b5238a467c9f6d1d06df20d24107c8d1d7b..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-zero/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h2-plus-bananapi-m2-zero.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/bananapi/bananapi-m2-zero/readme.txt b/board/bananapi/bananapi-m2-zero/readme.txt deleted file mode 100644 index 9edd477f11d375703e20ca26866f24e2508feaef..0000000000000000000000000000000000000000 --- a/board/bananapi/bananapi-m2-zero/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -Buildroot environment for the Bananapi M2 Zero. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Bananapi M2 Zero link: -http://www.banana-pi.org/m2z.html - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make bananapi_m2_zero_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sync - -Insert the micro SDcard in your Bananapi M2 Zero and power it up. The console -is on the Debug UART on the CON3 header, with serial settings 115200 8N1. diff --git a/board/beagleboardx15/genimage.cfg b/board/beagleboardx15/genimage.cfg deleted file mode 100644 index b1604105cd3ce0bfea68d797e5d5f0897e0e11bb..0000000000000000000000000000000000000000 --- a/board/beagleboardx15/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img" - } - } - - size = 4M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/beagleboardx15/readme.txt b/board/beagleboardx15/readme.txt deleted file mode 100644 index 5af2c914ba635809fa292712dd40ac45df46c9f2..0000000000000000000000000000000000000000 --- a/board/beagleboardx15/readme.txt +++ /dev/null @@ -1,49 +0,0 @@ -BeagleBoard X15 - -Intro -===== -This config currently supports the beagleboard x15, -and generates a barebone image. - -The image must be flashed to a SD card to be used. - -How to build it -=============== - - $ make beagleboardx15_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build a sdcard image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- am57xx-beagle-x15.dtb - +-- am57xx-beagle-x15-revb1.dtb - +-- boot.vfat - +-- MLO - +--rootfs.ext2 - +-- rootfs.ext4 - +-- rootfs.tar - +-- sdcard.img - +-- u-boot.img - +-- u-boot-spl.bin - +-- zImage - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/beaglebone/extlinux.conf b/board/beaglebone/extlinux.conf deleted file mode 100644 index 13affcabd4e2d32838fee8b6e4a0b31ceee932d4..0000000000000000000000000000000000000000 --- a/board/beaglebone/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label beaglebone-buildroot - kernel /zImage - fdtdir / - append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait diff --git a/board/beaglebone/genimage.cfg b/board/beaglebone/genimage.cfg deleted file mode 100644 index 4b026fda8431305c8dab170a1c439c2eef474be2..0000000000000000000000000000000000000000 --- a/board/beaglebone/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "zImage", - "uEnv.txt", - "am335x-evm.dtb", - "am335x-evmsk.dtb", - "am335x-bone.dtb", - "am335x-boneblack.dtb", - "am335x-bonegreen.dtb", - "am335x-boneblack-wireless.dtb", - "am335x-bonegreen-wireless.dtb", - "extlinux" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/beaglebone/linux-sgx.fragment b/board/beaglebone/linux-sgx.fragment deleted file mode 100644 index 58d46f588b4b7b0c7138ae12078c61ed075197c8..0000000000000000000000000000000000000000 --- a/board/beaglebone/linux-sgx.fragment +++ /dev/null @@ -1,13 +0,0 @@ -CONFIG_PREEMPT=y -CONFIG_PREEMPT_COUNT=y -CONFIG_OMAP2_DSS_INIT=y -CONFIG_OMAP_DSS_BASE=y -CONFIG_OMAP2_DSS=y -CONFIG_OMAP2_DSS_DPI=y -CONFIG_DRM_OMAP=y -CONFIG_DRM_OMAP_NUM_CRTCS=2 -CONFIG_DRM_OMAP_WB_M2M=y -CONFIG_DRM_TILCDC=y -CONFIG_DRM_I2C_NXP_TDA998X=y -CONFIG_DRM=y -CONFIG_DRM_LEGACY=y diff --git a/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch b/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch deleted file mode 100644 index 8e36d9abc5ea4d11e4562ba47942aca568ff5231..0000000000000000000000000000000000000000 --- a/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch +++ /dev/null @@ -1,16 +0,0 @@ -This patch keeps the debugSS clock alive, it clocks the JTAG macro and enables -access to the SoC via JTAG after the kernel booted. - -Signed-off-by: Lothar Felten ---- -diff -Naur linux-orig/arch/arm/mach-omap2/omap_hwmod_33xx_data.c linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/arch/arm/mach-omap2/omap_hwmod_33xx_data.c ---- linux-orig/arch/arm/mach-omap2/omap_hwmod_33xx_data.c 2015-10-02 17:30:56.000000000 +0200 -+++ linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/arch/arm/mach-omap2/omap_hwmod_33xx_data.c 2016-08-15 11:28:55.017617612 +0200 -@@ -208,6 +208,7 @@ - .name = "debugss", - .class = &am33xx_debugss_hwmod_class, - .clkdm_name = "l3_aon_clkdm", -+ .flags = (HWMOD_INIT_NO_IDLE|HWMOD_INIT_NO_RESET), /* keep debugSS clock alive for JTAG */ - .main_clk = "trace_clk_div_ck", - .prcm = { - .omap4 = { diff --git a/board/beaglebone/post-build.sh b/board/beaglebone/post-build.sh deleted file mode 100755 index b7afd92ffeaee48d1364f89890e0602e64622239..0000000000000000000000000000000000000000 --- a/board/beaglebone/post-build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/beaglebone/readme.txt b/board/beaglebone/readme.txt deleted file mode 100644 index a11377eaee5345a839a9e0a7de6a76c134f553c1..0000000000000000000000000000000000000000 --- a/board/beaglebone/readme.txt +++ /dev/null @@ -1,66 +0,0 @@ -CircuitCo BeagleBone -Texas Instuments AM335x Evaluation Module (TMDXEVM3358) - -Description -=========== - -This configuration will build a complete image for the beaglebone and -the TI AM335x-EVM, the board type is identified by the on-board -EEPROM. The configuration is based on the -ti-processor-sdk-06.01.00.08. Device tree blobs for beaglebone -variants and the evm-sk are built too. - -For Qt5 support support use the beaglebone_qt5_defconfig. - -How to build it -=============== - -Select the default configuration for the target: -$ make beaglebone_defconfig - -Optional: modify the configuration: -$ make menuconfig - -Build: -$ make - -Result of the build -=================== -output/images/ -+-- am335x-boneblack.dtb -+-- am335x-boneblack-wireless.dtb -+-- am335x-boneblue.dtb -+-- am335x-bonegreen.dtb -+-- am335x-bonegreen-wireless.dtb -+-- am335x-bone.dtb -+-- am335x-evm.dtb -+-- am335x-evmsk.dtb -+-- boot.vfat -+-- MLO -+-- rootfs.ext2 -+-- rootfs.tar -+-- sdcard.img -+-- u-boot.img -+-- uEnv.txt -+-- zImage - -To copy the image file to the sdcard use dd: -$ dd if=output/images/sdcard.img of=/dev/XXX - - -Running Qt5 hellowindow opengl demo: -=================== -# export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json -# export QT_QPA_PLATFORM=eglfs -# export QT_QPA_EGLFS_INTEGRATION=none -# /usr/lib/qt/examples/opengl/hellowindow/hellowindow - - -Tested hardware -=============== -am335x-evm (rev. 1.1A) -beagleboneblack (rev. A5A) -beaglebone (rev. A6) - -2020, Adam Duskett -2016, Lothar Felten diff --git a/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json b/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json deleted file mode 100644 index 76f5e7d37940c2c7dd2c7b4d212fa1bab020be74..0000000000000000000000000000000000000000 --- a/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "device": "/dev/dri/card0", - "hwcursor": false, - "pbuffers": true, - "outputs": [ - { - "name": "VGA1", - "mode": "off" - }, - { - "name": "HDMI1", - "mode": "1024x768" - } - ] -} diff --git a/board/beaglebone/uEnv.txt b/board/beaglebone/uEnv.txt deleted file mode 100644 index 8fce54d87efe2ec68531bd35449cc1151d79eb55..0000000000000000000000000000000000000000 --- a/board/beaglebone/uEnv.txt +++ /dev/null @@ -1,11 +0,0 @@ -bootpart=0:1 -devtype=mmc -bootdir= -bootfile=zImage -bootpartition=mmcblk0p2 -console=ttyS0,115200n8 -loadaddr=0x82000000 -fdtaddr=0x88000000 -set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi -set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait -uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr} diff --git a/board/beagleboneai/genimage.cfg b/board/beagleboneai/genimage.cfg deleted file mode 100644 index 8aefd76ef8b7adc7e7949598942a3651a6612dda..0000000000000000000000000000000000000000 --- a/board/beagleboneai/genimage.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "zImage", - "am5729-beagleboneai.dtb", - "uEnv.txt" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch b/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch deleted file mode 100644 index 9c7b12be8444d2099731e2d8e1905a3fd480c6fb..0000000000000000000000000000000000000000 --- a/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch +++ /dev/null @@ -1,839 +0,0 @@ -From 702ea30b462ba06f4fbee3393f0e6c19531f1e5f Mon Sep 17 00:00:00 2001 -From: Robert Nelson -Date: Fri, 25 Jun 2021 11:33:25 -0500 -Subject: [PATCH] am57xx_evm-fixes - -Signed-off-by: Robert Nelson -[Patch from https://github.com/beagleboard/u-boot/commit/702ea30b462ba06f4fbee3393f0e6c19531f1e5f] -Signed-off-by: Peter Korsgaard ---- - arch/arm/mach-omap2/omap5/hw_data.c | 1 + - board/ti/am57xx/board.c | 167 +++++++++++- - configs/am57xx_evm_defconfig | 15 +- - include/configs/ti_armv7_common.h | 407 ++++++++++++++++++++++++++++ - include/configs/ti_omap5_common.h | 5 + - include/environment/ti/boot.h | 32 ++- - include/environment/ti/mmc.h | 49 +++- - 7 files changed, 651 insertions(+), 25 deletions(-) - -diff --git a/arch/arm/mach-omap2/omap5/hw_data.c b/arch/arm/mach-omap2/omap5/hw_data.c -index fa4e27063c..d5192b1671 100644 ---- a/arch/arm/mach-omap2/omap5/hw_data.c -+++ b/arch/arm/mach-omap2/omap5/hw_data.c -@@ -421,6 +421,7 @@ void enable_basic_clocks(void) - (*prcm)->cm_l4per_uart1_clkctrl, - (*prcm)->cm_l4per_uart3_clkctrl, - (*prcm)->cm_l4per_i2c1_clkctrl, -+ (*prcm)->cm_l4per_i2c4_clkctrl, - #ifdef CONFIG_DRIVER_TI_CPSW - (*prcm)->cm_gmac_gmac_clkctrl, - #endif -diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c -index 73063faee6..ad05c41f22 100644 ---- a/board/ti/am57xx/board.c -+++ b/board/ti/am57xx/board.c -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - - #include "../common/board_detect.h" - #include "mux_data.h" -@@ -528,8 +529,10 @@ void do_board_detect(void) - - rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, - CONFIG_EEPROM_CHIP_ADDRESS); -- if (rc) -+ if (rc) { - printf("ti_i2c_eeprom_init failed %d\n", rc); -+ ti_i2c_eeprom_am_set("BBONE-AI", "A"); -+ }; - - #ifdef CONFIG_SUPPORT_EMMC_BOOT - rc = board_bootmode_has_emmc(); -@@ -579,6 +582,164 @@ void do_board_detect(void) - "Board: %s REV %s\n", bname, board_ti_get_rev()); - } - -+struct am335x_cape_eeprom_id { -+ unsigned int header; -+ char eeprom_rev[2]; -+ char board_name[32]; -+ char version[4]; -+ char manufacture[16]; -+ char part_number[16]; -+ char number_of_pins[2]; -+ char serial_number[12]; -+ char pin_usage[140]; -+ char vdd_3v3exp[ 2]; -+ char vdd_5v[ 2]; -+ char sys_5v[2]; -+ char dc_supplied[2]; -+}; -+ -+#define CAPE_EEPROM_BUS_NUM 3 -+#define CAPE_EEPROM_ADDR0 0x54 -+#define CAPE_EEPROM_ADDR1 0x55 -+#define CAPE_EEPROM_ADDR2 0x56 -+#define CAPE_EEPROM_ADDR3 0x57 -+ -+#define CAPE_EEPROM_ADDR_LEN 0x10 -+ -+static int probe_cape_eeprom(struct am335x_cape_eeprom_id *cape_header) -+{ -+ int ret; -+ struct udevice *dev; -+ unsigned char addr; -+ /* /lib/firmware/BB-CAPE-DISP-CT4-00A0.dtbo */ -+ /* 14 + 16 + 1 + 4 + 5 = 40 */ -+ char hash_cape_overlay[40]; -+ char cape_overlay[26]; -+ char process_cape_part_number[16]; -+ char process_cape_version[4]; -+ char end_part_number; -+ char cape_overlay_pass_to_kernel[18]; -+ -+ strlcpy(cape_overlay_pass_to_kernel, "", 1); -+ -+ for ( addr = CAPE_EEPROM_ADDR0; addr <= CAPE_EEPROM_ADDR3; addr++ ) { -+ ret = i2c_get_chip_for_busnum(CAPE_EEPROM_BUS_NUM, addr, 1, &dev); -+ if (ret) { -+ printf("BeagleBone Cape EEPROM: no EEPROM at address: 0x%x\n", addr); -+ } else { -+ printf("BeagleBone Cape EEPROM: found EEPROM at address: 0x%x\n", addr); -+ -+ ret = i2c_set_chip_offset_len(dev, 2); -+ if (ret) { -+ printf("BeagleBone Cape EEPROM: i2c_set_chip_offset_len failure\n"); -+ } -+ -+ ret = dm_i2c_read(dev, 0, (uchar *)cape_header, sizeof(struct am335x_cape_eeprom_id)); -+ if (ret) { -+ printf("BeagleBone Cape EEPROM: Cannot read eeprom params\n"); -+ } -+ -+ if (cape_header->header == 0xEE3355AA) { -+ strlcpy(hash_cape_overlay, "/lib/firmware/", 14 + 1); -+ strlcpy(cape_overlay, "", 2); -+ strlcpy(cape_overlay_pass_to_kernel, "", 2); -+ strlcpy(process_cape_part_number, "...............", 16 + 1); -+ strlcpy(process_cape_version, "...", 4 + 1); -+ -+ strlcpy(process_cape_part_number, cape_header->part_number, 16 + 1); -+ printf("BeagleBone Cape EEPROM: debug part_number field:[%s]\n", process_cape_part_number); -+ -+ //FIXME: some capes end with '.' -+ if ( process_cape_part_number[15] == 0x2E ) { -+ puts("debug: fixup, extra . in eeprom field\n"); -+ process_cape_part_number[15] = 0x00; -+ if ( process_cape_part_number[14] == 0x2E ) { -+ process_cape_part_number[14] = 0x00; -+ } -+ } -+ -+ //Find ending 0x00 or 0xFF -+ puts("BeagleBone Cape EEPROM: debug part_number field HEX:["); -+ end_part_number=16; -+ for ( int i=0; i <= 16; i++ ) { -+ if (( process_cape_part_number[i] == 0x00 ) || ( process_cape_part_number[i] == 0xFF )) { -+ end_part_number=i; -+ i=17; -+ } else { -+ printf("%x", process_cape_part_number[i]); -+ } -+ } -+ puts("]\n"); -+ -+ strncat(cape_overlay_pass_to_kernel, process_cape_part_number, end_part_number); -+ strncat(cape_overlay_pass_to_kernel, ",", 1); -+ //printf("debug: %s\n", cape_overlay_pass_to_kernel); -+ -+ strncat(hash_cape_overlay, process_cape_part_number, end_part_number); -+ strncat(cape_overlay, process_cape_part_number, end_part_number); -+ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); -+ -+ strncat(hash_cape_overlay, "-", 1); -+ strncat(cape_overlay, "-", 1); -+ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); -+ -+ strlcpy(process_cape_version, cape_header->version, 4 + 1); -+ //printf("debug: version field:[%s]\n", process_cape_version); -+ -+ //Find invalid 0xFF -> 0x30 BBAI FAN Cape... -+ puts("BeagleBone Cape EEPROM: debug version field HEX:["); -+ for ( int i=0; i <= 3; i++ ) { -+ printf("%x", process_cape_version[i]); -+ if ( process_cape_version[i] == 0xFF ) { -+ process_cape_version[i] = 0x30; -+ } -+ } -+ puts("]\n"); -+ -+ strncat(hash_cape_overlay, process_cape_version, 4); -+ strncat(cape_overlay, process_cape_version, 4); -+ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); -+ -+ strncat(hash_cape_overlay, ".dtbo", 5); -+ strncat(cape_overlay, ".dtbo", 5); -+ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); -+ -+ printf("BeagleBone Cape EEPROM: 0x%x %s\n", addr, cape_overlay); -+ -+ switch(addr) { -+ case CAPE_EEPROM_ADDR0: -+ env_set("uboot_overlay_addr0", cape_overlay); -+ env_set("uboot_detected_capes_addr0", cape_overlay_pass_to_kernel); -+ break; -+ case CAPE_EEPROM_ADDR1: -+ env_set("uboot_overlay_addr1", cape_overlay); -+ env_set("uboot_detected_capes_addr1", cape_overlay_pass_to_kernel); -+ break; -+ case CAPE_EEPROM_ADDR2: -+ env_set("uboot_overlay_addr2", cape_overlay); -+ env_set("uboot_detected_capes_addr2", cape_overlay_pass_to_kernel); -+ break; -+ case CAPE_EEPROM_ADDR3: -+ env_set("uboot_overlay_addr3", cape_overlay); -+ env_set("uboot_detected_capes_addr3", cape_overlay_pass_to_kernel); -+ break; -+ } -+ env_set("uboot_detected_capes", "1"); -+ } else { -+ printf("BeagleBone Cape EEPROM: EEPROM contents not valid (or blank) on address: 0x%x\n", addr); -+ } -+ } -+ } -+ return 0; -+} -+ -+void do_cape_detect(void) -+{ -+ struct am335x_cape_eeprom_id cape_header; -+ -+ probe_cape_eeprom(&cape_header); -+} -+ - static void setup_board_eeprom_env(void) - { - char *name = "beagle_x15"; -@@ -782,8 +943,10 @@ int board_late_init(void) - /* Just probe the potentially supported cdce913 device */ - uclass_get_device(UCLASS_CLK, 0, &dev); - -- if (board_is_bbai()) -+ if (board_is_bbai()) { - env_set("console", "ttyS0,115200n8"); -+ do_cape_detect(); -+ } - - #if !defined(CONFIG_SPL_BUILD) - board_ti_set_ethaddr(2); -diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig -index 4da4aaa1c7..ed5b8aec16 100644 ---- a/configs/am57xx_evm_defconfig -+++ b/configs/am57xx_evm_defconfig -@@ -10,16 +10,20 @@ CONFIG_SPL_TEXT_BASE=0x40300000 - CONFIG_OMAP54XX=y - CONFIG_TARGET_AM57XX_EVM=y - CONFIG_SPL=y --CONFIG_ENV_OFFSET_REDUND=0x280000 - CONFIG_SPL_SPI_FLASH_SUPPORT=y - CONFIG_SPL_SPI_SUPPORT=y - CONFIG_ARMV7_LPAE=y --CONFIG_DEFAULT_DEVICE_TREE="am572x-idk" -+CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15-revc" - CONFIG_AHCI=y - CONFIG_DISTRO_DEFAULTS=y - CONFIG_SPL_LOAD_FIT=y - # CONFIG_USE_SPL_FIT_GENERATOR is not set - CONFIG_OF_BOARD_SETUP=y -+CONFIG_BOOTDELAY=1 -+CONFIG_AUTOBOOT_KEYED=y -+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" -+CONFIG_AUTOBOOT_DELAY_STR="d" -+CONFIG_AUTOBOOT_STOP_STR=" " - CONFIG_USE_BOOTARGS=y - CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board" - # CONFIG_USE_BOOTCOMMAND is not set -@@ -48,13 +52,12 @@ CONFIG_BOOTP_DNS2=y - CONFIG_CMD_AVB=y - CONFIG_OF_CONTROL=y - CONFIG_SPL_OF_CONTROL=y --CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk" -+CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai" - CONFIG_ENV_OVERWRITE=y --CONFIG_ENV_IS_IN_MMC=y --CONFIG_SYS_REDUNDAND_ENVIRONMENT=y -+# CONFIG_ENV_IS_IN_FAT is not set - CONFIG_SYS_RELOC_GD_ENV_ADDR=y --CONFIG_SYS_MMC_ENV_DEV=1 - CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y -+# CONFIG_SPL_ENV_IS_NOWHERE is not set - CONFIG_VERSION_VARIABLE=y - CONFIG_BOOTP_SEND_HOSTNAME=y - CONFIG_DM=y -diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h -index f13e9e5264..eabd03e27d 100644 ---- a/include/configs/ti_armv7_common.h -+++ b/include/configs/ti_armv7_common.h -@@ -92,6 +92,413 @@ - #define CONFIG_SYS_I2C - #endif - -+#define EEPROM_PROGRAMMING \ -+ "eeprom_dump=i2c dev 0; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_blank=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 ff; " \ -+ "i2c mw 0x50 0x01.2 ff; " \ -+ "i2c mw 0x50 0x02.2 ff; " \ -+ "i2c mw 0x50 0x03.2 ff; " \ -+ "i2c mw 0x50 0x04.2 ff; " \ -+ "i2c mw 0x50 0x05.2 ff; " \ -+ "i2c mw 0x50 0x06.2 ff; " \ -+ "i2c mw 0x50 0x07.2 ff; " \ -+ "i2c mw 0x50 0x08.2 ff; " \ -+ "i2c mw 0x50 0x09.2 ff; " \ -+ "i2c mw 0x50 0x0a.2 ff; " \ -+ "i2c mw 0x50 0x0b.2 ff; " \ -+ "i2c mw 0x50 0x0c.2 ff; " \ -+ "i2c mw 0x50 0x0d.2 ff; " \ -+ "i2c mw 0x50 0x0e.2 ff; " \ -+ "i2c mw 0x50 0x0f.2 ff; " \ -+ "i2c mw 0x50 0x10.2 ff; " \ -+ "i2c mw 0x50 0x11.2 ff; " \ -+ "i2c mw 0x50 0x12.2 ff; " \ -+ "i2c mw 0x50 0x13.2 ff; " \ -+ "i2c mw 0x50 0x14.2 ff; " \ -+ "i2c mw 0x50 0x15.2 ff; " \ -+ "i2c mw 0x50 0x16.2 ff; " \ -+ "i2c mw 0x50 0x17.2 ff; " \ -+ "i2c mw 0x50 0x18.2 ff; " \ -+ "i2c mw 0x50 0x19.2 ff; " \ -+ "i2c mw 0x50 0x1a.2 ff; " \ -+ "i2c mw 0x50 0x1b.2 ff; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_x15_b1=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 aa; " \ -+ "i2c mw 0x50 0x01.2 55; " \ -+ "i2c mw 0x50 0x02.2 33; " \ -+ "i2c mw 0x50 0x03.2 ee; " \ -+ "i2c mw 0x50 0x04.2 42; " \ -+ "i2c mw 0x50 0x05.2 42; " \ -+ "i2c mw 0x50 0x06.2 52; " \ -+ "i2c mw 0x50 0x07.2 44; " \ -+ "i2c mw 0x50 0x08.2 58; " \ -+ "i2c mw 0x50 0x09.2 31; " \ -+ "i2c mw 0x50 0x0a.2 35; " \ -+ "i2c mw 0x50 0x0b.2 5f; " \ -+ "i2c mw 0x50 0x0c.2 42; " \ -+ "i2c mw 0x50 0x0d.2 2e; " \ -+ "i2c mw 0x50 0x0e.2 31; " \ -+ "i2c mw 0x50 0x0f.2 30; " \ -+ "i2c mw 0x50 0x10.2 57; " \ -+ "i2c mw 0x50 0x11.2 57; " \ -+ "i2c mw 0x50 0x12.2 59; " \ -+ "i2c mw 0x50 0x13.2 59; " \ -+ "i2c mw 0x50 0x14.2 34; " \ -+ "i2c mw 0x50 0x15.2 50; " \ -+ "i2c mw 0x50 0x16.2 35; " \ -+ "i2c mw 0x50 0x17.2 35; " \ -+ "i2c mw 0x50 0x18.2 30; " \ -+ "i2c mw 0x50 0x19.2 30; " \ -+ "i2c mw 0x50 0x1a.2 30; " \ -+ "i2c mw 0x50 0x1b.2 30; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_x15_c=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 aa; " \ -+ "i2c mw 0x50 0x01.2 55; " \ -+ "i2c mw 0x50 0x02.2 33; " \ -+ "i2c mw 0x50 0x03.2 ee; " \ -+ "i2c mw 0x50 0x04.2 42; " \ -+ "i2c mw 0x50 0x05.2 42; " \ -+ "i2c mw 0x50 0x06.2 52; " \ -+ "i2c mw 0x50 0x07.2 44; " \ -+ "i2c mw 0x50 0x08.2 58; " \ -+ "i2c mw 0x50 0x09.2 31; " \ -+ "i2c mw 0x50 0x0a.2 35; " \ -+ "i2c mw 0x50 0x0b.2 5f; " \ -+ "i2c mw 0x50 0x0c.2 43; " \ -+ "i2c mw 0x50 0x0d.2 2e; " \ -+ "i2c mw 0x50 0x0e.2 30; " \ -+ "i2c mw 0x50 0x0f.2 30; " \ -+ "i2c mw 0x50 0x10.2 79; " \ -+ "i2c mw 0x50 0x11.2 79; " \ -+ "i2c mw 0x50 0x12.2 77; " \ -+ "i2c mw 0x50 0x13.2 77; " \ -+ "i2c mw 0x50 0x14.2 50; " \ -+ "i2c mw 0x50 0x15.2 58; " \ -+ "i2c mw 0x50 0x16.2 31; " \ -+ "i2c mw 0x50 0x17.2 35; " \ -+ "i2c mw 0x50 0x18.2 6e; " \ -+ "i2c mw 0x50 0x19.2 6e; " \ -+ "i2c mw 0x50 0x1a.2 6e; " \ -+ "i2c mw 0x50 0x1b.2 6e; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "eeprom_bbai_a2=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 aa; " \ -+ "i2c mw 0x50 0x01.2 55; " \ -+ "i2c mw 0x50 0x02.2 33; " \ -+ "i2c mw 0x50 0x03.2 ee; " \ -+ "i2c mw 0x50 0x04.2 42; " \ -+ "i2c mw 0x50 0x05.2 42; " \ -+ "i2c mw 0x50 0x06.2 4F; " \ -+ "i2c mw 0x50 0x07.2 4E; " \ -+ "i2c mw 0x50 0x08.2 45; " \ -+ "i2c mw 0x50 0x09.2 2D; " \ -+ "i2c mw 0x50 0x0a.2 41; " \ -+ "i2c mw 0x50 0x0b.2 49; " \ -+ "i2c mw 0x50 0x0c.2 30; " \ -+ "i2c mw 0x50 0x0d.2 30; " \ -+ "i2c mw 0x50 0x0e.2 41; " \ -+ "i2c mw 0x50 0x0f.2 32; " \ -+ "i2c mw 0x50 0x10.2 57; " \ -+ "i2c mw 0x50 0x11.2 57; " \ -+ "i2c mw 0x50 0x12.2 59; " \ -+ "i2c mw 0x50 0x13.2 59; " \ -+ "i2c mw 0x50 0x14.2 53; " \ -+ "i2c mw 0x50 0x15.2 42; " \ -+ "i2c mw 0x50 0x16.2 41; " \ -+ "i2c mw 0x50 0x17.2 49; " \ -+ "i2c mw 0x50 0x18.2 30; " \ -+ "i2c mw 0x50 0x19.2 30; " \ -+ "i2c mw 0x50 0x1a.2 30; " \ -+ "i2c mw 0x50 0x1b.2 30; " \ -+ "i2c mw 0x50 0x1c.2 30; " \ -+ "i2c mw 0x50 0x1d.2 30; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ -+#define EEWIKI_MMC_BOOT \ -+ "mmc_boot=${devtype} dev ${mmcdev}; ${devtype} part; " \ -+ "if ${devtype} rescan; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 5 6 7 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_SCSI_BOOT \ -+ "scsi_boot=${devtype} reset ; " \ -+ "if ${devtype} dev ${mmcdev}; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/sda${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_USB_BOOT \ -+ "usb_boot=${devtype} reset ; " \ -+ "if ${devtype} dev ${mmcdev}; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set in /uEnv.txt ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/sda${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_UNAME_BOOT \ -+ "uname_boot="\ -+ "setenv bootdir /boot; " \ -+ "setenv bootfile vmlinuz-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${bootdir}/${bootfile}; then " \ -+ "echo loading ${bootdir}/${bootfile} ...; "\ -+ "run loadimage;" \ -+ "setenv fdtdir /boot/dtbs/${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /usr/lib/linux-image-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /lib/firmware/${uname_r}/device-tree; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtb-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtbs; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtb; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "echo; echo unable to find ${fdtfile} ...; echo booting legacy ...;"\ -+ "run args_mmc;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr}] ... ;" \ -+ "bootz ${loadaddr}; " \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi; " \ -+ "if test -n ${enable_uboot_overlays}; then " \ -+ "setenv fdt_buffer 0x60000;" \ -+ "if test -n ${uboot_fdt_buffer}; then " \ -+ "setenv fdt_buffer ${uboot_fdt_buffer};" \ -+ "fi;" \ -+ "echo uboot_overlays: [fdt_buffer=${fdt_buffer}] ... ;" \ -+ "if test -n ${uboot_overlay_addr0}; then " \ -+ "if test -n ${disable_uboot_overlay_addr0}; then " \ -+ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr0}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr0=1]...;" \ -+ "else " \ -+ "setenv uboot_overlay ${uboot_overlay_addr0}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr1}; then " \ -+ "if test -n ${disable_uboot_overlay_addr1}; then " \ -+ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr1}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr1=1]...;" \ -+ "else " \ -+ "setenv uboot_overlay ${uboot_overlay_addr1}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr2}; then " \ -+ "if test -n ${disable_uboot_overlay_addr2}; then " \ -+ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr2}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr2=1]...;" \ -+ "else " \ -+ "setenv uboot_overlay ${uboot_overlay_addr2}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr3}; then " \ -+ "if test -n ${disable_uboot_overlay_addr3}; then " \ -+ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr3}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr3=1]...;" \ -+ "else " \ -+ "setenv uboot_overlay ${uboot_overlay_addr3}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr4}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr4}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr5}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr5}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr6}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr6}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr7}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr7}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_pru}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_pru}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "else " \ -+ "echo uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...;" \ -+ "fi;" \ -+ "setenv rdfile initrd.img-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${bootdir}/${rdfile}; then " \ -+ "echo loading ${bootdir}/${rdfile} ...; "\ -+ "run loadrd;" \ -+ "if test -n ${netinstall_enable}; then " \ -+ "run args_netinstall; run message;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "if test -n ${uenv_root}; then " \ -+ "run args_uenv_root;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "if test -n ${uuid}; then " \ -+ "run args_mmc_uuid;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "else " \ -+ "run args_mmc_old;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "else " \ -+ "if test -n ${uenv_root}; then " \ -+ "run args_uenv_root;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} - ${fdtaddr}; " \ -+ "fi;" \ -+ "run args_mmc_old;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} - ${fdtaddr}; " \ -+ "fi;" \ -+ "fi;\0" \ -+ - /* - * The following are general good-enough settings for U-Boot. We set a - * large malloc pool as we generally have a lot of DDR, and we opt for -diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h -index de0a6af2fd..0cd2ccea03 100644 ---- a/include/configs/ti_omap5_common.h -+++ b/include/configs/ti_omap5_common.h -@@ -64,6 +64,11 @@ - DEFAULT_FIT_TI_ARGS \ - DEFAULT_COMMON_BOOT_TI_ARGS \ - DEFAULT_FDT_TI_ARGS \ -+ EEWIKI_USB_BOOT \ -+ EEWIKI_SCSI_BOOT \ -+ EEWIKI_MMC_BOOT \ -+ EEWIKI_UNAME_BOOT \ -+ EEPROM_PROGRAMMING \ - DFUARGS \ - NETARGS \ - NANDARGS \ -diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h -index a9d8f28d46..1480b6e3df 100644 ---- a/include/environment/ti/boot.h -+++ b/include/environment/ti/boot.h -@@ -132,6 +132,7 @@ - "bootpart=0:2\0" \ - "bootdir=/boot\0" \ - "bootfile=zImage\0" \ -+ "board_eeprom_header=undefined\0" \ - "usbtty=cdc_acm\0" \ - "vram=16M\0" \ - AVB_VERIFY_CMD \ -@@ -183,7 +184,14 @@ - "else " \ - "echo $apart partition not found; " \ - "exit; " \ -- "fi;\0" -+ "fi;\0 " \ -+ "read_board_eeprom=" \ -+ "if test $board_eeprom_header = beagle_x15_revb1_blank; then " \ -+ "run eeprom_dump; run eeprom_x15_b1; reset; fi; " \ -+ "if test $board_eeprom_header = beagle_x15_revc_blank; then " \ -+ "run eeprom_dump; run eeprom_x15_c; reset; fi; " \ -+ "if test $board_eeprom_header = bbai_a2_blank; then " \ -+ "run eeprom_dump; run eeprom_bbai_a2; reset; fi; \0 " - - #ifdef CONFIG_OMAP54XX - -@@ -223,19 +231,17 @@ - "echo WARNING: Could not determine device tree to use; fi; \0" - - #define CONFIG_BOOTCOMMAND \ -- "if test ${dofastboot} -eq 1; then " \ -- "echo Boot fastboot requested, resetting dofastboot ...;" \ -- "setenv dofastboot 0; saveenv;" \ -- FASTBOOT_CMD \ -- "fi;" \ -- "if test ${boot_fit} -eq 1; then " \ -- "run update_to_fit;" \ -- "fi;" \ -+ "run read_board_eeprom; " \ - "run findfdt; " \ -- "run envboot; " \ -- "run mmcboot;" \ -- "run emmc_linux_boot; " \ -- "run emmc_android_boot; " \ -+ "setenv mmcdev 0; " \ -+ "setenv devtype usb; " \ -+ "echo usb_boot is currently disabled;" \ -+ "setenv devtype scsi; " \ -+ "echo scsi_boot is currently disabled;" \ -+ "setenv devtype mmc; " \ -+ "run mmc_boot;" \ -+ "setenv mmcdev 1; " \ -+ "run mmc_boot;" \ - "" - - #endif /* CONFIG_OMAP54XX */ -diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h -index b86c8dc7a4..0ec09f279a 100644 ---- a/include/environment/ti/mmc.h -+++ b/include/environment/ti/mmc.h -@@ -11,11 +11,31 @@ - #define DEFAULT_MMC_TI_ARGS \ - "mmcdev=0\0" \ - "mmcrootfstype=ext4 rootwait\0" \ -- "finduuid=part uuid mmc ${bootpart} uuid\0" \ -+ "finduuid=part uuid ${devtype} ${bootpart} uuid\0" \ - "args_mmc=run finduuid;setenv bootargs console=${console} " \ - "${optargs} " \ -- "root=PARTUUID=${uuid} rw " \ -- "rootfstype=${mmcrootfstype}\0" \ -+ "root=PARTUUID=${uuid} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_mmc_old=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=${oldroot} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_mmc_uuid=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=UUID=${uuid} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_uenv_root=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=${uenv_root} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${musb} ${cmdline}\0" \ -+ "args_netinstall=setenv bootargs ${netinstall_bootargs} " \ -+ "${optargs} " \ -+ "root=/dev/ram rw " \ -+ "${cmdline}\0" \ - "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ - "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ - "source ${loadaddr}\0" \ -@@ -24,7 +44,28 @@ - "env import -t ${loadaddr} ${filesize}\0" \ - "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}\0" \ - "loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ -- "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ -+ "loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}\0" \ -+ "loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \ -+ "loadoverlay=echo uboot_overlays: loading ${actual_uboot_overlay} ...; " \ -+ "load ${devtype} ${bootpart} ${rdaddr} ${actual_uboot_overlay}; " \ -+ "fdt addr ${fdtaddr}; fdt resize ${fdt_buffer}; " \ -+ "fdt apply ${rdaddr}; fdt resize ${fdt_buffer};\0" \ -+ "virtualloadoverlay=if test -e ${devtype} ${bootpart} ${fdtdir}/overlays/${uboot_overlay}; then " \ -+ "setenv actual_uboot_overlay ${fdtdir}/overlays/${uboot_overlay}; " \ -+ "run loadoverlay;" \ -+ "else " \ -+ "if test -e ${devtype} ${bootpart} /lib/firmware/${uboot_overlay}; then " \ -+ "setenv actual_uboot_overlay /lib/firmware/${uboot_overlay}; " \ -+ "run loadoverlay;" \ -+ "else " \ -+ "if test -e ${devtype} ${bootpart} ${uboot_overlay}; then " \ -+ "setenv actual_uboot_overlay ${uboot_overlay}; " \ -+ "run loadoverlay;" \ -+ "else " \ -+ "echo uboot_overlays: unable to find [${devtype} ${bootpart} ${uboot_overlay}]...;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;\0" \ - "envboot=mmc dev ${mmcdev}; " \ - "if mmc rescan; then " \ - "echo SD/MMC found on device ${mmcdev};" \ --- -2.20.1 - diff --git a/board/beagleboneai/post-build.sh b/board/beagleboneai/post-build.sh deleted file mode 100755 index 34a86cc7460a1a7fa00dc72586137e182d3752e5..0000000000000000000000000000000000000000 --- a/board/beagleboneai/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -cp board/beagleboneai/uEnv.txt $BINARIES_DIR/uEnv.txt diff --git a/board/beagleboneai/readme.txt b/board/beagleboneai/readme.txt deleted file mode 100644 index f4c798f5592cc099fdf2aad31880de7c84c9ec0f..0000000000000000000000000000000000000000 --- a/board/beagleboneai/readme.txt +++ /dev/null @@ -1,28 +0,0 @@ -Intro -===== - -This configuration will build a basic image for the BeagleBoard.org -BeagleBone AI. For more details about the board, visit: - -https://beagleboard.org/ai - -How to build it -=============== - -Configure Buildroot: - - $ make beagleboneai_defconfig - -Compile everything and build the USB flash drive image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/beagleboneai/uEnv.txt b/board/beagleboneai/uEnv.txt deleted file mode 100644 index d38df7727f37b45720d53656a4860cd0811163f9..0000000000000000000000000000000000000000 --- a/board/beagleboneai/uEnv.txt +++ /dev/null @@ -1,6 +0,0 @@ -bootpart=0:1 -bootdir=/ -bootargs=console=ttyS0,115200n8 root=/dev/mmcblk0p2 ro rootwait -devtype=mmc -fdtfile=am5729-beagleboneai.dtb -uenvcmd=run loadimage; run loadfdt; printenv bootargs; bootz ${loadaddr} - ${fdtaddr} diff --git a/board/beaglev/extlinux.conf b/board/beaglev/extlinux.conf deleted file mode 100644 index 9daf6a758142bd7bc848ecb8e6fdbd5a8743fe23..0000000000000000000000000000000000000000 --- a/board/beaglev/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - devicetree /boot/jh7100-beaglev-starlight.dtb - append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait diff --git a/board/beaglev/genimage.cfg b/board/beaglev/genimage.cfg deleted file mode 100644 index deefdbc1103b663d666883d531d33e291e582873..0000000000000000000000000000000000000000 --- a/board/beaglev/genimage.cfg +++ /dev/null @@ -1,12 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition rootfs { - partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224 - partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958 - bootable = "true" - image = "rootfs.ext4" - } -} diff --git a/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch b/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch deleted file mode 100644 index 52b496f0547554e8172aeceff5e121cb0576cdc6..0000000000000000000000000000000000000000 --- a/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 0cf11f3c0478f4286adcfb09bf9137f8b00212e3 Mon Sep 17 00:00:00 2001 -From: Alexandre Ghiti -Date: Mon, 3 Oct 2022 18:07:54 +0200 -Subject: [PATCH] riscv: Fix build against binutils 2.38 - -The following description is copied from the equivalent patch for the -Linux Kernel proposed by Aurelien Jarno: - ->From version 2.38, binutils default to ISA spec version 20191213. This -means that the csr read/write (csrr*/csrw*) instructions and fence.i -instruction has separated from the `I` extension, become two standalone -extensions: Zicsr and Zifencei. As the kernel uses those instruction, -this causes the following build failure: - -arch/riscv/cpu/mtrap.S: Assembler messages: -arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause' -arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc' -arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval' -arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0' - -Signed-off-by: Alexandre Ghiti -Reviewed-by: Bin Meng -Tested-by: Heinrich Schuchardt -Tested-by: Heiko Stuebner -Tested-by: Christian Stewart -Reviewed-by: Rick Chen -(cherry picked from commit 1dde977518f13824b847e23275001191139bc384) -Upstream: https://gitlab.com/u-boot/u-boot/-/commit/1dde977518f13824b847e23275001191139bc384 -Signed-off-by: Romain Naour ---- - arch/riscv/Makefile | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile -index 0b80eb8d864..53d1194ffb6 100644 ---- a/arch/riscv/Makefile -+++ b/arch/riscv/Makefile -@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) - CMODEL = medany - endif - --ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \ -+RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C) -+ -+# Newer binutils versions default to ISA spec version 20191213 which moves some -+# instructions from the I extension to the Zicsr and Zifencei extensions. -+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei) -+ifeq ($(toolchain-need-zicsr-zifencei),y) -+ RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei -+endif -+ -+ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \ - -mcmodel=$(CMODEL) - - PLATFORM_CPPFLAGS += $(ARCH_FLAGS) --- -2.41.0 - diff --git a/board/beaglev/post-build.sh b/board/beaglev/post-build.sh deleted file mode 100755 index fe61fd33cc84ea86702d62dadebfa62868cbef41..0000000000000000000000000000000000000000 --- a/board/beaglev/post-build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -BOARD_DIR=$(dirname $0) - -# Bring the extlinux.conf file in. -install -D -m 0644 ${BOARD_DIR}/extlinux.conf \ - ${TARGET_DIR}/boot/extlinux/extlinux.conf - -# To be reflashed through Xmodem, the bootloader needs to be prepended -# with a 4-byte header that contains the total size of the file. -perl -e 'print pack("l", (stat @ARGV[0])[7])' ${BINARIES_DIR}/fw_payload.bin > ${BINARIES_DIR}/fw_payload.bin.out -cat ${BINARIES_DIR}/fw_payload.bin >> ${BINARIES_DIR}/fw_payload.bin.out diff --git a/board/beaglev/readme.txt b/board/beaglev/readme.txt deleted file mode 100644 index 472d6b1cf1611449a900da32306a96c93e8f107c..0000000000000000000000000000000000000000 --- a/board/beaglev/readme.txt +++ /dev/null @@ -1,124 +0,0 @@ -BeagleV -======= - -BeagleV is a low-cost RISC-V 64-bit based platform, powered by a -Starfive JH7100 processor. The current defconfig in Buildroot has been -tested with the JH7100 chip used on the beta version of the BeagleV -board. - -How to build -============ - -$ make beaglev_defconfig -$ make - -Build results -============= - -After building, output/images contains: - -+ bootloader-JH7100-buildroot.bin.out -+ ddrinit-2133-buildroot.bin.out -+ Image -+ fw_payload.bin -+ fw_payload.bin.out -+ fw_payload.elf -+ rootfs.ext2 -+ rootfs.ext4 -+ sdcard.img -+ u-boot.bin - -The four important files are: - - - bootloader-JH7100-buildroot.bin.out, the first stage bootloader - - - ddrinit-2133-buildroot.bin.out, the DDR initialization firmware - - - fw_payload.bin.out, which is the bootloader image, containing - both OpenSBI and U-Boot. - - - sdcard.img, the SD card image, which contains the root filesystem, - kernel image and Device Tree. - -Flashing the SD card image -========================== - -$ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Preparing the board -=================== - -Connect the Beagle-V fan to the 5V supply (pin 2 or 4 of the GPIO -connector) and GND (pin 6 of the GPIO connector). - -Connect a TTL UART cable to pin 8 (TX), 10 (RX) and 14 (GND). - -Insert your SD card. - -Power-up the board using an USB-C cable. - -Flashing OpenSBI/U-Boot -======================= - -The bootloader pre-flashed on the Beagle-V has a non-working -fdt_addr_r environment variable value, so it won't work -as-is. Reflashing the bootloader with the bootloader image produced by -Buildroot is necessary. - -When the board starts up, a pre-loader shows a count down of 2 -seconds, interrupt by pressing any key. You should reach a menu like -this: - ---------8<---------- - -bootloader version:210209-4547a8d -ddr 0x00000000, 1M test -ddr 0x00100000, 2M test -DDR clk 2133M,Version: 210302-5aea32f -0 -*************************************************** -*************** FLASH PROGRAMMING ***************** -*************************************************** - -0:update uboot -1:quit -select the function: - ---------8<---------- - -Press 0 and Enter. You will now see "C" characters being -displayed. Ask your serial port communication program to send -fw_payload.bin.out using the Xmodem protocol. - -After reflashing is complete, restart the board, it will automatically -start the system from the SD card, and reach the login prompt. - -Flashing low-level bootloaders -============================== - -The BeagleV comes pre-flashed with functional low-level bootloaders -(called "secondboot" and "ddrinit"). Re-flashing them is not necessary -to use this Buildroot defconfig. However, for the sake of -completeness, Buildroot builds and provides those low-level bootloader -images. - -You can flash them as follows: - - - In the same "pre-loader" menu as the one used above, instead of - entering 0 or 1, enter the magic "root@s5t" string. This enters the - "expert" features. - - - Then, press 0 and send over X-modem the - bootloader-JH7100-buildroot.bin.out file. - - - Then, press 1 and send over X-modem the - ddrinit-2133-buildroot.bin.out. - -Note that the reflashing mechanism itself relies on those low-level -bootloaders, so if you flash non-working versions, you'll have to go -through a recovery process. This requires wiring up to a separate -debug UART, which pins are located near the HDMI connector. See -https://wiki.seeedstudio.com/BeagleV-Update-bootloader-ddr-init-boot-uboot-Recover-bootloader/ -section "Recover the bootloader" for more details. The instructions -make use of a jh7100-recover tool, which Buildroot has built as part -of this defconfig: it is available as output/host/bin/jh7100-recover. diff --git a/board/beelink/gs1/extlinux.conf b/board/beelink/gs1/extlinux.conf deleted file mode 100644 index 046681f71daeca794f53dc1017fefde91be837d5..0000000000000000000000000000000000000000 --- a/board/beelink/gs1/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /Image - devicetree /sun50i-h6-beelink-gs1.dtb - append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait diff --git a/board/beelink/gs1/genimage.cfg b/board/beelink/gs1/genimage.cfg deleted file mode 100644 index 71578743ec1a9db1b5ed102cc99bc47f19fdbb68..0000000000000000000000000000000000000000 --- a/board/beelink/gs1/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-beelink-gs1.dtb", - "extlinux" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/beelink/gs1/post-build.sh b/board/beelink/gs1/post-build.sh deleted file mode 100755 index ec20fca7d96427d960082c8d882acc4bd3a2bd41..0000000000000000000000000000000000000000 --- a/board/beelink/gs1/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/boundarydevices/common/boot.cmd b/board/boundarydevices/common/boot.cmd deleted file mode 100644 index 2f2bd8d045063a13d25139809100aa1ac1f20978..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/boot.cmd +++ /dev/null @@ -1,170 +0,0 @@ -setenv bootargs '' - -m4='' -kernelimage=zImage -bootcommand=bootz -a_base=0x10000000 - -#grab 1st 2/3 characters of string -setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" -setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}" -if itest.s x51 == "x${cpu2}" ; then - a_base=0x90000000 -elif itest.s x53 == "x${cpu2}"; then - a_base=0x70000000 -elif itest.s x6SX == "x${cpu3}" || itest.s x6U == "x${cpu2}" || itest.s x7D == "x${cpu2}"; then - a_base=0x80000000 -elif itest.s x8M == "x${cpu2}"; then - a_base=0x40000000 - kernelimage=Image - bootcommand=booti -fi -if itest.s "x1" == "x${m4enabled}" ; then - run m4boot; - m4='-m4'; -fi - -setexpr a_script ${a_base} + 0x00800000 -setexpr a_zImage ${a_base} + 0x00800000 -setexpr a_fdt ${a_base} + 0x03000000 -setexpr a_initrd ${a_base} + 0x03100000 -setexpr a_reset_cause_marker ${a_base} + 0x80 -setexpr a_reset_cause ${a_base} + 0x84 - -if itest.s "x" == "x${board}" ; then - echo "!!!! Error: Your u-boot is outdated. Please upgrade."; - exit; -fi - -if itest.s "x" == "x${fdt_file}" ; then - if itest.s x51 == "x${cpu2}" ; then - fdt_file=imx51-${board}${m4}.dtb; - elif itest.s x53 == "x${cpu2}" ; then - fdt_file=imx53-${board}${m4}.dtb; - elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then - fdt_file=imx6dl-${board}.dtb; - elif itest.s x6QP == "x${cpu3}" ; then - fdt_file=imx6qp-${board}.dtb; - elif itest.s x6SX == "x${cpu3}" ; then - fdt_file=imx6sx-${board}${m4}.dtb; - elif itest.s x6UL == "x${cpu3}" ; then - fdt_file=imx6ull-${board}.dtb; - elif itest.s x7D == "x${cpu2}" ; then - fdt_file=imx7d-${board}${m4}.dtb; - elif itest.s x8MM == "x${cpu3}" ; then - fdt_file=imx8mm-${board}${m4}.dtb; - elif itest.s x8MN == "x${cpu3}" ; then - fdt_file=imx8mn-${board}${m4}.dtb; - elif itest.s x8MP == "x${cpu3}" ; then - if itest *0x30360800 == 0x00824310 ; then - fdt_file=imx8mp-a0-${board}${m4}.dtb; - else - fdt_file=imx8mp-${board}${m4}.dtb; - fi - elif itest.s x8MQ == "x${cpu3}" ; then - fdt_file=imx8mq-${board}${m4}.dtb; - else - fdt_file=imx6q-${board}.dtb; - fi -fi - -if itest.s x${distro_bootpart} == x ; then - distro_bootpart=1 -fi - -if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} uEnv.txt ; then - env import -t ${a_script} ${filesize} -fi - -if itest.s x${console} != x ; then - setenv bootargs ${bootargs} console=${console},115200 -fi -if itest.s "x" == "x$vmalloc" ; then - vmalloc=400M -fi -if itest.s x${consoleblank} == x ; then - consoleblank=0 -fi -setenv bootargs ${bootargs} vmalloc=${vmalloc} consoleblank=${consoleblank} rootwait fixrtc cpu=${imx_cpu} board=${board} uboot_release=${uboot_release} - -if load ${devtype} ${devnum}:${distro_bootpart} ${a_fdt} ${prefix}${fdt_file} ; then - fdt addr ${a_fdt} -else - echo "!!!! Error loading ${prefix}${fdt_file}"; - exit; -fi - -fdt resize 4096 -if itest.s "x" != "x${cmd_board}" ; then - run cmd_board -fi -if itest.s "x" != "x${cmd_custom}" ; then - run cmd_custom -fi -if itest.s "x" != "x${cmd_hdmi}" ; then - run cmd_hdmi - if itest.s x != x${allow_noncea} ; then - setenv bootargs ${bootargs} mxc_hdmi.only_cea=0; - echo "non-CEA modes allowed on HDMI, audio may be affected"; - fi -fi -if itest.s "x" != "x${cmd_lcd}" ; then - run cmd_lcd -fi -if itest.s "x" != "x${cmd_lcd2}" ; then - run cmd_lcd2 -fi -if itest.s "x" != "x${cmd_lvds}" ; then - run cmd_lvds -fi -if itest.s "x" != "x${cmd_lvds2}" ; then - run cmd_lvds2 -fi -if itest.s "x" != "x${cmd_mipi}" ; then - run cmd_mipi -fi - -if test "sata" = "${devtype}" ; then - setenv bootargs "${bootargs} root=/dev/sda${distro_bootpart}" ; -elif test "usb" = "${devtype}" ; then - setenv bootargs "${bootargs} root=/dev/sda${distro_bootpart}" ; -else - setenv bootargs "${bootargs} root=/dev/mmcblk${devnum}p${distro_bootpart}" -fi - -if itest.s "x" != "x${disable_msi}" ; then - setenv bootargs ${bootargs} pci=nomsi -fi; - -if itest.s "x" != "x${disable_giga}" ; then - setenv bootargs ${bootargs} fec.disable_giga=1 -fi - -if itest.s "x" != "x${wlmac}" ; then - setenv bootargs ${bootargs} wlcore.mac=${wlmac} -fi - -if itest.s "x" != "x${gpumem}" ; then - setenv bootargs ${bootargs} galcore.contiguousSize=${gpumem} -fi - -if itest.s "x" != "x${cma}" ; then - setenv bootargs ${bootargs} cma=${cma} -fi - -if itest.s "x" != "x${loglevel}" ; then - setenv bootargs ${bootargs} loglevel=${loglevel} -fi - -if itest.s "x" != "x${show_fdt}" ; then - fdt print / -fi - -if itest.s "x" != "x${show_env}" ; then - printenv -fi - -if load ${devtype} ${devnum}:${distro_bootpart} ${a_zImage} ${prefix}${kernelimage} ; then - ${bootcommand} ${a_zImage} - ${a_fdt} -fi -echo "Error loading kernel image" diff --git a/board/boundarydevices/common/genimage.cfg b/board/boundarydevices/common/genimage.cfg deleted file mode 100644 index a383fb750c3b7ce745bf93a05d4659588ae83225..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/genimage.cfg +++ /dev/null @@ -1,18 +0,0 @@ -# Minimal SD card image for Boundary Devices platforms -# -# It does not need a boot section for a bootloader since it is booted -# from its NOR flash memory. -# -# To update the bootloader, execute the following from U-Boot prompt: -# => run upgradeu - -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/boundarydevices/common/post-build.sh b/board/boundarydevices/common/post-build.sh deleted file mode 100755 index 161ec0643f7b139b747451735a4353b34666c6ac..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/post-build.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# post-build fixups -# for further details, see -# -# http://boundarydevices.com/u-boot-on-i-mx6/ -# - -BOARD_DIR="$(dirname $0)" -UBOOT_DEFCONFIG="$(grep BR2_TARGET_UBOOT_BOARD_DEFCONFIG ${BR2_CONFIG} | sed 's/.*\"\(.*\)\"/\1/')" - -if grep -Eq "^BR2_aarch64=y$" ${BR2_CONFIG}; then - MKIMAGE_ARCH=arm64 - UBOOT_BINARY=imx8-boot-sd.bin -else - MKIMAGE_ARCH=arm - UBOOT_BINARY=u-boot.imx -fi - -# bd u-boot looks for standard bootscript -$HOST_DIR/bin/mkimage -A $MKIMAGE_ARCH -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d $BOARD_DIR/boot.cmd $TARGET_DIR/boot/boot.scr - -# u-boot / update script for bd upgradeu command -if [ -e $BINARIES_DIR/$UBOOT_BINARY ]; then - install -D -m 0644 $BINARIES_DIR/$UBOOT_BINARY \ - $TARGET_DIR/u-boot.$UBOOT_DEFCONFIG - $HOST_DIR/bin/mkimage -A $MKIMAGE_ARCH -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d $BOARD_DIR/upgrade.cmd $TARGET_DIR/upgrade.scr -fi diff --git a/board/boundarydevices/common/post-image.sh b/board/boundarydevices/common/post-image.sh deleted file mode 100755 index 5c70d98e5432c668652058ba33cd483a0eeeab3d..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/post-image.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg - -exit $? diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt deleted file mode 100644 index d3169b08f5c690e78e813eee310ce0fbc925a147..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/readme.txt +++ /dev/null @@ -1,51 +0,0 @@ -Buildroot for Boundary Devices platforms: - -https://boundarydevices.com/nitrogen-sbcs-and-soms/ - -Here is the list of targeted platforms per defconfig: - -- nitrogen6x_defconfig - - BD-SL-i.MX6 (SABRE-Lite) - - Nitrogen6X - - Nitrogen6_Lite - - Nitrogen6_MAX - - Nitrogen6_VM - - Nitrogen6_SOM - - Nitrogen6_SOMv2 - -- nitrogen6sx_defconfig - - Nitrogen6_SoloX - -- nitrogen7_defconfig - - Nitrogen7 - -- nitrogen8m_defconfig - - Nitrogen8M - - Nitrogen8M_SOM - -- nitrogen8mm_defconfig - - Nitrogen8MMini - - Nitrogen8MMini_SOM - -- nitrogen8mn_defconfig - - Nitrogen8MNano - - Nitrogen8MNano_SOM - -- nitrogen8mp_defconfig - - Nitrogen8MPlus_SOM - -To install, simply copy the image to your storage (SD, eMMC, USB): - -$ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the uSD partition. - -To upgrade u-boot, cancel autoboot and type: - -> run upgradeu - -See Boundary Devices's buildroot-external-boundary project -for additional and advanced defconfigs using Qt5, gstreamer, -NXP proprietary packages with demo applications: - -https://github.com/boundarydevices/buildroot-external-boundary diff --git a/board/boundarydevices/common/upgrade.cmd b/board/boundarydevices/common/upgrade.cmd deleted file mode 100644 index a26bacd9aa5052ff5384bc513e7dbb5f4f63f65c..0000000000000000000000000000000000000000 --- a/board/boundarydevices/common/upgrade.cmd +++ /dev/null @@ -1,230 +0,0 @@ -if itest.s a$uboot_defconfig == a; then - echo "Please set uboot_defconfig to the appropriate value" - exit -fi - -offset=0x400 -erase_size=0xC0000 -qspi_offset=0x0 -a_base=0x12000000 -block_size=0x200 - -#grab 1st 2/3 characters of string -setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}" -setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}" -if itest.s x51 == "x${cpu2}"; then - a_base=0x92000000 -elif itest.s x53 == "x${cpu2}"; then - a_base=0x72000000 -elif itest.s x6SX == "x${cpu3}" || itest.s x6U == "x${cpu2}" || itest.s x7D == "x${cpu2}"; then - a_base=0x82000000 -elif itest.s x8M == "x${cpu2}"; then - a_base=0x42000000 - offset=0x8400 - if itest.s x8MN == "x${cpu3}" || itest.s x8MP == "x${cpu3}"; then - offset=0x8000 - if itest ${env_part} != 0 ; then - offset=0x0 - fi - fi -fi - -qspi_match=1 -setexpr a_qspi1 ${a_base} -setexpr a_qspi2 ${a_qspi1} + 0x400000 -setexpr a_uImage1 ${a_qspi1} + 0x400 -setexpr a_uImage2 ${a_qspi2} + 0x400 -setexpr a_script ${a_base} - -if itest.s "x${vidconsole}" == "x" ; then - vidconsole=vga -fi -setenv stdout serial,${vidconsole} - -if itest.s "x${sfname}" == "x" ; then -# U-Boot resides in (e)MMC -if itest.s "x${env_dev}" == "x" || itest.s "x${env_part}" == "x"; then - echo "Please set env_dev/part to the appropriate values" - exit -fi - -# Load bootloader binary for this board -if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_uImage1} u-boot.$uboot_defconfig ; then -else - echo "File u-boot.$uboot_defconfig not found on SD card" ; - exit -fi - -# Compute block count for filesize and offset -setexpr cntoffset ${offset} / ${block_size} -setexpr cntfile ${filesize} / ${block_size} -# Add 1 in case the $filesize is not a multiple of $block_size -setexpr cntfile ${cntfile} + 1 - -# Select media partition (if different from main partition) -mmc dev ${env_dev} ${env_part} - -# Read and compare current U-Boot -mmc read ${a_uImage2} ${cntoffset} ${cntfile} -if cmp.b ${a_uImage1} ${a_uImage2} ${filesize} ; then - echo "------- U-Boot versions match" ; - echo "------- U-Boot upgrade NOT needed" ; - exit ; -fi - -echo "Need U-Boot upgrade" ; -echo "Program in 5 seconds" ; -for n in 5 4 3 2 1 ; do - echo $n ; - sleep 1 ; -done -mmc write ${a_uImage1} ${cntoffset} ${cntfile} - -# Make sure to boot from the proper partition -if itest ${env_part} != 0 ; then - mmc partconf ${env_dev} 1 ${env_part} 0 -fi - -# Switch back to main eMMC partition (to avoid confusion) -mmc dev ${env_dev} - -else -# U-Boot resides in NOR flash -if sf probe || sf probe || sf probe 1 27000000 || sf probe 1 27000000 ; then - echo "probed SPI ROM" ; -else - echo "Error initializing EEPROM" - exit -fi - -if itest.s "x${sfname}" == "xat45db041d" ; then - erase_size=0x7e000 -fi - -if itest.s x7D == "x${imx_cpu}"; then - echo "check qspi parameter block" ; - if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_qspi1} qspi-${sfname}.${uboot_defconfig} ; then - else - echo "parameter file qspi-${sfname}.${uboot_defconfig} not found on SD card" - exit - fi - if itest ${filesize} != 0x200 ; then - echo "------- qspi-${sfname}.${uboot_defconfig} 0x${filesize} != 0x200 bytes" ; - exit - fi - setexpr a_marker ${a_qspi1} + 0x1fc - if itest *${a_marker} != c0ffee01 ; then - echo "------- qspi-${sfname}.${uboot_defconfig} c0ffee01 marker missing" ; - exit - fi - if sf read ${a_qspi2} ${qspi_offset} 0x200 ; then - else - echo "Error reading qspi parameter from EEPROM" - exit - fi - if cmp.b ${a_qspi1} ${a_qspi2} 0x200 ; then - echo "------- qspi parameters match" - else - echo "------- qspi parameters mismatch" - qspi_match=0 - fi -fi - -echo "check U-Boot" ; - -if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_uImage1} u-boot.$uboot_defconfig ; then -else - echo "File u-boot.$uboot_defconfig not found on SD card" ; - exit -fi -echo "read $filesize bytes from SD card" ; -if sf read ${a_uImage2} $offset $filesize ; then -else - echo "Error reading boot loader from EEPROM" ; - exit -fi - -if cmp.b ${a_uImage1} ${a_uImage2} $filesize ; then - echo "------- U-Boot versions match" ; - if itest.s "${qspi_match}" == "1" ; then - echo "------- U-Boot upgrade NOT needed" ; - if itest.s "x" != "x${next}" ; then - if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_script} ${next} ; then - source ${a_script} - else - echo "${next} not found on SD card" - fi - fi - exit - fi - erase_size=0x1000 - if itest.s xMX25L6405D == "x${sfname}"; then - erase_size=0x10000 - fi - setexpr filesize ${erase_size} - ${offset} -fi - -echo "Need U-Boot upgrade" ; -echo "Program in 5 seconds" ; -for n in 5 4 3 2 1 ; do - echo $n ; - sleep 1 ; -done -echo "erasing" ; -sf erase 0 ${erase_size} ; - -# two steps to prevent bricking -echo "programming" ; -setexpr a1 ${a_uImage1} + 0x400 -setexpr o1 ${offset} + 0x400 -setexpr s1 ${filesize} - 0x400 -sf write ${a1} ${o1} ${s1} ; -sf write ${a_uImage1} $offset 0x400 ; - -if itest.s x7D == "x${imx_cpu}"; then - sf write ${a_qspi1} ${qspi_offset} 0x200 -fi - -echo "verifying" ; -if sf read ${a_uImage2} $offset $filesize ; then -else - echo "Error re-reading EEPROM" ; - exit -fi -if cmp.b ${a_uImage1} ${a_uImage2} $filesize ; then -else - echo "Read verification error" ; - exit -fi - -if itest.s x7D == "x${imx_cpu}"; then - if sf read ${a_qspi2} ${qspi_offset} 0x200 ; then - else - echo "Error re-reading qspi" ; - exit - fi - if cmp.b ${a_qspi1} ${a_qspi2} 0x200 ; then - else - echo "qspi parameter block verification error" ; - exit - fi -fi - -if itest.s "x" != "x${next}" ; then - if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_script} ${next} ; then - source ${a_script} - else - echo "${next} not found on ${devtype} ${devnum}:${distro_bootpart}" - fi -fi -fi - -if itest.s "xno" == "x${reset}" ; then - while echo "---- U-Boot upgraded. Please reset the board" ; do - sleep 120 - done -fi -echo "---- U-Boot upgraded. The board will now reset." -sleep 1 -reset -done diff --git a/board/broadcom/northstar/linux.config b/board/broadcom/northstar/linux.config deleted file mode 100644 index 47e69900329ecd3f0eccace3309893e4178454fa..0000000000000000000000000000000000000000 --- a/board/broadcom/northstar/linux.config +++ /dev/null @@ -1,70 +0,0 @@ -CONFIG_EMBEDDED=y -CONFIG_ARCH_BCM=y -CONFIG_ARCH_BCM_5301X=y -CONFIG_ARCH_BCM_53573=y -CONFIG_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_HIGHMEM=y -CONFIG_ARM_APPENDED_DTB=y -CONFIG_CMDLINE="ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs" -CONFIG_CMDLINE_FORCE=y -# CONFIG_SUSPEND is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BRIDGE=y -CONFIG_BRIDGE_VLAN_FILTERING=y -CONFIG_NET_DSA=y -CONFIG_VLAN_8021Q=y -CONFIG_PCI=y -CONFIG_BCM47XX_NVRAM=y -CONFIG_BCM47XX_SPROM=y -CONFIG_MTD=y -CONFIG_MTD_BCM47XX_PARTS=y -CONFIG_MTD_PARSER_TRX=y -CONFIG_MTD_BCM47XXSFLASH=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_BRCMNAND=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_UBI=y -CONFIG_NETDEVICES=y -CONFIG_VXLAN=y -CONFIG_VETH=y -CONFIG_B53=y -CONFIG_BGMAC_BCMA=y -CONFIG_BROADCOM_PHY=y -CONFIG_MDIO_BUS_MUX_MMIOREG=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=2 -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SPI=y -CONFIG_THERMAL=y -CONFIG_WATCHDOG=y -CONFIG_BCM47XX_WDT=y -CONFIG_BCMA_HOST_SOC=y -CONFIG_BCMA_DRIVER_GMAC_CMN=y -CONFIG_BCMA_DRIVER_GPIO=y -CONFIG_USB=y -CONFIG_USB_LEDS_TRIGGER_USBPORT=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_OHCI_HCD=y -# CONFIG_USB_OHCI_HCD_PCI is not set -CONFIG_USB_HCD_BCMA=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_PHY_BCM_NS_USB2=y -CONFIG_PHY_BCM_NS_USB3=y -CONFIG_UBIFS_FS=y -CONFIG_DEBUG_LL=y -CONFIG_DEBUG_UNCOMPRESS=y -CONFIG_EARLY_PRINTK=y diff --git a/board/broadcom/northstar/post-image.sh b/board/broadcom/northstar/post-image.sh deleted file mode 100755 index 559ed8bf4b22204eb85c54f569d47f096abd6947..0000000000000000000000000000000000000000 --- a/board/broadcom/northstar/post-image.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# $1: images directory path -# $2: device dts filename -# $3: board id -build_lxl() { - local images="$1" - local device="$2" - local board="$3" - - $HOST_DIR/bin/lzma_alone e $images/zImage.$device $images/zImage.$device.lzma -d16 - rm -f $images/zImage.$device - $HOST_DIR/bin/otrx create $images/$device.trx -f $images/zImage.$device.lzma -a 0x20000 -f $images/rootfs.ubi - rm -f $images/zImage.$device.lzma - $HOST_DIR/bin/lxlfw create $images/$device.lxl -i $images/$device.trx -b "$board" -} - -# $1: images directory path -# $2: device dts filename -build_trx() { - local images="$1" - local device="$2" - - $HOST_DIR/bin/lzma_alone e $images/zImage.$device $images/zImage.$device.lzma -d16 - rm -f $images/zImage.$device - $HOST_DIR/bin/otrx create $images/$device.trx -f $images/zImage.$device.lzma -a 0x20000 -f $images/rootfs.ubi - rm -f $images/zImage.$device.lzma -} - -devices="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([^"]*\)"$/\1/p' ${BR2_CONFIG})" -for device in $devices; do - device="${device#broadcom/}" - case "$device" in - "bcm4708-smartrg-sr400ac") - build_trx "$1" "$device" - ;; - "bcm47094-luxul-xwr-3150-v1") - build_lxl "$1" "$device" "XWR-3150" - ;; - esac -done diff --git a/board/broadcom/northstar/readme.txt b/board/broadcom/northstar/readme.txt deleted file mode 100644 index 523bb439e37a6b2bef72c1b2e6131e2c202e2497..0000000000000000000000000000000000000000 --- a/board/broadcom/northstar/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -Broadcom Northstar - -Intro -===== - -This readme covers Northstar family of Broadcom SoCs. It includes: - - BCM4708 (2 x 800 MHz) - - BCM47081 (1 x 800 MHz) - - BCM4709 (2 x 1 GHz) - - BCM47094 (2 x 1 GHz) (AKA BCM4709C0) - -Northstar platform is used in some home routers by multiple vendors. There are -over 100 market devices based on it and they can all be supported with 1 kernel. - -There is no point in having separated board for each model. This board code is -meant for all supported Northstar devices. - -All Northstar devices come with CFE bootloader by default. It's basically closed -source as sources are available for some old releases only. There is no U-Boot (or -any other) drop-in replacement or second stage loader with Northstar support. - -CFE supports flashing firmware images over TFTP and HTTP (depending on vendor / -device setup). - -How to build it -=============== - - $ make broadcom_northstar_defconfig - - $ make - -How to flash over HTTP -====================== - -Power on device and press (and hold) CTRL+C in serial console terminal. When CFE -gets into prompt mode it'll automatically start built-in HTTP server. Navigate -to http://192.168.1.1/ (unless IP was changed - verify with "ifconfig") and -upload new firmware using a web browser. diff --git a/board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment b/board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment deleted file mode 100644 index 80803ab0888663fd76a54de7c5ebb3bd63ad5bd3..0000000000000000000000000000000000000000 --- a/board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment +++ /dev/null @@ -1,895 +0,0 @@ -# CONFIG_BPF_SYSCALL is not set -CONFIG_TASK_DELAY_ACCT=y -CONFIG_CGROUP_FREEZER=y -# CONFIG_CGROUP_BPF is not set -CONFIG_RELAY=y -# CONFIG_ARCH_ACTIONS is not set -# CONFIG_ARCH_SUNXI is not set -# CONFIG_ARCH_ALPINE is not set -# CONFIG_ARCH_APPLE is not set -# CONFIG_ARCH_BCM2835 is not set -# CONFIG_ARCH_BCM4908 is not set -# CONFIG_ARCH_BCM_IPROC is not set -# CONFIG_ARCH_BERLIN is not set -# CONFIG_ARCH_BRCMSTB is not set -# CONFIG_ARCH_EXYNOS is not set -# CONFIG_ARCH_K3 is not set -# CONFIG_ARCH_LAYERSCAPE is not set -# CONFIG_ARCH_LG1K is not set -# CONFIG_ARCH_HISI is not set -# CONFIG_ARCH_KEEMBAY is not set -# CONFIG_ARCH_MEDIATEK is not set -# CONFIG_ARCH_MESON is not set -# CONFIG_ARCH_MVEBU is not set -# CONFIG_ARCH_QCOM is not set -# CONFIG_ARCH_RENESAS is not set -# CONFIG_ARCH_ROCKCHIP is not set -# CONFIG_ARCH_S32 is not set -# CONFIG_ARCH_SEATTLE is not set -# CONFIG_ARCH_INTEL_SOCFPGA is not set -# CONFIG_ARCH_SYNQUACER is not set -# CONFIG_ARCH_TEGRA is not set -# CONFIG_ARCH_TESLA_FSD is not set -# CONFIG_ARCH_SPRD is not set -# CONFIG_ARCH_THUNDER is not set -# CONFIG_ARCH_THUNDER2 is not set -# CONFIG_ARCH_UNIPHIER is not set -# CONFIG_ARCH_VEXPRESS is not set -# CONFIG_ARCH_VISCONTI is not set -# CONFIG_ARCH_XGENE is not set -# CONFIG_ARCH_ZYNQMP is not set -# CONFIG_KEXEC is not set -# CONFIG_KEXEC_FILE is not set -# CONFIG_XEN is not set -# CONFIG_ARM64_PTR_AUTH is not set -# CONFIG_ARM64_TLB_RANGE is not set -# CONFIG_ARM64_MTE is not set -CONFIG_PM_DEBUG=y -CONFIG_PM_TEST_SUSPEND=y -# CONFIG_HIBERNATION is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y -# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set -# CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM is not set -# CONFIG_ARM_ARMADA_37XX_CPUFREQ is not set -CONFIG_ARM_IMX_CPUFREQ_DT=y -# CONFIG_ARM_QCOM_CPUFREQ_NVMEM is not set -# CONFIG_ARM_QCOM_CPUFREQ_HW is not set -# CONFIG_ARM_RASPBERRYPI_CPUFREQ is not set -# CONFIG_ARM_SCMI_CPUFREQ is not set -# CONFIG_ARM_TEGRA186_CPUFREQ is not set -# CONFIG_ARM_MEDIATEK_CPUFREQ is not set -# CONFIG_QORIQ_CPUFREQ is not set -# CONFIG_ACPI_APEI_PCIEAER is not set -# CONFIG_VIRTUALIZATION is not set -# CONFIG_KVM is not set -# CONFIG_GCC_PLUGINS is not set -CONFIG_IPV6=y -CONFIG_MODVERSIONS=y -CONFIG_IPV6_SIT=m -CONFIG_NET_DSA_TAG_OCELOT=m -CONFIG_VLAN_8021Q=y -CONFIG_LLC2=y -CONFIG_NET_SCH_MULTIQ=m -CONFIG_NET_CLS_TCINDEX=m -CONFIG_NET_PKTGEN=m -CONFIG_BT=y -CONFIG_BT_RFCOMM=y -CONFIG_BT_RFCOMM_TTY=y -CONFIG_BT_BNEP=y -CONFIG_BT_BNEP_MC_FILTER=y -CONFIG_BT_BNEP_PROTO_FILTER=y -CONFIG_BT_HIDP=y -# CONFIG_CAN_RCAR is not set -# CONFIG_CAN_RCAR_CANFD is not set -# CONFIG_CAN_MCP251XFD is not set -CONFIG_BT_HCIUART=y -CONFIG_BT_HCIUART_BCSP=y -CONFIG_BT_HCIUART_ATH3K=y -CONFIG_BT_HCIUART_3WIRE=y -CONFIG_BT_HCIVHCI=y -CONFIG_CFG80211=y -CONFIG_NL80211_TESTMODE=y -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=y -# CONFIG_BT_HCIUART_MRVL is not set -# CONFIG_BT_MRVL is not set -# CONFIG_BT_MRVL_SDIO is not set -# CONFIG_BT_QCOMSMD is not set -# CONFIG_RFKILL is not set -# CONFIG_PCI is not set -# CONFIG_PCIEPORTBUS is not set -# CONFIG_PCIEAER is not set -# CONFIG_PCI_IOV is not set -# CONFIG_PCI_PASID is not set -# CONFIG_HOTPLUG_PCI is not set -# CONFIG_HOTPLUG_PCI_ACPI is not set -# CONFIG_PCI_AARDVARK is not set -# CONFIG_PCI_TEGRA is not set -# CONFIG_PCIE_RCAR_HOST is not set -# CONFIG_PCIE_RCAR_EP is not set -# CONFIG_PCI_HOST_GENERIC is not set -# CONFIG_PCI_XGENE is not set -# CONFIG_PCIE_ALTERA is not set -# CONFIG_PCIE_ALTERA_MSI is not set -# CONFIG_PCI_HOST_THUNDER_PEM is not set -# CONFIG_PCI_HOST_THUNDER_ECAM is not set -# CONFIG_PCIE_ROCKCHIP_HOST is not set -# CONFIG_PCIE_BRCMSTB is not set -# CONFIG_PCI_IMX6 is not set -# CONFIG_PCI_LAYERSCAPE is not set -# CONFIG_PCI_HISI is not set -# CONFIG_PCIE_QCOM is not set -# CONFIG_PCIE_ARMADA_8K is not set -# CONFIG_PCIE_KIRIN is not set -# CONFIG_PCIE_HISI_STB is not set -# CONFIG_PCIE_TEGRA194_HOST is not set -# CONFIG_PCIE_VISCONTI_HOST is not set -# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set -# CONFIG_PCI_ENDPOINT is not set -# CONFIG_PCI_ENDPOINT_CONFIGFS is not set -# CONFIG_PCI_EPF_TEST is not set -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y -CONFIG_BRCMSTB_GISB_ARB=y -CONFIG_VEXPRESS_CONFIG=y -# CONFIG_HISILICON_LPC is not set -# CONFIG_TEGRA_ACONNECT is not set -# CONFIG_RASPBERRYPI_FIRMWARE is not set -# CONFIG_INTEL_STRATIX10_SERVICE is not set -# CONFIG_INTEL_STRATIX10_RSU is not set -CONFIG_IMX_DSP=y -# CONFIG_GNSS is not set -# CONFIG_GNSS_MTK_SERIAL is not set -CONFIG_MTD_CMDLINE_PARTS=y -# CONFIG_MTD_NAND_BRCMNAND is not set -CONFIG_MTD_NAND_GPMI_NAND=y -# CONFIG_MTD_NAND_MARVELL is not set -# CONFIG_MTD_NAND_FSL_IFC is not set -# CONFIG_MTD_NAND_QCOM is not set -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -CONFIG_MTD_UBI=y -# CONFIG_BLK_DEV_NVME is not set -# CONFIG_PCI_ENDPOINT_TEST is not set -CONFIG_RAID_ATTRS=m -# CONFIG_SCSI_HISI_SAS_PCI is not set -# CONFIG_MEGARAID_SAS is not set -# CONFIG_SCSI_MPT3SAS is not set -# CONFIG_SCSI_UFS_QCOM is not set -# CONFIG_SCSI_UFS_HISI is not set -# CONFIG_SCSI_UFS_EXYNOS is not set -# CONFIG_SATA_AHCI is not set -CONFIG_AHCI_IMX=y -# CONFIG_AHCI_BRCM is not set -# CONFIG_AHCI_MVEBU is not set -# CONFIG_SATA_SIL24 is not set -# CONFIG_SATA_RCAR is not set -CONFIG_DM_CRYPT=m -# CONFIG_NET_DSA_BCM_SF2 is not set -# CONFIG_NET_DSA_MSCC_FELIX is not set -# CONFIG_NET_XGENE is not set -# CONFIG_ATL1C is not set -# CONFIG_SYSTEMPORT is not set -# CONFIG_BNX2X is not set -# CONFIG_THUNDER_NIC_PF is not set -CONFIG_FSL_XGMAC_MDIO=y -CONFIG_FSL_ENETC_IERB=y -# CONFIG_FSL_FMAN is not set -# CONFIG_FSL_DPAA_ETH is not set -# CONFIG_FSL_DPAA2_ETH is not set -# CONFIG_FSL_ENETC is not set -# CONFIG_FSL_ENETC_VF is not set -# CONFIG_FSL_ENETC_QOS is not set -CONFIG_MVMDIO=y -CONFIG_MSCC_OCELOT_SWITCH=m -# CONFIG_HNS3 is not set -# CONFIG_HNS3_HCLGE is not set -# CONFIG_HNS3_ENET is not set -# CONFIG_E1000 is not set -# CONFIG_E1000E is not set -# CONFIG_IGB is not set -# CONFIG_IGBVF is not set -# CONFIG_MVNETA is not set -# CONFIG_MVPP2 is not set -# CONFIG_SKY2 is not set -# CONFIG_MLX4_EN is not set -# CONFIG_MLX5_CORE is not set -# CONFIG_MLX5_CORE_EN is not set -# CONFIG_R8169 is not set -# CONFIG_SH_ETH is not set -# CONFIG_RAVB is not set -CONFIG_STMMAC_ETH=y -CONFIG_DWMAC_GENERIC=m -CONFIG_MICROCHIP_PHY=y -CONFIG_NXP_TJA11XX_PHY=y -CONFIG_MDIO_BITBANG=y -# CONFIG_SNI_AVE is not set -# CONFIG_SNI_NETSEC is not set -# CONFIG_TI_K3_AM65_CPSW_NUSS is not set -# CONFIG_QCOM_IPA is not set -# CONFIG_MESON_GXL_PHY is not set -# CONFIG_AQUANTIA_PHY is not set -# CONFIG_BCM54140_PHY is not set -# CONFIG_MARVELL_PHY is not set -# CONFIG_MARVELL_10G_PHY is not set -# CONFIG_MICREL_PHY is not set -# CONFIG_MICROSEMI_PHY is not set -# CONFIG_AT803X_PHY is not set -# CONFIG_REALTEK_PHY is not set -# CONFIG_ROCKCHIP_PHY is not set -# CONFIG_DP83867_PHY is not set -# CONFIG_VITESSE_PHY is not set -# CONFIG_USB_BRCMSTB is not set -CONFIG_USB_RTL8152=y -CONFIG_USB_USBNET=y -CONFIG_BRCMFMAC=y -CONFIG_HOSTAP=y -# CONFIG_ATH10K is not set -# CONFIG_ATH10K_PCI is not set -# CONFIG_ATH10K_SNOC is not set -# CONFIG_WCN36XX is not set -# CONFIG_MWIFIEX is not set -# CONFIG_MWIFIEX_SDIO is not set -# CONFIG_MWIFIEX_PCIE is not set -CONFIG_KEYBOARD_SNVS_PWRKEY=y -# CONFIG_KEYBOARD_IMX_SC_KEY is not set -# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set -# CONFIG_INPUT_PM8941_PWRKEY is not set -# CONFIG_INPUT_PM8XXX_VIBRATOR is not set -# CONFIG_INPUT_PWM_BEEPER is not set -# CONFIG_INPUT_PWM_VIBRA is not set -# CONFIG_INPUT_HISI_POWERKEY is not set -# CONFIG_SERIAL_8250_BCM2835AUX is not set -# CONFIG_SERIAL_8250_OMAP is not set -# CONFIG_SERIAL_8250_MT6577 is not set -# CONFIG_SERIAL_8250_UNIPHIER is not set -# CONFIG_SERIAL_MESON is not set -# CONFIG_SERIAL_MESON_CONSOLE is not set -# CONFIG_SERIAL_SAMSUNG is not set -# CONFIG_SERIAL_SAMSUNG_CONSOLE is not set -# CONFIG_SERIAL_TEGRA is not set -# CONFIG_SERIAL_TEGRA_TCU is not set -# CONFIG_SERIAL_SH_SCI is not set -# CONFIG_SERIAL_MSM is not set -# CONFIG_SERIAL_MSM_CONSOLE is not set -# CONFIG_SERIAL_QCOM_GENI is not set -# CONFIG_SERIAL_QCOM_GENI_CONSOLE is not set -# CONFIG_SERIAL_MVEBU_UART is not set -# CONFIG_SERIAL_OWL is not set -# CONFIG_I2C_MUX is not set -# CONFIG_I2C_BCM2835 is not set -# CONFIG_I2C_MESON is not set -# CONFIG_I2C_MT65XX is not set -# CONFIG_I2C_MV64XXX is not set -# CONFIG_I2C_OMAP is not set -# CONFIG_I2C_OWL is not set -# CONFIG_I2C_PXA is not set -# CONFIG_I2C_QCOM_CCI is not set -# CONFIG_I2C_QCOM_GENI is not set -# CONFIG_I2C_QUP is not set -# CONFIG_I2C_RIIC is not set -# CONFIG_I2C_S3C2410 is not set -# CONFIG_I2C_SH_MOBILE is not set -# CONFIG_I2C_TEGRA is not set -# CONFIG_I2C_UNIPHIER_F is not set -# CONFIG_I2C_RCAR is not set -# CONFIG_SPI_ARMADA_3700 is not set -# CONFIG_SPI_BCM2835 is not set -# CONFIG_SPI_BCM2835AUX is not set -# CONFIG_SPI_DESIGNWARE is not set -# CONFIG_SPI_DW_DMA is not set -# CONFIG_SPI_DW_MMIO is not set -CONFIG_SPI_IMX=y -# CONFIG_SPI_FSL_DSPI is not set -# CONFIG_SPI_MESON_SPICC is not set -# CONFIG_SPI_MESON_SPIFC is not set -# CONFIG_SPI_ORION is not set -CONFIG_SPI_SPIDEV=y -CONFIG_SPI_SLAVE=y -CONFIG_SPI_SLAVE_TIME=y -CONFIG_SPI_SLAVE_SYSTEM_CONTROL=y -CONFIG_PINCTRL=y -# CONFIG_SPI_RPCIF is not set -# CONFIG_SPI_RSPI is not set -# CONFIG_SPI_QCOM_QSPI is not set -# CONFIG_SPI_QUP is not set -# CONFIG_SPI_QCOM_GENI is not set -# CONFIG_SPI_S3C64XX is not set -# CONFIG_SPI_SH_MSIOF is not set -# CONFIG_SPI_SUN6I is not set -# CONFIG_SPMI is not set -# CONFIG_PINCTRL_OWL is not set -# CONFIG_PINCTRL_S700 is not set -# CONFIG_PINCTRL_S900 is not set -CONFIG_GPIOLIB=y -# CONFIG_PINCTRL_MSM is not set -# CONFIG_PINCTRL_IPQ8074 is not set -# CONFIG_PINCTRL_IPQ6018 is not set -# CONFIG_PINCTRL_MSM8916 is not set -# CONFIG_PINCTRL_MSM8994 is not set -# CONFIG_PINCTRL_MSM8996 is not set -# CONFIG_PINCTRL_MSM8998 is not set -# CONFIG_PINCTRL_QCS404 is not set -# CONFIG_PINCTRL_QDF2XXX is not set -# CONFIG_PINCTRL_QCOM_SPMI_PMIC is not set -# CONFIG_PINCTRL_SC7180 is not set -# CONFIG_PINCTRL_SC7280 is not set -# CONFIG_PINCTRL_SDM845 is not set -# CONFIG_PINCTRL_SM8150 is not set -# CONFIG_PINCTRL_SM8250 is not set -# CONFIG_PINCTRL_SM8350 is not set -# CONFIG_PINCTRL_SM8450 is not set -# CONFIG_PINCTRL_LPASS_LPI is not set -# CONFIG_GPIO_DAVINCI is not set -# CONFIG_GPIO_MPC8XXX is not set -# CONFIG_GPIO_RCAR is not set -# CONFIG_GPIO_UNIPHIER is not set -# CONFIG_GPIO_VISCONTI is not set -# CONFIG_GPIO_XGENE_SB is not set -CONFIG_POWER_RESET_BRCMSTB=y -# CONFIG_GPIO_MAX77620 is not set -# CONFIG_GPIO_SL28CPLD is not set -# CONFIG_POWER_RESET_MSM is not set -# CONFIG_POWER_RESET_QCOM_PON is not set -# CONFIG_BATTERY_MAX17042 is not set -# CONFIG_CHARGER_BQ25890 is not set -# CONFIG_CHARGER_BQ25980 is not set -# CONFIG_SENSORS_JC42 is not set -# CONFIG_SENSORS_LM75 is not set -# CONFIG_SENSORS_RASPBERRYPI_HWMON is not set -# CONFIG_SENSORS_SL28CPLD is not set -CONFIG_THERMAL_WRITABLE_TRIPS=y -CONFIG_IMX_SC_THERMAL=y -CONFIG_IMX8MM_THERMAL=y -CONFIG_QORIQ_THERMAL=y -# CONFIG_SUN8I_THERMAL is not set -# CONFIG_ROCKCHIP_THERMAL is not set -# CONFIG_RCAR_THERMAL is not set -# CONFIG_RCAR_GEN3_THERMAL is not set -# CONFIG_RZG2L_THERMAL is not set -# CONFIG_ARMADA_THERMAL is not set -# CONFIG_BCM2711_THERMAL is not set -# CONFIG_BCM2835_THERMAL is not set -# CONFIG_BRCMSTB_THERMAL is not set -# CONFIG_EXYNOS_THERMAL is not set -# CONFIG_TEGRA_SOCTHERM is not set -# CONFIG_TEGRA_BPMP_THERMAL is not set -# CONFIG_QCOM_TSENS is not set -# CONFIG_QCOM_SPMI_TEMP_ALARM is not set -# CONFIG_QCOM_LMH is not set -# CONFIG_UNIPHIER_THERMAL is not set -# CONFIG_SL28CPLD_WATCHDOG is not set -# CONFIG_S3C2410_WATCHDOG is not set -# CONFIG_BCM7038_WDT is not set -# CONFIG_SUNXI_WATCHDOG is not set -CONFIG_IMX_SC_WDT=y -CONFIG_IMX7ULP_WDT=y -# CONFIG_QCOM_WDT is not set -# CONFIG_MESON_GXBB_WATCHDOG is not set -# CONFIG_MESON_WATCHDOG is not set -# CONFIG_RENESAS_WDT is not set -# CONFIG_RENESAS_RZG2LWDT is not set -# CONFIG_UNIPHIER_WATCHDOG is not set -# CONFIG_BCM2835_WDT is not set -# CONFIG_MFD_ALTERA_SYSMGR is not set -# CONFIG_MFD_AXP20X_RSB is not set -# CONFIG_MFD_EXYNOS_LPASS is not set -# CONFIG_MFD_HI655X_PMIC is not set -# CONFIG_MFD_MT6397 is not set -# CONFIG_MFD_SPMI_PMIC is not set -# CONFIG_MFD_SL28CPLD is not set -CONFIG_REGULATOR=y -# CONFIG_REGULATOR_HI655X is not set -# CONFIG_REGULATOR_MP8859 is not set -# CONFIG_REGULATOR_MT6358 is not set -# CONFIG_REGULATOR_MT6397 is not set -# CONFIG_REGULATOR_PF8X00 is not set -# CONFIG_REGULATOR_QCOM_RPMH is not set -# CONFIG_REGULATOR_QCOM_SMD_RPM is not set -# CONFIG_REGULATOR_QCOM_SPMI is not set -# CONFIG_REGULATOR_TPS65132 is not set -CONFIG_MEDIA_SUPPORT=y -# CONFIG_RC_CORE is not set -# CONFIG_RC_DECODERS is not set -# CONFIG_RC_DEVICES is not set -# CONFIG_IR_MESON is not set -# CONFIG_IR_SUNXI is not set -CONFIG_SDR_PLATFORM_DRIVERS=y -# CONFIG_VIDEO_QCOM_CAMSS is not set -# CONFIG_VIDEO_RCAR_CSI2 is not set -# CONFIG_VIDEO_RCAR_VIN is not set -# CONFIG_VIDEO_SUN6I_CSI is not set -# CONFIG_VIDEO_RCAR_ISP is not set -# CONFIG_VIDEO_SAMSUNG_S5P_JPEG is not set -# CONFIG_VIDEO_SAMSUNG_S5P_MFC is not set -# CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC is not set -# CONFIG_VIDEO_RENESAS_FDP1 is not set -# CONFIG_VIDEO_RENESAS_FCP is not set -# CONFIG_VIDEO_RENESAS_VSP1 is not set -# CONFIG_VIDEO_QCOM_VENUS is not set -# CONFIG_VIDEO_RCAR_DRIF is not set -CONFIG_VIDEO_OV5640=y -CONFIG_DRM=y -CONFIG_DRM_I2C_CH7006=m -CONFIG_DRM_I2C_SIL164=m -# CONFIG_DRM_NOUVEAU is not set -# CONFIG_DRM_EXYNOS is not set -# CONFIG_DRM_EXYNOS5433_DECON is not set -# CONFIG_DRM_EXYNOS7_DECON is not set -# CONFIG_DRM_EXYNOS_DSI is not set -# CONFIG_DRM_EXYNOS_DP is not set -# CONFIG_DRM_EXYNOS_HDMI is not set -# CONFIG_DRM_EXYNOS_MIC is not set -# CONFIG_DRM_ROCKCHIP is not set -# CONFIG_ROCKCHIP_ANALOGIX_DP is not set -# CONFIG_ROCKCHIP_CDN_DP is not set -# CONFIG_ROCKCHIP_DW_HDMI is not set -# CONFIG_ROCKCHIP_DW_MIPI_DSI is not set -# CONFIG_ROCKCHIP_INNO_HDMI is not set -# CONFIG_ROCKCHIP_LVDS is not set -# CONFIG_DRM_RCAR_DU is not set -# CONFIG_DRM_RCAR_MIPI_DSI is not set -# CONFIG_DRM_SUN4I is not set -# CONFIG_DRM_SUN6I_DSI is not set -# CONFIG_DRM_SUN8I_DW_HDMI is not set -# CONFIG_DRM_SUN8I_MIXER is not set -# CONFIG_DRM_MSM is not set -# CONFIG_DRM_TEGRA is not set -# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set -# CONFIG_DRM_PANEL_LVDS is not set -# CONFIG_DRM_PANEL_SIMPLE is not set -# CONFIG_DRM_PANEL_EDP is not set -# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set -# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set -# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set -CONFIG_DRM_DISPLAY_CONNECTOR=m -# CONFIG_DRM_LONTIUM_LT8912B is not set -CONFIG_DRM_NWL_MIPI_DSI=y -# CONFIG_DRM_LONTIUM_LT9611UXC is not set -# CONFIG_DRM_PARADE_PS8640 is not set -CONFIG_DRM_I2C_ADV7511=y -CONFIG_DRM_DW_HDMI_I2S_AUDIO=m -CONFIG_DRM_IMX_DCSS=y -# CONFIG_DRM_VC4 is not set -# CONFIG_DRM_HISI_HIBMC is not set -CONFIG_DRM_MXSFB=y -# CONFIG_DRM_MEDIATEK is not set -# CONFIG_DRM_MEDIATEK_HDMI is not set -# CONFIG_DRM_MESON is not set -CONFIG_DRM_LEGACY=y -# CONFIG_FB is not set -# CONFIG_FB_MODE_HELPERS is not set -# CONFIG_FB_EFI is not set -# CONFIG_BACKLIGHT_PWM is not set -# CONFIG_BACKLIGHT_LP855X is not set -# CONFIG_LOGO is not set -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_SND_ALOOP=m -# CONFIG_SND_SPI is not set -# CONFIG_SND_USB is not set -# CONFIG_SND_HDA_TEGRA is not set -# CONFIG_SND_HDA_CODEC_HDMI is not set -CONFIG_SND_SOC_FSL_ASRC=y -CONFIG_SND_SOC_FSL_EASRC=y -CONFIG_SND_IMX_SOC=y -CONFIG_SND_SOC_FSL_ASOC_CARD=y -CONFIG_SND_SOC_SOF_TOPLEVEL=y -CONFIG_SND_SOC_SOF_OF=m -CONFIG_SND_SOC_SOF_IMX_TOPLEVEL=y -CONFIG_SND_SOC_AK4458=y -CONFIG_SND_SOC_AK5558=y -CONFIG_SND_SOC_PCM512x_I2C=y -CONFIG_SND_SIMPLE_CARD=y -CONFIG_SND_AUDIO_GRAPH_CARD=y -CONFIG_USB_CONN_GPIO=y -# CONFIG_SND_BCM2835_SOC_I2S is not set -# CONFIG_SND_SOC_FSL_MICFIL is not set -# CONFIG_SND_SOC_IMX_SGTL5000 is not set -# CONFIG_SND_SOC_IMX_SPDIF is not set -# CONFIG_SND_SOC_IMX_AUDMIX is not set -# CONFIG_SND_MESON_AXG_SOUND_CARD is not set -# CONFIG_SND_MESON_GX_SOUND_CARD is not set -# CONFIG_SND_SOC_QCOM is not set -# CONFIG_SND_SOC_APQ8016_SBC is not set -# CONFIG_SND_SOC_MSM8996 is not set -# CONFIG_SND_SOC_SDM845 is not set -# CONFIG_SND_SOC_SM8250 is not set -# CONFIG_SND_SOC_ROCKCHIP is not set -# CONFIG_SND_SOC_ROCKCHIP_SPDIF is not set -# CONFIG_SND_SOC_ROCKCHIP_RT5645 is not set -# CONFIG_SND_SOC_RK3399_GRU_SOUND is not set -# CONFIG_SND_SOC_SAMSUNG is not set -# CONFIG_SND_SOC_RCAR is not set -# CONFIG_SND_SOC_RZ is not set -# CONFIG_SND_SUN4I_I2S is not set -# CONFIG_SND_SUN4I_SPDIF is not set -# CONFIG_SND_SOC_TEGRA is not set -# CONFIG_SND_SOC_TEGRA210_AHUB is not set -# CONFIG_SND_SOC_TEGRA210_DMIC is not set -# CONFIG_SND_SOC_TEGRA210_I2S is not set -# CONFIG_SND_SOC_TEGRA186_DSPK is not set -# CONFIG_SND_SOC_TEGRA210_ADMAIF is not set -# CONFIG_SND_SOC_TEGRA210_MVC is not set -# CONFIG_SND_SOC_TEGRA210_SFC is not set -# CONFIG_SND_SOC_TEGRA210_AMX is not set -# CONFIG_SND_SOC_TEGRA210_ADX is not set -# CONFIG_SND_SOC_TEGRA210_MIXER is not set -# CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD is not set -# CONFIG_SND_SOC_AK4613 is not set -# CONFIG_SND_SOC_ES7134 is not set -# CONFIG_SND_SOC_ES7241 is not set -# CONFIG_SND_SOC_GTM601 is not set -# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set -# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set -# CONFIG_SND_SOC_PCM3168A_I2C is not set -# CONFIG_SND_SOC_RT5659 is not set -# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set -# CONFIG_SND_SOC_SIMPLE_MUX is not set -# CONFIG_SND_SOC_TAS571X is not set -# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set -# CONFIG_SND_SOC_WCD934X is not set -# CONFIG_SND_SOC_WM8904 is not set -# CONFIG_SND_SOC_WM8960 is not set -# CONFIG_SND_SOC_WM8962 is not set -# CONFIG_SND_SOC_WM8978 is not set -# CONFIG_SND_SOC_WSA881X is not set -# CONFIG_SND_SOC_NAU8822 is not set -# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set -# CONFIG_SND_SOC_LPASS_VA_MACRO is not set -# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set -# CONFIG_HID_MULTITOUCH is not set -# CONFIG_I2C_HID_ACPI is not set -# CONFIG_I2C_HID_OF is not set -# CONFIG_USB_XHCI_PCI_RENESAS is not set -# CONFIG_USB_XHCI_TEGRA is not set -# CONFIG_USB_EHCI_EXYNOS is not set -# CONFIG_USB_OHCI_EXYNOS is not set -CONFIG_USB_HCD_TEST_MODE=y -# CONFIG_USB_RENESAS_USBHS_HCD is not set -# CONFIG_USB_RENESAS_USBHS is not set -CONFIG_USB_UAS=y -# CONFIG_USB_CDNS_SUPPORT is not set -# CONFIG_USB_CDNS3 is not set -# CONFIG_USB_CDNS3_GADGET is not set -# CONFIG_USB_CDNS3_HOST is not set -# CONFIG_USB_MTU3 is not set -# CONFIG_USB_MUSB_SUNXI is not set -CONFIG_USB_SERIAL=y -CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_SERIAL_GENERIC=y -CONFIG_USB_SERIAL_SIMPLE=y -CONFIG_USB_SERIAL_FTDI_SIO=y -CONFIG_USB_TEST=m -CONFIG_USB_EHSET_TEST_FIXTURE=y -# CONFIG_USB_SERIAL_CP210X is not set -# CONFIG_USB_SERIAL_OPTION is not set -CONFIG_USB_MXS_PHY=y -CONFIG_USB_ULPI=y -CONFIG_USB_SNP_UDC_PLAT=y -CONFIG_USB_BDC_UDC=y -CONFIG_USB_CONFIGFS=y -# CONFIG_USB_RENESAS_USBHS_UDC is not set -# CONFIG_USB_RENESAS_USB3 is not set -# CONFIG_USB_TEGRA_XUDC is not set -CONFIG_USB_CONFIGFS_F_LB_SS=y -CONFIG_USB_CONFIGFS_F_UAC1=y -CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y -CONFIG_USB_CONFIGFS_F_UAC2=y -CONFIG_USB_CONFIGFS_F_MIDI=y -CONFIG_USB_CONFIGFS_F_HID=y -CONFIG_USB_CONFIGFS_F_UVC=y -CONFIG_USB_ZERO=m -CONFIG_USB_AUDIO=m -CONFIG_USB_ETH=m -CONFIG_USB_MASS_STORAGE=m -CONFIG_USB_G_SERIAL=m -CONFIG_TYPEC=y -CONFIG_TYPEC_TCPM=y -CONFIG_TYPEC_TCPCI=y -# CONFIG_TYPEC_TPS6598X is not set -# CONFIG_MMC_SDHCI_ACPI is not set -# CONFIG_MMC_SDHCI_TEGRA is not set -# CONFIG_MMC_MESON_GX is not set -# CONFIG_MMC_SDHCI_MSM is not set -# CONFIG_MMC_SDHI is not set -# CONFIG_MMC_UNIPHIER is not set -# CONFIG_MMC_DW_ROCKCHIP is not set -# CONFIG_MMC_SUNXI is not set -# CONFIG_MMC_BCM2835 is not set -# CONFIG_MMC_MTK is not set -# CONFIG_MMC_OWL is not set -# CONFIG_LEDS_LM3692X is not set -# CONFIG_LEDS_PCA9532 is not set -# CONFIG_EDAC_LAYERSCAPE is not set -# CONFIG_RTC_DRV_HYM8563 is not set -# CONFIG_RTC_DRV_PCF85063 is not set -# CONFIG_RTC_DRV_M41T80 is not set -# CONFIG_RTC_DRV_RV3028 is not set -# CONFIG_RTC_DRV_FSL_FTM_ALARM is not set -# CONFIG_RTC_DRV_S3C is not set -CONFIG_RTC_DRV_SNVS=y -CONFIG_RTC_DRV_IMX_SC=y -# CONFIG_RTC_DRV_SUN6I is not set -# CONFIG_RTC_DRV_ARMADA38X is not set -# CONFIG_RTC_DRV_PM8XXX is not set -# CONFIG_RTC_DRV_TEGRA is not set -# CONFIG_RTC_DRV_XGENE is not set -# CONFIG_RTC_DRV_MT6397 is not set -CONFIG_BCM_SBA_RAID=m -# CONFIG_DMA_BCM2835 is not set -# CONFIG_DMA_SUN6I is not set -CONFIG_FSL_QDMA=m -CONFIG_IMX_SDMA=y -# CONFIG_K3_DMA is not set -# CONFIG_MV_XOR is not set -CONFIG_MXS_DMA=y -# CONFIG_OWL_DMA is not set -# CONFIG_TEGRA186_GPC_DMA is not set -# CONFIG_TEGRA20_APB_DMA is not set -# CONFIG_TEGRA210_ADMA is not set -# CONFIG_QCOM_BAM_DMA is not set -CONFIG_DMATEST=y -CONFIG_DMABUF_HEAPS=y -CONFIG_DMABUF_HEAPS_SYSTEM=y -CONFIG_DMABUF_HEAPS_CMA=y -# CONFIG_RCAR_DMAC is not set -# CONFIG_RENESAS_USB_DMAC is not set -# CONFIG_RZ_DMAC is not set -# CONFIG_TI_K3_UDMA is not set -# CONFIG_TI_K3_UDMA_GLUE_LAYER is not set -# CONFIG_VFIO_PCI is not set -# CONFIG_VIRTIO_PCI is not set -# CONFIG_XEN_GNTDEV is not set -# CONFIG_XEN_GRANT_DEV_ALLOC is not set -# CONFIG_VIDEO_HANTRO is not set -# CONFIG_VIDEO_IMX_MEDIA is not set -# CONFIG_COMMON_CLK_SCMI is not set -# CONFIG_COMMON_CLK_FSL_SAI is not set -CONFIG_COMMON_CLK_XGENE=y -# CONFIG_COMMON_CLK_BD718XX is not set -# CONFIG_CLK_RASPBERRYPI is not set -# CONFIG_CLK_IMX8MM is not set -# CONFIG_CLK_IMX8MP is not set -# CONFIG_CLK_IMX8MQ is not set -# CONFIG_CLK_IMX8QXP is not set -# CONFIG_CLK_IMX8ULP is not set -# CONFIG_TI_SCI_CLK is not set -# CONFIG_COMMON_CLK_QCOM is not set -# CONFIG_QCOM_A53PLL is not set -# CONFIG_QCOM_CLK_APCS_MSM8916 is not set -# CONFIG_QCOM_CLK_APCC_MSM8996 is not set -# CONFIG_QCOM_CLK_SMD_RPM is not set -# CONFIG_QCOM_CLK_RPMH is not set -# CONFIG_IPQ_GCC_6018 is not set -# CONFIG_IPQ_GCC_8074 is not set -# CONFIG_MSM_GCC_8916 is not set -# CONFIG_MSM_GCC_8994 is not set -# CONFIG_MSM_MMCC_8996 is not set -# CONFIG_MSM_GCC_8998 is not set -# CONFIG_QCS_GCC_404 is not set -# CONFIG_SC_GCC_7180 is not set -# CONFIG_SC_GCC_7280 is not set -# CONFIG_SDM_CAMCC_845 is not set -# CONFIG_SDM_GPUCC_845 is not set -# CONFIG_SDM_VIDEOCC_845 is not set -# CONFIG_SDM_DISPCC_845 is not set -# CONFIG_SM_GCC_8350 is not set -# CONFIG_SM_GCC_8450 is not set -# CONFIG_SM_GPUCC_8150 is not set -# CONFIG_SM_GPUCC_8250 is not set -# CONFIG_QCOM_HFPLL is not set -# CONFIG_CLK_GFM_LPASS_SM8250 is not set -# CONFIG_CLK_RCAR_USB2_CLOCK_SEL is not set -# CONFIG_HWSPINLOCK_QCOM is not set -# CONFIG_RENESAS_OSTM is not set -# CONFIG_BCM2835_MBOX is not set -# CONFIG_QCOM_APCS_IPC is not set -# CONFIG_QCOM_IPCC is not set -# CONFIG_ROCKCHIP_IOMMU is not set -# CONFIG_TEGRA_IOMMU_SMMU is not set -# CONFIG_MTK_IOMMU is not set -# CONFIG_QCOM_IOMMU is not set -CONFIG_IMX_REMOTEPROC=y -CONFIG_IMX_DSP_REMOTEPROC=y -CONFIG_RPMSG_CHAR=y -# CONFIG_QCOM_Q6V5_MSS is not set -# CONFIG_QCOM_Q6V5_PAS is not set -# CONFIG_QCOM_SYSMON is not set -# CONFIG_QCOM_WCNSS_PIL is not set -# CONFIG_RPMSG_QCOM_GLINK_SMEM is not set -# CONFIG_RPMSG_QCOM_SMD is not set -CONFIG_SOC_BRCMSTB=y -# CONFIG_OWL_PM_DOMAINS is not set -# CONFIG_RASPBERRYPI_POWER is not set -# CONFIG_FSL_DPAA is not set -# CONFIG_FSL_MC_DPIO is not set -CONFIG_SOC_TI=y -# CONFIG_MTK_DEVAPC is not set -# CONFIG_MTK_PMIC_WRAP is not set -# CONFIG_QCOM_AOSS_QMP is not set -# CONFIG_QCOM_COMMAND_DB is not set -# CONFIG_QCOM_CPR is not set -# CONFIG_QCOM_GENI_SE is not set -# CONFIG_QCOM_RMTFS_MEM is not set -# CONFIG_QCOM_RPMH is not set -# CONFIG_QCOM_RPMHPD is not set -# CONFIG_QCOM_RPMPD is not set -# CONFIG_QCOM_SMEM is not set -# CONFIG_QCOM_SMD_RPM is not set -# CONFIG_QCOM_SMP2P is not set -# CONFIG_QCOM_SMSM is not set -# CONFIG_QCOM_SOCINFO is not set -# CONFIG_QCOM_STATS is not set -# CONFIG_QCOM_WCNSS_CTRL is not set -# CONFIG_QCOM_APR is not set -# CONFIG_ARCH_R8A77995 is not set -# CONFIG_ARCH_R8A77990 is not set -# CONFIG_ARCH_R8A77950 is not set -# CONFIG_ARCH_R8A77951 is not set -# CONFIG_ARCH_R8A77965 is not set -# CONFIG_ARCH_R8A77960 is not set -# CONFIG_ARCH_R8A77961 is not set -# CONFIG_ARCH_R8A779F0 is not set -# CONFIG_ARCH_R8A77980 is not set -# CONFIG_ARCH_R8A77970 is not set -# CONFIG_ARCH_R8A779A0 is not set -# CONFIG_ARCH_R8A774C0 is not set -# CONFIG_ARCH_R8A774E1 is not set -# CONFIG_ARCH_R8A774A1 is not set -# CONFIG_ARCH_R8A774B1 is not set -# CONFIG_ARCH_R9A07G044 is not set -# CONFIG_ROCKCHIP_IODOMAIN is not set -# CONFIG_ROCKCHIP_PM_DOMAINS is not set -# CONFIG_ARCH_TEGRA_132_SOC is not set -# CONFIG_ARCH_TEGRA_210_SOC is not set -# CONFIG_ARCH_TEGRA_186_SOC is not set -# CONFIG_ARCH_TEGRA_194_SOC is not set -# CONFIG_ARCH_TEGRA_234_SOC is not set -# CONFIG_TI_SCI_PM_DOMAINS is not set -# CONFIG_ARM_IMX_BUS_DEVFREQ is not set -# CONFIG_ARM_IMX8M_DDRC_DEVFREQ is not set -CONFIG_MEMORY=y -# CONFIG_RENESAS_RPCIF is not set -CONFIG_IMX8QXP_ADC=y -# CONFIG_EXYNOS_ADC is not set -# CONFIG_QCOM_SPMI_VADC is not set -# CONFIG_QCOM_SPMI_ADC5 is not set -# CONFIG_ROCKCHIP_SARADC is not set -# CONFIG_RZG2L_ADC is not set -# CONFIG_TI_ADS1015 is not set -CONFIG_IIO_ST_LSM6DSX=y -# CONFIG_SENSORS_ISL29018 is not set -# CONFIG_VCNL4000 is not set -# CONFIG_IIO_ST_MAGN_3AXIS is not set -# CONFIG_MPL3115 is not set -# CONFIG_PWM_BCM2835 is not set -# CONFIG_PWM_BRCMSTB is not set -CONFIG_PWM_FSL_FTM=m -CONFIG_PWM_IMX27=y -# CONFIG_PWM_MESON is not set -# CONFIG_PWM_MTK_DISP is not set -# CONFIG_PWM_MEDIATEK is not set -# CONFIG_PWM_RCAR is not set -# CONFIG_PWM_RENESAS_TPU is not set -# CONFIG_PWM_ROCKCHIP is not set -# CONFIG_PWM_SAMSUNG is not set -# CONFIG_PWM_SL28CPLD is not set -# CONFIG_PWM_SUN4I is not set -# CONFIG_PWM_TEGRA is not set -# CONFIG_PWM_VISCONTI is not set -# CONFIG_SL28CPLD_INTC is not set -# CONFIG_QCOM_PDC is not set -# CONFIG_RESET_QCOM_AOSS is not set -# CONFIG_RESET_QCOM_PDC is not set -# CONFIG_RESET_RZG2L_USBPHY_CTRL is not set -# CONFIG_RESET_TI_SCI is not set -CONFIG_PHY_CADENCE_SALVO=y -CONFIG_PHY_MIXEL_MIPI_DPHY=y -# CONFIG_PHY_SUN4I_USB is not set -# CONFIG_PHY_CADENCE_SIERRA is not set -# CONFIG_PHY_FSL_IMX8M_PCIE is not set -# CONFIG_PHY_HI6220_USB is not set -# CONFIG_PHY_HISTB_COMBPHY is not set -# CONFIG_PHY_HISI_INNO_USB2 is not set -# CONFIG_PHY_MVEBU_CP110_COMPHY is not set -# CONFIG_PHY_MTK_TPHY is not set -# CONFIG_PHY_QCOM_QMP is not set -# CONFIG_PHY_QCOM_QUSB2 is not set -CONFIG_PHY_SAMSUNG_USB2=y -# CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2 is not set -# CONFIG_PHY_RCAR_GEN3_PCIE is not set -# CONFIG_PHY_RCAR_GEN3_USB2 is not set -# CONFIG_PHY_RCAR_GEN3_USB3 is not set -# CONFIG_PHY_ROCKCHIP_EMMC is not set -# CONFIG_PHY_ROCKCHIP_INNO_HDMI is not set -# CONFIG_PHY_ROCKCHIP_INNO_USB2 is not set -# CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY is not set -# CONFIG_PHY_ROCKCHIP_PCIE is not set -# CONFIG_PHY_ROCKCHIP_TYPEC is not set -# CONFIG_PHY_SAMSUNG_UFS is not set -# CONFIG_PHY_UNIPHIER_USB2 is not set -# CONFIG_PHY_UNIPHIER_USB3 is not set -# CONFIG_PHY_TEGRA_XUSB is not set -# CONFIG_PHY_AM654_SERDES is not set -# CONFIG_PHY_J721E_WIZ is not set -CONFIG_FSL_IMX8_DDR_PMU=y -# CONFIG_QCOM_L2_PMU is not set -# CONFIG_QCOM_L3_PMU is not set -# CONFIG_MTK_EFUSE is not set -# CONFIG_QCOM_QFPROM is not set -# CONFIG_ROCKCHIP_EFUSE is not set -# CONFIG_NVMEM_SUNXI_SID is not set -# CONFIG_UNIPHIER_EFUSE is not set -# CONFIG_MESON_EFUSE is not set -# CONFIG_NVMEM_RMEM is not set -# CONFIG_NVMEM_LAYERSCAPE_SFP is not set -# CONFIG_FPGA_MGR_ALTERA_CVP is not set -# CONFIG_FPGA_MGR_STRATIX10_SOC is not set -# CONFIG_SLIMBUS is not set -# CONFIG_SLIM_QCOM_NGD_CTRL is not set -# CONFIG_INTERCONNECT_IMX is not set -# CONFIG_INTERCONNECT_IMX8MM is not set -# CONFIG_INTERCONNECT_IMX8MN is not set -# CONFIG_INTERCONNECT_IMX8MQ is not set -# CONFIG_INTERCONNECT_QCOM is not set -# CONFIG_INTERCONNECT_QCOM_MSM8916 is not set -# CONFIG_INTERCONNECT_QCOM_OSM_L3 is not set -# CONFIG_INTERCONNECT_QCOM_SC7280 is not set -# CONFIG_INTERCONNECT_QCOM_SDM845 is not set -# CONFIG_INTERCONNECT_QCOM_SM8150 is not set -# CONFIG_INTERCONNECT_QCOM_SM8250 is not set -# CONFIG_INTERCONNECT_QCOM_SM8350 is not set -# CONFIG_INTERCONNECT_QCOM_SM8450 is not set -# CONFIG_TMPFS_POSIX_ACL is not set -# CONFIG_CONFIGFS_FS is not set -CONFIG_JFFS2_FS=y -CONFIG_UBIFS_FS=y -CONFIG_SQUASHFS_XZ=y -CONFIG_CRYPTO_USER=y -CONFIG_CRYPTO_TEST=m -CONFIG_CRYPTO_DH=m -CONFIG_CRYPTO_CHACHA20POLY1305=m -CONFIG_CRYPTO_CFB=m -CONFIG_CRYPTO_CTS=m -CONFIG_CRYPTO_LRW=m -CONFIG_CRYPTO_OFB=m -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_XCBC=m -CONFIG_CRYPTO_VMAC=m -CONFIG_CRYPTO_MD4=m -CONFIG_CRYPTO_RMD160=m -CONFIG_CRYPTO_STREEBOG=m -CONFIG_CRYPTO_WP512=m -CONFIG_CRYPTO_ANUBIS=m -CONFIG_CRYPTO_ARC4=m -CONFIG_CRYPTO_BLOWFISH=m -CONFIG_CRYPTO_CAMELLIA=m -CONFIG_CRYPTO_CAST5=m -CONFIG_CRYPTO_CAST6=m -CONFIG_CRYPTO_DES=m -CONFIG_CRYPTO_FCRYPT=m -CONFIG_CRYPTO_KHAZAD=m -CONFIG_CRYPTO_SEED=m -CONFIG_CRYPTO_SERPENT=m -CONFIG_CRYPTO_TEA=m -CONFIG_CRYPTO_TWOFISH=m -CONFIG_CRYPTO_USER_API_HASH=m -CONFIG_CRYPTO_USER_API_SKCIPHER=m -CONFIG_CRYPTO_USER_API_AEAD=m -# CONFIG_CRYPTO_DEV_SUN8I_CE is not set -# CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM is not set -# CONFIG_CRYPTO_DEV_QCOM_RNG is not set -CONFIG_CRYPTO_DEV_AMLOGIC_GXL=m -CONFIG_INDIRECT_PIO=y -CONFIG_CRC_CCITT=m -# CONFIG_CRYPTO_DEV_HISI_SEC2 is not set -# CONFIG_CRYPTO_DEV_HISI_ZIP is not set -# CONFIG_CRYPTO_DEV_HISI_HPRE is not set -# CONFIG_CRYPTO_DEV_HISI_TRNG is not set -CONFIG_IRQ_POLL=y -# CONFIG_DEBUG_INFO is not set -# CONFIG_DEBUG_INFO_REDUCED is not set -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y -CONFIG_CORESIGHT_SOURCE_ETM4X=y diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf b/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf deleted file mode 100644 index 9111354742538bcab29cffa1262cace2d01dbc38..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label buildroot - kernel /boot/Image - devicetree /boot/freescale/imx8mn-bsh-smm-s2pro.dtb - append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh deleted file mode 100755 index 17b20f00977127c6e6a271f1c56b0689ff3d4a00..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -if [ $# -eq 0 ]; then - OUTPUT_DIR=output -else - OUTPUT_DIR=$1 -fi - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - echo "" - echo "Arguments:" - echo " OUTPUT_DIR The Buildroot output directory." - exit 1 -fi - -IMAGES_DIR=${OUTPUT_DIR}/images - -${OUTPUT_DIR}/host/bin/uuu -v -b emmc_all \ - ${IMAGES_DIR}/flash.bin \ - ${IMAGES_DIR}/sdcard.img - diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg b/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg deleted file mode 100644 index 10c52548cdfa2808c6fb20ac7e07212fb2cde3c8..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition imx-boot { - in-partition-table = "no" - image = "flash.bin" - offset = 32K - } - - partition rootfs { - offset = 8M - image = "rootfs.ext4" - partition-uuid = %PARTUUID% - } -} diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh deleted file mode 100755 index bf8861f6a914498e0d997049cc18350617b06e0f..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" -PARTUUID="$($HOST_DIR/bin/uuidgen)" - -install -d "$TARGET_DIR/boot/extlinux/" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh deleted file mode 100755 index 3452fd4501f89b6216b48861e98293b1c7b7ba1a..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -support/scripts/genimage.sh -c ${BINARIES_DIR}/genimage.cfg diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt b/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt deleted file mode 100644 index 5763f164fe13550dbe108770dcc5027e1f22856c..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt +++ /dev/null @@ -1,73 +0,0 @@ -i.MX8MN BSH SMM S2 PRO -====================== - -How to build it ---------------- - -Configure buildroot: - - $ make imx8mn_bsh_smm_s2_pro_defconfig - -Change settings to fit your needs (optional): - - $ make menuconfig - -Compile everything and build the rootfs image: - - $ make - - -Result of the build -------------------- - -After building, the output/images directory contains: - - output/images/ - ├── bl31.bin - ├── Image - ├── flash.bin - ├── ddr3* - ├── rootfs.ext2 - ├── rootfs.ext4 -> rootfs.ext2 - ├── rootfs.tar - ├── sdcard.img - ├── u-boot.bin - ├── u-boot-nodtb.bin - └── u-boot-spl.bin - - -Preparing the board -------------------- - -Plug the USB type A to micro B cable into the USB Debug -Connector (DBG UART). Use serial port settings 115200 8N1 -to access the debug console. - -Plug another USB type A to micro B cable into the USB-OTG -Connector (USB1). This connection is used to flash the board -firmware using the Freescale/NXP UUU tool. - -Connect the power supply/adaptor to the DC Power Jack (labelled -+5V). - - -Flashing the emmc card image ----------------------------- - -Power up the board by switching on the Power ON Switch, which is -placed right next to the DC Jack. - -Enter the following U-Boot commands on the debug serial console: - - $ fastboot usb 0 - -Flash the images on eMMC. On your computer, run: - - $ board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh output/ - - -Booting the board ------------------ - -By default the bootloader will search for the first valid image, -starting with the internal eMMC. diff --git a/board/bsh/imx8mn-bsh-smm-s2/flash.sh b/board/bsh/imx8mn-bsh-smm-s2/flash.sh deleted file mode 100755 index 1f343d516dcfe6525c9bdf18f663e9c80b528caf..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2/flash.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -if [ $# -eq 0 ]; then - OUTPUT_DIR=output -else - OUTPUT_DIR=$1 -fi - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - echo "" - echo "Arguments:" - echo " OUTPUT_DIR The Buildroot output directory." - exit 1 -fi - -IMAGES_DIR=${OUTPUT_DIR}/images - -${OUTPUT_DIR}/host/bin/uuu -v -b ${IMAGES_DIR}/nand-full.lst \ - ${IMAGES_DIR}/flash.bin \ - ${IMAGES_DIR}/flash.bin \ - ${IMAGES_DIR}/rootfs.ubifs \ - ${IMAGES_DIR}/Image \ - ${IMAGES_DIR}/freescale/imx8mn-bsh-smm-s2.dtb - diff --git a/board/bsh/imx8mn-bsh-smm-s2/nand-full.lst b/board/bsh/imx8mn-bsh-smm-s2/nand-full.lst deleted file mode 100644 index c01d2d6c1dacdf30a9412d3632de094fe143025f..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2/nand-full.lst +++ /dev/null @@ -1,29 +0,0 @@ -# @_flash.bin | bootloader -# @_image [_flash.bin] | image burn to nand, default is the same as bootloader -# @_filesystem | filesystem to burn -# @_kernel | kernel image -# @_dtb | dtb image - -# This command will be run when ROM support stream mode -# i.MX8QXP, i.MX8QM -SDPS: boot -f _flash.bin - -FB: ucmd setenv fastboot_buffer ${loadaddr} -FB: download -f _image -# Burn image to nandfit partition if needed -FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${filesize}; else true; fi; -FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize} - -FB[-t 10000]: ucmd ubi part nandrootfs -FB[-t 10000]: ucmd ubi create root - -FB: download -f _filesystem -FB[-t 60000]: ucmd ubi write ${loadaddr} root ${filesize} - -FB: download -f _kernel -FB[-t 10000]: ucmd nand write ${loadaddr} nandkernel ${filesize} - -FB: download -f _dtb -FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize} - -FB: reboot -FB: done diff --git a/board/bsh/imx8mn-bsh-smm-s2/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2/post-build.sh deleted file mode 100755 index 49df4cd6fb10ede4103e1d77081184a89c649dac..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -cp ${BOARD_DIR}/nand-full.lst ${BINARIES_DIR} diff --git a/board/bsh/imx8mn-bsh-smm-s2/readme.txt b/board/bsh/imx8mn-bsh-smm-s2/readme.txt deleted file mode 100644 index 6b8cd03199071d2143ea1571728cf90dc4c75ab6..0000000000000000000000000000000000000000 --- a/board/bsh/imx8mn-bsh-smm-s2/readme.txt +++ /dev/null @@ -1,75 +0,0 @@ -i.MX8MN BSH SMM S2 -================== - -This tutorial describes how to use the predefined Buildroot -configuration for the i.MX8MN BSH SMM S2 board. - -Building --------- - -Configure buildroot: - - $ make imx8mn_bsh_smm_s2_defconfig - -Change settings to fit your needs (optional): - - $ make menuconfig - -Compile everything and build the rootfs image: - - $ make - - -Result of the build -------------------- - -After building, the output/images directory contains: - - output/images/ - ├── bl31.bin - ├── ddr3* - ├── flash.bin - ├── freescale/imx8mn-bsh-smm-s2.dtb - ├── Image - ├── nand-full.lst - ├── rootfs.ext2 - ├── rootfs.ext4 -> rootfs.ext2 - ├── rootfs.tar - ├── rootfs.ubifs - ├── u-boot.bin - └── u-boot-spl.bin - - -Preparing the board -------------------- - -Plug the USB type A to micro B cable into the USB Debug -Connector (DBG UART). Use serial port settings 115200 8N1 -to access the debug console. - -Plug another USB type A to micro B cable into the USB-OTG -Connector (USB1). This connection is used to flash the board -firmware using the Freescale/NXP UUU tool. - -Connect the power supply/adaptor to the DC Power Jack (labelled -+5V). - - -Flashing --------- - -Power up the board by switching on the Power ON Switch, which is -placed right next to the DC Jack. - -Enter the following U-Boot commands on the debug serial console: - - $ nand erase.chip - $ reset - -Flash the built images directly to board’s memory. On your computer, -run: - - $ board/bsh/imx8mn-bsh-smm-s2/flash.sh output/ - -It will flash the bootloader, the Device Tree Blob, the kernel image -and the UBI root file system. diff --git a/board/canaan/k210-soc/busybox-tiny.config b/board/canaan/k210-soc/busybox-tiny.config deleted file mode 100644 index 9db12b560acbe1bbb6cf8118a3a7fc1dedc48262..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/busybox-tiny.config +++ /dev/null @@ -1,231 +0,0 @@ -# -# Additional config changes for busybox-minimal.config -# to reduce the size of the busybox executable. -# - -# -# Settings -# -# CONFIG_INCLUDE_SUSv2 is not set -# CONFIG_LONG_OPTS is not set -# CONFIG_LFS is not set -# CONFIG_FEATURE_DEVPTS is not set -# CONFIG_FEATURE_SYSLOG_INFO is not set -# CONFIG_FEATURE_SYSLOG is not set - -# -# Library Tuning -# -# CONFIG_FEATURE_RTMINMAX is not set -# CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS is not set -# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set -CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y -# CONFIG_FEATURE_EDITING_VI is not set -# CONFIG_FEATURE_EDITING_SAVEHISTORY is not set -# CONFIG_FEATURE_REVERSE_SEARCH is not set -# CONFIG_FEATURE_EDITING_WINCH is not set -# CONFIG_FEATURE_HWIB is not set - -# -# Archival Utilities -# -# CONFIG_ZCAT is not set -# CONFIG_BZCAT is not set -# CONFIG_LZCAT is not set -# CONFIG_XZCAT is not set -# CONFIG_UNLZOP is not set -# CONFIG_LZOPCAT is not set - -# -# Coreutils -# -# CONFIG_CKSUM is not set -# CONFIG_DOS2UNIX is not set -# CONFIG_UNIX2DOS is not set -# CONFIG_DU is not set -# CONFIG_FACTOR is not set -# CONFIG_FOLD is not set -# CONFIG_HEAD is not set -# CONFIG_INSTALL is not set -# CONFIG_LINK is not set -# CONFIG_LOGNAME is not set -# CONFIG_MD5SUM is not set -# CONFIG_SHA1SUM is not set -# CONFIG_SHA256SUM is not set -# CONFIG_SHA512SUM is not set -# CONFIG_SHA3SUM is not set -# CONFIG_MKFIFO is not set -# CONFIG_NICE is not set -# CONFIG_NL is not set -# CONFIG_NOHUP is not set -# CONFIG_OD is not set -# CONFIG_PASTE is not set -# CONFIG_SHRED is not set -# CONFIG_SORT is not set -# CONFIG_TAIL is not set -# CONFIG_TEE is not set -# CONFIG_TIMEOUT is not set -# CONFIG_TR is not set -# CONFIG_UNIQ is not set -# CONFIG_UUDECODE is not set -# CONFIG_BASE32 is not set -# CONFIG_UUENCODE is not set -# CONFIG_WC is not set -# CONFIG_WHOAMI is not set -# CONFIG_WHO is not set -# CONFIG_W is not set -# CONFIG_USERS is not set -# CONFIG_YES is not set - -# -# Common options -# -# CONFIG_FEATURE_VERBOSE is not set - -# -# Debian Utilities -# -# CONFIG_RUN_PARTS is not set -# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set -# CONFIG_FEATURE_RUN_PARTS_FANCY is not set -# CONFIG_START_STOP_DAEMON is not set -# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set -# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set -# CONFIG_WHICH is not set - -# -# klibc-utils -# -# CONFIG_NUKE is not set -# CONFIG_RESUME is not set -# CONFIG_RUN_INIT is not set - -# -# Editors -# -# CONFIG_SED is not set -CONFIG_VI=y -CONFIG_FEATURE_VI_MAX_LEN=4096 -CONFIG_FEATURE_VI_COLON=y -CONFIG_FEATURE_VI_YANKMARK=y -CONFIG_FEATURE_VI_USE_SIGNALS=y -CONFIG_FEATURE_VI_DOT_CMD=y -CONFIG_FEATURE_VI_READONLY=y -CONFIG_FEATURE_VI_SETOPTS=y -CONFIG_FEATURE_VI_SET=y -CONFIG_FEATURE_VI_WIN_RESIZE=y -CONFIG_FEATURE_VI_ASK_TERMINAL=y -CONFIG_FEATURE_VI_UNDO=y - -# -# Finding Utilities -# -CONFIG_GREP=y -# CONFIG_EGREP is not set -# CONFIG_FGREP is not set -# CONFIG_XARGS is not set - -# -# Init Utilities -# -# CONFIG_HALT is not set -# CONFIG_POWEROFF is not set -# CONFIG_FEATURE_WAIT_FOR_INIT is not set -# CONFIG_FEATURE_CALL_TELINIT is not set -# CONFIG_INIT is not set -# CONFIG_LINUXRC is not set - -# -# Login/Password Management Utilities -# -# CONFIG_FEATURE_SHADOWPASSWDS is not set -# CONFIG_USE_BB_CRYPT is not set -# CONFIG_USE_BB_CRYPT_SHA is not set -# CONFIG_ADDUSER is not set -# CONFIG_GETTY is not set -# CONFIG_LOGIN is not set -# CONFIG_PASSWD is not set - -# -# Linux System Utilities -# -# CONFIG_FALLOCATE is not set -# CONFIG_FREERAMDISK is not set -# CONFIG_FSFREEZE is not set -# CONFIG_GETOPT is not set -# CONFIG_XXD is not set -# CONFIG_MESG is not set -# CONFIG_MKE2FS is not set -# CONFIG_MKDOSFS is not set -# CONFIG_FEATURE_MOUNT_CIFS is not set -# CONFIG_FEATURE_MOUNT_FSTAB is not set -# CONFIG_FEATURE_MOUNT_OTHERTAB is not set -# CONFIG_NOLOGIN is not set -# CONFIG_LINUX32 is not set -# CONFIG_LINUX64 is not set -# CONFIG_SETPRIV is not set - -# -# Common options for mount/umount -# -# CONFIG_FEATURE_MOUNT_LOOP is not set -# CONFIG_FEATURE_MOUNT_LOOP_CREATE is not set - -# -# Miscellaneous Utilities -# -# CONFIG_BC is not set -# CONFIG_HEXEDIT is not set -# CONFIG_I2CTRANSFER is not set -# CONFIG_LSSCSI is not set -# CONFIG_MIM is not set -# CONFIG_PARTPROBE is not set -# CONFIG_SETFATTR is not set -# CONFIG_SETSERIAL is not set -# CONFIG_TS is not set - -# -# Networking Utilities -# -# CONFIG_HOSTNAME is not set -# CONFIG_DNSDOMAINNAME is not set -# CONFIG_IFCONFIG is not set -# CONFIG_IFUP is not set -# CONFIG_IFDOWN is not set -# CONFIG_IP is not set -# CONFIG_IPADDR is not set -# CONFIG_IPLINK is not set -# CONFIG_IPROUTE is not set -# CONFIG_NC is not set -# CONFIG_NETSTAT is not set -# CONFIG_PING is not set -# CONFIG_ROUTE is not set -# CONFIG_TC is not set -# CONFIG_TELNET is not set -# CONFIG_WGET is not set -# CONFIG_UDHCPC is not set - -# -# Process Utilities -# -# CONFIG_KILLALL is not set -# CONFIG_KILLALL5 is not set - -# -# Runit Utilities -# -# CONFIG_SVC is not set -# CONFIG_SVOK is not set - -# -# Shells -# -CONFIG_BASH_IS_HUSH=y -# CONFIG_BASH_IS_NONE is not set -# CONFIG_HUSH_SAVEHISTORY is not set - -# -# Options common to all shells -# -# CONFIG_FEATURE_SH_READ_FRAC is not set -# CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS is not set diff --git a/board/canaan/k210-soc/genimage.cfg b/board/canaan/k210-soc/genimage.cfg deleted file mode 100644 index da7d5dbafb2ab36c8f002691bb189483faf85719..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/genimage.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - file uImage { - image = "uImage" - } - - file k210.dtb { - image = "k210.dtb" - } - } - size = 4M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - image = "boot.vfat" - bootable = "true" - offset = 4M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 64M - } -} diff --git a/board/canaan/k210-soc/linux-sdcard.config b/board/canaan/k210-soc/linux-sdcard.config deleted file mode 100644 index 4b0ead78a766dc53d9c1f19cd19bc79e86b6d219..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/linux-sdcard.config +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_BUILTIN_DTB=n -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=n -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="" -CONFIG_CMDLINE="earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro" diff --git a/board/canaan/k210-soc/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch b/board/canaan/k210-soc/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch deleted file mode 100644 index 52b496f0547554e8172aeceff5e121cb0576cdc6..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 0cf11f3c0478f4286adcfb09bf9137f8b00212e3 Mon Sep 17 00:00:00 2001 -From: Alexandre Ghiti -Date: Mon, 3 Oct 2022 18:07:54 +0200 -Subject: [PATCH] riscv: Fix build against binutils 2.38 - -The following description is copied from the equivalent patch for the -Linux Kernel proposed by Aurelien Jarno: - ->From version 2.38, binutils default to ISA spec version 20191213. This -means that the csr read/write (csrr*/csrw*) instructions and fence.i -instruction has separated from the `I` extension, become two standalone -extensions: Zicsr and Zifencei. As the kernel uses those instruction, -this causes the following build failure: - -arch/riscv/cpu/mtrap.S: Assembler messages: -arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause' -arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc' -arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval' -arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0' - -Signed-off-by: Alexandre Ghiti -Reviewed-by: Bin Meng -Tested-by: Heinrich Schuchardt -Tested-by: Heiko Stuebner -Tested-by: Christian Stewart -Reviewed-by: Rick Chen -(cherry picked from commit 1dde977518f13824b847e23275001191139bc384) -Upstream: https://gitlab.com/u-boot/u-boot/-/commit/1dde977518f13824b847e23275001191139bc384 -Signed-off-by: Romain Naour ---- - arch/riscv/Makefile | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile -index 0b80eb8d864..53d1194ffb6 100644 ---- a/arch/riscv/Makefile -+++ b/arch/riscv/Makefile -@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) - CMODEL = medany - endif - --ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \ -+RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C) -+ -+# Newer binutils versions default to ISA spec version 20191213 which moves some -+# instructions from the I extension to the Zicsr and Zifencei extensions. -+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei) -+ifeq ($(toolchain-need-zicsr-zifencei),y) -+ RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei -+endif -+ -+ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \ - -mcmodel=$(CMODEL) - - PLATFORM_CPPFLAGS += $(ARCH_FLAGS) --- -2.41.0 - diff --git a/board/canaan/k210-soc/post-build.sh b/board/canaan/k210-soc/post-build.sh deleted file mode 100755 index 5b6f56a2c59683864dff87e2c9717589e8e9c0f3..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/post-build.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -MKIMAGE=${HOST_DIR}/bin/mkimage - -# Generate u-Boot kernel image -${MKIMAGE} -A riscv -O linux -T kernel -C none \ - -a 0x80000000 -e 0x80000000 \ - -n Linux -d ${BINARIES_DIR}/loader.bin ${BINARIES_DIR}/uImage - -# Link the kernel-built board dtb file to using the k210.dtb generic -# name for use by genimage.cfg -BOARDDTBKPATH="$(grep BR2_LINUX_KERNEL_INTREE_DTS_NAME ${BR2_CONFIG} | cut -d'=' -f2 | tr -d \")" - -BOARDDTB="$(basename ${BOARDDTBKPATH})" -if [ -z "${BOARDDTB}" ]; then - echo "Board DTB file not specified" - exit 1 -fi - -BOARDDTB="${BINARIES_DIR}/${BOARDDTB}.dtb" -if [ ! -f "${BOARDDTB}" ]; then - echo "Board DTB file not found in ${BINARIES_DIR}" - exit 1 -fi - -TARGETDTB=${BINARIES_DIR}/k210.dtb -rm -f ${TARGETDTB} -ln -s ${BOARDDTB} ${TARGETDTB} diff --git a/board/canaan/k210-soc/rootfs_overlay/init b/board/canaan/k210-soc/rootfs_overlay/init deleted file mode 120000 index a0b71977c06fabae1c5911d60b2476b9b5b91464..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/rootfs_overlay/init +++ /dev/null @@ -1 +0,0 @@ -/sbin/init \ No newline at end of file diff --git a/board/canaan/k210-soc/rootfs_overlay/sbin/init b/board/canaan/k210-soc/rootfs_overlay/sbin/init deleted file mode 100755 index d4bf53d4523184500d717b34e6405346b7eda2e5..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/rootfs_overlay/sbin/init +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# This script replaces the default busybox init process to avoid having that -# process staying alive and sleeping in the background, (uselessly) consuming -# precious memory. - -# Mount procfs and sysfs -/bin/mount -t proc proc /proc -/bin/mount -t sysfs sysfs /sys - -# When the kernel is directly booted, devtmpfs is not automatically mounted. -# Manually mount it if needed. -devmnt=$(mount | grep -c devtmpfs) -if [ ${devmnt} -eq 0 ]; then - /bin/mount -t devtmpfs devtmpfs /dev -fi - -# Use the /dev/console device node from devtmpfs if possible to not -# confuse glibc's ttyname_r(). -# This may fail (E.G. booted with console=), and errors from exec will -# terminate the shell, so use a subshell for the test -if (exec 0/dev/null; then - exec 0/dev/console - exec 2>/dev/console -fi - -# Clear memory to reduce page fragmentation -echo 3 > /proc/sys/vm/drop_caches - -# Print a fun logo :) -echo " __ _" -echo " / / (_) ____ _ _ __ __" -echo " / / | || _ \\ | | | |\\ \\/ /" -echo " / /___| || | | || |_| | > < " -echo " /_____/|_||_| |_| \\____|/_/\\_\\" -echo " 64-bits RISC-V Kendryte K210 NOMMU" -echo "" - -# Finally, let's start an interactive shell -exec /bin/sh diff --git a/board/canaan/k210-soc/uboot.config b/board/canaan/k210-soc/uboot.config deleted file mode 100644 index 159085f80255747f3f698651140d0944204dca2d..0000000000000000000000000000000000000000 --- a/board/canaan/k210-soc/uboot.config +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_WATCHDOG_AUTOSTART is not set diff --git a/board/canaan/kd233/linux-cpio.config b/board/canaan/kd233/linux-cpio.config deleted file mode 100644 index d5b107124a80612a0ed65d8d6c440c23afbe59be..0000000000000000000000000000000000000000 --- a/board/canaan/kd233/linux-cpio.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="canaan_kd233" diff --git a/board/canaan/kd233/readme.txt b/board/canaan/kd233/readme.txt deleted file mode 100644 index 47b78fa2d77254d9c24c37128ead084e94f30681..0000000000000000000000000000000000000000 --- a/board/canaan/kd233/readme.txt +++ /dev/null @@ -1,149 +0,0 @@ -Canaan KD233 Board -================== - -The Canaan KD233 is a dual-core RISC-V 64-bits board based on the Canaan -Kendryte K210 SoC. - -Prerequisite ------------- - -In order to use the kflash utility to program this board, the user must have -access to the board USB serial device file. The simplest way to do this is to -add your user to the same group as this device file. Assume the device file is -/dev/ttyUSB0, first identify the device group name. In most cases, it is -either "dialout" or "uucp". Also verify that read-write access is enabled for -the group: - -``` -$ ls -l /dev/ttyUSB0 -crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0 -``` - -Then add yourself to that group (dialout in this example): - -``` -$ sudo usermod -a -G dialout $(whoami) -``` - -To enable the above, it is sometimes necessary to logout and login again. - -Buildroot Configuration ------------------------ - -Unlike other K210 based boards (Sipeed boards), U-Boot does not work on the -KD233 board due to the different wiring for the SD-Card mmc controller. As such, -the KD233 board can only be used by directly booting into Linux Kernel. - -buildroot can be configured to do so using the canaan_kd233_defconfig -configuration file. This configuration allows building a bootable kernel image -with a built-in initramfs root file system (the board SD card is not used). The -built kernel image can be flashed directly to the board ROM for direct booting. -No boot loader is required. - -Once booted, the on-board SD card can be used by Linux. - -The configuration file will also compile and install the kflash and -pyserial-miniterm host utilities to program bootable image files to the board -and open a serial terminal console. - -Direct Linux Kernel Boot -------------------------- - -Using the canaan_kd233_defconfig configuration, the bootable kernel binary image -is built as follows. - -``` -$ make canaan_kd233_defconfig -$ make -``` - -The bootable binary image is the output/images/loader.bin file. This image file -can be written to the board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin -``` - -Once the kernel image file is fully programmed, a terminal console is open and -the board can be rebooted by pressing the reset button on the board (if it does -not reboot automatically). - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.17.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 16:40:44 JST 2022 -[ 0.000000] Machine model: Kendryte KD233 -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 5984K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 546K init, 66K bss, 2208K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008178] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018251] pid_max: default: 4096 minimum: 301 -[ 0.022861] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029971] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040234] rcu: Hierarchical SRCU implementation. -[ 0.045110] smp: Bringing up secondary CPUs ... -[ 0.050211] smp: Brought up 1 node, 2 CPUs -[ 0.054340] devtmpfs: initialized -[ 0.070401] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.079473] pinctrl core: initialized pinctrl subsystem -[ 0.117795] clocksource: Switched to clocksource clint_clocksource -[ 0.130245] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.176925] k210-sysctl 50440000.syscon: K210 system controller -[ 0.192947] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.200870] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.210947] i2c_dev: i2c /dev entries driver -[ 0.220535] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.232253] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.241202] printk: console [ttySIF0] enabled -[ 0.241202] printk: console [ttySIF0] enabled -[ 0.249818] printk: bootconsole [sifive0] disabled -[ 0.249818] printk: bootconsole [sifive0] disabled -[ 0.261664] panel@0 enforce active low on chipselect handle -[ 0.275950] Freeing unused kernel image (initmem) memory: 540K -[ 0.281098] This architecture does not have kernel memory protection. -[ 0.287520] Run /init as init process - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -To open a terminal console without re-flashing the board, the pyserial-miniterm -host tool can be used. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` - -The options "--raw" and "--eol=LF" are added here to avoid a double carriage -return each time a command is entered. diff --git a/board/chromebook/elm/kernel.args b/board/chromebook/elm/kernel.args deleted file mode 100644 index 848e179d682c15d3b70af63fe5d8d2e23c76712a..0000000000000000000000000000000000000000 --- a/board/chromebook/elm/kernel.args +++ /dev/null @@ -1 +0,0 @@ -root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd kern_guid=%U console=tty0 diff --git a/board/chromebook/elm/kernel.its b/board/chromebook/elm/kernel.its deleted file mode 100644 index bc4b09eabeca82e1c8a00315bcae1b63d897c756..0000000000000000000000000000000000000000 --- a/board/chromebook/elm/kernel.its +++ /dev/null @@ -1,38 +0,0 @@ -/dts-v1/; - -/ { - description = "Chrome OS kernel image with FDT"; - #address-cells = <1>; - - images { - kernel-1 { - data = /incbin/("Image"); - type = "kernel_noload"; - arch = "arm64"; - os = "linux"; - compression = "none"; - load = <0>; - entry = <0>; - }; - - fdt-1 { - description = "mt8173-elm.dtb"; - data = /incbin/("mt8173-elm.dtb"); - type = "flat_dt"; - arch = "arm64"; - compression = "none"; - - hash-1 { - algo = "sha1"; - }; - }; - }; - - configurations { - default = "conf-1"; - conf-1 { - kernel = "kernel-1"; - fdt = "fdt-1"; - }; - }; -}; diff --git a/board/chromebook/elm/linux.config b/board/chromebook/elm/linux.config deleted file mode 100644 index 895a3b85c3cf9537f09485ee19c1b8f97c822478..0000000000000000000000000000000000000000 --- a/board/chromebook/elm/linux.config +++ /dev/null @@ -1,477 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_IRQ_TIME_ACCOUNTING=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_BSD_PROCESS_ACCT_V3=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_NUMA_BALANCING=y -CONFIG_MEMCG=y -CONFIG_BLK_CGROUP=y -CONFIG_CGROUP_PIDS=y -CONFIG_CGROUP_HUGETLB=y -CONFIG_CPUSETS=y -CONFIG_CGROUP_DEVICE=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_CGROUP_PERF=y -CONFIG_USER_NS=y -CONFIG_SCHED_AUTOGROUP=y -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_KALLSYMS_ALL=y -# CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -CONFIG_PROFILING=y -CONFIG_ARCH_MEDIATEK=y -CONFIG_ARM64_VA_BITS_48=y -CONFIG_SCHED_MC=y -CONFIG_SCHED_SMT=y -CONFIG_NR_CPUS=4 -CONFIG_NUMA=y -CONFIG_PARAVIRT=y -CONFIG_CRASH_DUMP=y -CONFIG_COMPAT=y -CONFIG_RANDOMIZE_BASE=y -# CONFIG_EFI is not set -# CONFIG_SUSPEND is not set -CONFIG_PM=y -CONFIG_PM_DEBUG=y -CONFIG_PM_ADVANCED_DEBUG=y -CONFIG_CPU_IDLE=y -CONFIG_CPU_IDLE_GOV_LADDER=y -CONFIG_ARM_CPUIDLE=y -CONFIG_ARM_PSCI_CPUIDLE=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_STAT=y -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y -CONFIG_CPUFREQ_DT=y -CONFIG_ARM_SCPI_CPUFREQ=y -CONFIG_ARM_MEDIATEK_CPUFREQ=y -CONFIG_ARM_SCPI_PROTOCOL=y -CONFIG_JUMP_LABEL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEBUG_FS is not set -# CONFIG_MQ_IOSCHED_KYBER is not set -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_KSM=y -CONFIG_MEMORY_FAILURE=y -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_CMA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_UNIX_DIAG=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_INET_UDP_DIAG=y -# CONFIG_IPV6 is not set -CONFIG_CFG80211=y -# CONFIG_CFG80211_DEFAULT_PS is not set -CONFIG_MAC80211=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_FW_LOADER_USER_HELPER=y -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y -CONFIG_BRCMSTB_GISB_ARB=y -CONFIG_VEXPRESS_CONFIG=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_DATAFLASH=y -CONFIG_MTD_SST25L=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_DENALI_DT=y -CONFIG_MTD_SPI_NOR=y -CONFIG_OF_OVERLAY=y -# CONFIG_BLK_DEV is not set -CONFIG_SRAM=y -CONFIG_EEPROM_AT24=m -CONFIG_EEPROM_AT25=m -CONFIG_RAID_ATTRS=m -CONFIG_SCSI=y -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_SAS_LIBSAS=y -CONFIG_SCSI_UFSHCD=y -CONFIG_SCSI_UFSHCD_PLATFORM=y -CONFIG_MD=y -CONFIG_BLK_DEV_MD=m -CONFIG_BLK_DEV_DM=m -CONFIG_DM_MIRROR=m -CONFIG_DM_ZERO=m -CONFIG_NETDEVICES=y -# CONFIG_ETHERNET is not set -CONFIG_PHYLIB=y -CONFIG_USB_CATC=m -CONFIG_USB_KAWETH=m -CONFIG_USB_PEGASUS=m -CONFIG_USB_RTL8150=m -CONFIG_USB_RTL8152=m -CONFIG_USB_LAN78XX=m -CONFIG_USB_USBNET=m -CONFIG_USB_NET_CDC_EEM=m -CONFIG_USB_NET_HUAWEI_CDC_NCM=m -CONFIG_USB_NET_CDC_MBIM=m -CONFIG_USB_NET_DM9601=m -CONFIG_USB_NET_SR9700=m -CONFIG_USB_NET_SR9800=m -CONFIG_USB_NET_SMSC75XX=m -CONFIG_USB_NET_SMSC95XX=m -CONFIG_USB_NET_GL620A=m -CONFIG_USB_NET_PLUSB=m -CONFIG_USB_NET_MCS7830=m -CONFIG_USB_NET_RNDIS_HOST=m -CONFIG_USB_ALI_M5632=y -CONFIG_USB_AN2720=y -CONFIG_USB_EPSON2888=y -CONFIG_USB_KC2190=y -CONFIG_USB_NET_CX82310_ETH=m -CONFIG_USB_NET_KALMIA=m -CONFIG_USB_NET_QMI_WWAN=m -CONFIG_USB_NET_INT51X1=m -CONFIG_USB_IPHETH=m -CONFIG_USB_SIERRA_NET=m -CONFIG_USB_VL600=m -CONFIG_USB_NET_CH9200=m -CONFIG_USB_NET_AQC111=m -# CONFIG_WLAN_VENDOR_ADMTEK is not set -# CONFIG_WLAN_VENDOR_ATH is not set -# CONFIG_WLAN_VENDOR_ATMEL is not set -# CONFIG_WLAN_VENDOR_BROADCOM is not set -# CONFIG_WLAN_VENDOR_CISCO is not set -# CONFIG_WLAN_VENDOR_INTEL is not set -# CONFIG_WLAN_VENDOR_INTERSIL is not set -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_SDIO=m -# CONFIG_WLAN_VENDOR_MEDIATEK is not set -# CONFIG_WLAN_VENDOR_RALINK is not set -# CONFIG_WLAN_VENDOR_REALTEK is not set -# CONFIG_WLAN_VENDOR_RSI is not set -# CONFIG_WLAN_VENDOR_ST is not set -# CONFIG_WLAN_VENDOR_TI is not set -# CONFIG_WLAN_VENDOR_ZYDAS is not set -# CONFIG_WLAN_VENDOR_QUANTENNA is not set -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_ADC=m -CONFIG_KEYBOARD_GPIO=y -CONFIG_KEYBOARD_CROS_EC=y -CONFIG_MOUSE_ELAN_I2C=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_ATMEL_MXT=m -CONFIG_TOUCHSCREEN_ELAN=y -CONFIG_INPUT_MISC=y -# CONFIG_SERIO_SERPORT is not set -CONFIG_SERIO_AMBAKMI=y -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_8250_MT6577=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_SERIAL_XILINX_PS_UART=y -CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y -CONFIG_SERIAL_FSL_LPUART=y -CONFIG_SERIAL_FSL_LPUART_CONSOLE=y -CONFIG_SERIAL_FSL_LINFLEXUART=y -CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_IPMI_HANDLER=m -CONFIG_IPMI_DEVICE_INTERFACE=m -CONFIG_IPMI_SI=m -CONFIG_TCG_TPM=y -CONFIG_TCG_TIS_I2C_INFINEON=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX_PCA954x=y -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_I2C_GPIO=m -CONFIG_I2C_MT65XX=y -CONFIG_I2C_RK3X=y -CONFIG_I2C_SLAVE=y -CONFIG_SPI=y -CONFIG_SPI_CADENCE_QUADSPI=y -CONFIG_SPI_NXP_FLEXSPI=y -CONFIG_SPI_GPIO=y -CONFIG_SPI_MT65XX=y -CONFIG_SPI_PL022=y -CONFIG_SPI_ROCKCHIP=y -CONFIG_SPI_SPIDEV=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_PINCTRL_MAX77620=y -CONFIG_GPIO_ALTERA=m -CONFIG_GPIO_DWAPB=y -CONFIG_GPIO_MB86S7X=y -CONFIG_GPIO_PL061=y -CONFIG_GPIO_XGENE=y -CONFIG_GPIO_MAX732X=y -CONFIG_GPIO_PCA953X=y -CONFIG_GPIO_PCA953X_IRQ=y -CONFIG_GPIO_BD9571MWV=m -CONFIG_GPIO_MAX77620=y -CONFIG_POWER_RESET_BRCMSTB=y -CONFIG_POWER_RESET_XGENE=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_BATTERY_SBS=m -CONFIG_BATTERY_BQ27XXX=y -CONFIG_SENSORS_ARM_SCPI=y -CONFIG_SENSORS_LM90=m -CONFIG_SENSORS_PWM_FAN=m -CONFIG_SENSORS_INA2XX=m -CONFIG_SENSORS_INA3221=m -CONFIG_THERMAL=y -CONFIG_CPU_THERMAL=y -CONFIG_DEVFREQ_THERMAL=y -CONFIG_THERMAL_EMULATION=y -CONFIG_WATCHDOG=y -CONFIG_MEDIATEK_WATCHDOG=y -CONFIG_MFD_BD9571MWV=y -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_HI6421_PMIC=y -CONFIG_MFD_MAX77620=y -CONFIG_MFD_MT6397=y -CONFIG_MFD_RK808=y -CONFIG_MFD_SEC_CORE=y -CONFIG_MFD_ROHM_BD718XX=y -CONFIG_REGULATOR_DEBUG=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_AXP20X=y -CONFIG_REGULATOR_BD718XX=y -CONFIG_REGULATOR_BD9571MWV=y -CONFIG_REGULATOR_DA9211=y -CONFIG_REGULATOR_FAN53555=y -CONFIG_REGULATOR_GPIO=y -CONFIG_REGULATOR_HI6421V530=y -CONFIG_REGULATOR_MAX77620=y -CONFIG_REGULATOR_MAX8973=y -CONFIG_REGULATOR_MT6397=y -CONFIG_REGULATOR_PFUZE100=y -CONFIG_REGULATOR_PWM=y -CONFIG_REGULATOR_RK808=y -CONFIG_REGULATOR_S2MPS11=y -CONFIG_REGULATOR_VCTRL=m -CONFIG_MEDIA_SUPPORT=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y -CONFIG_MEDIA_SDR_SUPPORT=y -CONFIG_VIDEO_V4L2_SUBDEV_API=y -CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_DRM=y -CONFIG_DRM_I2C_CH7006=m -CONFIG_DRM_I2C_SIL164=m -CONFIG_DRM_I2C_NXP_TDA998X=m -CONFIG_DRM_MALI_DISPLAY=m -CONFIG_DRM_PANEL_LVDS=m -CONFIG_DRM_PANEL_SIMPLE=y -CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m -CONFIG_DRM_DISPLAY_CONNECTOR=y -CONFIG_DRM_PARADE_PS8640=y -CONFIG_DRM_SII902X=m -CONFIG_DRM_THINE_THC63LVD1024=m -CONFIG_DRM_TI_SN65DSI86=m -CONFIG_DRM_ANALOGIX_ANX78XX=y -CONFIG_DRM_I2C_ADV7511=m -CONFIG_DRM_MEDIATEK=y -CONFIG_DRM_MEDIATEK_HDMI=y -CONFIG_FB_MODE_HELPERS=y -CONFIG_FB_SIMPLE=y -CONFIG_BACKLIGHT_CLASS_DEVICE=y -CONFIG_BACKLIGHT_PWM=y -CONFIG_BACKLIGHT_LP855X=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_SOC=y -CONFIG_SND_SOC_MT8173=y -CONFIG_SND_SOC_MT8173_RT5650_RT5676=y -CONFIG_I2C_HID=m -CONFIG_USB_CONN_GPIO=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_STORAGE=y -CONFIG_USB_MTU3=y -CONFIG_USB_MUSB_HDRC=y -CONFIG_USB_DWC3=y -CONFIG_USB_DWC2=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_UDC=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_ISP1760=y -CONFIG_USB_SERIAL=y -CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_SERIAL_PL2303=y -CONFIG_USB_HSIC_USB3503=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_ULPI=y -CONFIG_USB_GADGET=y -CONFIG_USB_SNP_UDC_PLAT=y -CONFIG_USB_BDC_UDC=y -CONFIG_USB_ETH=m -CONFIG_USB_ETH_EEM=y -CONFIG_TYPEC=m -CONFIG_TYPEC_TCPM=m -CONFIG_TYPEC_FUSB302=m -CONFIG_MMC=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_OF_ARASAN=y -CONFIG_MMC_SDHCI_CADENCE=y -CONFIG_MMC_SDHCI_F_SDH30=y -CONFIG_MMC_SPI=y -CONFIG_MMC_DW=y -CONFIG_MMC_DW_EXYNOS=y -CONFIG_MMC_DW_HI3798CV200=y -CONFIG_MMC_DW_K3=y -CONFIG_MMC_MTK=y -CONFIG_MMC_SDHCI_XENON=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_PWM=y -CONFIG_LEDS_SYSCON=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_LEDS_TRIGGER_PANIC=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_MAX77686=y -CONFIG_RTC_DRV_RK808=m -CONFIG_RTC_DRV_PCF85363=m -CONFIG_RTC_DRV_RX8581=m -CONFIG_RTC_DRV_S5M=y -CONFIG_RTC_DRV_DS3232=y -CONFIG_RTC_DRV_PCF2127=m -CONFIG_RTC_DRV_PL031=y -CONFIG_DMADEVICES=y -CONFIG_FSL_EDMA=y -CONFIG_MV_XOR_V2=y -CONFIG_PL330_DMA=y -CONFIG_MTK_CQDMA=y -CONFIG_QCOM_HIDMA_MGMT=y -CONFIG_QCOM_HIDMA=y -# CONFIG_VIRTIO_MENU is not set -CONFIG_CHROME_PLATFORMS=y -CONFIG_CROS_EC=y -CONFIG_CROS_EC_I2C=y -CONFIG_CROS_EC_SPI=y -CONFIG_COMMON_CLK_RK808=y -CONFIG_COMMON_CLK_SCPI=y -CONFIG_COMMON_CLK_CS2000_CP=y -CONFIG_COMMON_CLK_S2MPS11=y -CONFIG_COMMON_CLK_XGENE=y -CONFIG_COMMON_CLK_PWM=y -CONFIG_COMMON_CLK_VC5=y -CONFIG_COMMON_CLK_MT6797_MMSYS=y -CONFIG_COMMON_CLK_MT6797_IMGSYS=y -CONFIG_COMMON_CLK_MT6797_VDECSYS=y -CONFIG_COMMON_CLK_MT6797_VENCSYS=y -CONFIG_HWSPINLOCK=y -CONFIG_ARM_MHU=y -CONFIG_PLATFORM_MHU=y -CONFIG_ARM_SMMU=y -CONFIG_ARM_SMMU_V3=y -CONFIG_MTK_IOMMU=y -CONFIG_REMOTEPROC=y -CONFIG_MTK_CMDQ=y -CONFIG_MTK_PMIC_WRAP=y -CONFIG_EXTCON_USB_GPIO=y -CONFIG_IIO=y -CONFIG_MAX9611=m -CONFIG_SENSORS_ISL29018=m -CONFIG_MPL3115=m -CONFIG_PWM=y -CONFIG_PWM_MTK_DISP=y -CONFIG_PWM_MEDIATEK=y -CONFIG_PHY_XGENE=y -CONFIG_PHY_FSL_IMX8MQ_USB=y -CONFIG_PHY_MTK_TPHY=y -CONFIG_PHY_QCOM_USB_HS=y -CONFIG_PHY_SAMSUNG_USB2=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_FANOTIFY=y -CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y -CONFIG_QUOTA=y -CONFIG_AUTOFS4_FS=y -CONFIG_FUSE_FS=m -CONFIG_CUSE=m -CONFIG_OVERLAY_FS=y -CONFIG_OVERLAY_FS_INDEX=y -CONFIG_OVERLAY_FS_XINO_AUTO=y -CONFIG_OVERLAY_FS_METACOPY=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_HUGETLBFS=y -CONFIG_CONFIGFS_FS=y -CONFIG_PSTORE=y -CONFIG_NFS_FS=m -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V4=m -CONFIG_NFS_SWAP=y -CONFIG_CIFS=m -CONFIG_CIFS_STATS2=y -CONFIG_CIFS_WEAK_PW_HASH=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_SECURITY=y -CONFIG_CRYPTO_CRYPTD=y -CONFIG_CRYPTO_DH=m -CONFIG_CRYPTO_ECDH=m -CONFIG_CRYPTO_SEQIV=y -CONFIG_CRYPTO_ECHAINIV=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_ECB=y -CONFIG_CRYPTO_XXHASH=m -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA3=m -CONFIG_CRYPTO_DES=m -CONFIG_CRYPTO_ANSI_CPRNG=y -CONFIG_CRYPTO_DEV_CCREE=m -CONFIG_PACKING=y -CONFIG_INDIRECT_PIO=y -CONFIG_CRC_CCITT=m -CONFIG_CRC_T10DIF=y -CONFIG_LIBCRC32C=m -CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=32 -CONFIG_IRQ_POLL=y -CONFIG_PRINTK_TIME=y -CONFIG_DEBUG_INFO=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_FS=y -CONFIG_DEBUG_KERNEL=y -# CONFIG_SCHED_DEBUG is not set -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_STACKTRACE=y -# CONFIG_FTRACE is not set -# CONFIG_STRICT_DEVMEM is not set diff --git a/board/chromebook/elm/readme.txt b/board/chromebook/elm/readme.txt deleted file mode 100644 index b63e7e8bcf50bd4a275a097be31a5eae1c45edbf..0000000000000000000000000000000000000000 --- a/board/chromebook/elm/readme.txt +++ /dev/null @@ -1,56 +0,0 @@ -Mediatek MT8173 aka Chromebook Elm -================================== - -This file describes booting the Chromebook from an SD card containing -Buildroot kernel and rootfs, using the original bootloader. This is -the least invasive way to get Buildroot onto the devices and a good -starting point. - -The bootloader will only boot a kernel from a GPT partition marked -bootable with cgpt tool from vboot-utils package. -The kernel image must be signed using futility from the same package. -The signing part is done by sign.sh script in this directory. - -It does not really matter where rootfs is as long as the kernel is able -to find it, but this particular configuration assumes the kernel is on -partition 1 and rootfs is on partition 2 of the SD card. -Make sure to check kernel.args if you change this. - -Making the boot media ---------------------- -Start by configuring and building the images. - - make chromebook_elm_defconfig - make menuconfig # if necessary - make - -The important files are: - - uImage.kpart (kernel and device tree, signed) - rootfs.tar - bootsd.img (SD card image containing both kernel and rootfs) - -Write the image directly to some SD card. -WARNING: make sure there is nothing important on that card, -and double-check the device name! - - SD=/dev/mmcblk1 # may be /dev/sdX on some hosts - dd if=output/images/bootsd.img of=$SD - -Switching to developer mode and booting from SD ------------------------------------------------ -Power Chromebook down, then power it up while holding Esc+F3. -BEWARE: switching to developer mode deletes all user data. -Create backups if you need them. - -While in developer mode, Chromebook will boot into a white screen saying -"OS verification is off". - -Press Ctrl-D at this screen to boot Chromium OS from eMMC. -Press Ctrl-U at this screen to boot from SD (or USB) -Press Power to power it off. -Do NOT press Space unless you mean it. -This will switch it back to normal mode. - -The is no way to get rid of the white screen without re-flashing the bootloader. - diff --git a/board/chromebook/elm/sign.sh b/board/chromebook/elm/sign.sh deleted file mode 100755 index af1f9d21c86613c9611fa131275bbab2db349306..0000000000000000000000000000000000000000 --- a/board/chromebook/elm/sign.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# This script creates u-boot FIT image containing the kernel and the DT, -# then signs it using futility from vboot-utils. -# The resulting file is called uImage.kpart. - -BOARD_DIR=$(dirname $0)/${BOARD_NAME} -mkimage=$HOST_DIR/bin/mkimage -futility=$HOST_DIR/bin/futility -devkeys=$HOST_DIR/share/vboot/devkeys - -run() { echo "$@"; "$@"; } -die() { echo "$@" >&2; exit 1; } -test -f $BINARIES_DIR/Image || \ - die "No kernel image found" -test -x $mkimage || \ - die "No mkimage found (host-uboot-tools has not been built?)" -test -x $futility || \ - die "No futility found (host-vboot-utils has not been built?)" - -# kernel.its references Image and mt8173-elm.dtb, and all three -# files must be in current directory for mkimage. -run cp $BOARD_DIR/kernel.its $BINARIES_DIR/kernel.its || exit 1 -echo "# entering $BINARIES_DIR for the next command" -(cd $BINARIES_DIR && run $mkimage -f kernel.its uImage.itb) || exit 1 - -# futility requires non-empty file to be supplied with --bootloader -# even if it does not make sense for the target platform. -echo > $BINARIES_DIR/dummy.txt - -run $futility vbutil_kernel \ - --keyblock $devkeys/kernel.keyblock \ - --signprivate $devkeys/kernel_data_key.vbprivk \ - --arch aarch64 \ - --version 1 \ - --config $BOARD_DIR/kernel.args \ - --vmlinuz $BINARIES_DIR/uImage.itb \ - --bootloader $BINARIES_DIR/dummy.txt \ - --pack $BINARIES_DIR/uImage.kpart || exit 1 - -rm -f $BINARIES_DIR/kernel.its $BINARIES_DIR/dummy.txt diff --git a/board/chromebook/mksd.sh b/board/chromebook/mksd.sh deleted file mode 100755 index cba1578ec8482921f9dfdffd4ba5858ff4f6ca68..0000000000000000000000000000000000000000 --- a/board/chromebook/mksd.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -# This scripts makes a minimal bootable SD card image for the Chromebook. -# The resulting file is called bootsd.img. It should be written directly -# to the card: -# -# SD=/dev/mmcblk1 # check your device name! -# dd if=output/images/bootsd.img of=$SD -# -# The partitions are created just large enough to hold the kernel and -# the rootfs image. Most of the card will be empty, and the secondary -# GPT will not be in its proper location. - -# cgpt does not create protective MBR, and the kernel refuses to read -# GPT unless there's some kind of MBR in sector 0. So we need parted -# to write that single sector before doing anything with the GPT. -cgpt=$HOST_DIR/bin/cgpt -parted=$HOST_DIR/sbin/parted -kernel=$BINARIES_DIR/uImage.kpart -rootfs=$BINARIES_DIR/rootfs.ext2 - -run() { echo "$@"; "$@"; } -die() { echo "$@" >&2; exit 1; } -test -f $kernel || die "No kernel image found" -test -f $rootfs || die "No rootfs image found" -test -x $cgpt || die "cgpt not found (host-vboot-utils have not been built?)" - -# True file sizes in bytes -kernelsize=`stat -t $kernel | cut -d\ -f2` -rootfssize=`stat -t $rootfs | cut -d\ -f2` - -# The card is partitioned in sectors of 8KB. -# 4 sectors are reserved for MBR+GPT. Their actual size turns out -# to be 33 512-blocks which is just over 2 sectors, but we align -# it to a nice round number. -sec=8192 -kernelsec=$(((kernelsize+8191)>>13)) -rootfssec=$(((rootfssize+8191)>>13)) -headersec=4 - -# There is also a copy of MBR+GPT at the end of the image. -# It's going to be useless but both tools assume it's there. -imagesec=$((2*headersec+kernelsec+rootfssec)) -bootsd="$BINARIES_DIR/bootsd.img" -run dd bs=$sec count=$imagesec if=/dev/zero of=$bootsd - -# cgpt needs offsets and sizes in 512-blocks. -block=512 -kernelstart=$((headersec<<4)) -kernelblocks=$((kernelsec<<4)) -rootfsblocks=$((rootfssec<<4)) -rootfsstart=$((kernelstart+kernelblocks)) - -# This command initializes both GPT and MBR -run $parted -s $bootsd mklabel gpt - -# The kernel partition must be marked as bootable, that's why -S -T -P -run $cgpt add -i 1 -b $kernelstart -s $kernelblocks \ - -t kernel -l kernel \ - -S 1 -T 1 -P 10 $bootsd - -# It does not really matter where the rootfs partition is located as long -# as the kernel can find it. -# However, if anything is changed here, kernel.args must be updated as well. -run $cgpt add -i 2 -b $rootfsstart -s $rootfsblocks \ - -t data -l rootfs $bootsd - -run dd bs=$block if=$kernel of=$bootsd seek=$kernelstart -run dd bs=$block if=$rootfs of=$bootsd seek=$rootfsstart diff --git a/board/chromebook/snow/kernel.args b/board/chromebook/snow/kernel.args deleted file mode 100644 index 1220bf84ac245eee649709bfaca8f46b8d3198f7..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/kernel.args +++ /dev/null @@ -1 +0,0 @@ -console=tty1 clk_ignore_unused root=/dev/mmcblk1p2 rootfstype=ext4 ro diff --git a/board/chromebook/snow/kernel.its b/board/chromebook/snow/kernel.its deleted file mode 100644 index c8766ef9e8a1df85b837877a48ee552d5be66f16..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/kernel.its +++ /dev/null @@ -1,37 +0,0 @@ -/dts-v1/; - -/ { - description = "Buildroot kernel for Chromebook Snow"; - images { - kernel@1 { - description = "kernel"; - data = /incbin/("zImage"); - type = "kernel_noload"; - arch = "arm"; - os = "linux"; - compression = "none"; - load = <0>; - entry = <0>; - hash@1 { - algo = "sha1"; - }; - }; - fdt@1{ - description = "exynos5250-snow.dtb"; - data = /incbin/("exynos5250-snow.dtb"); - type = "flat_dt"; - arch = "arm"; - compression = "none"; - hash@1 { - algo = "sha1"; - }; - }; - }; - configurations { - default = "conf@1"; - conf@1{ - kernel = "kernel@1"; - fdt = "fdt@1"; - }; - }; -}; diff --git a/board/chromebook/snow/linux-4.15-dts-tpm.patch b/board/chromebook/snow/linux-4.15-dts-tpm.patch deleted file mode 100644 index c71ff1b584549fddcc24bc99b609ddd38aa7c0a4..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/linux-4.15-dts-tpm.patch +++ /dev/null @@ -1,27 +0,0 @@ -Some versions of u-boot for this Chromebook check for tpm node -in the device tree and fail badly (reboot) if it is not found. - -While not exactly correct, it is much easier to patch the mainline -device tree to match u-boot expectations than to fix u-boot on -this device. - -See https://code.google.com/p/chromium/issues/detail?id=220169 -and https://lkml.org/lkml/2013/3/4/242 - -Signed-off-by: Alex Suykov - ---- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi -+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi -@@ -466,6 +466,11 @@ - status = "okay"; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <66000>; -+ -+ tpm { -+ compatible = "infineon,slb9635tt"; -+ reg = <0x20>; -+ }; - }; - - &i2c_5 { - diff --git a/board/chromebook/snow/linux-4.15.fragment b/board/chromebook/snow/linux-4.15.fragment deleted file mode 100644 index e2786dacbaa65747dd7e12332d84a2e672af2b56..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/linux-4.15.fragment +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_SDIO=m diff --git a/board/chromebook/snow/readme.txt b/board/chromebook/snow/readme.txt deleted file mode 100644 index 1afd94982999de8851d60fb3d6e903cd1705035b..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/readme.txt +++ /dev/null @@ -1,137 +0,0 @@ -Samsung XE303C12 aka Chromebook Snow -==================================== - -This file describes booting the Chromebook from an SD card containing -Buildroot kernel and rootfs, using the original bootloader. This is -the least invasive way to get Buildroot onto the devices and a good -starting point. - -The bootloader will only boot a kernel from a GPT partition marked -bootable with cgpt tool from vboot-utils package. -The kernel image must be signed using futility from the same package. -The signing part is done by sign.sh script in this directory. - -It does not really matter where rootfs is as long as the kernel is able -to find it, but this particular configuration assumes the kernel is on -partition 1 and rootfs is on partition 2 of the SD card. -Make sure to check kernel.args if you change this. - -Making the boot media ---------------------- -Start by configuring and building the images. - - make chromebook_snow_defconfig - make menuconfig # if necessary - make - -The important files are: - - uImage.kpart (kernel and device tree, signed) - rootfs.tar - bootsd.img (SD card image containing both kernel and rootfs) - -Write the image directly to some SD card. -WARNING: make sure there is nothing important on that card, -and double-check the device name! - - SD=/dev/mmcblk1 # may be /dev/sdX on some hosts - dd if=output/images/bootsd.img of=$SD - -Switching to developer mode and booting from SD ------------------------------------------------ -Power Chromebook down, then power it up while holding Esc+F3. -BEWARE: switching to developer mode deletes all user data. -Create backups if you need them. - -While in developer mode, Chromebook will boot into a white screen saying -"OS verification is off". - -Press Ctrl-D at this screen to boot Chromium OS from eMMC. -Press Ctrl-U at this screen to boot from SD (or USB) -Press Power to power it off. -Do NOT press Space unless you mean it. -This will switch it back to normal mode. - -The is no way to get rid of the white screen without re-flashing the bootloader. - -Troubleshooting ---------------- -Loud *BEEP* after pressing Ctrl-U means there's no valid partition to boot from. -Which in turn means either bad GPT or improperly signed kernel. - -Return to the OS verification screen without any sounds means the code managed -to reboot the board. May indicate properly signed but invalid image. - -Blank screen means the image is valid and properly signed but cannot boot -for some reason, like missing or incorrect DT. - -In case the board becomes unresponsive: - -* Press Esc+F3+Power. The board should reboot instantly. - Remove SD card to prevent it from attempting a system recovery. - -* Hold Power button for around 10s. The board should shut down into - its soft-off mode. Press Power button again or open the lid to turn in on. - -* If that does not work, disconnect the charger and push a hidden - button on the underside with a pin of some sort. The board should shut - down completely. Opening the lid and pressing Power button will not work. - To turn it back on, connect the charger. - -Partitioning SD card manually ------------------------------ -Check mksd.sh for partitioning commands. - -Use parted and cgpt on a real device, and calculate the partition -sizes properly. The kernel partition may be as small as 4MB, but -you will probably want the rootfs to occupy the whole remaining space. - -cgpt may be used to check current layout: - - output/host/bin/cgpt show $SD - -All sizes and all offsets are in 512-byte blocks. - -Writing kernel and rootfs to a partitioned SD card --------------------------------------------------- -Write .kpart directly to the bootable partition: - - dd if=output/images/uImage.kpart of=${SD}1 - -Make a new filesystem on the rootfs partition, and unpack rootfs.tar there: - - mkfs.ext4 ${SD}2 - mount ${SD2} /mnt/ - tar -xvf output/images/rootfs.tar -C /mnt/ - umount /mnt/ - -This will require root permissions even if you can write to $SD. - -Kernel command line -------------------- -The command line is taken from board/chromebook/snow/kernel.args and stored -in the vboot header (which also holds the signature). - -The original bootloader prepends "cros_secure console= " to the supplied -command line. The only way to suppress this is to enable CMDLINE_FORCE -in the kernel config, disabling external command line completely. - -That's not necessary however. The mainline kernel ignores cros_secure, -and supplying console=tty1 in kernel.args undoes the effect of console= - -Booting with console= suppresses all kernel output. -As a side effect, it makes /dev/console unusable, which the init in use must -be able to handle. - -WiFi card ---------- -Run modprobe mwifiex_sdio to load the driver. -The name of the device should be mlan0. - -Further reading ---------------- -https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-arm-chromebook -http://linux-exynos.org/wiki/Samsung_Chromebook_XE303C12/Installing_Linux -http://archlinuxarm.org/platforms/armv7/samsung/samsung-chromebook -http://www.de7ec7ed.com/2013/05/application-processor-ap-uart-samsung.html -http://www.de7ec7ed.com/2013/05/embedded-controller-ec-uart-samsung.html diff --git a/board/chromebook/snow/sign.sh b/board/chromebook/snow/sign.sh deleted file mode 100755 index e8f111ff0a906de9853c02f7d75963b1e73f7c69..0000000000000000000000000000000000000000 --- a/board/chromebook/snow/sign.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# This script creates u-boot FIT image containing the kernel and the DT, -# then signs it using futility from vboot-utils. -# The resulting file is called uImage.kpart. - -BOARD_DIR=$(dirname $0) -mkimage=$HOST_DIR/bin/mkimage -futility=$HOST_DIR/bin/futility -devkeys=$HOST_DIR/share/vboot/devkeys - -run() { echo "$@"; "$@"; } -die() { echo "$@" >&2; exit 1; } -test -f $BINARIES_DIR/zImage || \ - die "No kernel image found" -test -x $mkimage || \ - die "No mkimage found (host-uboot-tools has not been built?)" -test -x $futility || \ - die "No futility found (host-vboot-utils has not been built?)" - -# kernel.its references zImage and exynos5250-snow.dtb, and all three -# files must be in current directory for mkimage. -run cp $BOARD_DIR/kernel.its $BINARIES_DIR/kernel.its || exit 1 -echo "# entering $BINARIES_DIR for the next command" -(cd $BINARIES_DIR && run $mkimage -f kernel.its uImage.itb) || exit 1 - -# futility requires non-empty file to be supplied with --bootloader -# even if it does not make sense for the target platform. -echo > $BINARIES_DIR/dummy.txt - -run $futility vbutil_kernel \ - --keyblock $devkeys/kernel.keyblock \ - --signprivate $devkeys/kernel_data_key.vbprivk \ - --arch arm \ - --version 1 \ - --config $BOARD_DIR/kernel.args \ - --vmlinuz $BINARIES_DIR/uImage.itb \ - --bootloader $BINARIES_DIR/dummy.txt \ - --pack $BINARIES_DIR/uImage.kpart || exit 1 - -rm -f $BINARIES_DIR/kernel.its $BINARIES_DIR/dummy.txt diff --git a/board/ci20/genimage.cfg b/board/ci20/genimage.cfg deleted file mode 100644 index 2d4a18a99b15b9cac5d57f40319d918355126ab2..0000000000000000000000000000000000000000 --- a/board/ci20/genimage.cfg +++ /dev/null @@ -1,28 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot-spl { - in-partition-table = "no" - image = "u-boot-spl.bin" - offset = 512 - } - - partition uboot { - in-partition-table = "no" - image = "u-boot.img" - offset = 14K - } - - partition uboot-env { - in-partition-table = "no" - image = "uboot-env.bin" - offset = 526K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - offset = 2M - } -} diff --git a/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch b/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch deleted file mode 100644 index a6191804f1e3be29b072d0b490148680b4d01796..0000000000000000000000000000000000000000 --- a/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch +++ /dev/null @@ -1,66 +0,0 @@ -From b3a1e97498e7987073775d49a703932c20f2df1d Mon Sep 17 00:00:00 2001 -From: Ezequiel Garcia -Date: Mon, 12 Nov 2018 14:04:46 -0300 -Subject: [PATCH] mips: Remove default endiannes - -Currently, trying to build ci20_mmc fails on little-endian -toolchains. The problem seems to be that some targets don't -have CONFIG_SYS_LITTLE_ENDIAN properly set, and therefore -the default -EB switch is selected. - -Let's get rid of the default switch entirely, and fix this problem. -While this may be a hack, it is a quick solution until -U-Boot gets CI20 proper support. - -make ARCH=mips CROSS_COMPILE=mips-linux-gnu- ci20_mmc -Configuring for ci20_mmc - Board: ci20, Options: SPL_MMC_SUPPORT,ENV_IS_IN_MMC -make -make[1]: Entering directory '/home/zeta/repos/u-boot-ci20' -Generating include/autoconf.mk -Generating include/autoconf.mk.dep -mips-linux-gnu-gcc: error: may not use both -EB and -EL -mips-linux-gnu-gcc: error: may not use both -EB and -EL -Generating include/spl-autoconf.mk -mips-linux-gnu-gcc: error: may not use both -EB and -EL -Generating include/tpl-autoconf.mk -mips-linux-gnu-gcc: error: may not use both -EB and -EL -mips-linux-gnu-gcc -DDO_DEPS_ONLY \ - -g -Os -ffunction-sections -fdata-sections -D__KERNEL__ -I/home/zeta/repos/u-boot-ci20/include -fno-builtin -ffreestanding -nostdinc -isystem /home/zeta/repos/buildroot/mips/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/include -pipe -DCONFIG_MIPS -D__MIPS__ -G 0 -EB -msoft-float -fpic -mabicalls -march=mips32 -mabi=32 -DCONFIG_32BIT -mno-branch-likely -Wall -Wstrict-prototypes \ - -o lib/asm-offsets.s lib/asm-offsets.c -c -S -if [ -f arch/mips/cpu/xburst/jz4780/asm-offsets.c ];then \ - mips-linux-gnu-gcc -DDO_DEPS_ONLY \ - -g -Os -ffunction-sections -fdata-sections -D__KERNEL__ -I/home/zeta/repos/u-boot-ci20/include -fno-builtin -ffreestanding -nostdinc -isystem /home/zeta/repos/buildroot/mips/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/include -pipe -DCONFIG_MIPS -D__MIPS__ -G 0 -EB -msoft-float -fpic -mabicalls -march=mips32 -mabi=32 -DCONFIG_32BIT -mno-branch-likely -Wall -Wstrict-prototypes \ - -o arch/mips/cpu/xburst/jz4780/asm-offsets.s arch/mips/cpu/xburst/jz4780/asm-offsets.c -c -S; \ -else \ - touch arch/mips/cpu/xburst/jz4780/asm-offsets.s; \ -fi -mips-linux-gnu-gcc: error: may not use both -EB and -EL -make[1]: *** [Makefile:747: lib/asm-offsets.s] Error 1 -make[1]: *** Waiting for unfinished jobs.... -make[1]: Leaving directory '/home/zeta/repos/u-boot-ci20' -make: *** [.boards.depend:463: ci20_mmc] Error 2 - -Signed-off-by: Ezequiel Garcia ---- -https://github.com/MIPS/CI20_u-boot/pull/19 - - arch/mips/config.mk | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/arch/mips/config.mk b/arch/mips/config.mk -index c89279025507..43560abbc0e1 100644 ---- a/arch/mips/config.mk -+++ b/arch/mips/config.mk -@@ -20,9 +20,6 @@ ifdef CONFIG_SYS_BIG_ENDIAN - ENDIANNESS := -EB - endif - --# Default to EB if no endianess is configured --ENDIANNESS ?= -EB -- - PLATFORM_CPPFLAGS += -DCONFIG_MIPS -D__MIPS__ - - # --- -2.19.1 - diff --git a/board/ci20/readme.txt b/board/ci20/readme.txt deleted file mode 100644 index 71d507069402610ac41fd96aece8c976dfd829fc..0000000000000000000000000000000000000000 --- a/board/ci20/readme.txt +++ /dev/null @@ -1,46 +0,0 @@ -********************* -* MIPS Creator CI20 * -********************* - -Introduction -============ - -The 'ci20_defconfig' will create a root filesystem and a kernel image -under the 'output/images/' directory. This document will try to explain how -to use them in order to run Buildroot in the MIPS Creator CI20 board. - -How to build it -=============== - -Configure Buildroot -------------------- - - $ make ci20_defconfig - -Build the rootfs ----------------- - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while, consider getting yourself a coffee ;-) ) - -How to write the SD card -======================== - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Make sure the SD card is not mounted then copy the bootable "sdcard.img" onto -it with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the SDcard into your ci20, and power it up. Your new system -should come up now and start a console on the UART HEADER. - -see: https://elinux.org/CI20_Hardware#Dedicated_UART_header diff --git a/board/ci20/uboot-env.txt b/board/ci20/uboot-env.txt deleted file mode 100644 index 3093496cc9cb7346da45d3efe8296fa0533cf01c..0000000000000000000000000000000000000000 --- a/board/ci20/uboot-env.txt +++ /dev/null @@ -1,10 +0,0 @@ -baudrate=115200 -board_mfr=NP -bootargs=console=ttyS4,115200 console=tty0 mem=256M@0x0 mem=768M@0x30000000 rootwait root=/dev/mmcblk0p1 devtmpfs.mount=1 ip=dhcp -bootcmd=run ethargs; ext4load mmc 0:1 0x88000000 /boot/uImage; bootm 0x88000000 -bootdelay=1 -ethargs=env set bootargs ${bootargs} -loads_echo=1 -stderr=eserial0,eserial4 -stdin=eserial0,eserial4 -stdout=eserial0,eserial4 diff --git a/board/cubietech/cubieboard2/boot.cmd b/board/cubietech/cubieboard2/boot.cmd deleted file mode 100644 index a9ae0e24e6eeb6c4af3d72bae8b6fd4c0d06d365..0000000000000000000000000000000000000000 --- a/board/cubietech/cubieboard2/boot.cmd +++ /dev/null @@ -1,5 +0,0 @@ -setenv fdt_high ffffffff -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun7i-a20-cubieboard2.dtb -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/cubietech/cubieboard2/genimage.cfg b/board/cubietech/cubieboard2/genimage.cfg deleted file mode 100644 index 0ba74d6be36cbe304f8082b525781575083324d9..0000000000000000000000000000000000000000 --- a/board/cubietech/cubieboard2/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Minimal SD card image for the Cubieboard2 -# Based in the Orange Pi genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-cubieboard2.dtb", - "boot.scr" - } - } - - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/cubietech/cubieboard2/post-image.sh b/board/cubietech/cubieboard2/post-image.sh deleted file mode 100755 index 9cca1b1789ec03ffdcdce1ca92298e35b6b268f9..0000000000000000000000000000000000000000 --- a/board/cubietech/cubieboard2/post-image.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -exit $? diff --git a/board/embest/riotboard/genimage.cfg b/board/embest/riotboard/genimage.cfg deleted file mode 100644 index d2e851a78d66256a720dda3ebf3f055ba136d0d9..0000000000000000000000000000000000000000 --- a/board/embest/riotboard/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.imx" - offset = 1K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - offset = 1M - size = 60M - } -} diff --git a/board/embest/riotboard/readme.txt b/board/embest/riotboard/readme.txt deleted file mode 100644 index 4ba836fa5a5d79b3cf2a5cfce8dc6947f6f179b9..0000000000000000000000000000000000000000 --- a/board/embest/riotboard/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -Buildroot for Embest RIoTboard -============================== - -This is a small development board, based on Freescale IMX6 Solo SoC -(single core ARM Cortex-A9). - -More details about the board can be found at: - - http://www.embest-tech.com/riotboard - -1. Compiling buildroot ----------------------- - -$ make riotboard_defconfig -$ make - -2. Installing buildroot ------------------------ - -Prepare an SD-card and plug it into your card reader. Always double -check the block device before writing to it, as writing to the wrong -block device can cause irrecoverable data loss. Now you can write the -image to your SD-card: - -sudo dd if=output/images/sdcard.img of=/dev/ bs=1M - -3. Running buildroot --------------------- - -Position the board so you can read the label "RIoTboard" on the right -side of SW1 DIP switches. Configure the SW1 swiches like this: - -1 0 1 0 0 1 0 1 -ON OFF ON OFF OFF ON OFF ON - -Now plug your prepared SD-card in slot J6. Connect a serial console -(115200, 8, N, 1) to header J18. Connect a 5V/1A power supply to the -board and enjoy. diff --git a/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf b/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 23e48a0da7b02de25f31c34b91163deb7e8c4b6a..0000000000000000000000000000000000000000 --- a/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,6 +0,0 @@ -default buildroot - -label buildroot -kernel /boot/zImage -devicetree /boot/imx6dl-riotboard.dtb -append console=ttymxc1,115200 root=/dev/mmcblk1p1 rw diff --git a/board/engicam/geam6ul/genimage.cfg b/board/engicam/geam6ul/genimage.cfg deleted file mode 100644 index 3d290b2ea60c82e3f871f1854e3e2cc8ea32c716..0000000000000000000000000000000000000000 --- a/board/engicam/geam6ul/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6ul-geam-kit.dtb" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/engicam/geam6ul/readme.txt b/board/engicam/geam6ul/readme.txt deleted file mode 100644 index ace993a661cbcc57176b8d52c89de21ad8be1727..0000000000000000000000000000000000000000 --- a/board/engicam/geam6ul/readme.txt +++ /dev/null @@ -1,66 +0,0 @@ -******************************************** -Buildroot for Engicam GEAM6UL SOM platforms: -******************************************** - -This file documents the Buildroot support for all Engicam GEAM6UL -SOM platform boards. - -GEAM6UL SOM Starter kits: -https://www.engicam.com/vis-prod/101115 - -This configuration uses U-Boot mainline and kernel mainline. - -Build -===== - -First, configure Buildroot for the Engicam GEAM6UL SOM: - -- for GEAM6UL SOM: - - make engicam_imx6ul_geam_defconfig - -Build all components: - - make - -You will find the following files in output/images/: - - imx6ul-geam-kit.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - SPL - - u-boot-dtb.img - - uImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - sync - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/engicam/geam6ul/genimage.cfg - -Boot the GEAM6UL boards with SD boot: -==================================== - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- connect 3-wire RS232 serial port J28 on board, and connect with other - serial end or USB cable(if serial-to-usb converter used) using - a terminal emulator at 115200 bps, 8n1; -- close JM3 for sd boot. -- power on the board. - -Enjoy! diff --git a/board/engicam/icorem6/genimage.cfg b/board/engicam/icorem6/genimage.cfg deleted file mode 100644 index 985d9e5de1e1e144483d1ae9797c3a39a45d6d45..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/genimage.cfg +++ /dev/null @@ -1,42 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6dl-icore.dtb", - "imx6q-icore.dtb", - "imx6q-icore-ofcap10.dtb", - "imx6q-icore-ofcap12.dtb" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment deleted file mode 100644 index 5c0505e51033a133c01c67faec5d3c43336a5ec7..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/linux_qt5.fragment +++ /dev/null @@ -1,4 +0,0 @@ -# Currently kernel mainline exhibits issues when running cpufreq as ondemand -# governor on mx6. -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt deleted file mode 100644 index bd78c5a55646833c0dfa394b4e3ad4f025fe85bb..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/readme.txt +++ /dev/null @@ -1,93 +0,0 @@ -********************************************* -Buildroot for Engicam i.CoreM6 SOM platforms: -********************************************* - -This file documents the Buildroot support for Engicam i.CoreM6 -platform boards. - -i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits: -https://www.engicam.com/vis-prod/101120 -i.CoreM6 Quad/Dual/DualLite/Solo Open Frame 10.1 C.TOUCH kits: -https://www.engicam.com/vis-prod/101133 - -This configuration uses U-Boot mainline and kernel mainline. - -Build -===== - -First, configure Buildroot for the Engicam i.CoreM6: - - make engicam_imx6qdl_icore_defconfig - -Build all components: - - make - -You will find the following files in output/images/: - - imx6q-icore.dtb (for i.CoreM6 Quad/Dual) - - imx6dl-icore.dtb (for i.CoreM6 DualLite/Solo) - - imx6q-icore-ofcap10.dtb (for i.CoreM6 Quad/Dual ofcap 10) - - imx6q-icore-ofcap12.dtb (for i.CoreM6 Quad/Dual ofcap 12) - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - SPL - - u-boot-dtb.img - - uImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - sync - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/engicam/icorem6/genimage.cfg - -Boot the i.CoreM6 boards with SD boot: -===================================== - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- connect 3-wire RS232 serial port J28 on board, and connect with other - serial end or USB cable(if serial-to-usb converter used) using - a terminal emulator at 115200 bps, 8n1; -- close JM3 for sd boot. -- power on the board. - -Testing graphics on i.CoreM6: -============================ - -Build with support for Etnaviv, Qt5 and demo applications: - - make engicam_imx6qdl_icore_qt5_defconfig - make - -Running kmscube -# kmscube -D /dev/dri/card1 - -Running glmark2-es2-drm -# glmark2-es2-drm - -Running Qt5 Cinematic Demo: -- for i.CoreM6 Starter Kit -# export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore.json -- for i.CoreM6 ofcap10 -# export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap10.json -- for i.CoreM6 ofcap12 -# export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap12.json - -# CinematicExperience-demo - -Enjoy! diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json deleted file mode 100644 index 3bfe4a23623136e9c82108a5b60e7159dccb2089..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "device": "/dev/dri/card1", - "hwcursor": false, - "pbuffers": true, - "outputs": [ - { - "name": "LVDS1", - "mode": "1280x800" - } - ] -} diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json deleted file mode 100644 index ea5ce6f97a38079b05d85998435962a0eb5742e7..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "device": "/dev/dri/card1", - "hwcursor": false, - "pbuffers": true, - "outputs": [ - { - "name": "LVDS1", - "mode": "1280x480" - } - ] -} diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json deleted file mode 100644 index b4fa359b64a4482275fd1a64383357517538b77b..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "device": "/dev/dri/card1", - "hwcursor": false, - "pbuffers": true, - "outputs": [ - { - "name": "LVDS1", - "mode": "800x480" - } - ] -} diff --git a/board/engicam/icorem6_rqs/genimage.cfg b/board/engicam/icorem6_rqs/genimage.cfg deleted file mode 100644 index d6936f8109d31456457ac1c57c968872becf0676..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6_rqs/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6dl-icore-rqs.dtb", - "imx6q-icore-rqs.dtb" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/engicam/icorem6_rqs/readme.txt b/board/engicam/icorem6_rqs/readme.txt deleted file mode 100644 index a0bf6f508f37fff7487495c0cbf06d688a663e8f..0000000000000000000000000000000000000000 --- a/board/engicam/icorem6_rqs/readme.txt +++ /dev/null @@ -1,69 +0,0 @@ -************************************************* -Buildroot for Engicam i.CoreM6 RQS SOM platforms: -************************************************* - -This file documents the Buildroot support for Engicam i.CoreM6 RQS -SOM platform boards. - -i.CoreM6 Quad/Dual/DualLite/Solo RQS SOM Starter kits: -https://www.engicam.com/vis-prod/101124 - -This configuration uses U-Boot mainline and kernel mainline. - -Build -===== - -First, configure Buildroot for the Engicam i.CoreM6 RQS: - -- for i.CoreM6 RQS Quad/Dual/DualLite/Solo: - - make engicam_imx6qdl_icore_rqs_defconfig - -Build all components: - - make - -You will find the following files in output/images/: -- for i.CoreM6 Quad/Dual RQS: - - imx6q-icore-rqs.dtb -- for i.CoreM6 DualLite/Solo RQS: - - imx6dl-icore-rqs.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - SPL - - u-boot-dtb.img - - uImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - sync - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/engicam/icorem6_rqs/genimage.cfg - -Boot the i.CoreM6 RQS boards with SD boot: -========================================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- connect 3-wire RS232 serial port J7 on board, and connect with other - serial end or USB cable(if serial-to-usb converter used) using - a terminal emulator at 115200 bps, 8n1; -- close JM2 for sd boot. -- power on the board. - -Enjoy! diff --git a/board/engicam/isiot/genimage.cfg b/board/engicam/isiot/genimage.cfg deleted file mode 100644 index 4e65a70110b142e009af4c6355f5437e34fbc1b4..0000000000000000000000000000000000000000 --- a/board/engicam/isiot/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6ul-isiot-emmc.dtb" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/engicam/isiot/readme.txt b/board/engicam/isiot/readme.txt deleted file mode 100644 index 5394007ca51b9294f61c8626b5514c585d09b178..0000000000000000000000000000000000000000 --- a/board/engicam/isiot/readme.txt +++ /dev/null @@ -1,66 +0,0 @@ -******************************************** -Buildroot for Engicam Is.IoT SOM platforms: -******************************************** - -This file documents the Buildroot support for all Engicam Is.IoT MX6UL -SOM platform boards. - -Is.IoT MX6UL SOM Starter kits: -https://www.engicam.com/vis-prod/101122 - -This configuration uses U-Boot mainline and kernel mainline. - -Build -===== - -First, configure Buildroot for the Engicam Is.IoT MX6UL SOM: - -- for Is.IoT MX6UL SOM: - - make engicam_imx6ul_isiot_defconfig - -Build all components: - - make - -You will find the following files in output/images/: - - imx6ul-isiot-emmc.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - SPL - - u-boot-dtb.img - - uImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - sync - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/engicam/isiot/genimage.cfg - -Boot the Is.IoT MX6UL boards with SD boot: -========================================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- connect 3-wire RS232 serial port J28 on board, and connect with other - serial end or USB cable(if serial-to-usb converter used) using - a terminal emulator at 115200 bps, 8n1; -- close JM3 for sd boot. -- power on the board. - -Enjoy! diff --git a/board/firefly/roc-rk3399-pc/extlinux.conf b/board/firefly/roc-rk3399-pc/extlinux.conf deleted file mode 100644 index 50a358fadcc97e4b3c91e774ff81e3b4a0b88c0d..0000000000000000000000000000000000000000 --- a/board/firefly/roc-rk3399-pc/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label RK3399RocPC linux - kernel /boot/Image - devicetree /boot/rk3399-roc-pc.dtb - append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p1 rootwait diff --git a/board/firefly/roc-rk3399-pc/genimage.cfg b/board/firefly/roc-rk3399-pc/genimage.cfg deleted file mode 100644 index 966c869273f325dfc508041daeb55d82636f105c..0000000000000000000000000000000000000000 --- a/board/firefly/roc-rk3399-pc/genimage.cfg +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot-tpl-spl-dtb { - in-partition-table = "no" - image = "idbloader.img" - offset = 32K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot.itb" - offset = 8M - size = 30M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/firefly/roc-rk3399-pc/post-build.sh b/board/firefly/roc-rk3399-pc/post-build.sh deleted file mode 100755 index d84a5da0b0f5b3ab680d3424172cf01ae727c592..0000000000000000000000000000000000000000 --- a/board/firefly/roc-rk3399-pc/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf diff --git a/board/firefly/roc-rk3399-pc/readme.txt b/board/firefly/roc-rk3399-pc/readme.txt deleted file mode 100644 index 8a6f1cdee6bdc99fec32b0a633d7c2dafdb6eb34..0000000000000000000000000000000000000000 --- a/board/firefly/roc-rk3399-pc/readme.txt +++ /dev/null @@ -1,40 +0,0 @@ -Libre Computer Board ROC-RK3399-PC -=================================== - -Build: - - $ make roc_pc_rk3399_defconfig - $ make - -Files created in output directory -================================= - -output/images - -├── bl31.elf -├── idbloader.img -├── Image -├── rk3399-roc-pc.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── u-boot.bin -└── u-boot.itb - -Creating bootable SD card: -========================== - -Simply invoke (as root) - -sudo dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device - -Serial console --------------- - -Baudrate for this board is 1500000 - -Wiki link: -https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/roc-rk3399-pc.html diff --git a/board/freescale/common/imx/genimage.cfg.template b/board/freescale/common/imx/genimage.cfg.template deleted file mode 100644 index 61b09bde9f331d82710fb705d74db4f3b5e9d11b..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template +++ /dev/null @@ -1,41 +0,0 @@ -# Minimal SD card image for the Freescale boards Template -# -# We mimic the .sdcard Freescale's image format: -# * the SD card must have 1 kB free space at the beginning, -# * U-Boot is dumped as is, -# * a FAT partition at offset 8 MB is containing zImage/uImage and DTB files -# * a single root filesystem partition is required (ext2, ext3 or ext4) -# - -image boot.vfat { - vfat { - label = "boot" - files = { - %FILES% - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "%UBOOTBIN%" - offset = 1024 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/freescale/common/imx/genimage.cfg.template_imx8 b/board/freescale/common/imx/genimage.cfg.template_imx8 deleted file mode 100644 index 568920508385d57066e5d73f2a22c3e6bf84a6c6..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template_imx8 +++ /dev/null @@ -1,41 +0,0 @@ -# Minimal SD card image for the Freescale iMX8 boards -# -# We mimic the .sdcard Freescale's image format: -# * the SD card must have 33 kB free space at the beginning, -# * U-Boot is integrated into imx8-boot-sd.bin and is dumped as is, -# * a FAT partition at offset 8MB is containing Image and DTB files -# * a single root filesystem partition is required (ext2, ext3 or ext4) -# - -image boot.vfat { - vfat { - label = "boot" - files = { - %FILES% - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition imx-boot { - in-partition-table = "no" - image = "imx8-boot-sd.bin" - offset = %IMXOFFSET% - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/freescale/common/imx/genimage.cfg.template_imx9 b/board/freescale/common/imx/genimage.cfg.template_imx9 deleted file mode 100644 index df7ddc25b73e9c409e6075b7294376e43f4eab63..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template_imx9 +++ /dev/null @@ -1,42 +0,0 @@ -# Minimal SD card image for the NXP i.MX9 boards -# -# We mimic the .sdcard NXP's image format: -# * the SD card must have 32 kB free space at the beginning, -# * U-Boot is integrated into imx9-boot-sd.bin and is dumped as is, -# * a FAT partition at offset 8MB is containing Image and DTB files -# * a single root filesystem partition is required (ext2, ext3 or ext4) -# - -image boot.vfat { - vfat { - label = "boot" - files = { - %FILES% - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition imx-boot { - in-partition-table = "no" - image = "imx9-boot-sd.bin" - offset = %IMXOFFSET% - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/freescale/common/imx/genimage.cfg.template_no_boot_part b/board/freescale/common/imx/genimage.cfg.template_no_boot_part deleted file mode 100644 index b8fa43210b91ec995d3378a8c2ea566d072fdf8e..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template_no_boot_part +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "%UBOOTBIN%" - offset = 1024 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - offset = 8M - } -} diff --git a/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl b/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl deleted file mode 100644 index ef015918a5b28fb92e4f72cf5e704dcc97f5f6f6..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl +++ /dev/null @@ -1,31 +0,0 @@ -# Minimal SD card image for the Freescale boards Template for SPL Boot -# -# We mimic the .sdcard Freescale's image format: -# * the SD card must have 1 kB free space at the beginning, -# * SPL is at the offset expected by ROM, -# * U-Boot is at the offset expected by SPL, -# * The first partition is expected to be an ext2 and have a /boot directory. -# - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot { - in-partition-table = "no" - image = "%UBOOTBIN%" - offset = 69K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - offset = 8M - } -} diff --git a/board/freescale/common/imx/genimage.cfg.template_spl b/board/freescale/common/imx/genimage.cfg.template_spl deleted file mode 100644 index 3b0667c3831cc7410be793fd621ed202024d937b..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/genimage.cfg.template_spl +++ /dev/null @@ -1,47 +0,0 @@ -# Minimal SD card image for the Freescale boards Template for SPL Boot -# -# We mimic the .sdcard Freescale's image format: -# * the SD card must have 1 kB free space at the beginning, -# * U-Boot is dumped as is, -# * a FAT partition at offset 8MB is containing zImage/uImage and DTB files -# * a single root filesystem partition is required (ext2, ext3 or ext4) -# - -image boot.vfat { - vfat { - label = "boot" - files = { - %FILES% - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot { - in-partition-table = "no" - image = "%UBOOTBIN%" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh deleted file mode 100755 index 7ebf15b6ffe854a71bee07b9b0147ff36f8f0b5b..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/imx8-bootloader-prepare.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env bash - -main () -{ - UBOOT_DTB=$2 - if [ ! -e "$UBOOT_DTB" ]; then - echo "ERROR: couldn't find dtb: $UBOOT_DTB" - exit 1 - fi - - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then - dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync - cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then - BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - else - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - fi - ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb - rm -f ${BINARIES_DIR}/u-boot.its - - ${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then - dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync - cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then - BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - else - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - fi - ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb - rm -f ${BINARIES_DIR}/u-boot.its - - ${HOST_DIR}/bin/mkimage_imx8 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then - dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync - cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then - BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - else - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - fi - ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb - rm -f ${BINARIES_DIR}/u-boot.its - - ${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then - dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync - cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin - if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" ${BR2_CONFIG}; then - BL31=${BINARIES_DIR}/bl31.bin BL32=${BINARIES_DIR}/tee.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - else - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its - fi - ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb - rm -f ${BINARIES_DIR}/u-boot.its - - ${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x920000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - else - ${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit - cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin - cp ${BINARIES_DIR}/bl31.bin ${BINARIES_DIR}/u-boot-atf.bin - dd if=${BINARIES_DIR}/u-boot-hash.bin of=${BINARIES_DIR}/u-boot-atf.bin bs=1K seek=128 - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then - ${HOST_DIR}/bin/mkimage_imx8 -soc QM -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qm-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a53 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" ${BR2_CONFIG}; then - ${HOST_DIR}/bin/mkimage_imx8 -soc DXL -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8dxl-evk-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - else - ${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin - fi - fi - - exit $? -} - -main $@ diff --git a/board/freescale/common/imx/imx9-bootloader-prepare.sh b/board/freescale/common/imx/imx9-bootloader-prepare.sh deleted file mode 100755 index 8ab5a241b02edf4fa7ec2bb9d6b31f05f0544d4c..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/imx9-bootloader-prepare.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -main () -{ - SPL_LOAD_ADDR=0x2049A000 - ATF_LOAD_ADDR=0x204E0000 - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" "${BR2_CONFIG}"; then - SPL_LOAD_ADDR=0x204A0000 - ATF_LOAD_ADDR=0x204C0000 - fi - - dd if="${BINARIES_DIR}/u-boot-spl.bin" of="${BINARIES_DIR}/u-boot-spl-padded.bin" bs=4 conv=sync - cat "${BINARIES_DIR}/u-boot-spl-padded.bin" "${BINARIES_DIR}/ddr_fw.bin" > "${BINARIES_DIR}/u-boot-spl-ddr.bin" - - "${HOST_DIR}/bin/mkimage_imx8" -commit > "${BINARIES_DIR}/mkimg.commit" - cat "${BINARIES_DIR}/u-boot.bin" "${BINARIES_DIR}/mkimg.commit" > "${BINARIES_DIR}/u-boot-hash.bin" - rm -f "${BINARIES_DIR}/mkimg.commit" - - if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" "${BR2_CONFIG}"; then - "${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \ - -ap "${BINARIES_DIR}/bl31.bin" a35 ${ATF_LOAD_ADDR} \ - -ap "${BINARIES_DIR}/u-boot-hash.bin" a35 0x80200000 \ - -ap "${BINARIES_DIR}/tee.bin" a35 0x96000000 \ - -out "${BINARIES_DIR}/u-boot-atf-container.img" - else - "${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \ - -ap "${BINARIES_DIR}/bl31.bin" a35 ${ATF_LOAD_ADDR} \ - -ap "${BINARIES_DIR}/u-boot-hash.bin" a35 0x80200000 \ - -out "${BINARIES_DIR}/u-boot-atf-container.img" - fi - - "${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -append "${BINARIES_DIR}/ahab-container.img" -c \ - -ap "${BINARIES_DIR}/u-boot-spl-ddr.bin" a35 ${SPL_LOAD_ADDR} \ - -out "${BINARIES_DIR}/imx9-boot-sd.bin" - - flashbin_size="$(wc -c "${BINARIES_DIR}/imx9-boot-sd.bin" | awk '{print $1}')" - pad_cnt=$(($((flashbin_size + 0x400 - 1)) / 0x400)) - dd if="${BINARIES_DIR}/u-boot-atf-container.img" of="${BINARIES_DIR}/imx9-boot-sd.bin" bs=1K seek=${pad_cnt} - - exit $? -} - -main "$@" diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh deleted file mode 100755 index a440bfb75cda9ecf001b6efc5d339ed51d659dba..0000000000000000000000000000000000000000 --- a/board/freescale/common/imx/post-image.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/usr/bin/env bash - -# -# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME -# in ${BR_CONFIG}, then prints the corresponding list of file names for the -# genimage configuration file -# -dtb_list() -{ - local DTB_LIST - - DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([\/a-z0-9 \-]*\)"$/\1/p' "${BR2_CONFIG}")" - - for dt in $DTB_LIST; do - echo -n "\"$(basename "${dt}").dtb\", " - done -} - -# -# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in -# ${BR_CONFIG}, then prints the corresponding file name for the genimage -# configuration file -# -linux_image() -{ - if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" "${BR2_CONFIG}"; then - echo "\"uImage\"" - elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" "${BR2_CONFIG}"; then - echo "\"Image\"" - elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" "${BR2_CONFIG}"; then - echo "\"Image.gz\"" - else - echo "\"zImage\"" - fi -} - -genimage_type() -{ - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX91=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx9" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_imx9" - elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" "${BR2_CONFIG}"; then - if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_no_boot_part_spl" - else - echo "genimage.cfg.template_no_boot_part" - fi - elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" "${BR2_CONFIG}"; then - echo "genimage.cfg.template_spl" - else - echo "genimage.cfg.template" - fi -} - -imx_offset() -{ - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" "${BR2_CONFIG}"; then - echo "33K" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" "${BR2_CONFIG}"; then - echo "33K" - else - echo "32K" - fi -} - -uboot_image() -{ - if grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y$" "${BR2_CONFIG}"; then - echo "u-boot-dtb.imx" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMX=y$" "${BR2_CONFIG}"; then - echo "u-boot.imx" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" "${BR2_CONFIG}"; then - echo "u-boot-dtb.img" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMG=y$" "${BR2_CONFIG}"; then - echo "u-boot.img" - fi -} - -main() -{ - local FILES IMXOFFSET UBOOTBIN GENIMAGE_CFG GENIMAGE_TMP - FILES="$(dtb_list) $(linux_image)" - IMXOFFSET="$(imx_offset)" - UBOOTBIN="$(uboot_image)" - GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)" - GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - - sed -e "s/%FILES%/${FILES}/" \ - -e "s/%IMXOFFSET%/${IMXOFFSET}/" \ - -e "s/%UBOOTBIN%/${UBOOTBIN}/" \ - "board/freescale/common/imx/$(genimage_type)" > "${GENIMAGE_CFG}" - - rm -rf "${GENIMAGE_TMP}" - - genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - - rm -f "${GENIMAGE_CFG}" - - exit $? -} - -main "$@" diff --git a/board/freescale/common/mxs/genimage.cfg.template b/board/freescale/common/mxs/genimage.cfg.template deleted file mode 100644 index c9da4528213c36fb48798627c0dd59b7b7dc9762..0000000000000000000000000000000000000000 --- a/board/freescale/common/mxs/genimage.cfg.template +++ /dev/null @@ -1,40 +0,0 @@ -# Minimal SD card image for the Freescale MX23/MX28 Template -# -# We mimic the .sdcard Freescale's MX23/MX28 image format: -# * u-boot.sb is placed at offset 1M, -# * a FAT partition at offset 16 MB is containing zImage/uImage and DTB files -# * a single root filesystem partition is required (ext2, ext3 or ext4) -# - -image boot.vfat { - vfat { - label = "boot" - files = { - %FILES% - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0x53 - image = "u-boot.sd" - offset = 1M - size = 16M - } - - partition kernel { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/freescale/common/mxs/post-image.sh b/board/freescale/common/mxs/post-image.sh deleted file mode 100755 index 0bfb835c6eba2fe9779062d773e336028ae47c58..0000000000000000000000000000000000000000 --- a/board/freescale/common/mxs/post-image.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash - -# -# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME -# in ${BR_CONFIG}, then prints the corresponding list of file names for the -# genimage configuration file -# -dtb_list() -{ - local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})" - - for dt in $DTB_LIST; do - echo -n "\"$dt.dtb\", " - done -} - -# -# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in -# ${BR_CONFIG}, then prints the corresponding file name for the genimage -# configuration file -# -linux_image() -{ - if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then - echo "\"uImage\"" - else - echo "\"zImage\"" - fi -} - -main() -{ - local FILES="$(dtb_list) $(linux_image)" - local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)" - local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - - sed -e "s/%FILES%/${FILES}/" \ - board/freescale/common/mxs/genimage.cfg.template > ${GENIMAGE_CFG} - - rm -rf "${GENIMAGE_TMP}" - - genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - - rm -f ${GENIMAGE_CFG} - - exit $? -} - -main $@ diff --git a/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch b/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch deleted file mode 100644 index 335c18553ac3316042d0cbf968c2a646984292ce..0000000000000000000000000000000000000000 --- a/board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001 -From: Marco Felsch -Date: Wed, 9 Nov 2022 12:59:09 +0100 -Subject: [PATCH] feat(build): add support for new binutils versions - -Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces -of a new warning when linking the bl*.elf in the form: - - ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack - ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker - ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions - ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions - -These new warnings are enbaled by default to secure elf binaries: - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 - -Fix it in a similar way to what the Linux kernel does, see: -https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers@google.com/ - -Following the reasoning there, we set "-z noexecstack" for all linkers -(although LLVM's LLD defaults to it) and optional add ---no-warn-rwx-segments since this a ld.bfd related. - -Signed-off-by: Marco Felsch -Signed-off-by: Robert Schwebel -Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 -Signed-off-by: Heiko Thiery -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c ---- - Makefile | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 1ddb7b844..470956b19 100644 ---- a/Makefile -+++ b/Makefile -@@ -416,6 +416,8 @@ endif - - GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) - -+TF_LDFLAGS += -z noexecstack -+ - # LD = armlink - ifneq ($(findstring armlink,$(notdir $(LD))),) - TF_LDFLAGS += --diag_error=warning --lto_level=O1 -@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) - - # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other - else --TF_LDFLAGS += --fatal-warnings -O1 -+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we -+# are not loaded by a elf loader. -+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) -+TF_LDFLAGS += -O1 - TF_LDFLAGS += --gc-sections - # ld.lld doesn't recognize the errata flags, - # therefore don't add those in that case --- -2.30.2 - diff --git a/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch b/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch deleted file mode 100644 index 7a7a7bbc28514339a8ee1cd2f3c7fb34fc7975d1..0000000000000000000000000000000000000000 --- a/board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch +++ /dev/null @@ -1,51 +0,0 @@ -From b2a94de52ae4a940a87d569815b19d3fa92dd32a Mon Sep 17 00:00:00 2001 -From: Tom Hochstein -Date: Mon, 16 May 2022 13:45:16 -0500 -Subject: [PATCH] LF-7968-01 fix(Makefile): Suppress array-bounds error - -The array-bounds error is triggered now in cases where it was silent -before, causing errors like: - -``` -plat/imx/imx8m/hab.c: In function 'imx_hab_handler': -plat/imx/imx8m/hab.c:64:57: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'unsigned int[]'} [-Werror=array-bounds] - 64 | #define HAB_RVT_CHECK_TARGET_ARM64 ((unsigned long)*(uint32_t *)(HAB_RVT_BASE + 0x18)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -``` - -The error is a false-positive and is entered as a bug [1]. The problem -is fixed partially in GCC 12 and fully in GCC 13 [2]. - -The partial fix does not work here because the constant addresses used -are less than the 4kB boundary chosen for the partial fix, so suppress -the error until GCC is upgraded to 13. - -[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 -[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c39 - -Upstream-Status: Inappropriate [other] -Signed-off-by: Tom Hochstein -Signed-off-by: Jacky Bai -Reviewed-by: Ye Li -Signed-off-by: Brandon Maier -Upstream: https://github.com/nxp-imx/imx-atf/commit/058bf0f104115037d03e277f079825ef3659c5b9 ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index c87c3ae08..2d6b90f47 100644 ---- a/Makefile -+++ b/Makefile -@@ -346,7 +346,7 @@ WARNINGS += -Wshift-overflow -Wshift-sign-overflow \ - endif - - ifneq (${E},0) --ERRORS := -Werror -+ERRORS := -Werror -Wno-error=array-bounds - endif - - CPPFLAGS = ${DEFINES} ${INCLUDES} ${MBEDTLS_INC} -nostdinc \ --- -2.41.0 - diff --git a/board/freescale/imx23evk/readme.txt b/board/freescale/imx23evk/readme.txt deleted file mode 100644 index 6574577dcc0c3546d375a8cda8279fe409991bce..0000000000000000000000000000000000000000 --- a/board/freescale/imx23evk/readme.txt +++ /dev/null @@ -1,48 +0,0 @@ -************************** -Freescale i.MX23 EVK board -************************** - -This file documents the Buildroot support for the Freescale i.MX23 EVK board. - -Build -===== - -First, configure Buildroot for your i.MX23 EVK board: - - make imx23evk_defconfig - -Build all components: - - make - -You will find in output/images/ directory the following files: - - imx23-evk.dtb - - rootfs.tar - - u-boot.sd - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Then, run the following command: - -*** WARNING! The command will destroy all the card content. Use with care! *** - - sudo dd if=output/images/sdcard.img of=/dev/ - -Boot the i.MX23 EVK board -========================= - -- Put the Boot Mode Select jumper as 1 0 0 1 so that it can boot - from the SD card -- Insert the SD card in the SD Card slot of the board; -- Connect an RS232 UART cable to the Debug UART Port and connect using a - terminal emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx25pdk/readme.txt b/board/freescale/imx25pdk/readme.txt deleted file mode 100644 index 1aece6c9b3c1cb46d2ea75aa23d997507f764ad5..0000000000000000000000000000000000000000 --- a/board/freescale/imx25pdk/readme.txt +++ /dev/null @@ -1,54 +0,0 @@ -************************** -Freescale i.MX25 PDK board -************************** - -This file documents the Buildroot support for the Freescale i.MX25 PDK board. - -Build -===== - -First, configure Buildroot for the i.MX25 PDK board: - - make mx25pdk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx25-pdk.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX25 PDK board -========================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- put a USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx28evk/readme.txt b/board/freescale/imx28evk/readme.txt deleted file mode 100644 index 3b77634fe114efe472057a584f2e2ed7c26dfd23..0000000000000000000000000000000000000000 --- a/board/freescale/imx28evk/readme.txt +++ /dev/null @@ -1,57 +0,0 @@ -************************** -Freescale i.MX28 EVK board -************************** - -This file documents the Buildroot support for the Freescale i.MX28 EVK board. - -Read the i.MX28 Evaluation Kit Quick Start Guide [1] for an introduction to the -board. - -Build -===== - -First, configure Buildroot for your i.MX28 EVK board: - - make freescale_imx28evk_defconfig - -Build all components: - - make - -You will find in ./output/images/ the following files: - - imx28-evk.dtb - - rootfs.tar - - u-boot.sd - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Then, run the following command as root: - -*** WARNING! The command will destroy all the card content. Use with care! *** - - sudo dd if=output/images/sdcard.img of=/dev/ - -Boot the i.MX28 EVK board -========================= - -To boot your newly created system (refer to the i.MX28 EVK Quick Start Guide -[1] for guidance): -- insert the SD card in the SD Card Socket 0 of the board; -- verify that your i.MX28 EVK board jumpers and switches are set as mentioned - in the i.MX28 EVK Quick Start Guide [1]; -- connect an RS232 UART cable to the Debug UART Port and connect using a - terminal emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/docs/en/user-guide/EVK_imx28_QuickStart.pdf diff --git a/board/freescale/imx51evk/readme.txt b/board/freescale/imx51evk/readme.txt deleted file mode 100644 index d67a3fd7247e46c8d94864af69e08939b327d486..0000000000000000000000000000000000000000 --- a/board/freescale/imx51evk/readme.txt +++ /dev/null @@ -1,54 +0,0 @@ -************************** -Freescale i.MX51 EVK board -************************** - -This file documents the Buildroot support for the Freescale i.MX51 EVK board. - -Build -===== - -First, configure Buildroot for the i.MX51 EVK board: - - make mx51evk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx51-babbage.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX51 EVK board -========================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx6-sabresd/linux_qt5.fragment b/board/freescale/imx6-sabresd/linux_qt5.fragment deleted file mode 100644 index ffa5f63eab0bb93320a1dec1c71fa4872be85e5e..0000000000000000000000000000000000000000 --- a/board/freescale/imx6-sabresd/linux_qt5.fragment +++ /dev/null @@ -1,4 +0,0 @@ -# Currently mx6sabresd exhibits touchscreen issues when running cpufreq as -# ondemand governor with a mainline kernel. -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y diff --git a/board/freescale/imx6-sabresd/readme.txt b/board/freescale/imx6-sabresd/readme.txt deleted file mode 100644 index 292dab72c43c78eafceebcc641b3a7bef60e7359..0000000000000000000000000000000000000000 --- a/board/freescale/imx6-sabresd/readme.txt +++ /dev/null @@ -1,111 +0,0 @@ -******************************* -Freescale i.MX6 Sabre SD boards -******************************* - -This file documents the Buildroot support for the Freescale i.MX6 Sabre SD -boards based on i.MX6Q, i.MX6DL and iMX6QP. - -Thanks to the SPL support in U-Boot it is possible to run a single -sdcard.img in all i.MX6 Sabre SD board variants. - -This configuration uses U-Boot mainline and kernel mainline. - -Build -===== - -First, configure Buildroot for the i.MX6 Sabre SD board: - - make imx6-sabresd_defconfig - -Build all components: - - make - -You will find the following files in output/images/ : - - imx6q-sabresd.dtb - - imx6dl-sabresd.dtb - - imx6qp-sabresd.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX6 Sabre SD board -============================= - -To boot your newly created system: -- insert the SD card in the SD3 slot of the board (close to the HDMI connector); -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Testing graphics on the i.MX6 Sabre SD board -============================================ - -The imx6-sabresd_qt5_defconfig allows to quickly test the graphics -capabilities of i.MX6 using the opensource Etnaviv graphics stack -and kernel mainline. - -In order to build it: - -make imx6-sabresd_qt5_defconfig -make - -Then flash the SD card as explained above. - -Running kmscube application: - -# kmscube - -Running Qt5 Cinematic Demo: - -# export QT_QPA_EGLFS_KMS_CONFIG=/root/sabresd.json -# export QT_QPA_EGLFS_ALWAYS_SET_MODE=1 -# /usr/share/Qt5/CinematicExperience/Qt5_CinematicExperience - -Running gl2mark benchmark: - -# glmark2-es2-drm - -Testing video playback on the i.MX6 Sabre SD board -================================================== - -As the mx6sabresd has two display outputs (LVDS and HDMI), it is necessary to -know what is the connector that corresponds to the HDMI output. - -This information can be found by running: - -# modetest - -And search for the HDMI connector number. In our case it shows up as 37. - -In the mx6sabresd prompt run the following Gstreamer pipeline: - -# gst-launch-1.0 filesrc location=/root/trailer_1080p_h264_mp3.avi ! avidemux ! \ -h264parse ! v4l2video1dec capture-io-mode=dmabuf ! kmssink connector-id=37 \ -name=imx-drm sync=0 - -(The video used on this example was retrieved from: -http://linode.boundarydevices.com/videos/trailer_1080p_h264_mp3.avi) - -Enjoy! diff --git a/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json b/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json deleted file mode 100644 index fe92ce5b290480eff99d2150fb1811cd084c0118..0000000000000000000000000000000000000000 --- a/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "device": "/dev/dri/card0", - "hwcursor": false, - "pbuffers": true, - "outputs": [ - { - "name": "HDMI1", - "mode": "off" - }, - { - "name": "LVDS1", - "mode": "1024x768" - } - ] -} diff --git a/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch b/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch deleted file mode 100644 index a9f88c264529c2c88ad3361b9c5225f50d40220e..0000000000000000000000000000000000000000 --- a/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch +++ /dev/null @@ -1,37 +0,0 @@ -From e9a88fddc149fc52cdc5a8997f9fd3a29416c643 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= -Date: Tue, 12 Aug 2014 10:17:31 +0200 -Subject: [PATCH] mx6qsabre_common: boot Linux to /init in mfgtools mode -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Buildroot supplies a nice /init wrapper script to use when booting from a -ramdisk. - -This patch tells u-boot to tell the kernel to boot into /init (instead of -/linuxrc) on i.MX6, when booting in mfgtools mode. This way we can boot a -buildroot system entirely through USB. - -Signed-off-by: Vincent Stehlé -Signed-off-by: Julien Olivain ---- - include/configs/imx_env.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/configs/imx_env.h b/include/configs/imx_env.h -index c03748d93f..aa1a8bf488 100644 ---- a/include/configs/imx_env.h -+++ b/include/configs/imx_env.h -@@ -29,7 +29,7 @@ - - #define CONFIG_MFG_ENV_SETTINGS_DEFAULT \ - "mfgtool_args=setenv bootargs console=${console},${baudrate} " \ -- "rdinit=/linuxrc " \ -+ "rdinit=/init " \ - "clk_ignore_unused "\ - "\0" \ - "kboot="MFG_BOOT_CMD"\0"\ --- -2.26.2 - diff --git a/board/freescale/imx6sabre/readme.txt b/board/freescale/imx6sabre/readme.txt deleted file mode 100644 index 320ee463e205ff95b4af8ec3999b83118c4a09fa..0000000000000000000000000000000000000000 --- a/board/freescale/imx6sabre/readme.txt +++ /dev/null @@ -1,171 +0,0 @@ -******************************************************** -Freescale i.MX6 Q, DL and SoloX SABRE development boards -******************************************************** - -This file documents the Buildroot support for the Freescale SABRE Board -for Smart Devices Based on the i.MX 6 and i.MX 6SoloX Series (SABRESD), -as well as the Freescale SABRE Board for Automotive Infotainment. - -Read the i.MX 6 SABRESD Quick Start Guide for an introduction to the -board: -https://www.nxp.com/files-static/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.pdf - -Read the i.MX 6 SoloX SABRESD Quick Start Guide for an introduction to -the board: -https://www.nxp.com/files-static/32bit/doc/quick_start_guide/IMX6SOLOXQSG.pdf - -Read the SABRE for Automotive Infotainment Quick Start Guide for an -introduction to the board: -https://www.nxp.com/webapp/Download?colCode=IMX6SABREINFOQSG - -Building with NXP kernel and NXP U-Boot -======================================= - -First, configure Buildroot for your SABRE board. -For i.MX6Q SABRE SD board: - - make freescale_imx6qsabresd_defconfig - -For i.MX6DL SABRE SD board: - - make freescale_imx6dlsabresd_defconfig - -For i.MX6 SoloX SABRE SD board: - - make freescale_imx6sxsabresd_defconfig - -For i.MX6Q SABRE Auto board: - - make freescale_imx6qsabreauto_defconfig - -For i.MX6DL SABRE Auto board: - - make freescale_imx6dlsabreauto_defconfig - -Build all components: - - make - -You will find in ./output/images/ the following files: - - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6sx-sdb.dtb or - imx6q-sabreauto.dtb or imx6dl-sabreauto.dtb - - rootfs.ext2 - - rootfs.tar - - u-boot.imx - - uImage, or zImage for i.MX6 SoloX - -Building with mainline kernel and mainline U-Boot -================================================= - -Mainline U-Boot uses SPL and can support the three -variants of mx6sabreauto boards: mx6q, mx6dl and mx6qp. - -First, configure Buildroot for your mx6sabreauto board - - make imx6-sabreauto_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx6dl-sabresd.dtb, imx6q-sabresd.dtb, imx6q-sabresd.dtb - - rootfs.ext2 - - SPL and u-boot.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a microSD card. Launch the following -command as root: - - dd if=./output/images/sdcard.img of=/dev/ - -*** WARNING! The script will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the SABRE board -==================== - -i.MX6 SABRE SD --------------- - -To boot your newly created system on an i.MX6 SABRE SD Board (refer to -the i.MX6 SABRE SD Quick Start Guide for guidance): -- insert the SD card in the SD3 slot of the board; -- locate the BOOT dip switches (SW6), set dips 2 and 7 to ON, all others to OFF; -- connect a Micro USB cable to Debug Port and connect using a terminal emulator - at 115200 bps, 8n1; -- power on the board. - -i.MX6 SoloX SABRE SD --------------------- - -To boot your newly created system on an i.MX6 SoloX SABRE SD Board -(refer to the i.MX6 SoloX SABRE SD Quick Start Guide for guidance): -- insert the SD card in the J4-SD4 socket at the bottom of the board; -- Set the SW10, SW11 and SW12 DIP switches at the top of the board in - their default position, to boot from SD card. Reference configuration: - - SW10 - 1 2 3 4 5 6 7 8 - off off off off off off off off - - SW11 - 1 2 3 4 5 6 7 8 - off off ON ON ON off off off - - SW12 - 1 2 3 4 5 6 7 8 - off ON off off off off off off - -- connect a Micro USB cable to the J16 Debug Port at the bottom of the - board. This is a dual UART debug port; connect to the first tty using - a terminal emulator at 115200 bps, 8n1; -- power on the board with the SW1-PWR switch at the top of the board. - -SABRE Auto ----------- - -To boot your newly created system on a SABRE Auto Board (refer to the SABRE for -Automotive Infotainment Quick Start Guide for guidance): -- insert the SD card in the CPU card SD card socket J14; -- Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card. - Reference configuration: - - S1 - 1 2 3 4 5 6 7 8 9 10 - off ON off off ON off off off off off - - S2 - 1 2 3 4 - off off ON off - - S3 - 1 2 3 4 - off off ON ON - - J3: 1-2 - -- connect an RS-232 UART cable to CPU card debug port J18 UART DB9 and - connect using a terminal emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== - -https://community.nxp.com/docs/DOC-95015 -https://community.nxp.com/docs/DOC-95017 -https://community.nxp.com/docs/DOC-99218 diff --git a/board/freescale/imx6slevk/readme.txt b/board/freescale/imx6slevk/readme.txt deleted file mode 100644 index 424380e31fe7d36a49da10231590dfc819777f46..0000000000000000000000000000000000000000 --- a/board/freescale/imx6slevk/readme.txt +++ /dev/null @@ -1,14 +0,0 @@ -NXP i.MX6SL EVK board ---------------------- - -To build a minimal support for this board: - -$ make imx6slevk_defconfig -$ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be flashed into the SD card: - -$ sudo dd if=output/images/sdcard.img of=/dev/; sync - -Then insert the SD card into the SD2 slot and boot the board. diff --git a/board/freescale/imx6sxsdb/readme.txt b/board/freescale/imx6sxsdb/readme.txt deleted file mode 100644 index 2779075f0b6d6bf0e82573cbb7367cf7f163cea9..0000000000000000000000000000000000000000 --- a/board/freescale/imx6sxsdb/readme.txt +++ /dev/null @@ -1,14 +0,0 @@ -NXP i.MX6SX SDB board ---------------------- - -To build a minimal support for this board: - -$ make imx6sx-sdb_defconfig -$ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be flashed into the SD card: - -$ sudo dd if=output/images/sdcard.img of=/dev/; sync - -Then insert the SD card into the SD4 boot slot and boot the board. diff --git a/board/freescale/imx6ulevk/readme.txt b/board/freescale/imx6ulevk/readme.txt deleted file mode 100644 index 5a5b4ae5a37077d84d58e10fb7280a8bfbaaab77..0000000000000000000000000000000000000000 --- a/board/freescale/imx6ulevk/readme.txt +++ /dev/null @@ -1,74 +0,0 @@ -*************************** -Freescale i.MX6UL EVK board -*************************** - -This file documents the Buildroot support for the Freescale i.MX6UL EVK board. - -Please read the i.MX6UL Evaluation Kit Quick Start Guide [1] for an -introduction to the board. - -Build -===== - -First, configure Buildroot for your i.MX6UL EVK board: - -In order to do so there are two supported options: - - make freescale_imx6ulevk_defconfig - -if you plan to use NXP provided U-Boot and kernel. - -or - - make imx6ulevk_defconfig - -if you plan to use mainline U-Boot and mainline kernel. - -Build all components: - - make - -You will find in ./output/images/ the following files: - - imx6ul-14x14-evk.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable microSD card -============================== - -To determine the device associated to the microSD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a microSD card. Launch the following -command as root: - - dd if=./output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX6UL EVK board -========================= - -To boot your newly created system (refer to the i.MX6UL EVK Quick Start Guide -[1] for guidance): -- insert the microSD card in the microSD slot of the board; -- verify that your i.MX6UL EVK board jumpers and switches are set as mentioned - in the i.MX6UL EVK Quick Start Guide [1]; -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/webapp/Download?colCode=IMX6ULTRALITEQSG diff --git a/board/freescale/imx6ullevk/linux_sdma.fragment b/board/freescale/imx6ullevk/linux_sdma.fragment deleted file mode 100644 index 6f1c8b4313c8b3caebac17c7f05fbc2e4d1e72ef..0000000000000000000000000000000000000000 --- a/board/freescale/imx6ullevk/linux_sdma.fragment +++ /dev/null @@ -1 +0,0 @@ -CONFIG_IMX_SDMA=m diff --git a/board/freescale/imx6ullevk/readme.txt b/board/freescale/imx6ullevk/readme.txt deleted file mode 100644 index dc7c5f3678f8f589248d01d299a44ff84f3fe90e..0000000000000000000000000000000000000000 --- a/board/freescale/imx6ullevk/readme.txt +++ /dev/null @@ -1,71 +0,0 @@ -**************************** -Freescale i.MX6ULL EVK board -**************************** - -This file documents the Buildroot support for the Freescale i.MX6ULL EVK board. - -Build -===== - -First, configure Buildroot for your i.MX6ULL EVK board: - -In order to do so there are two supported options: - - make freescale_imx6ullevk_defconfig - -if you plan to use NXP provided U-Boot and kernel. - -or - - make imx6ullevk_defconfig - -if you plan to use mainline U-Boot and mainline kernel. - -Build all components: - - make - -You will find in output/images/ the following files: - - boot.vfat - - imx6ull-14x14-evk.dtb - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.bin - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=./output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX6ULL EVK board -=========================== - -To boot your newly created system (refer to the i.MX 6ULL EVK Quick Start Guide [1] for guidance): -- insert the SD card in the micro SD slot of the board; -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/files-static/32bit/doc/brochure/IMX6ULLQSG.pdf diff --git a/board/freescale/imx7dsdb/readme.txt b/board/freescale/imx7dsdb/readme.txt deleted file mode 100644 index c6030f696526d40b11ae603e5728386a028bba8a..0000000000000000000000000000000000000000 --- a/board/freescale/imx7dsdb/readme.txt +++ /dev/null @@ -1,54 +0,0 @@ -*************************** -Freescale i.MX7D SDB board -*************************** - -This file documents the Buildroot support for the Freescale i.MX7D SDB board. - -Build -===== - -First, configure Buildroot for your i.MX7D SDB board: - - make freescale_imx7dsabresd_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx7d-sdb.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=./output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX7D SDB board -========================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index d538b5d6432f2016bb1fb908dbaa4d8e35bc24f9..0000000000000000000000000000000000000000 --- a/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -Label imx7d-sabresd-buildroot - kernel /boot/zImage - devicetree /boot/imx7d-sdb.dtb - append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/board/freescale/imx8dxlevk/readme.txt b/board/freescale/imx8dxlevk/readme.txt deleted file mode 100644 index 33ceb66931844b8c9e3bfc2d6f8d0fdb60015557..0000000000000000000000000000000000000000 --- a/board/freescale/imx8dxlevk/readme.txt +++ /dev/null @@ -1,69 +0,0 @@ -****************************** -Freescale i.MX8DXL WEVK board -****************************** - -This file documents the Buildroot support for the Freescale i.MX8DXL WEVK -board. - -Build -===== - -First, configure Buildroot for the i.MX8DXL WEVK board: - - make freescale_imx8dxlevk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - ahab-container.img - - bl31.bin - - boot.vfat - - Image - - imx8-boot-sd.bin - - imx8dxl-evk.dtb - - mkimg.commit - - mx8dxl-ddr3-evk-scfw-tcm.bin - - mx8dxl-evk-scfw-tcm.bin - - mx8dxl-phantom-mek-scfw-tcm.bin - - mx8dxl-val-scfw-tcm.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-atf.bin - - u-boot.bin - - u-boot-hash.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8DXL WEVK board -============================ - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the boot switch as follows: -SW1: ON ON OFF OFF -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx8mmevk/readme.txt b/board/freescale/imx8mmevk/readme.txt deleted file mode 100644 index 7b69405d30307aadaffff335e02780c9b5b3716a..0000000000000000000000000000000000000000 --- a/board/freescale/imx8mmevk/readme.txt +++ /dev/null @@ -1,71 +0,0 @@ -*************************** -Freescale i.MX8MM EVK board -*************************** - -This file documents the Buildroot support for the Freescale i.MX8MM -EVK board. - -Build -===== - -First, configure Buildroot for the i.MX8MM EVK board: - - make freescale_imx8mmevk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - fsl-imx8mm-evk.dtb - - Image - - imx8-boot-sd.bin - - lpddr4_pmu_train_fw.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.bin - - u-boot.imx - - u-boot-nodtb.bin - - u-boot-spl-ddr.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8MM EVK board -========================== - -To boot your newly created system (refer to the i.MX8MMini EVK Quick Start Guide -[1] for guidance): -- insert the SD card in the SD slot of the board; -- Configure the switches as follows: -SW1101: 0110110010 [D1-D10] -SW1102: 0001101000 [D1-D10] -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/document/guide/Get-Started-with-the-i.MX-8M-Mini-EVK:GS-iMX-8M-Mini-EVK diff --git a/board/freescale/imx8mnevk/readme.txt b/board/freescale/imx8mnevk/readme.txt deleted file mode 100644 index d7700568fa5734bb93579ac88c2e545485b16b51..0000000000000000000000000000000000000000 --- a/board/freescale/imx8mnevk/readme.txt +++ /dev/null @@ -1,73 +0,0 @@ -*************************** -Freescale i.MX8MN EVK board -*************************** - -This file documents the Buildroot support for the i.MX8M Nano EVK board. - -Build -===== - -First, configure Buildroot for the i.MX8MN EVK board: - - make freescale_imx8mnevk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - ddr4_201810_fw.bin - - ddr_fw.bin - - fsl-imx8mn-ddr4-evk.dtb - - Image - - imx8-boot-sd.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.bin - - u-boot.imx - - u-boot.itb - - u-boot-nodtb.bin - - u-boot-spl.bin - - u-boot-spl-ddr.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8MN EVK board -========================== - -To boot your newly created system (refer to the i.MX8MNano EVK Quick Start Guide -[1] for guidance): -- insert the SD card in the SD slot of the board; -- Configure the switches as follows (X = "don't care"): -SW1101: 1100XXXXXX [D1-D10] -SW1102: XXXXXXXXXX [D1-D10] -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-nano-applications-processor:8MNANOD4-EVK diff --git a/board/freescale/imx8mpevk/readme.txt b/board/freescale/imx8mpevk/readme.txt deleted file mode 100644 index dfc95af3eabee0e609eb261f414bea4f2581496e..0000000000000000000000000000000000000000 --- a/board/freescale/imx8mpevk/readme.txt +++ /dev/null @@ -1,71 +0,0 @@ -********************* -NXP i.MX8MP EVK board -********************* - -This file documents the Buildroot support for the i.MX 8M Plus EVK board. - -Build -===== - -First, configure Buildroot for the i.MX 8M Plus EVK board: - - make freescale_imx8mpevk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - ddr_fw.bin - - Image - - imx8-boot-sd.bin - - imx8mp-evk.dtb - - lpddr4_pmu_train_fw.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.bin - - u-boot.itb - - u-boot-nodtb.bin - - u-boot-spl.bin - - u-boot-spl-ddr.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX 8M Plus EVK board -=============================== - -To boot your newly created system (refer to the i.MX 8M Plus EVK Documentation -[1] for guidance): -- insert the SD card in the SD slot of the board; -- Configure the switches as follows (X = "don't care"): -SW4: 0011 SW4[1-4] -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! - -References -========== -[1] https://www.nxp.com/document/guide/get-started-with-the-i-mx-8m-plus-evk:GS-iMX-8M-Plus-EVK diff --git a/board/freescale/imx8mpevk/uboot-fragment.config b/board/freescale/imx8mpevk/uboot-fragment.config deleted file mode 100644 index b4683be9ef7f3ccf86c42bb3c1848467529eba55..0000000000000000000000000000000000000000 --- a/board/freescale/imx8mpevk/uboot-fragment.config +++ /dev/null @@ -1,3 +0,0 @@ -# Use the upstream devicetree name for EVK board -# Revert https://github.com/nxp-imx/uboot-imx/commit/a60e787a6e35b9c14c391e03d41468e4ad63d598 -CONFIG_DEFAULT_FDT_FILE="imx8mp-evk.dtb" diff --git a/board/freescale/imx8mqevk/readme.txt b/board/freescale/imx8mqevk/readme.txt deleted file mode 100644 index 61fb2bc80bee15e2297395e95d63c90bcb6123eb..0000000000000000000000000000000000000000 --- a/board/freescale/imx8mqevk/readme.txt +++ /dev/null @@ -1,86 +0,0 @@ -*************************** -Freescale i.MX8MQ EVK board -*************************** - -This file documents the Buildroot support for the Freescale i.MX8MQ -EVK board. - -Build -===== - -First, configure Buildroot for the i.MX8MQ EVK board: - -If you want to use the NXP kernel: - - make freescale_imx8mqevk_defconfig - -Or if you want to use a mainline kernel: - - make imx8mqevk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - fsl-imx8mq-evk.dtb - - Image - - imx8-boot-sd.bin - - lpddr4_pmu_train_fw.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - signed_hdmi_imx8m.bin - - u-boot.bin - - u-boot.imx - - u-boot-nodtb.bin - - u-boot-spl-ddr.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8MQ EVK board -========================== - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the switches as follows: -SW801: ON ON OFF OFF -SW802: ON OFF -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enable HDMI output -================== - -To enable HDMI output at boot you must provide the video kernel boot -argument. To set the video boot argument from U-Boot run after -stopping in U-Boot prompt: - -setenv mmcargs 'setenv bootargs console=${console} root=${mmcroot} video=HDMI-A-1:1920x1080-32@60' -saveenv -reset - -Change screen resolution to suit your connected display. - -Enjoy! diff --git a/board/freescale/imx8qmmek/readme.txt b/board/freescale/imx8qmmek/readme.txt deleted file mode 100644 index b6bb3c4765f57aeb8fac9635b62a20e1c753492b..0000000000000000000000000000000000000000 --- a/board/freescale/imx8qmmek/readme.txt +++ /dev/null @@ -1,76 +0,0 @@ -*************************** -Freescale i.MX8QM MEK board -*************************** - -This file documents the Buildroot support for the NXP i.MX8QM MEK board. - -You will find a reference to the board on nxp.com: -https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8quadmax-multisensory-enablement-kit-mek:MCIMX8QM-CPU - -You can also find the get started guide here: -https://www.nxp.com/document/guide/get-started-with-the-i.mx-8quadmax-mek:GS-iMX-8QM-MEK - -Build -===== - -First, configure Buildroot for the i.MX8QM MEK board: - -$ make freescale_imx8qmmek_defconfig - -Build all components: - -$ make - -You will find in output/images/ the following files: - - ahab-container.img - - bl31.bin - - boot.vfat - - fsl-imx8qm-mek.dtb - - Image - - imx8-boot-sd.bin - - mkimg.commit - - mx8qm-mek-scfw-tcm.bin - - mx8qm-val-scfw-tcm.bin - - mx8qm-a0-ddr4-scfw-tcm.bin - - mx8qm-a0-mek-scfw-tcm.bin - - mx8qm-a0-val-scfw-tcm.bin - - mx8qm-ddr4-scfw-tcm.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-atf.bin - - u-boot.bin - - u-boot-hash.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8QM MEK board -========================== - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the boot switch as follows: -SW2: OFF OFF ON ON OFF OFF -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx8qxpmek/readme.txt b/board/freescale/imx8qxpmek/readme.txt deleted file mode 100644 index 45f7915fe4c71cd8a4f2a1dd37460eeffebee77d..0000000000000000000000000000000000000000 --- a/board/freescale/imx8qxpmek/readme.txt +++ /dev/null @@ -1,67 +0,0 @@ -*************************** -Freescale i.MX8QXP MEK board -*************************** - -This file documents the Buildroot support for the Freescale i.MX8QXP -MEK board. - -Build -===== - -First, configure Buildroot for the i.MX8QXP MEK board: - - make freescale_imx8qxpmek_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - ahab-container.img - - bl31.bin - - boot.vfat - - fsl-imx8qxp-mek.dtb - - Image - - imx8-boot-sd.bin - - mkimg.commit - - mx8qx-mek-scfw-tcm.bin - - mx8qx-val-scfw-tcm.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-atf.bin - - u-boot.bin - - u-boot-hash.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx8. - -Boot the i.MX8QXP MEK board -========================== - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the boot switch as follows: -SW2: ON ON OFF OFF -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Enjoy! diff --git a/board/freescale/imx93evk/patches/arm-trusted-firmware/arm-trusted-firmware.hash b/board/freescale/imx93evk/patches/arm-trusted-firmware/arm-trusted-firmware.hash deleted file mode 100644 index 98f425a89e4e64aa3d69c4ab43332dfb52d92e66..0000000000000000000000000000000000000000 --- a/board/freescale/imx93evk/patches/arm-trusted-firmware/arm-trusted-firmware.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 cfb927722272897f850681c78d5f129b0883a8efaba9c52d30e029086524f7ff imx-atf-lf-6.1.55-2.2.0.tar.gz diff --git a/board/freescale/imx93evk/patches/linux-headers/linux-headers.hash b/board/freescale/imx93evk/patches/linux-headers/linux-headers.hash deleted file mode 120000 index 5808d92afe89015ae416e941adf041644162d996..0000000000000000000000000000000000000000 --- a/board/freescale/imx93evk/patches/linux-headers/linux-headers.hash +++ /dev/null @@ -1 +0,0 @@ -../linux/linux.hash \ No newline at end of file diff --git a/board/freescale/imx93evk/patches/linux/linux.hash b/board/freescale/imx93evk/patches/linux/linux.hash deleted file mode 100644 index 715a590825e1255eab3e9b4cff38242f799e6e3b..0000000000000000000000000000000000000000 --- a/board/freescale/imx93evk/patches/linux/linux.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 eb94414f952444289c0af8ad82afa0dc2d07e08f9000ccd2cc39f11da5b494ea linux-imx-lf-6.1.55-2.2.0.tar.gz diff --git a/board/freescale/imx93evk/patches/uboot/uboot.hash b/board/freescale/imx93evk/patches/uboot/uboot.hash deleted file mode 100644 index 9bc17c3f6f924ec683a821b865cb7f34a3e30444..0000000000000000000000000000000000000000 --- a/board/freescale/imx93evk/patches/uboot/uboot.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 64441ee5bf3d5011e7853c028d06211b6f0439d21e147a8f36972c95a07ae9ac uboot-imx-lf-6.1.55-2.2.0.tar.gz diff --git a/board/freescale/imx93evk/readme.txt b/board/freescale/imx93evk/readme.txt deleted file mode 100644 index 1173de39dbb1a140f131948585f445508838ec87..0000000000000000000000000000000000000000 --- a/board/freescale/imx93evk/readme.txt +++ /dev/null @@ -1,77 +0,0 @@ -********************* -NXP i.MX93 EVK board -********************* - -This file documents the Buildroot support for the i.MX 93 EVK board. - -Build -===== - -First, configure Buildroot for the i.MX 93 EVK board: - - make freescale_imx93evk_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - ahab-container.img - - bl31.bin - - boot.vfat - - ddr_fw.bin - - Image - - imx93-11x11-evk.dtb - - imx9-boot-sd.bin - - lpddr4_pmu_train_fw.bin - - rootfs.ext2 - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-atf-container.img - - u-boot.bin - - u-boot-hash.bin - - u-boot-spl.bin - - u-boot-spl-ddr.bin - - u-boot-spl-padded.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_imx9. - -Boot the i.MX 93 EVK board -=============================== - -To boot your newly created system (refer to the i.MX 93 EVK Documentation -[1] for guidance): -- insert the SD card in the SD slot of the board; -- Configure the switches as follows: -SW1301: 0100 SW1301[1-4] -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Note: the debug USB connector presents 4 UARTs (for example /dev/ttyUSB[0-3]), -the Cortex-A55 UART should be the 3rd one (in the previous example, /dev/ttyUSB2). -Refer to the documentation [1] for more details. - -Enjoy! - -References -========== -[1] https://www.nxp.com/document/guide/getting-started-with-the-i-mx93-evk:GS-IMX93EVK diff --git a/board/freescale/imxrt1050evk/genimage.cfg b/board/freescale/imxrt1050evk/genimage.cfg deleted file mode 100644 index 64fc8452f84a2aab3d908946589b815154279e1b..0000000000000000000000000000000000000000 --- a/board/freescale/imxrt1050evk/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "imxrt1050-evk.dtb", - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - size = 127K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.img" - offset = 128K - size = 512K - } - - partition boot { - partition-type = 0xc - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/freescale/imxrt1050evk/readme.txt b/board/freescale/imxrt1050evk/readme.txt deleted file mode 100644 index 1fc4edd88b6f3c9756b8a7f93bccffed8f1729a9..0000000000000000000000000000000000000000 --- a/board/freescale/imxrt1050evk/readme.txt +++ /dev/null @@ -1,30 +0,0 @@ -NXP i.MXRT1050 EVK board ------------------------- - -i.MX RT1050 are NXP's crossover MCUs. They combine the high performance and high -level of integration of an applications processors with the ease-of-use and -real-time functionality of a microcontroller. The i.MX RT1050 MCU runs on the Arm -Cortex-M7 core at 600 MHz. -https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt1050-evaluation-kit:MIMXRT1050-EVK - -To build a minimal support for this board: - -$ make imxrt1050-evk_defconfig -$ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be flashed into the SD card: - -$ dd if=output/images/sdcard.img of=/dev/sdX -Where 'sdX' is the device node of the uSD. - -Jumper settings: - - SW7: 1 0 1 0 - -Where 0 means bottom position and 1 means top position (from the -switch label numbers reference). - -Connect the USB cable between the EVK and the PC for the console. - -Insert the micro SD card in the board, power it up and U-Boot messages should come up. diff --git a/board/freescale/imxrt1050evk/uboot.fragment b/board/freescale/imxrt1050evk/uboot.fragment deleted file mode 100644 index dd45ca4c29d9d62bc314812eb70eef2b7b0674ed..0000000000000000000000000000000000000000 --- a/board/freescale/imxrt1050evk/uboot.fragment +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="setenv bootargs console=ttyLP0 root=/dev/mmcblk0p2 rw earlycon rootwait;load mmc 0:1 0x80800000 imxrt1050-evk.dtb;load mmc 0:1 0x80000000 zImage;bootz 0x80000000 - 0x80800000" diff --git a/board/freescale/ls1028ardb/genimage.cfg b/board/freescale/ls1028ardb/genimage.cfg deleted file mode 100644 index 3efef0bffcc447c255666c8b0474b1f1f12e77fc..0000000000000000000000000000000000000000 --- a/board/freescale/ls1028ardb/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition fsbl { - offset = 4K - in-partition-table = "no" - image = "bl2_sd.pbl" - } - - partition ssbl { - offset = 1M - in-partition-table = "no" - image = "fip.bin" - } - - partition rootfs { - offset = 8M - partition-type = 0x83 - bootable = "true" - image = "rootfs.ext4" - } -} diff --git a/board/freescale/ls1028ardb/readme.txt b/board/freescale/ls1028ardb/readme.txt deleted file mode 100644 index cfd1c8c490601da2b75faeaee3465d9ffd737603..0000000000000000000000000000000000000000 --- a/board/freescale/ls1028ardb/readme.txt +++ /dev/null @@ -1,87 +0,0 @@ -************** -NXP LS1028ARDB -************** - -This file documents the Buildroot support for the LS1028A Reference Design Board. - -for more details about the board and the QorIQ Layerscape SoC, see the following pages: - - https://www.nxp.com/design/qoriq-developer-resources/layerscape-ls1028a-reference-design-board:LS1028ARDB - - https://www.nxp.com/LS1028A - -for the software NXP LSDK (Layerscape Software Development Kit), see - - https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf - -the components from NXP are: - - rcw, LSDK 21.08 - - atf (fork), LSDK 21.08 - - uboot (fork), LSDK 21.08 - - cadence-dp-firmware (blob), LSDK 20.12 - - linux (fork), LSDK 21.08 - -Build -===== - -First, configure Buildroot for the LS1028ARDB board: - - make ls1028ardb_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl2_sd.pbl - - fip.bin - - fsl-ls1028a-rdb.dtb - - Image - - PBL.bin - - rootfs.ext2 - - rootfs.ext4 -> rootfs.ext2 - - sdcard.img - - u-boot.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/sdX - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/ls1028ardb/genimage.cfg. - -Boot the LS1028ARDB board -========================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the switches SW2[1:4] = 1000 (select SD Card boot option) -- put a DB9F cable into the UART1 Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -The Cadence DP (Display Port) firmware must loaded from uboot with the following commands: - - => ext2load mmc 0 0x80000000 /boot/ls1028a-dp-fw.bin - 102464 bytes read in 24 ms (4.1 MiB/s) - => hdp load 0x80000000 0x2000 - Loading hdp firmware from 0x0000000080000000 offset 0x0000000000002000 - Loading hdp firmware Complete - => boot - -The interfaces of Ethernet switch (Felix DSA) are bring up with the following commands: - - ip link set eno2 up - ip link set swp0 up - ip link set swp1 up - ip link set swp2 up - ip link set swp3 up diff --git a/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index bd6c7c95c3da11c7e6c627ffcd69068f6d0af218..0000000000000000000000000000000000000000 --- a/board/freescale/ls1028ardb/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label ls1028ardb-buildroot - kernel /boot/Image - devicetree /boot/fsl-ls1028a-rdb.dtb - append root=/dev/mmcblk0p1 rootwait video=1920x1080-32@60 cma=256M diff --git a/board/freescale/ls1028ardb/rootfs_overlay/etc/udev/rules.d/73-fsl-enetc-networking.rules b/board/freescale/ls1028ardb/rootfs_overlay/etc/udev/rules.d/73-fsl-enetc-networking.rules deleted file mode 100644 index 19f41634bd3202205ef64a418298f3084dcfee13..0000000000000000000000000000000000000000 --- a/board/freescale/ls1028ardb/rootfs_overlay/etc/udev/rules.d/73-fsl-enetc-networking.rules +++ /dev/null @@ -1,16 +0,0 @@ -# ENETC rules -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", NAME:="eno0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", NAME:="eno1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.2", DRIVERS=="fsl_enetc", NAME:="eno2" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.6", DRIVERS=="fsl_enetc", NAME:="eno3" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.0", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.1", DRIVERS=="fsl_enetc_vf", NAME:="eno0vf1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.2", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.3", DRIVERS=="fsl_enetc_vf", NAME:="eno1vf1" -# LS1028 switch rules -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p0", NAME="swp0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p1", NAME="swp1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p2", NAME="swp2" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p3", NAME="swp3" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p4", NAME="swp4" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p5", NAME="swp5" diff --git a/board/freescale/ls1046a-frwy/genimage.cfg b/board/freescale/ls1046a-frwy/genimage.cfg deleted file mode 100644 index 63cca042b288921f512a6b25f85194eb8af45069..0000000000000000000000000000000000000000 --- a/board/freescale/ls1046a-frwy/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition fsbl { - offset = 4K - in-partition-table = "no" - image = "bl2_sd.pbl" - } - - partition ssbl { - offset = 1M - in-partition-table = "no" - image = "fip.bin" - } - - partition fman { - offset = 9M - in-partition-table = "no" - image = "fsl_fman_ucode_ls1046_r1.0_106_4_18.bin" - } - - partition rootfs { - offset = 16M - partition-type = 0x83 - bootable = "true" - image = "rootfs.ext4" - } -} diff --git a/board/freescale/ls1046a-frwy/readme.txt b/board/freescale/ls1046a-frwy/readme.txt deleted file mode 100644 index fbcfdb1b857814c109235b0aed6f5533cce856a6..0000000000000000000000000000000000000000 --- a/board/freescale/ls1046a-frwy/readme.txt +++ /dev/null @@ -1,90 +0,0 @@ -************** -NXP LS1046A-FRWY -************** - -This file documents the Buildroot support for the LS1046A Freeway Board. - -for more details about the board and the QorIQ Layerscape SoC, see the following pages: - - https://www.nxp.com/design/software/qoriq-developer-resources/ls1046a-freeway-board:FRWY-LS1046A - - https://www.nxp.com/FRWY-LS1046A - - https://www.nxp.com/docs/en/quick-reference-guide/FRWY-LS1046AGSG.pdf - -for the software NXP LSDK (Layerscape Software Development Kit), see - - https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf - -the components from NXP are: - - rcw, LSDK 21.08 - - atf (fork), LSDK 21.08 - - uboot (fork), LSDK 21.08 - - qoriq-fm-ucode (blob), LSDK 21.08 - - linux (fork), LSDK 21.08 - -Build -===== - -First, configure Buildroot for the LS1046A-FRWY board: - - make ls1046a-frwy_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl2_sd.pbl - - fip.bin - - fsl_fman_ucode_ls1046_r1.0_106_4_18.bin - - fsl_fman_ucode_ls1046_r1.0_108_4_9.bin - - fsl-ls1046a-frwy.dtb - - fsl-ls1046a-frwy-sdk.dtb - - Image - - PBL.bin - - rootfs.ext2 - - rootfs.ext4 - - sdcard.img - - u-boot.bin - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a SD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/sdX - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/ls1046a-frwy/genimage.cfg. - -Boot the LS1046A-FRWY board -========================= - -To boot your newly created system: -- insert the SD card in the SD slot of the board; -- Configure the switches SW1[1:9] = 0_0100_0000 (select SD Card boot option) -- put a Micro-USB cable into UART1 Port and connect using a terminal emulator - at 115200 bps, 8n1. Or remove the jumper on J72, connect a USB to TTL cable - to J73, and connect using a terminal emualtor at 115200 bps, 8n1. -- power on the board. - -The front panel Ethernet connectors are off at boot, to bring them up run the -following commands. - -1G PORT1 - ip link set eth1 up - -1G PORT2 - ip link set eth2 up - -1G PORT3 - ip link set eth0 up - -1G PORT4 - ip link set eth3 up diff --git a/board/freescale/ls1046a-frwy/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/ls1046a-frwy/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 536d62b6c589d89d5d51441bdbbf841ed0e45008..0000000000000000000000000000000000000000 --- a/board/freescale/ls1046a-frwy/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label ls1046afrwy-buildroot - kernel /boot/Image - devicetree /boot/fsl-ls1046a-frwy-sdk.dtb - append console=ttyS0,115200 root=/dev/mmcblk0p1 earlycon=uart8250,mmio,0x21c0500 rootwait diff --git a/board/freescale/p1025twr/readme.txt b/board/freescale/p1025twr/readme.txt deleted file mode 100644 index 9179aeac64a6e5900feb7c6a1caffcfb152761c5..0000000000000000000000000000000000000000 --- a/board/freescale/p1025twr/readme.txt +++ /dev/null @@ -1,25 +0,0 @@ -The bootloader is no longer buildable in the latest Freescale/NXP tree or -upstream. As such, retrieve the "Image: SDK V1.2 e500v2 Binary ISO" from -NXP downloads and follow the release notes for reflashing. - -For programming the kernel and rootfs created by buildroot into the flash. -The fast way is to tftp transfer the files via one of the network interfaces. -Make sure your devkit has ipaddr and serverip defined to reach your tftp -server. - -(Assuming the default u-boot env from NXP) -1. Program the DTB to NOR flash - - => setenv dtbfile p1025twr.dtb - => run dtbflash - -2. Program the kernel and rootfs to NOR flash (reusing orignal rootfs - NOR location, as the kernel location is to small) - - => tftpboot $loadaddr uImage; protect off 0xeeb80000 +$filesize; erase 0xeeb80000 +$filesize; cp.b $loadaddr 0xeeb80000 $filesize; protect on 0xeeb80000 +$filesize; cmp.b $loadaddr 0xefa80000 $filesize - -3. Booting your new system - - => bootm 0xeeb80000 - 0xefe80000 - - You can login with user "root". diff --git a/board/freescale/t1040_t2080/readme.txt b/board/freescale/t1040_t2080/readme.txt deleted file mode 100644 index 65695295f60799b1536aa62aaec5b546c3d6b9b3..0000000000000000000000000000000000000000 --- a/board/freescale/t1040_t2080/readme.txt +++ /dev/null @@ -1,51 +0,0 @@ -For the bootloader, NXP has stablized at SDK2.0 (final release). It is -suggested to download the prebuilt from NXP downloads and follow the -release notes for reflashing. - -To program the kernel and rootfs created by buildroot into the flash. The -fast way is to tftp transfer the files via one of the network interfaces. -Make sure your devkit has ipaddr, netmask, and serverip defined to reach your -tftp server. Verify bootargs are reasonable (console=ttyS0,115200). - ------------------------------------------------------------------------------- - -Devkit: T1040RDB - -(Assuming the default u-boot env from NXP) -1. Program the DTB to NOR flash - - => tftpboot $loadaddr t1040d4rdb.dtb; protect off 0xe8800000 +$filesize; erase 0xe8800000 +$filesize; cp.b $loadaddr 0xe8800000 $filesize; protect on 0xe8800000 +$filesize; cmp.b $loadaddr 0xe8800000 $filesize - -2. Program the kernel and rootfs to NOR flash - - => tftpboot $loadaddr uImage; protect off 0xe8020000 +$filesize; erase 0xe8020000 +$filesize; cp.b $loadaddr 0xe8020000 $filesize; protect on 0xe8020000 +$filesize; cmp.b $loadaddr 0xe8020000 $filesize - => tftpboot $loadaddr rootfs.cpio.uboot; protect off 0xe9300000 +$filesize; erase 0xe9300000 +$filesize; cp.b $loadaddr 0xe9300000 $filesize; protect on 0xe9300000 +$filesize; cmp.b $loadaddr 0xe9300000 $filesize - -3. Booting your new system - - => boot - - You can login with user "root". ------------------------------------------------------------------------------- - -Devkit: T2080 QDS or RDB - -(Assuming the default u-boot env from NXP) -1. Netboot the kernel/rootfs/dtb - - => tftp 0x1000000 uImage && tftp 0x2000000 rootfs.cpio.uboot - - RDB => tftp 0x3000000 t2080rdb.dtb - or - QDS => tftp 0x3000000 t2080qds.dtb - -2. Booting your new system - - => bootm 0x1000000 0x2000000 0x3000000 - - You can login with user "root". - -3. If flashing is desired, a similar approach to the T1040 can be followed - with updated addresses for the flash layout. Example is in the NXP default - env. ------------------------------------------------------------------------------- diff --git a/board/freescale/warpboard/README b/board/freescale/warpboard/README deleted file mode 100644 index 67d4e044e9878e8e43852a906cc7fdc6e242b46f..0000000000000000000000000000000000000000 --- a/board/freescale/warpboard/README +++ /dev/null @@ -1,77 +0,0 @@ -Build -===== - -First, configure Buildroot for your WarpBoard. - make warpboard_defconfig - -Build all components: - make - -You will find in ./output/images/ the following files: - - imx6sl-warp.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Update uboot -============ - -- Put warpboard in USB download mode by closing the j2 jumper on the - daugther board - -- Load u-boot.imx in the WarpBoard by using the imx-usb-loader host utility: - - $ ./output/host/bin/imx_usb -c output/host/etc/imx-loader.d/ output/images/u-boot.imx - -- U-Boot will appear in minicom - -- Reset the U-Boot environment to its default: - => env default -f -a - => saveenv - -- Run the DFU command in U-Boot: - => dfu 0 mmc 0 - -- Transfer U-Boot into flash by running this command in host side: - - $ sudo ./output/host/bin/dfu-util -D output/images/u-boot.imx -a boot - -- remove power and put the WarpBoard back into normal boot mode by - opening the j2 jumper. - -Update linux & rootfs -===================== - -Run the 'ums' command from the U-Boot prompt to mount the eMMC as USB mass -storage: - -=> ums 0 mmc 0 - -And then flash the sdcard.img into the eMMC: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the eMMC content. Use it with care! *** - -Using bluetooth -================ - -Enable the bluez_utils or bluez5_utils package, and then run: - -$ hciattach /dev/ttymxc4 any -$ hciconfig hci0 up - -Using Wifi -========== - -# modprobe brcmfmac -# iwconfig wlan0 essid ACCESSPOINTNAME -# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf -(enter the wifi password and press enter) -# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf & -# udhcpc -i wlan0 -# ping buildroot.org - -Enjoy! diff --git a/board/freescale/warpboard/linux.fragment b/board/freescale/warpboard/linux.fragment deleted file mode 100644 index 892d0cb7b99f5fcfef8b3153f0dc35d94a5c565d..0000000000000000000000000000000000000000 --- a/board/freescale/warpboard/linux.fragment +++ /dev/null @@ -1 +0,0 @@ -CONFIG_CFG80211_WEXT=y diff --git a/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt b/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt deleted file mode 100644 index 9546246b91834ab78de0205dfbf95799a7cc2c3d..0000000000000000000000000000000000000000 --- a/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt +++ /dev/null @@ -1,40 +0,0 @@ -# bcm94330wlsdgb.txt -manfid=0x2d0 -prodid=0x0552 -vendid=0x14e4 -devid=0x4360 -boardtype=0x0552 -boardrev=0x11 -# this design has 2.4GHz SP3T switch -boardflags=0x00080200 -nocrc=1 -xtalfreq=37400 -boardnum=22 -macaddr=00:90:4c:c5:12:38 -ag0=255 -aa2g=1 -ccode=CN -pa0b0=0x14d0 -pa0b1=0xfd98 -pa0b2=0xff78 -rssismf2g=0xa -rssismc2g=0x3 -rssisav2g=0x7 -maxp2ga0=0x50 -sromrev=3 -il0macaddr=00:90:4c:c5:12:38 -wl0id=0x431b -cckPwrOffset=5 -ofdm2gpo=0x66666666 -mcs2gpo0=0x6666 -mcs2gpo1=0x6666 -swctrlmap_2g=0x04040404,0x02020202,0x02020404,0x10202,0x1ff -swctrlmap_5g=0x00100010,0x00280020,0x00200010,0x14202,0x2f8 -rfreg033=0x19 -rfreg033_cck=0x1f -dacrate2g=160 -txalpfbyp2g=1 -bphyscale=17 -cckPwrIdxCorr=-15 -pacalidx2g=45 -txgaintbl=1 diff --git a/board/friendlyarm/nanopi-r2s/extlinux.conf b/board/friendlyarm/nanopi-r2s/extlinux.conf deleted file mode 100644 index 1ea0cdd8a5420ae87e77dbf199b586c6c3d55b6d..0000000000000000000000000000000000000000 --- a/board/friendlyarm/nanopi-r2s/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label NanoPi R2S linux - kernel /boot/Image - devicetree /boot/rk3328-nanopi-r2s.dtb - append root=/dev/mmcblk0p1 rw rootwait diff --git a/board/friendlyarm/nanopi-r2s/genimage.cfg b/board/friendlyarm/nanopi-r2s/genimage.cfg deleted file mode 100644 index a686b4f14e53f1e10e54c42bb0fffb916931a23a..0000000000000000000000000000000000000000 --- a/board/friendlyarm/nanopi-r2s/genimage.cfg +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot-tpl-spl-dtb { - in-partition-table = "no" - image = "idbloader.img" - offset = 32K - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot.itb" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - offset = 16M - image = "rootfs.ext4" - } -} diff --git a/board/friendlyarm/nanopi-r2s/post-build.sh b/board/friendlyarm/nanopi-r2s/post-build.sh deleted file mode 100755 index 1f5ff6a6113d36a16efd373c2ead786e4df03ebd..0000000000000000000000000000000000000000 --- a/board/friendlyarm/nanopi-r2s/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/friendlyarm/nanopi-r2s/readme.txt b/board/friendlyarm/nanopi-r2s/readme.txt deleted file mode 100644 index 6d291cdd60b379d869da4fbb86c3167e7ab0ee5c..0000000000000000000000000000000000000000 --- a/board/friendlyarm/nanopi-r2s/readme.txt +++ /dev/null @@ -1,57 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Nanopi R2S. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Nanopi R2S link: -https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=282 - -This configuration uses ATF, U-Boot mainline and kernel mainline. - -How to build -============ - - $ make friendlyarm_nanopi_r2s_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -Files created in output directory -================================= - -output/images - -├── bl31.elf -├── boot.vfat -├── extlinux -├── idbloader.img -├── Image -├── rk3328-nanopi-r2s.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── u-boot.bin -└── u-boot.itb - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Nanopi R2S and power it up. The console -is on the serial line, 1500000 8N1. - -Notes -===== - -This configuration can also be used to drive the Friendlyarm Nanopi Neo3 board. diff --git a/board/globalscale/espressobin/genimage.cfg b/board/globalscale/espressobin/genimage.cfg deleted file mode 100644 index 360c8f098fc117a245591e6a9c833837f761bf14..0000000000000000000000000000000000000000 --- a/board/globalscale/espressobin/genimage.cfg +++ /dev/null @@ -1,11 +0,0 @@ -# Minimal image, no U-boot since v3/v5 cannot boot from sdcard, see -# readme.txt for details on configuring the on-board u-boot. -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/globalscale/espressobin/linux-extras.config b/board/globalscale/espressobin/linux-extras.config deleted file mode 100644 index 7ce0a495c1eaaf80b4c65b89690b2c987845910d..0000000000000000000000000000000000000000 --- a/board/globalscale/espressobin/linux-extras.config +++ /dev/null @@ -1,14 +0,0 @@ -# -# The Espressobin has a switchcore with full support in the kernel. -# This fragment enables DSA and its drivers, inclding VLAN aware bridge -# support to allow users to easily set up a LAN switch + WAN interface. -# -CONFIG_NET_DSA=m -CONFIG_VLAN_8021Q=y - -CONFIG_BRIDGE=m -CONFIG_BRIDGE_IGMP_SNOOPING=y -CONFIG_BRIDGE_VLAN_FILTERING=y - -CONFIG_NET_DSA_MV88E6XXX=m -CONFIG_NET_DSA_MV88E6XXX_PTP=y diff --git a/board/globalscale/espressobin/readme.txt b/board/globalscale/espressobin/readme.txt deleted file mode 100644 index c5af7e3c9988f3abc91ab9dfa11e3b7b979457f9..0000000000000000000000000000000000000000 --- a/board/globalscale/espressobin/readme.txt +++ /dev/null @@ -1,90 +0,0 @@ -Marvell ESPRESSObin -=================== - -This default configuration allows you to quickly get up and running with -the Marvell ESPRESSObin board by Globalscale Technologies Inc. - -The ESPRESSObin is based on the Marvell Armada 88F3720 SoC, coupled with -a Marvell 88E6341 switch core "Topaz", with three exposed gigabit ports. - - _________________________ - |# U W L L U #| - |# S A A A S #| - |# B N N N B #| - |# 0 1 #| - |# Mini #| - |# -PCI #| - |# #| - |# 5 #| - |#__V___usb_PWR_SATA__SW_#| - - Fig 1: Overview of board - -Notice difference in Ethernet port layout compared to the Globalscale -docs. They order the ports; LAN2, LAN1, WAN (left to right in figure -above). For more information, see http://espressobin.net - - -Building --------- - - $ make globalscale_espressobin_defconfig - $ make - -This generates the kernel image, the devicetree binary, the rootfs as a -tar.gz, and a filesystem image containing everything. - -All build artifacts are located in `output/images/` - - -Booting -------- - -To boot, you need a UART connection, using the on-board micro USB port -set to 115200 8N1. - -By default, the ESPRESSObin comes with a pre-flashed U-Boot set up to -load the kernel, device-tree and rootfs from SPI NOR flash. The board -jumpers can be changed to boot from different sources, see the quick -start guide for each board revision for details: - -- ftp://downloads.globalscaletechnologies.com/Downloads/Espressobin/ESPRESSObin%20V5/ -- ftp://downloads.globalscaletechnologies.com/Downloads/Espressobin/ESPRESSObin%20V7/ - -Note: the v5, and earlier, cannot boot from sdcard, so you have to set -up the factory U-Boot to boot into Buildroot: - -1. Flash rootfs image to sdcard drive, your `of=` device may differ: - - $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 bs=1M - $ sync - -2. Boot board from SPI NOR, interrupt boot by pressing any key ... -3. Check with `printenv` that the default setup is OK, otherwise ensure - the following are set, and define `bootcmd` for automatic boot: - - > setenv kernel_addr 0x5000000 - > setenv fdt_addr 0x1800000 - > setenv fdt_name boot/armada-3720-espressobin.dtb - > setenv console console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 - > setenv bootcmd 'mmc dev 0; ext4load mmc 0:1 $kernel_addr $image_name;ext4load mmc 0:1 $fdt_addr $fdt_name;setenv bootargs $console root=/dev/mmcblk0p1 rw rootwait; booti $kernel_addr - $fdt_addr' - -4. Call the boot command, or `reset` the board to start: - - > run bootcmd - - -Networking ----------- - -To enable Ethernet networking, load the `mv88e6xxx` kernel module, and -bring up each respective interface needed: - - # modprobe mv88e6xxx - # ifconfig wan up - -A more advanced scenario is setting up switching between the ports using -the Linux bridge. The kernel switchdev layer, and DSA driver, ensure -switch functions are "offloaded" to the HW switch, i.e., all traffic -between LAN ports never reach the CPU. For this you need the iproute2 -suite of tools. diff --git a/board/grinn/chiliboard/genimage.cfg b/board/grinn/chiliboard/genimage.cfg deleted file mode 100644 index f335d7de4e709fe5658c9c98482d4c41150c77c6..0000000000000000000000000000000000000000 --- a/board/grinn/chiliboard/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Minimal microSD card image for Grinn's chiliBoard -# - -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "am335x-chiliboard.dtb", - "zImage" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/grinn/chiliboard/readme.txt b/board/grinn/chiliboard/readme.txt deleted file mode 100644 index 676aa7040787966ec1b4822de0d81609135e93eb..0000000000000000000000000000000000000000 --- a/board/grinn/chiliboard/readme.txt +++ /dev/null @@ -1,46 +0,0 @@ -********** -chiliBoard -********** - -Build -===== - -First, configure Buildroot for your chiliBoard: - - make grinn_chiliboard_defconfig - -Build image: - - make - -After building you should get a tree like this: - - output/images/ - ├── am335x-chiliboard.dtb - ├── boot.vfat - ├── MLO - ├── rootfs.ext2 - ├── rootfs.ext4 - ├── rootfs.tar - ├── sdcard.img - ├── u-boot.img - └── zImage - -Create a bootable microSD card -============================== - -Buildroot prepares a bootable microSD card image "sdcard.img" in output/images/ -directory, To flash SD card just run the following command: - - sudo dd if=output/images/sdcard.img of=/dev/ bs=1M - -where can be sdX or mmcblkX - -*** WARNING! This will destroy all contents of device you specify! *** - -Boot chiliBoard -=============== - -- insert the microSD card in the microSD slot of the board; -- plug micro USB cable to provide power and console interface -- use terminal emulator with 115200 bps, 8n1 diff --git a/board/grinn/liteboard/genimage.cfg b/board/grinn/liteboard/genimage.cfg deleted file mode 100644 index d0b29819d8a5688a0528c50187fa67200165a7d5..0000000000000000000000000000000000000000 --- a/board/grinn/liteboard/genimage.cfg +++ /dev/null @@ -1,49 +0,0 @@ -# Minimal microSD card image for Grinn's liteBoard -# -# We mimic the .sdcard Freescale's image format for i.MX6UL: -# * the microSD card must have 1 kB free space at the beginning, -# * SPL is dumped as is, -# * U-Boot is dumped at 69K offset, as configured in SPL -# * a FAT partition at offset 8 MB is containing zImage and dtbs, -# * a single root filesystem partition is required (Ext4 in this case). -# - -image boot.vfat { - vfat { - files = { - "imx6ul-liteboard.dtb", - "zImage" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/grinn/liteboard/readme.txt b/board/grinn/liteboard/readme.txt deleted file mode 100644 index fe1386a0b983519b39a20e2984c029db400fc693..0000000000000000000000000000000000000000 --- a/board/grinn/liteboard/readme.txt +++ /dev/null @@ -1,45 +0,0 @@ -********* -liteBoard -********* - -Build -===== - -First, configure Buildroot for your liteBoard: - - make grinn_liteboard_defconfig - -Build image: - - make - -After building you should get a tree like this: - - output/images/ - ├── boot.vfat - ├── imx6ul-liteboard.dtb - ├── rootfs.ext2 - ├── rootfs.ext4 - ├── rootfs.tar - ├── sdcard.img - ├── u-boot.imx - └── zImage - -Create a bootable microSD card -============================== - -Buildroot prepares a bootable microSD card image "sdcard.img" in output/images/ -directory, To flash SD card just run the following command: - - sudo dd if=output/images/sdcard.img of=/dev/ bs=1M - -where can be sdX or mmcblkX - -*** WARNING! This will destroy all contents of device you specify! *** - -Boot liteBoard -============== - -- insert the microSD card in the microSD slot of the board; -- plug micro USB cable to provide power and console interface -- use terminal emulator with 115200 bps, 8n1 diff --git a/board/hardkernel/odroidc2/boot.cmd b/board/hardkernel/odroidc2/boot.cmd deleted file mode 100644 index d800a6d44b831e8bd12d5aac2556c4e536970062..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidc2/boot.cmd +++ /dev/null @@ -1,11 +0,0 @@ -setenv kernel_filename "Image" -setenv fdt_filename "meson-gxbb-odroidc2.dtb" -setenv bootargs "console=ttyAML0,115200n8 earlyprintk root=/dev/mmcblk1p2 rootwait rw" - -echo > Loading Kernel... -fatload mmc 0:1 ${kernel_addr_r} ${kernel_filename} -echo > Loading FDT... -fatload mmc 0:1 ${fdt_addr_r} ${fdt_filename} - -echo > Booting System... -booti ${kernel_addr_r} - ${fdt_addr_r} diff --git a/board/hardkernel/odroidc2/genimage.cfg b/board/hardkernel/odroidc2/genimage.cfg deleted file mode 100644 index f31867a591f9c599144a91e981c72b07846eecdd..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidc2/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "meson-gxbb-odroidc2.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition bl1 { - in-partition-table = "no" - image = "bl1.bin.hardkernel" - offset = 0 - holes = {"(440; 512)"} - } - - partition u-boot { - in-partition-table = "no" - image = "uboot-odc2.img" - offset = 49664 # 48KB + 512B - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/hardkernel/odroidc2/post-image.sh b/board/hardkernel/odroidc2/post-image.sh deleted file mode 100755 index eb6fd4f09adfac229844c38e502b62cfe07c415a..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidc2/post-image.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -${HOST_DIR}/bin/fip_create \ - --bl30 ${BINARIES_DIR}/bl30.bin \ - --bl301 ${BINARIES_DIR}/bl301.bin \ - --bl31 ${BINARIES_DIR}/bl31.bin \ - --bl33 ${BINARIES_DIR}/u-boot.bin \ - ${BINARIES_DIR}/fip.bin - -${HOST_DIR}/bin/fip_create --dump ${BINARIES_DIR}/fip.bin - -cat ${BINARIES_DIR}/bl2.package ${BINARIES_DIR}/fip.bin \ - > ${BINARIES_DIR}/boot_new.bin - -${HOST_DIR}/bin/amlbootsig ${BINARIES_DIR}/boot_new.bin ${BINARIES_DIR}/u-boot.img - -dd if=${BINARIES_DIR}/u-boot.img of=${BINARIES_DIR}/uboot-odc2.img bs=512 skip=96 - -support/scripts/genimage.sh -c ${BOARD_DIR}/genimage.cfg diff --git a/board/hardkernel/odroidc2/readme.txt b/board/hardkernel/odroidc2/readme.txt deleted file mode 100644 index 24847827af4941f8695f5068f7117935c215041a..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidc2/readme.txt +++ /dev/null @@ -1,64 +0,0 @@ -ODROID-C2 - -Intro -===== -To be able to use ODROID-C2 board with the images generated by -Buildroot, you have to prepare the SDCard or eMMC. - -How to build it -=============== - - $ make odroidc2_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build rootfs image: - - $ make - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- bl1.bin.hardkernel - +-- bl2.package - +-- bl301.bin - +-- bl30.bin - +-- bl31.bin - +-- boot_new.bin - +-- boot.scr [1] - +-- boot.vfat - +-- fip.bin - +-- Image [2] - +-- meson-gxbb-odroidc2.dtb - +-- rootfs.ext2 - +-- rootfs.ext4 - +-- rootfs.tar - +-- sdcard.img - +-- u-boot.bin - +-- u-boot.img - +-- uboot-odc2.img [3] - -[1] This is the ODROID-C2 configuration file used in u-boot. -[2] This is the ODROID-C2 kernel image file which will be booted. -[3] This is the ODROID-C2 signed u-boot image which will be used. - -How to write the SD card or eMMC -================================ - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card or eMMC with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the SDcard into your ODROID-C2, and power it up. Your new system -should come up now. diff --git a/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload b/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload deleted file mode 100755 index 8d694a733150df42ff202aac8ccac936de176959..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# - -load_drivers() -{ - echo "Loading needed modules..." - for file in $(echo "dwmac_generic dwmac-meson8b meson_dw_hdmi meson_gxbb_wdt"); do - modprobe ${file} - done -} - -case "$1" in - start) - load_drivers - ;; - stop) - ;; - restart|reload) - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac diff --git a/board/hardkernel/odroidxu4/boot.ini b/board/hardkernel/odroidxu4/boot.ini deleted file mode 100644 index 87ac7ac13531cd7cc7f823af329fce6bb8fb214d..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidxu4/boot.ini +++ /dev/null @@ -1,38 +0,0 @@ -ODROIDXU-UBOOT-CONFIG - -# U-Boot Parameters -setenv initrd_high "0xffffffff" -setenv fdt_high "0xffffffff" - -setenv macaddr "00:1e:06:61:7a:39" -setenv bootrootfs "console=tty1 root=/dev/mmcblk1p2 rootwait rw fsck.repair=yes net.ifnames=0" -setenv bootcmd "load mmc 0:1 0x40008000 zImage; load mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; bootz 0x40008000 - 0x44000000" -setenv vout "hdmi" -setenv governor "performance" -setenv HPD "true" - -# TMDS data amplitude control. -setenv hdmi_tx_amp_lvl "31" - -# TMDS data amplitude fine control for each channel. -setenv hdmi_tx_lvl_ch0 "3" -setenv hdmi_tx_lvl_ch1 "3" -setenv hdmi_tx_lvl_ch2 "3" - -# TMDS data pre-emphasis level control. -setenv hdmi_tx_emp_lvl "6" - -# TMDS clock amplitude control. -setenv hdmi_clk_amp_lvl "31" - -# TMDS data source termination resistor control. -setenv hdmi_tx_res "0" - -setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}" - -# final boot args -setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}" - -# Boot the board -boot - diff --git a/board/hardkernel/odroidxu4/genimage.cfg b/board/hardkernel/odroidxu4/genimage.cfg deleted file mode 100644 index 0a90d6be5042edf5bdb2ae3a222f77326b169208..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidxu4/genimage.cfg +++ /dev/null @@ -1,55 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.ini", - "zImage", - "exynos5422-odroidxu4.dtb" - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition bl1 { - in-partition-table = "no" - image = "bl1.bin.hardkernel" - offset = 512 - size = 15K - } - - partition bl2 { - in-partition-table = "no" - image = "bl2.bin.hardkernel.720k_uboot" - offset = 15872 # 15KB + 512B - size = 16K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-dtb.bin" - offset = 32256 # 31KB + 512B - size = 720K - } - - partition tzsw { - in-partition-table = "no" - image = "tzsw.bin.hardkernel" - offset = 769536 # 751KB + 512B - size = 256K - } - - partition vfat { - partition-type = 0xC - image = "boot.vfat" - offset = 2M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/hardkernel/odroidxu4/post-image.sh b/board/hardkernel/odroidxu4/post-image.sh deleted file mode 100755 index 025906cd099de36c51e2a40bc38972c7a0cbd591..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidxu4/post-image.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -cp ${BOARD_DIR}/boot.ini ${BINARIES_DIR}/ - -# The bl1.bin.hardkernel file provided by the uboot hardkernel repository is overwritten -# by the bl2.bin.hardkernel in the sd_fusing.sh script because it is too big. -# In order to implement this in genimage, we need to truncate the bl1.bin file -# so that it does not exceed the available place. -# An issue has been filled about this: https://github.com/hardkernel/u-boot/issues/45 -truncate -s 15360 ${BINARIES_DIR}/bl1.bin.hardkernel - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - diff --git a/board/hardkernel/odroidxu4/readme.txt b/board/hardkernel/odroidxu4/readme.txt deleted file mode 100644 index e3cba8b0c1f4687abaf4ff77618dee9ae785ff1f..0000000000000000000000000000000000000000 --- a/board/hardkernel/odroidxu4/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -Odroid XU-4 board with Samsung Exynos 5422 SoC - -How to build it -=============== - - $ make odroidxu4_defconfig - -Then you can edit the build options using - - $ make menuconfig - -Compile all and build rootfs image: - - $ make - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -Result of the build -------------------- - -After building, you should obtain all output files in output/images/ - - -How to write the SD card or eMMC -================================ - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card or eMMC with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the SDcard into your ODROID-XU4, and power it up. Your new system -should come up now. - diff --git a/board/in-circuit/icnova-a20-adb4006/boot.cmd b/board/in-circuit/icnova-a20-adb4006/boot.cmd deleted file mode 100644 index 93d32a5e5fcc3b19dfc70077f5fb41519a0032a5..0000000000000000000000000000000000000000 --- a/board/in-circuit/icnova-a20-adb4006/boot.cmd +++ /dev/null @@ -1,5 +0,0 @@ -setenv fdt_high ffffffff -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun7i-a20-icnova-a20-adb4006.dtb -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/in-circuit/icnova-a20-adb4006/genimage.cfg b/board/in-circuit/icnova-a20-adb4006/genimage.cfg deleted file mode 100644 index 4975d679be0591e7279bf5bf91d716fb41253940..0000000000000000000000000000000000000000 --- a/board/in-circuit/icnova-a20-adb4006/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Minimal SD card image for the ICnova A20 SomPi on ADB4006 -# Based in the Cubieboard2 genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-icnova-a20-adb4006.dtb", - "boot.scr" - } - } - - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/in-circuit/icnova-a20-adb4006/linux.fragment b/board/in-circuit/icnova-a20-adb4006/linux.fragment deleted file mode 100644 index 1c99df12e62bc01f90b80cb09425be1d51271fdb..0000000000000000000000000000000000000000 --- a/board/in-circuit/icnova-a20-adb4006/linux.fragment +++ /dev/null @@ -1 +0,0 @@ -CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y diff --git a/board/intel/galileo/genimage.cfg b/board/intel/galileo/genimage.cfg deleted file mode 100644 index 76c3d9c36eb45b480b7f2b920ed8c47df5102fdb..0000000000000000000000000000000000000000 --- a/board/intel/galileo/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -# Create an image of the efi partition -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - } - - size = 512K -} - -# Create the sdcard image, pulling in -# * the image created by buildroot -# * the efi-partition created above -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - image = "efi-part.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 512M - } -} diff --git a/board/intel/galileo/grub.cfg b/board/intel/galileo/grub.cfg deleted file mode 100644 index dde2f762f08b7c312e5d274ed5c0a5dc3489217a..0000000000000000000000000000000000000000 --- a/board/intel/galileo/grub.cfg +++ /dev/null @@ -1,11 +0,0 @@ -set default="0" -set timeout="0" - -menuentry "Buildroot" { - # Grub2 supports ext4, load the kernel from the Linux rootfs partition - # Set root tells grub to search the 2nd partition for the bzImage - set root=(hd0,msdos2) - - # Set Linux to boot from the 2nd partition, SD/MMC support is baked into the kernel - linux /boot/bzImage root=/dev/mmcblk0p2 rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw -} diff --git a/board/intel/galileo/linux-3.14.config b/board/intel/galileo/linux-3.14.config deleted file mode 100644 index c658afb88ecb2407dfb956d3b81a1bc1bd6dd345..0000000000000000000000000000000000000000 --- a/board/intel/galileo/linux-3.14.config +++ /dev/null @@ -1,311 +0,0 @@ -# CONFIG_LOCALVERSION_AUTO is not set -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_FHANDLE=y -CONFIG_KERNEL_LZMA=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=18 -CONFIG_CGROUPS=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CPUSETS=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -CONFIG_NAMESPACES=y -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_SYSCTL_SYSCALL=y -# CONFIG_PCSPKR_PLATFORM is not set -CONFIG_EMBEDDED=y -# CONFIG_COMPAT_BRK is not set -CONFIG_JUMP_LABEL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_LBDAF=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_BSD_DISKLABEL=y -# CONFIG_ZONE_DMA is not set -CONFIG_X86_INTEL_QUARK=y -CONFIG_M586TSC=y -CONFIG_X86_GENERIC=y -CONFIG_HPET_TIMER=y -CONFIG_PREEMPT_VOLUNTARY=y -CONFIG_X86_UP_IOAPIC=y -# CONFIG_X86_MCE_AMD is not set -# CONFIG_X86_16BIT is not set -CONFIG_X86_REBOOTFIXUPS=y -CONFIG_MICROCODE=y -CONFIG_X86_MSR=y -CONFIG_X86_CPUID=y -CONFIG_HIGHMEM64G=y -# CONFIG_COMPACTION is not set -# CONFIG_MTRR is not set -# CONFIG_ARCH_RANDOM is not set -CONFIG_EFI=y -CONFIG_EFI_STUB=y -CONFIG_EFI_CAPSULE=m -CONFIG_HZ_100=y -CONFIG_KEXEC=y -CONFIG_PHYSICAL_START=0x400000 -CONFIG_PHYSICAL_ALIGN=0x1000000 -# CONFIG_COMPAT_VDSO is not set -CONFIG_PM_RUNTIME=y -CONFIG_PM_DEBUG=y -CONFIG_PM_TRACE_RTC=y -CONFIG_ACPI_PROCFS=y -CONFIG_ACPI_PROCFS_POWER=y -CONFIG_ACPI_EC_DEBUGFS=y -# CONFIG_ACPI_BATTERY is not set -# CONFIG_ACPI_FAN is not set -CONFIG_ACPI_DEBUG=y -CONFIG_ACPI_PCI_SLOT=y -CONFIG_PCIEPORTBUS=y -CONFIG_PCI_MSI=y -CONFIG_PCI_DEBUG=y -CONFIG_PCI_IOAPIC=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_SYN_COOKIES=y -# CONFIG_IPV6_SIT is not set -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_VLAN_8021Q=m -CONFIG_VLAN_8021Q_GVRP=y -CONFIG_CAN=m -# CONFIG_CAN_GW is not set -CONFIG_CAN_J1939=m -CONFIG_CAN_VCAN=m -CONFIG_CAN_SLCAN=m -# CONFIG_CAN_DEV is not set -CONFIG_BT=m -CONFIG_BT_RFCOMM=m -CONFIG_BT_RFCOMM_TTY=y -CONFIG_BT_BNEP=m -CONFIG_BT_BNEP_MC_FILTER=y -CONFIG_BT_BNEP_PROTO_FILTER=y -CONFIG_BT_HIDP=m -CONFIG_BT_HCIBTUSB=m -CONFIG_CFG80211=m -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=m -CONFIG_MAC80211_LEDS=y -CONFIG_RFKILL=m -CONFIG_RFKILL_INPUT=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -# CONFIG_FW_LOADER_USER_HELPER is not set -CONFIG_DEBUG_DEVRES=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=m -# CONFIG_PNP_DEBUG_MESSAGES is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_LOOP_MIN_COUNT=2 -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=1 -CONFIG_BLK_DEV_RAM_SIZE=81920 -CONFIG_EEPROM_AT24=m -CONFIG_EEPROM_93CX6=m -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_SPI_ATTRS=y -# CONFIG_SCSI_LOWLEVEL is not set -CONFIG_NETDEVICES=y -CONFIG_TUN=y -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_NET_VENDOR_ADAPTEC is not set -# CONFIG_NET_VENDOR_ALTEON is not set -# CONFIG_NET_VENDOR_AMD is not set -# CONFIG_NET_VENDOR_ARC is not set -# CONFIG_NET_VENDOR_ATHEROS is not set -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_BROCADE is not set -# CONFIG_NET_VENDOR_CHELSIO is not set -# CONFIG_NET_VENDOR_CISCO is not set -# CONFIG_NET_VENDOR_DEC is not set -# CONFIG_NET_VENDOR_DLINK is not set -# CONFIG_NET_VENDOR_EMULEX is not set -# CONFIG_NET_VENDOR_EXAR is not set -# CONFIG_NET_VENDOR_HP is not set -# CONFIG_NET_VENDOR_I825XX is not set -# CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MELLANOX is not set -# CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_NET_VENDOR_MYRI is not set -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_NVIDIA is not set -# CONFIG_NET_VENDOR_OKI is not set -# CONFIG_NET_PACKET_ENGINE is not set -# CONFIG_NET_VENDOR_QLOGIC is not set -# CONFIG_NET_VENDOR_REALTEK is not set -# CONFIG_NET_VENDOR_RDC is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SILAN is not set -# CONFIG_NET_VENDOR_SIS is not set -# CONFIG_NET_VENDOR_SMSC is not set -CONFIG_STMMAC_ETH=y -# CONFIG_STMMAC_PLATFORM is not set -CONFIG_STMMAC_PCI=y -# CONFIG_NET_VENDOR_SUN is not set -# CONFIG_NET_VENDOR_TEHUTI is not set -# CONFIG_NET_VENDOR_TI is not set -# CONFIG_NET_VENDOR_VIA is not set -# CONFIG_NET_VENDOR_WIZNET is not set -CONFIG_PHYLIB=y -CONFIG_PPP=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_ASYNC=m -# CONFIG_RTL_CARDS is not set -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=m -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -CONFIG_VT_HW_CONSOLE_BINDING=y -CONFIG_LEGACY_PTY_COUNT=32 -CONFIG_SERIAL_NONSTANDARD=y -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_8250_PNP is not set -CONFIG_SERIAL_8250_CONSOLE=y -# CONFIG_SERIAL_8250_PCI is not set -CONFIG_SERIAL_8250_NR_UARTS=8 -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_DETECT_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_SC16IS7XX=m -CONFIG_SERIAL_SC16IS7XX_SPI=m -# CONFIG_HW_RANDOM is not set -CONFIG_HPET=y -# CONFIG_HPET_MMAP is not set -CONFIG_I2C=y -CONFIG_SPI_DEBUG=y -CONFIG_SPI_GPIO=y -CONFIG_SPI_PXA2XX=y -CONFIG_PTP_1588_CLOCK=y -CONFIG_GPIO_SCH=y -CONFIG_GPIO_PCA953X=y -CONFIG_GPIO_PCA953X_IRQ=y -CONFIG_GPIO_PCF857X=y -CONFIG_HWMON=m -CONFIG_SENSORS_LM75=m -# CONFIG_X86_PKG_TEMP_THERMAL is not set -CONFIG_MFD_INTEL_QUARK_HSUART_DMA=y -CONFIG_CY8C9540A=m -CONFIG_MFD_PCA9685=m -CONFIG_INTEL_QRK_GIP=m -CONFIG_INTEL_QRK_GIP_TEST=m -CONFIG_MEDIA_SUPPORT=m -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=m -# CONFIG_USB_GSPCA is not set -# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set -# CONFIG_VGA_ARB is not set -# CONFIG_VGA_CONSOLE is not set -CONFIG_SOUND=m -CONFIG_SND=m -CONFIG_SND_USB_AUDIO=m -CONFIG_USB=m -# CONFIG_USB_DEFAULT_PERSIST is not set -CONFIG_USB_EHCI_HCD=m -CONFIG_USB_OHCI_HCD=m -CONFIG_USB_UHCI_HCD=m -CONFIG_USB_ACM=m -CONFIG_USB_STORAGE=m -CONFIG_USB_SERIAL=m -CONFIG_USB_SERIAL_GENERIC=y -CONFIG_USB_SERIAL_PL2303=m -CONFIG_USB_GADGET=m -CONFIG_USB_EG20T=m -CONFIG_USB_ZERO=m -CONFIG_USB_ETH=m -CONFIG_USB_MASS_STORAGE=m -CONFIG_USB_G_SERIAL=y -CONFIG_USB_G_ACM_MS=m -CONFIG_MMC=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=m -CONFIG_RTC_CLASS=y -# CONFIG_RTC_SYSTOHC is not set -CONFIG_DMADEVICES=y -CONFIG_DW_DMAC=y -CONFIG_UIO=y -CONFIG_STAGING=y -CONFIG_INTEL_QRK_THERMAL=y -CONFIG_INTEL_QRK_AUDIO_CTRL=m -CONFIG_INTEL_QRK_J1708=m -CONFIG_INTEL_QRK_ESRAM=y -# CONFIG_IOMMU_SUPPORT is not set -CONFIG_IIO=y -CONFIG_IIO_BUFFER_CB=y -CONFIG_IIO_LIS331DLH_INTEL_QRK=y -CONFIG_IIO_ST_ACCEL_3AXIS=y -CONFIG_AD7298=m -CONFIG_ADC1x8S102=m -CONFIG_IIO_SYSFS_TRIGGER=m -CONFIG_IIO_HRTIMER_TRIGGER=m -CONFIG_PWM=y -CONFIG_DMI_SYSFS=y -CONFIG_EFI_VARS=m -# CONFIG_EFI_RUNTIME_MAP is not set -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_EXT3_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_VFAT_FS=y -CONFIG_PROC_KCORE=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_HUGETLBFS=y -# CONFIG_MISC_FILESYSTEMS is not set -CONFIG_NLS_DEFAULT="utf8" -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -# CONFIG_ENABLE_WARN_DEPRECATED is not set -CONFIG_FRAME_WARN=2048 -# CONFIG_UNUSED_SYMBOLS is not set -CONFIG_HEADERS_CHECK=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_DEBUG_STACKOVERFLOW=y -CONFIG_TIMER_STATS=y -CONFIG_LATENCYTOP=y -# CONFIG_FTRACE is not set -CONFIG_X86_PTDUMP=y -# CONFIG_DEBUG_RODATA_TEST is not set -CONFIG_DEBUG_SET_MODULE_RONX=y -# CONFIG_DOUBLEFAULT is not set -CONFIG_OPTIMIZE_INLINING=y -CONFIG_KEYS=y -CONFIG_KEYS_DEBUG_PROC_KEYS=y -CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK=y -# CONFIG_VIRTUALIZATION is not set -CONFIG_CRC_T10DIF=y -CONFIG_NFS_FS=y -CONFIG_ROOT_NFS=y -CONFIG_IP_PNP=y diff --git a/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch b/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch deleted file mode 100644 index 1d206cc6d13195efbfd3c76243d2ecdbee44f4ef..0000000000000000000000000000000000000000 --- a/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch +++ /dev/null @@ -1,39 +0,0 @@ -From eeeda4cd06e828b331b15741a204ff9f5874d28d Mon Sep 17 00:00:00 2001 -From: Ben Hutchings -Date: Wed, 24 Sep 2014 13:30:12 +0100 -Subject: [PATCH] x86/relocs: Make per_cpu_load_addr static - -per_cpu_load_addr is only used for 64-bit relocations, but is -declared in both configurations of relocs.c - with different -types. This has undefined behaviour in general. GNU ld is -documented to use the larger size in this case, but other tools -may differ and some warn about this. - -References: https://bugs.debian.org/748577 -Reported-by: Michael Tautschnig -Signed-off-by: Ben Hutchings -Cc: 748577@bugs.debian.org -Cc: Linus Torvalds -Link: http://lkml.kernel.org/r/1411561812.3659.23.camel@decadent.org.uk -Signed-off-by: Ingo Molnar -Signed-off-by: Giulio Benetti ---- - arch/x86/tools/relocs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c -index bbb1d2259ecf..a5efb21d5228 100644 ---- a/arch/x86/tools/relocs.c -+++ b/arch/x86/tools/relocs.c -@@ -695,7 +695,7 @@ static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, - * - */ - static int per_cpu_shndx = -1; --Elf_Addr per_cpu_load_addr; -+static Elf_Addr per_cpu_load_addr; - - static void percpu_init(void) - { --- -2.25.1 - diff --git a/board/intel/galileo/post-build.sh b/board/intel/galileo/post-build.sh deleted file mode 100755 index 2b34cb43b8330c9857f73b6273be5b064e8bb6c0..0000000000000000000000000000000000000000 --- a/board/intel/galileo/post-build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -e -cp board/intel/galileo/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg diff --git a/board/intel/galileo/post-image.sh b/board/intel/galileo/post-image.sh deleted file mode 100755 index f9aef0b1ba6cb7aa84a3f0d3340e2307d7938bee..0000000000000000000000000000000000000000 --- a/board/intel/galileo/post-image.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -e - -GENIMAGE_CFG="board/intel/galileo/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" diff --git a/board/intel/galileo/readme.txt b/board/intel/galileo/readme.txt deleted file mode 100644 index 7a3abd4f7108570109bc4bbfdbe69c3878e27ee1..0000000000000000000000000000000000000000 --- a/board/intel/galileo/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ - -Intel Galileo Gen 1/2 - -Intro -============ - -These instructions apply to both the Intel Galileo Gen 1/2 development boards -based on the Intel Quark X1000. - -How to build -============ - -Apply the defconfig for the Intel Galileo Gen 1/2 - - $ make galileo_defconfig - -Add any additional packages required and build. - - $ make - -The build process will create a SD card image and place it in output/images. - - $ ls -lh output/images/sdcard.img - -rw-r--r--. 1 foo foo 11M Nov 17 16:19 output/images/sdcard.img - -Write the image to an mSD card, insert into the Galileo and power on. - - $ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync - -Accessing the console -===================== - -During power-on the console will become available on the Galileo's ttyS1. This -may be accessed as follows. - - * Galileo Gen 1 - - http://clayskits.com/products/galileo-gen-1-serial-cable - - A USB to RS-232 to 3.5mm Jack cable is required. Connect to the 3.5mm - Jack next to the Ethernet Header. - - * Galileo Gen 2 - - http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm - - A FTDI TTL-232R-3V3 cable may be used to connect to the FTDI header - next to the Ethernet connector on the Galileo Gen 2. - -The console should now be visible at 115200 baud. - - $ picocom -b 115200 /dev/ttyUSB0 diff --git a/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload b/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload deleted file mode 100755 index 359d607c18703b4a1e40481978f2ced290bdf60e..0000000000000000000000000000000000000000 --- a/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# - -load_drivers() -{ - while IFS= read -r line; do - modprobe $line - done < "/etc/modules-load.galileo/$1.conf" -} - -do_board() -{ - board=$(cat /sys/devices/virtual/dmi/id/board_name) - case "$board" in - *"GalileoGen2" ) - load_drivers "galileo_gen2" ;; - *"Galileo" ) - load_drivers "galileo" ;; - esac -} - -case "$1" in - start) - do_board - ;; - stop) - ;; - restart|reload) - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac diff --git a/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf b/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf deleted file mode 100644 index b6582619464eaa6a67213ee2b4b0fe79ab7fbca5..0000000000000000000000000000000000000000 --- a/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf +++ /dev/null @@ -1,3 +0,0 @@ -intel_qrk_gip -cy8c9540a -ad7298 diff --git a/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf b/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf deleted file mode 100644 index 4f80a3301f107d562fab69359fdf2e81cdf2ac56..0000000000000000000000000000000000000000 --- a/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf +++ /dev/null @@ -1,4 +0,0 @@ -intel_qrk_gip -gpio-pca953x -pca9685 -adc1x8s102 diff --git a/board/khadas/vim3/extlinux.conf b/board/khadas/vim3/extlinux.conf deleted file mode 100644 index 2b1544a5cc67ed1223708b3041fe77b3257a9ed0..0000000000000000000000000000000000000000 --- a/board/khadas/vim3/extlinux.conf +++ /dev/null @@ -1,5 +0,0 @@ -default buildroot -label buildroot - kernel /Image - devicetree /meson-g12b-a311d-khadas-vim3.dtb -append root=/dev/mmcblk0p2 rootwait console=ttyAML0,115200 diff --git a/board/khadas/vim3/genimage.cfg b/board/khadas/vim3/genimage.cfg deleted file mode 100644 index 79d7f9ca0765cbea0050133dd2332557085847c8..0000000000000000000000000000000000000000 --- a/board/khadas/vim3/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "meson-g12b-a311d-khadas-vim3.dtb", - "extlinux" - } - - label = "boot" - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image="boot.vfat" - size = 64M - offset = 2M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 128M - offset = 0 - } -} diff --git a/board/khadas/vim3/post-build.sh b/board/khadas/vim3/post-build.sh deleted file mode 100755 index 8dae08a47cd823dfabac0522b727c15180b34787..0000000000000000000000000000000000000000 --- a/board/khadas/vim3/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf diff --git a/board/khadas/vim3/post-image.sh b/board/khadas/vim3/post-image.sh deleted file mode 100755 index db38421494d46321813cca888e29917515ec2e15..0000000000000000000000000000000000000000 --- a/board/khadas/vim3/post-image.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" - -AMLOGIC_DIR=${BINARIES_DIR}/amlogic-boot-fip -FIP_DIR=${BINARIES_DIR}/fip - -mkdir -p "${FIP_DIR}" - -(cd "${AMLOGIC_DIR}" && \ - ./build-fip.sh khadas-vim3 \ - "${BINARIES_DIR}"/u-boot.bin \ - "${FIP_DIR}") - -dd if="${FIP_DIR}"/u-boot.bin.sd.bin \ - of="${BINARIES_DIR}"/sdcard.img \ - conv=fsync,notrunc bs=1 count=444 - -dd if="${FIP_DIR}"/u-boot.bin.sd.bin \ - of="${BINARIES_DIR}"/sdcard.img \ - conv=fsync,notrunc bs=512 skip=1 seek=1 diff --git a/board/khadas/vim3/readme.txt b/board/khadas/vim3/readme.txt deleted file mode 100644 index cc9b513644acbeed77f94413154ac26580cc3149..0000000000000000000000000000000000000000 --- a/board/khadas/vim3/readme.txt +++ /dev/null @@ -1,71 +0,0 @@ -Khadas VIM3 - -Description -=========== - -This configuration builds a complete image for the Khadas VIM3 to be flashed -on an SD-card. - -How to build it -=============== - -Select the default configuration for the target: -$ make khadas_vim3_defconfig - -Optional: modify the configuration: -$ make menuconfig - -Build: -$ make - -Result of the build -=================== -output/images/ -+-- amlogic-boot-fip -+ +-- build-fip.sh -+ +-- g12a.inc -+ `-- khadas-vim3 -+ +-- acs.bin -+ +-- acs_tool.py -+ +-- aml_ddr.fw -+ +-- aml_encrypt_g12b -+ +-- bl2.bin -+ +-- bl301.bin -+ +-- bl30.bin -+ +-- bl31.bin -+ +-- bl31.img -+ +-- blx_fix.sh -+ +-- ddr3_1d.fw -+ +-- ddr4_1d.fw -+ +-- ddr4_2d.fw -+ +-- diag_lpddr4.fw -+ +-- lpddr3_1d.fw -+ +-- lpddr4_1d.fw -+ +-- lpddr4_2d.fw -+ +-- Makefile -+ `-- piei.fw -+-- boot.vfat -+-- extlinux -+ `-- extlinux.conf -+-- fip -+ +-- u-boot.bin -+ +-- u-boot.bin.sd.bin -+ +-- u-boot.bin.usb.bl2 -+ `-- u-boot.bin.usb.tpl -+-- Image -+-- meson-g12b-a311d-khadas-vim3.dtb -+-- rootfs.ext2 -+-- rootfs.ext4 -> rootfs.ext2 -+-- rootfs.tar -+-- sdcard.img -`-- u-boot.bin - -The post-image script uses the files in the amlogic-boot-fip folder to sign -the bootloader image before integrating it into the sdcard image. - -To copy the image file to the sdcard use dd: -$ dd if=output/images/sdcard.img of=/dev/sdX - -Tested hardware -=============== -Khadas vim3 (rev. 14) diff --git a/board/kontron/bl-imx8mm/extlinux.conf b/board/kontron/bl-imx8mm/extlinux.conf deleted file mode 100644 index d38f7f81b7ec4a470fc7c02a568ef5d6814a79e2..0000000000000000000000000000000000000000 --- a/board/kontron/bl-imx8mm/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label buildroot - kernel /boot/Image - devicetree /boot/freescale/imx8mm-kontron-n801x-s.dtb - append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/board/kontron/bl-imx8mm/genimage.cfg b/board/kontron/bl-imx8mm/genimage.cfg deleted file mode 100644 index c98bc4f1508ebd580ceee03ea852aca055ac187a..0000000000000000000000000000000000000000 --- a/board/kontron/bl-imx8mm/genimage.cfg +++ /dev/null @@ -1,18 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - gpt-location = 16K - } - - partition imx-boot { - in-partition-table = "no" - image = "flash.bin" - offset = 33K - } - - partition rootfs { - image = "rootfs.ext4" - offset = 8M - partition-uuid = %PARTUUID% - } -} diff --git a/board/kontron/bl-imx8mm/post-build.sh b/board/kontron/bl-imx8mm/post-build.sh deleted file mode 100755 index bf8861f6a914498e0d997049cc18350617b06e0f..0000000000000000000000000000000000000000 --- a/board/kontron/bl-imx8mm/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" -PARTUUID="$($HOST_DIR/bin/uuidgen)" - -install -d "$TARGET_DIR/boot/extlinux/" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/kontron/bl-imx8mm/readme.txt b/board/kontron/bl-imx8mm/readme.txt deleted file mode 100644 index df47ba5174cb958af3e4b5348cd28f25f9caece2..0000000000000000000000000000000000000000 --- a/board/kontron/bl-imx8mm/readme.txt +++ /dev/null @@ -1,85 +0,0 @@ -Kontron BL i.MX8M Mini -====================== - -https://www.kontron.com/produkte/baseboard-bl-i.mx8m-mini/p158549 - - -How to build it -=============== - -Configure buildroot: - - $ make kontron_bl_imx8mm_defconfig - -Change settings to fit your needs (optional): - - $ make menuconfig - -Compile everything and build the rootfs image: - - $ make - - -Result of the build -=================== - -After building, the output/images directory contains: - - output/images/ - ├── bl31.bin - ├── boot.scr - ├── ddr_fw.bin - ├── flash.bin - ├── Image - ├── imx8mm-kontron-n801x-s.dtb - ├── lpddr4_pmu_train_1d_dmem_201904.bin - ├── lpddr4_pmu_train_1d_dmem_202006.bin - ├── lpddr4_pmu_train_1d_dmem.bin - ├── lpddr4_pmu_train_1d_dmem_pad.bin - ├── lpddr4_pmu_train_1d_fw.bin - ├── lpddr4_pmu_train_1d_imem_201904.bin - ├── lpddr4_pmu_train_1d_imem_202006.bin - ├── lpddr4_pmu_train_1d_imem.bin - ├── lpddr4_pmu_train_1d_imem_pad.bin - ├── lpddr4_pmu_train_2d_dmem_201904.bin - ├── lpddr4_pmu_train_2d_dmem_202006.bin - ├── lpddr4_pmu_train_2d_dmem.bin - ├── lpddr4_pmu_train_2d_dmem_pad.bin - ├── lpddr4_pmu_train_2d_fw.bin - ├── lpddr4_pmu_train_2d_imem_201904.bin - ├── lpddr4_pmu_train_2d_imem_202006.bin - ├── lpddr4_pmu_train_2d_imem.bin - ├── lpddr4_pmu_train_2d_imem_pad.bin - ├── lpddr4_pmu_train_fw.bin - ├── rootfs.ext2 - ├── rootfs.ext4 -> rootfs.ext2 - ├── rootfs.tar - ├── sdcard.img - ├── u-boot.bin - └── u-boot-spl.bin - - -Flashing the SD card image -========================== - -To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC) - - $ sudo dd if=output/images/sdcard.img of= - - -Preparing the board -=================== - - * Connect a serial line to the board - * Insert the SD card - * Power-up the board - - -Booting the board -================= - -By default the bootloader will search for the first valid image, starting -with the internal eMMC. To make sure the bootloader loads bootscript from -the correct location (SD card) set the boot_targets environment variable: - - $ setenv boot_targets mmc1 diff --git a/board/kontron/pitx-imx8m/extlinux.conf b/board/kontron/pitx-imx8m/extlinux.conf deleted file mode 100644 index 2911acec59132cf0815765f5e0a613d1678b9e77..0000000000000000000000000000000000000000 --- a/board/kontron/pitx-imx8m/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label buildroot - kernel /boot/Image - devicetree /boot/freescale/imx8mq-kontron-pitx-imx8m.dtb - append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/board/kontron/pitx-imx8m/genimage.cfg b/board/kontron/pitx-imx8m/genimage.cfg deleted file mode 100644 index bc100b171dd6d29b62f93e9e64009a52281a82ce..0000000000000000000000000000000000000000 --- a/board/kontron/pitx-imx8m/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition imx-boot { - in-partition-table = "no" - image = "flash.bin" - offset = 33K - } - - partition rootfs { - offset = 8M - image = "rootfs.ext4" - partition-uuid = %PARTUUID% - } -} diff --git a/board/kontron/pitx-imx8m/patches/uboot/2022.04/0001-tools-mkeficapsule-use-pkg-config-to-get-luuid-and-l.patch b/board/kontron/pitx-imx8m/patches/uboot/2022.04/0001-tools-mkeficapsule-use-pkg-config-to-get-luuid-and-l.patch deleted file mode 100644 index 9530a45efeccedf0f413d25e8b32dd3bff5ed83a..0000000000000000000000000000000000000000 --- a/board/kontron/pitx-imx8m/patches/uboot/2022.04/0001-tools-mkeficapsule-use-pkg-config-to-get-luuid-and-l.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f3523977e8f5f6b2173708777001332431ebc609 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Tue, 19 Jul 2022 16:17:09 +0200 -Subject: [PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls - -Instead of hardcoding -luuid -lgnutls as the flags needed to build -mkeficapsule, use pkg-config when available. - -We gracefully fallback on the previous behavior of hardcoding -luuid --lgnutls if pkg-config is not available or fails with an error. - -Signed-off-by: Heiko Thiery ---- - tools/Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tools/Makefile b/tools/Makefile -index 9f2339666a..9f6b282ad8 100644 ---- a/tools/Makefile -+++ b/tools/Makefile -@@ -242,7 +242,8 @@ hostprogs-$(CONFIG_MIPS) += mips-relocs - hostprogs-$(CONFIG_ASN1_COMPILER) += asn1_compiler - HOSTCFLAGS_asn1_compiler.o = -idirafter $(srctree)/include - --HOSTLDLIBS_mkeficapsule += -lgnutls -luuid -+HOSTLDLIBS_mkeficapsule += \ -+ $(shell pkg-config --libs gnutls uuid 2> /dev/null || echo "-lgnutls -luuid") - hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule - - # We build some files with extra pedantic flags to try to minimize things --- -2.30.2 - diff --git a/board/kontron/pitx-imx8m/post-build.sh b/board/kontron/pitx-imx8m/post-build.sh deleted file mode 100755 index bf8861f6a914498e0d997049cc18350617b06e0f..0000000000000000000000000000000000000000 --- a/board/kontron/pitx-imx8m/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" -PARTUUID="$($HOST_DIR/bin/uuidgen)" - -install -d "$TARGET_DIR/boot/extlinux/" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/kontron/pitx-imx8m/readme.txt b/board/kontron/pitx-imx8m/readme.txt deleted file mode 100644 index 7c85dd43779a3399eaebbe1b7764691b2481cda0..0000000000000000000000000000000000000000 --- a/board/kontron/pitx-imx8m/readme.txt +++ /dev/null @@ -1,74 +0,0 @@ -Kontron pitx-imx8m -================== - -https://www.kontron.com/produkte/pitx-imx8m/p155258 - - -How to build it -=============== - -Configure buildroot: - - $ make kontron_pitx_imx8m_defconfig - -Change settings to fit your needs (optional): - - $ make menuconfig - -Compile everything and buildr the rootfs image: - - $ make - - -Result of the build -=================== - -After building, the output/images directory contains: - - output/images/ - ├── bl31.bin - ├── boot.scr - ├── ddr_fw.bin - ├── Image - ├── imx8-boot-sd.bin - ├── imx8mq-kontron-pitx-imx8m.dtb - ├── lpddr4_pmu_train_fw.bin - ├── rootfs.ext2 - ├── rootfs.ext4 -> rootfs.ext2 - ├── rootfs.tar - ├── sdcard.img - ├── signed_hdmi_imx8m.bin - ├── u-boot.bin - ├── u-boot.itb - ├── u-boot-nodtb.bin - ├── u-boot-spl.bin - └── u-boot-spl-ddr.bin - - -Flashing the SD card image -========================== - -To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC) - - $ sudo dd if=output/images/sdcard.img of= - - -Preparing the board -=================== - - * Connect a serial line to the board - * Insert the SD card - * Make sure the boot source selection DIP switches are set correctly - * SW1 1-4 OFF - * SW1 2-3 OFF - * Power-up the board - - -Booting the board -================= - -By default the bootloader will search for the first valid image, starting -with the internal eMMC. To make sure the bootloader loads bootscript from -the correct location (SD card) set the boot_targets environment variable: - - $ setenv boot_targets mmc1 diff --git a/board/kontron/smarc-sal28/extlinux.conf b/board/kontron/smarc-sal28/extlinux.conf deleted file mode 100644 index bf60bc37988469e26bc04ec27ba7b07852d049ae..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label buildroot - kernel /boot/Image - devicetreedir /boot - append root=PARTUUID=%PARTUUID% rootwait diff --git a/board/kontron/smarc-sal28/genimage.cfg b/board/kontron/smarc-sal28/genimage.cfg deleted file mode 100644 index 82bab26fecdf360f53efcb7475274682e2717f23..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/genimage.cfg +++ /dev/null @@ -1,24 +0,0 @@ -image sdcard-emmc.img { - hdimage { - partition-table-type = "gpt" - gpt-location = 16K - } - - partition rcw { - offset = 4K - in-partition-table = "no" - image = "rcw.bin" - } - - partition u-boot { - offset = 1M - in-partition-table = "no" - image = "u-boot.rom" - } - - partition rootfs { - offset = 4M - image = rootfs.ext4 - partition-uuid = %PARTUUID% - } -} diff --git a/board/kontron/smarc-sal28/post-build.sh b/board/kontron/smarc-sal28/post-build.sh deleted file mode 100755 index bf8861f6a914498e0d997049cc18350617b06e0f..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" -PARTUUID="$($HOST_DIR/bin/uuidgen)" - -install -d "$TARGET_DIR/boot/extlinux/" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" -sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/kontron/smarc-sal28/readme.txt b/board/kontron/smarc-sal28/readme.txt deleted file mode 100644 index bdf2258b590010ce6b6d5e516d1cb1d47e2208aa..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/readme.txt +++ /dev/null @@ -1,88 +0,0 @@ -Kontron SMARC-sAL28 -=================== - -How to build it -=============== - -Configure Buildroot: - - $ make kontron_smarc_sal28_defconfig - -Change settings to fit your needs (optional): - - $ make menuconfig - -Compile everything and build the rootfs image: - - $ make - -Copying the image to a storage device -===================================== - -Buildroot builds an image which can be written to the internal eMMC -storage, a SD card or an USB thumb drive. You can use the following -command on your host: - - $ sudo dd if=output/images/sdcard-emmc.img of=/dev/sdx bs=1M - -Where /dev/sdx is the corresponding block device of your SD card or USB -thumb drive. To flash it on your internal eMMC use the following command on -the board: - - # dd if=sdcard-emmc.img of=/dev/mmcblk1 bs=1M - -Be sure you have not booted from the internal eMMC in this case! - -Booting the board -================= - -By default the bootloader will search for the first valid image, starting -with the internal eMMC. Consult the vendor documentation on how to use the -DIP switches to select specific boot devices. To use the bootloader -environment set the boot_targets correspondingly. E.g.: - - # setenv boot_targets usb0 - -To boot from an USB thumb drive. - -The device tree is loaded according to the filename in fdtfile. The -following command will set the default device tree, which works on almost -all variants (with less features of course): - - # setenv fdtfile freescale/fsl-ls1028a-kontron-sl28.dtb - -Set this to a device tree which fits your board variant. - -Connect your serial cable to SER1 and open your favorite terminal emulation -program (baudrate 115200, 8n1). E.g.: - - $ picocom -b 115200 /dev/ttyUSB0 - -You will get a warning reported by fdisk when you examine the SD card. -This is because the genimage.cfg file doesn't specify the SD card size -(as people will naturally have different sized cards), so the -secondary GPT header is placed after the rootfs rather than at the end -of the disk where it is expected to be. - -You will see something like this at boot time: - -[ 4.552797] GPT:Primary header thinks Alt. header is not at the end of the disk. -[ 4.560237] GPT:266272 != 7864319 -[ 4.563565] GPT:Alternate GPT header not at the end of the disk. -[ 4.569596] GPT:266272 != 7864319 -[ 4.572925] GPT: Use GNU Parted to correct GPT errors. - -Updating the bootloader -======================= - -Buildroot will automatically build the u-boot bootloader. The resulting -image is called u-boot.rom and you can find it in the images/ directory. - -To update the bootloader on the board you could either copy it to an -USB thumb drive or you could put it on a TFTP server. The following -example assumes you have the bootloader image copied to the root of -a thumb drive: - - # usb start - # load usb 0:1 $loadaddr u-boot.rom - # sf probe 0 && sf update $fileaddr 0x210000 $filesize diff --git a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules b/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules deleted file mode 100644 index 8774bc55819ab5fab1b0122dc31f94a833386889..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules +++ /dev/null @@ -1,8 +0,0 @@ -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", NAME="eno0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", NAME="eno1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.2", DRIVERS=="fsl_enetc", NAME="eno2" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.6", DRIVERS=="fsl_enetc", NAME="eno3" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.0", DRIVERS=="fsl_enetc_vf", NAME="eno0vf0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.1", DRIVERS=="fsl_enetc_vf", NAME="eno0vf1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.2", DRIVERS=="fsl_enetc_vf", NAME="eno1vf0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:01.3", DRIVERS=="fsl_enetc_vf", NAME="eno1vf1" diff --git a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules b/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules deleted file mode 100644 index 917c0244ab72445b5fbaddfd66eacee83239d492..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules +++ /dev/null @@ -1,6 +0,0 @@ -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p0", NAME="swp0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p1", NAME="swp1" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p2", NAME="swp2" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p3", NAME="swp3" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p4", NAME="swp4" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p5", NAME="swp5" diff --git a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules b/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules deleted file mode 100644 index 8c946b05fea29d24f5e50b41fc2d8d5fb647f652..0000000000000000000000000000000000000000 --- a/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules +++ /dev/null @@ -1,19 +0,0 @@ -# Map the GBE0 and GBE1 names from the SMARC standard to the network -# interfaces. This depends on the variant of the board. - -# get the variant compatible string -PROGRAM=="/bin/grep '^kontron,sl28-var[1-4]$' /sys/firmware/devicetree/base/compatible", ENV{sl28_compatible}="%c" - -# variant 1 -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", ENV{sl28_compatible}=="kontron,sl28-var1", NAME="gbe0" - -# variant 2 -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p0", ENV{sl28_compatible}=="kontron,sl28-var2", NAME="gbe0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.5", DRIVERS=="mscc_felix", ATTR{phys_port_name}=="p1", ENV{sl28_compatible}=="kontron,sl28-var2", NAME="gbe1" - -# variant 3 -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", ENV{sl28_compatible}=="kontron,sl28-var3", NAME="gbe0" - -# variant 4 -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.0", DRIVERS=="fsl_enetc", ENV{sl28_compatible}=="kontron,sl28-var4", NAME="gbe0" -ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:00:00.1", DRIVERS=="fsl_enetc", ENV{sl28_compatible}=="kontron,sl28-var4", NAME="gbe1" diff --git a/board/lego/ev3/busybox.fragment b/board/lego/ev3/busybox.fragment deleted file mode 100644 index 901274d3164632234a6d0f1f317bb46dba46d74a..0000000000000000000000000000000000000000 --- a/board/lego/ev3/busybox.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_BEEP=y -CONFIG_FEATURE_BEEP_FREQ=440 -CONFIG_FEATURE_BEEP_LENGTH_MS=250 diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg deleted file mode 100644 index 3eaf3915bbc9eb7442e0cf1ad6566f5e7366c2f7..0000000000000000000000000000000000000000 --- a/board/lego/ev3/genimage.cfg +++ /dev/null @@ -1,73 +0,0 @@ -# LEGO MINDSTORMS EV3 can boot from a 16MB flash or from a microSD card. -# The U-Boot bootloader from the flash is always used, even when booting -# from a microSD card. - -# The Flash image - -flash nor-16M-256 { - pebsize = 4K - numpebs = 4K - minimum-io-unit-size = 256 -} - -image flash.bin { - flash { - } - flashtype = "nor-16M-256" - - partition uboot { - image = "u-boot.bin" - size = 256K - } - - partition dtb { - image = "da850-lego-ev3.dtb" - offset = 256K - size = 64K - } - - partition uimage { - image = "uImage" - offset = 320K - size = 4M - } - - partition rootfs { - image = "rootfs.squashfs" - offset = 4416K # 4M + 320KB - size = 10M - } -} - -# The SD card image - -image boot.vfat { - vfat { - file uImage { - image = "uImage" - } - - file da850-lego-ev3.dtb { - image = "da850-lego-ev3.dtb" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 4M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/lego/ev3/linux.fragment b/board/lego/ev3/linux.fragment deleted file mode 100644 index 79efd27d37e4568d382a4fe110ffceed36fb6b8d..0000000000000000000000000000000000000000 --- a/board/lego/ev3/linux.fragment +++ /dev/null @@ -1,68 +0,0 @@ -CONFIG_ARM_APPENDED_DTB=n -CONFIG_ARCH_DAVINCI_DM644x=n -CONFIG_ARCH_DAVINCI_DM355=n -CONFIG_ARCH_DAVINCI_DM646x=n -CONFIG_ARCH_DAVINCI_DA830=n -CONFIG_ARCH_DAVINCI_DM365=n -CONFIG_MACH_SFFSDR=n -CONFIG_MACH_NEUROS_OSD2=n -CONFIG_MACH_DM355_LEOPARD=n -CONFIG_MACH_MITYOMAPL138=n -CONFIG_MACH_OMAPL138_HAWKBOARD=n -CONFIG_MACH_DAVINCI_DA850_EVM=n -CONFIG_ATA=n -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_UBI=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=1 -CONFIG_BLK_DEV_RAM_SIZE=32768 -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_PWM_BEEPER=y -CONFIG_SPI_DAVINCI=y -CONFIG_PINCTRL_DA850_PUPD=y -CONFIG_V4L_PLATFORM_DRIVERS=n -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_EDMA_SOC=n -CONFIG_SND_DAVINCI_SOC_MCASP=n -CONFIG_SND_SOC_TLV320AIC3X=n -CONFIG_SND_SIMPLE_CARD=n -CONFIG_DAVINCI_WATCHDOG=y -CONFIG_USB=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_DAVINCI=y -CONFIG_USB_MUSB_HDRC=y -CONFIG_USB_MUSB_GADGET=y -CONFIG_USB_MUSB_DA8XX=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_GADGET=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGER_MTD=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_RTC_DRV_OMAP=y -CONFIG_IIO=y -CONFIG_TI_ADS7950=y -CONFIG_PWM_TIECAP=y -CONFIG_PWM_TIEHRPWM=y -CONFIG_SQUASHFS=y -CONFIG_SQUASHFS_LZ4=y -CONFIG_SQUASHFS_LZO=y -CONFIG_SQUASHFS_XZ=y -CONFIG_DRM=y -CONFIG_DRM_TILCDC=n -CONFIG_DRM_DUMB_VGA_DAC=n -CONFIG_DRM_TINYDRM=y -CONFIG_TINYDRM_ST7586=y -CONFIG_FB_DA8XX=n -CONFIG_COMMON_CLK_PWM=y -CONFIG_BT=y -CONFIG_BT_HS=n -CONFIG_BT_LE=n -CONFIG_RFKILL=y diff --git a/board/lego/ev3/post-image.sh b/board/lego/ev3/post-image.sh deleted file mode 100755 index 81626dc3710ddba3c0cf2b0ba77f2fa9dc66839d..0000000000000000000000000000000000000000 --- a/board/lego/ev3/post-image.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" diff --git a/board/lego/ev3/readme.txt b/board/lego/ev3/readme.txt deleted file mode 100644 index 648bca1e9199c1333728016f713b1b33167f8800..0000000000000000000000000000000000000000 --- a/board/lego/ev3/readme.txt +++ /dev/null @@ -1,99 +0,0 @@ -Lego Mindstorms EV3 - -Intro -===== - -This is the buildroot basic board support for the Lego Mindstorms EV3 -programmable brick. - -The Lego Mindstorms EV3 brick comprises a Texas Instruments AM1808 SoC, with -an ARM 926EJ-S main processor running at 300 MHz. -See: -- https://en.wikipedia.org/wiki/Lego_Mindstorms_EV3 -- http://www.lego.com/en-us/mindstorms/products/ev3/31313-mindstorms-ev3/ -- http://www.ti.com/product/am1808 - -How it works -============ - -Boot process : --------------- - -The EV3 boots from an EEPROM. This loads whatever is on the built-in 16MB flash -(usually U-Boot) and runs it. The U-Boot from the official LEGO firmware and -mainline U-Boot will attempt to boot a Linux kernel from the external µSD card. -It will try to load a uImage (and optional boot.scr) from the first µSD card -partition, which must be formatted with a FAT filesystem. If no µSD is found or -it does not contain a uImage file, then the EV3 will boot the uImage from the -built-in 16MB flash. - -How to build it -=============== - -Configure Buildroot -------------------- - -The lego_ev3_defconfig configuration provides basic support to boot on the Lego -Mindstorms EV3 programmable brick: - - $ make lego_ev3_defconfig - -Build everything ----------------- - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - - $ make - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - ├── boot.vfat - ├── flash.bin - ├── rootfs.ext2 - ├── rootfs.ext3 -> rootfs.ext2 - ├── rootfs.squashfs - ├── sdcard.img - ├── u-boot.bin - ├── uImage -> uImage.da850-lego-ev3 - └── uImage.da850-lego-ev3 - -Installation -============ - -You can use either flash.bin or the sdcard.img. To load flash.bin, use the -official Lego Mindstorms EV3 programming software firmware update tool to load -the image. To use sdcard.img, use a disk writing tool such as Etcher or dd to -write the image to the µSD card. - -NOTE: The sdcard.img created by lego_ev3_defconfig won't boot if the official -LEGO firmware is installed on the EV3 (it has an old version of U-Boot that -doesn't know about device tree). You must either set the kernel configuration -option to append the device tree to the kernel or you can create a boot.scr -that chainloads a newer U-Boot or you can install a newer U-Boot in the flash -memory (just flashing u-boot.bin is enough). - -Finish -====== - -To have a serial console, you will need a proper USB to Lego serial port -adapter plugged into the EV3 sensors port 1. -See: -- http://botbench.com/blog/2013/08/15/ev3-creating-console-cable/ -- http://botbench.com/blog/2013/08/05/mindsensors-ev3-usb-console-adapter/ - -The serial port config to use is 115200/8-N-1. - -Bluetooth -========= - -To enable Bluetooth: - - # modprobe hci_uart - # /usr/libexec/bluetooth/bluetoothd & - # bluetoothctl - [bluetooth]# power on diff --git a/board/lemaker/bananapro/boot.cmd b/board/lemaker/bananapro/boot.cmd deleted file mode 100644 index 439f5b12c4b83715ed8413835ead17e47b61614d..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/boot.cmd +++ /dev/null @@ -1,5 +0,0 @@ -setenv fdt_high ffffffff -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun7i-a20-bananapro.dtb -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/lemaker/bananapro/genimage.cfg b/board/lemaker/bananapro/genimage.cfg deleted file mode 100644 index 9d15f35e3acc1da937da3c541f5f7ff3e5bfd47b..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Minimal SD card image for the Banana Pro -# Based in the Orange Pi genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-bananapro.dtb", - "boot.scr" - } - } - - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/lemaker/bananapro/linux-wifi.fragment b/board/lemaker/bananapro/linux-wifi.fragment deleted file mode 100644 index f4ede39faa780cca87135cc7250c15cb81679ee3..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/linux-wifi.fragment +++ /dev/null @@ -1,24 +0,0 @@ -# Networking support -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_CFG80211_WEXT=y -CONFIG_RFKILL=y - -# Network device support -CONFIG_WLAN=y -CONFIG_WLAN_VENDOR_BROADCOM=y -CONFIG_BRCMFMAC=m -# CONFIG_WLAN_VENDOR_ADMTEK is not set -# CONFIG_WLAN_VENDOR_ATH is not set -# CONFIG_WLAN_VENDOR_ATMEL is not set -# CONFIG_WLAN_VENDOR_CISCO is not set -# CONFIG_WLAN_VENDOR_INTEL is not set -# CONFIG_WLAN_VENDOR_INTERSIL is not set -# CONFIG_WLAN_VENDOR_MARVELL is not set -# CONFIG_WLAN_VENDOR_MEDIATEK is not set -# CONFIG_WLAN_VENDOR_RALINK is not set -# CONFIG_WLAN_VENDOR_REALTEK is not set -# CONFIG_WLAN_VENDOR_RSI is not set -# CONFIG_WLAN_VENDOR_ST is not set -# CONFIG_WLAN_VENDOR_TI is not set -# CONFIG_WLAN_VENDOR_ZYDAS is not set diff --git a/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch b/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch deleted file mode 100644 index c8e8c03753293e6091c481fd2f8ff7ed4c8ddc3a..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 896e82ab14e7e4e361ffa7c81def787907c1bf4c Mon Sep 17 00:00:00 2001 -From: Bartosz Bilas -Date: Sun, 19 May 2019 21:04:35 +0200 -Subject: [PATCH] arch/arm/boot/dts/sun7i-a20-bananapro.dts: disable 00B - IRQ for brcm wifi module - - BugLink: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908438 - -Signed-off-by: Hans de Goede -Signed-off-by: Bartosz Bilas ---- - arch/arm/boot/dts/sun7i-a20-bananapro.dts | 16 +++++++++++++--- - 1 file changed, 13 insertions(+), 3 deletions(-) - -diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts -index 0176e9de0..93b3340f5 100644 ---- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts -+++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts -@@ -160,9 +160,19 @@ - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; -- interrupt-parent = <&pio>; -- interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>; -- interrupt-names = "host-wake"; -+ /* -+ * OOB interrupt support is broken ATM, often the first irq -+ * does not get seen resulting in the drv probe failing with: -+ * -+ * brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout -+ * brcmfmac: brcmf_bus_started: failed: -110 -+ * brcmfmac: brcmf_attach: dongle is not responding: err=-110 -+ * brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed -+ * -+ * interrupt-parent = <&pio>; -+ * interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>; -+ * interrupt-names = "host-wake"; -+ */ - }; - }; - --- -2.21.0 - diff --git a/board/lemaker/bananapro/post-build.sh b/board/lemaker/bananapro/post-build.sh deleted file mode 100755 index a335310dbcae7df82a47affce7252323219a78f9..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/post-build.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Remove all but the brcmfmac43362 firmware files -find $TARGET_DIR/lib/firmware/brcm -type f -not -name "brcmfmac43362*" -delete - -BOARD_DIR="$(dirname $0)" -MKIMAGE=$HOST_DIR/bin/mkimage -BOOT_CMD=$BOARD_DIR/boot.cmd -BOOT_CMD_H=$BINARIES_DIR/boot.scr - -# U-Boot script -$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H diff --git a/board/lemaker/bananapro/post-image.sh b/board/lemaker/bananapro/post-image.sh deleted file mode 100755 index 9cca1b1789ec03ffdcdce1ca92298e35b6b268f9..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/post-image.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -exit $? diff --git a/board/lemaker/bananapro/readme.txt b/board/lemaker/bananapro/readme.txt deleted file mode 100644 index 27b922e26d8ad17cd7a9eb212bb24b48f54d52cb..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/readme.txt +++ /dev/null @@ -1,62 +0,0 @@ -Banana Pro - -Intro -===== - -This default configuration will allow you to start experimenting with the -Buildroot environment for the Banana Pro. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make bananapro_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ dd if=output/images/sdcard.img of=/dev/sdX - -Notes: - - replace 'sdX' with the actual device with your micro SD card - - you may need to be root to do that (use 'sudo') - -Insert the micro SD card in your Banana Pro and power it up. The console -is on the debug TTL UART, 115200 8N1. - -Ethernet -========== - - # udhcpc -i eth0 - -Wifi -========== - - # wpa_passphrase YOUR_SSID >> /etc/wpa_supplicant.conf - (enter the wifi password and press enter) - # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B - # udhcpc -i wlan0 - -Note: - - replace 'YOUR_SSID' with the actual SSID from your access point - -Audio -========== - -Connect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pro -has an on-board microphone, too. - - # amixer cset name='Power Amplifier DAC Playback Switch' on - # amixer cset name='Power Amplifier Mute Switch' on - # amixer cset name='Power Amplifier Volume' 42 diff --git a/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt b/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt deleted file mode 120000 index 93947975ee876c38c44f40b817a57d0323653553..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt +++ /dev/null @@ -1 +0,0 @@ -brcmfmac43362-sdio.txt \ No newline at end of file diff --git a/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt b/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt deleted file mode 100644 index 14a554fdd8cde2087b6d898ed45fd0e840155279..0000000000000000000000000000000000000000 --- a/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt +++ /dev/null @@ -1,56 +0,0 @@ -#AP6210_NVRAM_V1.2_03192013 -manfid=0x2d0 -prodid=0x492 -vendid=0x14e4 -devid=0x4343 -boardtype=0x0598 - -# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same -#Please force the automatic RX PER data to the respective board directory if not using P307 board, for e.g. for P305 boards force the data into the following directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305 -boardrev=0x1307 -boardnum=777 -xtalfreq=26000 -boardflags=0x80201 -boardflags2=0x80 -sromrev=3 -wl0id=0x431b -macaddr=00:90:4c:07:71:12 -aa2g=1 -ag0=2 -maxp2ga0=74 -cck2gpo=0x2222 -ofdm2gpo=0x44444444 -mcs2gpo0=0x6666 -mcs2gpo1=0x6666 -pa0maxpwr=56 - -#P207 PA params -#pa0b0=5447 -#pa0b1=-658 -#pa0b2=-175 - -#Same PA params for P304,P305, P306, P307 - -pa0b0=5447 -pa0b1=-607 -pa0b2=-160 -pa0itssit=62 -pa1itssit=62 - - -cckPwrOffset=5 -ccode=0 -rssismf2g=0xa -rssismc2g=0x3 -rssisav2g=0x7 -triso2g=0 -noise_cal_enable_2g=0 -noise_cal_po_2g=0 -swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff -temp_add=29767 -temp_mult=425 - -btc_flags=0x6 -btc_params0=5000 -btc_params1=1000 -btc_params6=63 diff --git a/board/librecomputer/lafrite/genimage.cfg b/board/librecomputer/lafrite/genimage.cfg deleted file mode 100644 index 212f82952731741c7309e1c843069288ebff14b5..0000000000000000000000000000000000000000 --- a/board/librecomputer/lafrite/genimage.cfg +++ /dev/null @@ -1,10 +0,0 @@ -image usb.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf b/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf deleted file mode 100644 index 60aa9d6e700bf26b864d4906d638a3388ced92a6..0000000000000000000000000000000000000000 --- a/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - devicetree /boot/meson-gxl-s805x-libretech-ac.dtb - append console=ttyAML0,115200 earlyprintk root=/dev/sda1 rootwait diff --git a/board/librecomputer/lafrite/readme.txt b/board/librecomputer/lafrite/readme.txt deleted file mode 100644 index c439c5e91dd7df5b69818c060c0c9b1fe46ee93f..0000000000000000000000000000000000000000 --- a/board/librecomputer/lafrite/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Intro -===== - -Libre Computer "La Frite" is a low cost SBC based around an Amlogic -s805x SoC (quad A53), 512MB/1GB DDR4 and a 16MB SPI NOR flash: - -https://libre.computer/products/boards/aml-s805x-ac/ - -How to build it -=============== - -Configure Buildroot: - - $ make lafrite_defconfig - -Compile everything and build the USB flash drive image: - - $ make - -How to write the USB flash drive image -====================================== - -Once the build process is finished you will have an image called "usb.img" -in the output/images/ directory. - -Copy the bootable "usb.img" onto a USB flash drive with "dd": - - $ sudo dd if=output/images/usb.img of=/dev/sdX - -How to boot -=========== - -Insert flash drive to the USB connector furthest away from the IR -receiver and power up board. The system will boot automatically. diff --git a/board/linksprite/pcduino/linux-extras.config b/board/linksprite/pcduino/linux-extras.config deleted file mode 100644 index 670f83fa6171f84675f1323b7cbc5d75071bb507..0000000000000000000000000000000000000000 --- a/board/linksprite/pcduino/linux-extras.config +++ /dev/null @@ -1,16 +0,0 @@ -# spidev -CONFIG_SPI_SPIDEV=y - -# wireless core -CONFIG_CFG80211=m -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=m - -# wireless drivers -CONFIG_WLAN=y -CONFIG_RTL_CARDS=m -CONFIG_RTL8192CU=m -CONFIG_RTLWIFI=m -CONFIG_RTLWIFI_USB=m -CONFIG_RTLWIFI_DEBUG=y -CONFIG_RTL8192C_COMMON=m diff --git a/board/linksprite/pcduino/readme.txt b/board/linksprite/pcduino/readme.txt deleted file mode 100644 index 08f380fbcb89286f00c2369fa6deca74ea613b16..0000000000000000000000000000000000000000 --- a/board/linksprite/pcduino/readme.txt +++ /dev/null @@ -1,42 +0,0 @@ -pcDuino v1 boards (http://www.linksprite.com/linksprite-pcduino) - -Intro -===== - -This default configuration will allow you to start experimenting -with the buildroot environment for the LinkSprite pcDuino v1 board -including its flavors pcDuino-Lite and pcDuino-Lite-WiFi. With the -current configuration it will bring-up the board and allow access -through the serial console as well as ethernet and wireless -network interfaces. - -How to build it -=============== - -Configure Buildroot: - - $ make linksprite_pcduino_defconfig - -Modify configuration if needed, e.g. add more packages to target: - - $ make menuconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image -called "sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -How to boot new image -===================== - -Insert SD card and reset the board. By default pcDuino board -boots from SD card. diff --git a/board/mangopi/mq1rdw2/genimage.cfg b/board/mangopi/mq1rdw2/genimage.cfg deleted file mode 100644 index 92c86775456824d173497db4638f842f36c4ff08..0000000000000000000000000000000000000000 --- a/board/mangopi/mq1rdw2/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/mangopi/mq1rdw2/readme.txt b/board/mangopi/mq1rdw2/readme.txt deleted file mode 100644 index fd37f63154e98c0118e556e22fb6683ded45973f..0000000000000000000000000000000000000000 --- a/board/mangopi/mq1rdw2/readme.txt +++ /dev/null @@ -1,46 +0,0 @@ -MangoPi MQ1RDW2 -=============== - -MangoPi MQ1RDW2 is a tiny ARM Cortex-A7 based single board computer. -It's built around Allwinner T113-S3 dual core 1GHz CPU with integrated -128MB DDR3-1600 RAM. -Board features: -- USB-OTG Type-C socket -- USB-HOST Type-C socket -- 2x 18 pin GPIO headers -- TF card slot -- RTL8723DS WiFi module with ext. antenna connector -- 40 pin RGB FPC connector -- 6 pin CTP FPC connector -- 24 pin DVP FPC connector -- onboard mic -- onboard audio amplifier -- FEL,reset button - -How to build -============ - -$ make mangopi_mq1rdw2_defconfig -$ make - -Wifi -========== - -Edit board/mangopi/mq1rdw2/overlay/etc/wpa_supplicant.conf or -/etc/wpa_supplicant.conf once connected to the board: - -* Replace YOURSSID with your AP ssid -* Replace YOURPASSWD with your AP password - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Connect a TTL UART to the UART3 on P8 header (unpopulated), insert the microSD card and -plug in a USB-C cable to the OTG or HOST connector to boot the system. diff --git a/board/mangopi/mq1rdw2/rootfs_overlay/boot/extlinux/extlinux.conf b/board/mangopi/mq1rdw2/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index c190ff7659b2c2f5ac11b8be7b80a77b591044b4..0000000000000000000000000000000000000000 --- a/board/mangopi/mq1rdw2/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label MANGOPI-MQ1RDW2 - kernel /boot/zImage - devicetree /boot/sun8i-t113s-mangopi-mq-r-t113.dtb - append console=ttyS3,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra} diff --git a/board/mangopi/mq1rdw2/rootfs_overlay/etc/network/interfaces b/board/mangopi/mq1rdw2/rootfs_overlay/etc/network/interfaces deleted file mode 100644 index 89e7d74aff7c1d261e5d4c4fbc85079ee6b3f30c..0000000000000000000000000000000000000000 --- a/board/mangopi/mq1rdw2/rootfs_overlay/etc/network/interfaces +++ /dev/null @@ -1,6 +0,0 @@ -auto lo -iface lo inet loopback - -auto wlan0 -iface wlan0 inet dhcp -wpa-conf /etc/wpa_supplicant.conf diff --git a/board/mangopi/mq1rdw2/rootfs_overlay/etc/wpa_supplicant.conf b/board/mangopi/mq1rdw2/rootfs_overlay/etc/wpa_supplicant.conf deleted file mode 100644 index b43292b0a7f696f864f91419638417211cf3ddf7..0000000000000000000000000000000000000000 --- a/board/mangopi/mq1rdw2/rootfs_overlay/etc/wpa_supplicant.conf +++ /dev/null @@ -1,8 +0,0 @@ -ap_scan=1 - -network={ - ssid="YOURSSID" - scan_ssid=1 - key_mgmt=WPA-PSK - psk="YOURPASSWD" -} diff --git a/board/mender/x86_64/genimage-efi.cfg b/board/mender/x86_64/genimage-efi.cfg deleted file mode 100644 index 9c2723d8fb11958414670e60445bd2a86157269f..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/genimage-efi.cfg +++ /dev/null @@ -1,43 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - file grub-mender-grubenv { - image = "efi-part/grub-mender-grubenv" - } - file bzImage { - image = "bzImage" - } - } - - size = 16M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - partition-type-uuid = U - offset = 32K - image = "efi-part.vfat" - bootable = true - } - - partition roota { - partition-type-uuid = 4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 - image = "rootfs.ext2" - } - - partition rootb { - partition-type-uuid = 4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 - image = "rootfs.ext2" - } - - partition data { - partition-type-uuid = L - image = "data-part.ext4" - } -} diff --git a/board/mender/x86_64/linux.config b/board/mender/x86_64/linux.config deleted file mode 100644 index f17fc18edb4e0fd04b19c1e8766642dbade847e6..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/linux.config +++ /dev/null @@ -1,64 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_EFI=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETFILTER=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_IP_NF_FILTER=y -CONFIG_CFG80211=m -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=m -CONFIG_PCI=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_ATH9K=m -CONFIG_ATH9K_HTC=m -CONFIG_CARL9170=m -CONFIG_ATH10K=m -CONFIG_RT2X00=m -CONFIG_RT73USB=m -CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT3573=y -CONFIG_RT2800USB_RT53XX=y -CONFIG_RT2800USB_RT55XX=y -# CONFIG_RTL_CARDS is not set -CONFIG_RTL8XXXU=m -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_FB_VESA=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_SQUASHFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_UNWINDER_FRAME_POINTER=y diff --git a/board/mender/x86_64/mender_grubenv_defines b/board/mender/x86_64/mender_grubenv_defines deleted file mode 100644 index 77f68fe6b268d1279a10226256c60bad9865daac..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/mender_grubenv_defines +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# Mandatory -################################################################################ -# Warning: This file is an example and should be customized to fit your needs! - -# Partition index of root filesystem A -mender_rootfsa_part=2 - -# Partition index of root filesystem B -mender_rootfsb_part=3 - -# Device file corresponding to the root filesystem partitions, without index. -mender_kernel_root_base=/dev/vda - -# Name of the storage device containing root filesystem partitions in GRUB -# format. -mender_grub_storage_device=hd0 - -# Type of kernel (bzImage or zImage) -kernel_imagetype=bzImage - -# Type of initrd image. -# Note: An initrd image is not strictly necessary, and the system will boot and -# update without a initrd image. -# initrd_imagetype=initrd.img diff --git a/board/mender/x86_64/overlay/etc/fstab b/board/mender/x86_64/overlay/etc/fstab deleted file mode 100644 index 45a7ba02605395508ab839ab04366e5490496ff3..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/overlay/etc/fstab +++ /dev/null @@ -1,7 +0,0 @@ -# -/dev/root / ext4 rw,noauto 0 1 -/dev/vda1 /boot vfat defaults 0 0 -/dev/vda4 /var/lib/mender ext4 rw,relatime 0 0 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts defaults,gid=5,mode=620,ptmxmode=0666 0 0 -sysfs /sys sysfs defaults 0 0 diff --git a/board/mender/x86_64/overlay/etc/mender/mender.conf b/board/mender/x86_64/overlay/etc/mender/mender.conf deleted file mode 100644 index 5f423fb2cb8fe10bae3d91b5b562bf032ef4fc3e..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/overlay/etc/mender/mender.conf +++ /dev/null @@ -1,11 +0,0 @@ -{ - "InventoryPollIntervalSeconds": 1800, - "UpdatePollIntervalSeconds": 1800, - "RetryPollIntervalSeconds": 300, - "RootfsPartA": "/dev/vda2", - "RootfsPartB": "/dev/vda3", - "ServerCertificate": "/etc/mender/server.crt", - "ServerURL": "https://docker.mender.io", - "TenantToken": "dummy", - "DeviceTypeFile": "/etc/mender/device_type" -} diff --git a/board/mender/x86_64/post-build.sh b/board/mender/x86_64/post-build.sh deleted file mode 100755 index 23d1120d45dad4439212ee9bcf4d33682adb48d6..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/post-build.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -set -e -DEVICE_TYPE="buildroot-x86_64" -ARTIFACT_NAME="1.0" - -function parse_args { - local o O opts - o='a:o:d:' - O='artifact-name:,data-part-size:,device-type:' - opts="$(getopt -o "${o}" -l "${O}" -- "${@}")" - eval set -- "${opts}" - while [ ${#} -gt 0 ]; do - case "${1}" in - (-o|--data-part-size) - # Ignored to have same options as other scripts - shift 2 - ;; - (-d|--device-type) - DEVICE_TYPE="${2}"; shift 2 - ;; - (-a|--artifact-name) - ARTIFACT_NAME="${2}"; shift 2 - ;; - (--) - shift; break - ;; - esac - done -} - - # Create a persistent directory to mount the data partition at. -function mender_fixup { - pushd "${TARGET_DIR}" - if [[ -L var/lib/mender ]]; then - rm var/lib/mender - mkdir -p var/lib/mender - fi - - # The common paradigm is to have the persistent data volume at /data for mender. - if [[ ! -L data ]]; then - ln -s var/lib/mender data - fi - - popd -} - -function main { - parse_args "${@}" - mender_fixup - echo "device_type=${DEVICE_TYPE}" > "${TARGET_DIR}/etc/mender/device_type" - echo "artifact_name=${ARTIFACT_NAME}" > "${TARGET_DIR}/etc/mender/artifact_info" -} - -main "${@}" diff --git a/board/mender/x86_64/post-image-efi.sh b/board/mender/x86_64/post-image-efi.sh deleted file mode 100755 index 97b9e06d213380a0b89ee63ec87f7777cc308d67..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/post-image-efi.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env bash -set -e -BOARD_DIR="$(realpath "$(dirname "$0")")" -DATA_PART_SIZE="32M" -DEVICE_TYPE="buildroot-x86_64" -ARTIFACT_NAME="1.0" - - -# Parse arguments. -function parse_args { - local o O opts - o='a:o:d:' - O='artifact-name:,data-part-size:,device-type:' - opts="$(getopt -o "${o}" -l "${O}" -- "${@}")" - eval set -- "${opts}" - while [ ${#} -gt 0 ]; do - case "${1}" in - (-o|--data-part-size) - DATA_PART_SIZE="${2}"; shift 2 - ;; - (-d|--device-type) - DEVICE_TYPE="${2}"; shift 2 - ;; - (-a|--artifact-name) - ARTIFACT_NAME="${2}"; shift 2 - ;; - (--) - shift; break - ;; - esac - done -} - -# Create the data partition -function make_data_partition { - "${HOST_DIR}/sbin/mkfs.ext4" \ - -F \ - -r 1 \ - -N 0 \ - -m 5 \ - -L "data" \ - "${BINARIES_DIR}/data-part.ext4" "${DATA_PART_SIZE}" -} - - -# Create a mender image. -function generate_mender_image { - echo "Creating ${BINARIES_DIR}/${DEVICE_TYPE}-${ARTIFACT_NAME}.mender" - "${HOST_DIR}/bin/mender-artifact" \ - --compression lzma \ - write rootfs-image \ - -t "${DEVICE_TYPE}" \ - -n "${BR2_VERSION}" \ - -f "${BINARIES_DIR}/rootfs.ext2" \ - -o "${BINARIES_DIR}/${DEVICE_TYPE}-${ARTIFACT_NAME}.mender" -} - - -function generate_image { - sh support/scripts/genimage.sh -c "${BOARD_DIR}/genimage-efi.cfg" -} - -# Main function. -function main { - parse_args "${@}" - make_data_partition - generate_image - generate_mender_image - exit $? -} - -main "${@}" diff --git a/board/mender/x86_64/readme.txt b/board/mender/x86_64/readme.txt deleted file mode 100644 index a9755ec58b081cd413164b57785f4f1a50b5ec5b..0000000000000000000000000000000000000000 --- a/board/mender/x86_64/readme.txt +++ /dev/null @@ -1,69 +0,0 @@ -Mender UEFI PC sample config -===================== - -1. Build - - $ make mender_x86_64_efi_defconfig - - Add any additional packages required. Update the files in board/mender/x86_64 - and change /dev/vda to what is relevant for your platform: typically - /dev/mmcblk0p for eMMC and /dev/sda for USB or SATA. - - $ make - -2. Write the Pendrive - - The build process will create a Pendrive image called disk.img in - output/images. - - Write the image to a pendrive: - - $ dd if=output/images/disk.img of=/dev/${pendrive}; sync - - Once the process is complete, insert it into the target PC and boot. - - Remember that if said PC has another boot device you might need to - select this alternative for it to boot. - - You might need to disable Secure Boot from the setup as well. - -3. Enjoy - -Emulation in qemu -======================== - -Run the emulation with: - -qemu-system-x86_64 \ - -M pc \ - -drive file=output/images/disk.img,if=virtio,format=raw \ - -net nic,model=virtio \ - -net user \ - -serial stdio \ - -bios - -Note that needs to point to a valid x86_64 UEFI -firmware image for qemu. It may be provided by your distribution as an -edk2 or OVMF package, in a path such as /usr/share/edk2/ovmf/OVMF_CODE.fd. - -Optional arguments: - - -enable-kvm to speed up qemu. This requires a loaded kvm module on the host - system. - - Add -smp N to emulate an SMP system with N CPUs. - -The login prompt will appear in the serial window. - -Tested with QEMU 4.1.1 on Fedora 31 - -Creating a mender-artifact -======================== - -The mender artifact is created in output/images/buildroot-x86_64-1.0.mender - -You may wish to change --artifact-name=1.0 to a name that best suits your -particular needs, as this option changes the mender artifact name. - -Using mender -======================== -Please read the mender documentation at: -https://docs.mender.io/2.2/getting-started diff --git a/board/microchip/mpfs_icicle/README.txt b/board/microchip/mpfs_icicle/README.txt deleted file mode 100644 index de20ecc410f53e9bbe06b3197c13cf07b15a950d..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/README.txt +++ /dev/null @@ -1,62 +0,0 @@ -Microchip PolarFire SoC Icicle Kit -================================== - -This file describes how to use the pre-defined Buildroot -configuration for Microchip's PolarFire SoC Icicle Kit. - -Further information about the PolarFire SoC Icicle Kit can be found -at https://github.com/polarfire-soc/polarfire-soc-documentation - -Building -======== - -Configure Buildroot using the default board configuration: - - '$ make microchip_mpfs_icicle_defconfig' - -Customise the build as necessary: - - '$ make menuconfig' - -Start the build: - - '$ make' - -Result of the build -=================== - -Once the build has finished you will have the following files: - - output/images/ - +-- boot.scr - +-- boot.vfat - +-- Image - +-- mpfs_icicle.itb - +-- mpfs_icicle.its - +-- mpfs-icicle-kit.dtb - +-- payload.bin - +-- rootfs.ext2 - +-- rootfs.ext4 - +-- rootfs.tar - +-- sdcard.img - +-- u-boot.bin - - -Creating a bootable SD card with genimage -========================================= - -By default Buildroot builds a SD card image for you. The first partition -of this image contains a U-Boot binary, embedded in a Hart Software -Services (HSS) payload. The second partition contains a FAT filesystem -with a U-Boot env and an ITB file containing the kernel and the device -tree. The third partition contains the file system. This image can be -written directly to the eMMC or an SD card. All you need to do is dd the -image to the eMMC or your SD card, which can be done with the following -command on your development host: - - '$ sudo dd if=output/images/sdcard.img of=/dev/sdb bs=1M' - -For instructions on how to transfer the image to the eMMC/SD, please refer to -the "Programming the Linux image" section of our guide on updating -PolarFire SoC dev kits: -https://github.com/polarfire-soc/polarfire-soc-documentation/blob/master/reference-designs-fpga-and-development-kits/updating-mpfs-kit.md. diff --git a/board/microchip/mpfs_icicle/config.yaml b/board/microchip/mpfs_icicle/config.yaml deleted file mode 100644 index 5fccdfd34f87a8a744a7d31c519495422e6935e4..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/config.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# -# HSS Payload Generator - buildroot configuration file -# - -# First, we can optionally set a name for our image, otherwise one will be created dynamically -set-name: 'PolarFire-SoC-HSS::U-Boot' - -# -# Next, we'll define the entry point addresses for each hart, as follows: -# -hart-entry-points: {u54_1: '0x80200000', u54_2: '0x80200000', u54_3: '0x80200000', u54_4: '0x80200000'} -# -# Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory -# The payload section is defined with the keyword payloads, and then a number of individual -# payload descriptors. -# -# Each payload has a name (path to its ELF/bin file), an owner-hart, and optionally 1-3 secondary-harts. -# -# Additionally, it has a privilege mode in which it will start execution. -# * Valid privilege modes are PRV_M, PRV_S and PRV_U. -# -# -# In this case, the only payload is the u-boot s-mode binary. -# -# Case only matters for the ELF path names, not the keywords. -# -payloads: - u-boot.bin: {exec-addr: '0x80200000', owner-hart: u54_1, secondary-hart: u54_2, secondary-hart: u54_3, secondary-hart: u54_4, priv-mode: prv_s} diff --git a/board/microchip/mpfs_icicle/genimage.cfg b/board/microchip/mpfs_icicle/genimage.cfg deleted file mode 100644 index 9282c9ce5f1750437328e223fb06442f4a5dacfb..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Image for eMMC or SDCard boot on the Microchip PolarFire SOC Icicle Board -# -image boot.vfat { - vfat { - files = { - "mpfs_icicle.itb", - } - - file boot.scr { - image = "boot.scr" - } - } - size = 60M -} - -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition uboot { - partition-type-uuid = 21686148-6449-6E6F-744E-656564454649 - image = "payload.bin" - } - - partition kernel { - bootable = "true" - image = "boot.vfat" - } - - partition root { - image = "rootfs.ext4" - } -} diff --git a/board/microchip/mpfs_icicle/linux.fragment b/board/microchip/mpfs_icicle/linux.fragment deleted file mode 100644 index 0cecddb61b0df30cd5b974cf4029e471bec93a98..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/linux.fragment +++ /dev/null @@ -1 +0,0 @@ -CONFIG_POLARFIRE_SOC_DMA_NONCOHERENT=y diff --git a/board/microchip/mpfs_icicle/mpfs_icicle.its b/board/microchip/mpfs_icicle/mpfs_icicle.its deleted file mode 100644 index a62b079fa12eb4ded60a45f88e3e1994a6d3cb21..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/mpfs_icicle.its +++ /dev/null @@ -1,53 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Flattened Image Tree file for Icicle Kit - * - */ - -/dts-v1/; - -/ { - description = "U-Boot fitImage for the MPFS"; - address-cells = <1>; - - images { - kernel { - description = "Linux kernel"; - data = /incbin/("./Image"); - type = "kernel"; - arch = "riscv"; - os = "linux"; - compression = "none"; - load = <0x80200000>; - entry = <0x80200000>; - hash-1 { - algo = "sha256"; - }; - }; - base_fdt { - description = "Flattened Device Tree blob"; - data = /incbin/("./mpfs-icicle-kit.dtb"); - type = "flat_dt"; - arch = "riscv"; - compression = "none"; - load = <0x8a000000>; - hash-1 { - algo = "sha256"; - }; - }; - }; - - configurations { - default = "kernel_dtb"; - kernel_dtb { - description = "1 Linux kernel, FDT blob"; - kernel = "kernel"; - fdt = "base_fdt"; - }; - - base_dtb { - description = "Base FDT blob for MPFS Icicle board"; - fdt = "base_fdt"; - }; - }; -}; diff --git a/board/microchip/mpfs_icicle/post-image.sh b/board/microchip/mpfs_icicle/post-image.sh deleted file mode 100755 index 596bb21d78d491189becf95f5dbd057b8cb926ad..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/post-image.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e - -HSS_PAYLOAD_GENERATOR="${HOST_DIR}"/bin/hss-payload-generator -MKIMAGE="${HOST_DIR}"/bin/mkimage -BOARD_DIR="$(pwd)"/"${0%/*}" - -pushd "${BINARIES_DIR}" -"${HSS_PAYLOAD_GENERATOR}" -c "${BOARD_DIR}"/config.yaml payload.bin -cp "${BOARD_DIR}"/mpfs_icicle.its "${BINARIES_DIR}"/mpfs_icicle.its -"${MKIMAGE}" -f mpfs_icicle.its mpfs_icicle.itb -popd -support/scripts/genimage.sh -c "${BOARD_DIR}"/genimage.cfg diff --git a/board/microchip/mpfs_icicle/uboot-env.txt b/board/microchip/mpfs_icicle/uboot-env.txt deleted file mode 100644 index 8a655085ed186fc041a4a8040aa755dd967d7adb..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/uboot-env.txt +++ /dev/null @@ -1,16 +0,0 @@ -# this assumes ${scriptaddr} is already set!! - -# Try to boot a fitImage from eMMC/SD - -setenv fdt_high 0xffffffffffffffff -setenv initrd_high 0xffffffffffffffff - -load mmc 0:${distro_bootpart} ${scriptaddr} mpfs_icicle.itb; -bootm start ${scriptaddr}#kernel_dtb; -bootm loados ${scriptaddr}; -# Try to load a ramdisk if available inside fitImage -bootm ramdisk; -bootm prep; -fdt set /soc/ethernet@20112000 mac-address ${icicle_mac_addr0}; -fdt set /soc/ethernet@20110000 mac-address ${icicle_mac_addr1}; -bootm go; diff --git a/board/microchip/mpfs_icicle/uboot-fragment-rootfs.config b/board/microchip/mpfs_icicle/uboot-fragment-rootfs.config deleted file mode 100644 index e2a5eb94385d15a9ac17472c80f637c016a0d26a..0000000000000000000000000000000000000000 --- a/board/microchip/mpfs_icicle/uboot-fragment-rootfs.config +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_USE_BOOTARGS=y -CONFIG_BOOTARGS="root=/dev/mmcblk0p3 rootwait uio_pdrv_genirq.of_id=generic-uio" -CONFIG_MPFS_PRIORITISE_QSPI_BOOT=n diff --git a/board/microchip/sam9x60ek_mmc/genimage.cfg b/board/microchip/sam9x60ek_mmc/genimage.cfg deleted file mode 100644 index 629caf3ef7f80495f16b3bb1ccb395f00e3ab451..0000000000000000000000000000000000000000 --- a/board/microchip/sam9x60ek_mmc/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Microchip SAM9X60-EK -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sam9x60ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/microchip/sama5d2_icp/genimage.cfg b/board/microchip/sama5d2_icp/genimage.cfg deleted file mode 100644 index eecb2ef115e84e87f2cd196d0e6ff427367a9006..0000000000000000000000000000000000000000 --- a/board/microchip/sama5d2_icp/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Image for SD card boot on Microchip SAMA5D2 ICP (Industrial Connectivity Platform) -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d2_icp.dtb", - "boot.bin", - "u-boot.bin" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/microchip/sama7g5ek/genimage.cfg b/board/microchip/sama7g5ek/genimage.cfg deleted file mode 100644 index ade29e4b5dffae020a5bf2722a9e21a8f89ae790..0000000000000000000000000000000000000000 --- a/board/microchip/sama7g5ek/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Microchip SAMA7G5EK (sama7g5 evaluation kit) -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama7g5ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/minnowboard/genimage.cfg b/board/minnowboard/genimage.cfg deleted file mode 100644 index b169d1d0679cb7afe113aac71b93a050ca4fce59..0000000000000000000000000000000000000000 --- a/board/minnowboard/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Create an image of the efi partition -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - file bzImage { - image = "bzImage" - } - } - - size = 10M -} - -# Create the sdcard image, pulling in -# * the image created by buildroot -# * the efi-partition created above -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - partition-type-uuid = U - image = "efi-part.vfat" - } - - partition rootfs { - partition-type-uuid = L - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/minnowboard/linux.config b/board/minnowboard/linux.config deleted file mode 100644 index 928e353c1c5ea28a99ebea899491c55137b7ff8a..0000000000000000000000000000000000000000 --- a/board/minnowboard/linux.config +++ /dev/null @@ -1,61 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_NO_HZ=y -CONFIG_SMP=y -CONFIG_X86_INTEL_LPSS=y -CONFIG_MATOM=y -CONFIG_EFI=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y -CONFIG_X86_INTEL_PSTATE=y -CONFIG_X86_ACPI_CPUFREQ=y -CONFIG_INTEL_IDLE=y -CONFIG_IA32_EMULATION=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_PCI=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_ATA=y -CONFIG_SATA_AHCI=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_R8169=y -CONFIG_IGB=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_DW=y -CONFIG_I2C_I801=y -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_I2C_DESIGNWARE_PCI=y -CONFIG_SPI=y -CONFIG_SPI_DESIGNWARE=y -CONFIG_SPI_PXA2XX=y -CONFIG_PINCTRL_BAYTRAIL=y -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_AGP=y -CONFIG_DRM=y -CONFIG_DRM_LOAD_EDID_FIRMWARE=y -CONFIG_DRM_I915=y -CONFIG_SOUND=y -CONFIG_SND=y -# CONFIG_SND_DRIVERS is not set -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_CODEC_HDMI=y -# CONFIG_SND_SPI is not set -# CONFIG_SND_USB is not set -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PCI=y -CONFIG_MMC_SDHCI_ACPI=y -CONFIG_PWM=y -CONFIG_EXT4_FS=y -CONFIG_UNWINDER_FRAME_POINTER=y diff --git a/board/minnowboard/post-build.sh b/board/minnowboard/post-build.sh deleted file mode 100755 index 24b8c0539ecad04159ac1befb26668939f932d54..0000000000000000000000000000000000000000 --- a/board/minnowboard/post-build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -cp -v board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg - -# Add a console on tty1 -if [ -e ${TARGET_DIR}/etc/inittab ]; then - grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ - sed -i '/GENERIC_SERIAL/a\ -tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab -fi diff --git a/board/minnowboard/readme.txt b/board/minnowboard/readme.txt deleted file mode 100644 index fdbb81e3aa71f90164aba805f5a75d3e3566bc3e..0000000000000000000000000000000000000000 --- a/board/minnowboard/readme.txt +++ /dev/null @@ -1,28 +0,0 @@ -How to get started with the MinnowBoard MAX -=========================================== - -1. Build - - Apply the defconfig: - - $ make minnowboard_max_defconfig - - Add any additional packages required and build: - - $ make - -2. Write the SD card - - The build process will create a SD card image in output/images. - Write the image to an mSD card, insert into the MinnowBoard MAX - and power the board on. - - $ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync - - The system starts two consoles: one on the serial port - and one on HDMI. - -3. Enjoy - -Additional information about this board can be found at -http://www.minnowboard.org/. diff --git a/board/nexbox/a95x/boot.txt b/board/nexbox/a95x/boot.txt deleted file mode 100644 index eef1c8ca55c0f8728dcc4754f7223825f056b324..0000000000000000000000000000000000000000 --- a/board/nexbox/a95x/boot.txt +++ /dev/null @@ -1,11 +0,0 @@ -setenv bootargs console=ttyAML0,115200 earlyprintk root=PARTUUID=feedc0de-02 rootwait - -fatload mmc 0:1 0x01080000 uImage - -if itest.s "${aml_dt}" == "gxl_p212_2g"; then - fatload mmc 0:1 $dtb_mem_addr meson-gxl-s905x-nexbox-a95x.dtb -else - fatload mmc 0:1 $dtb_mem_addr meson-gxbb-nexbox-a95x.dtb -fi - -bootm 0x1080000 - $dtb_mem_addr diff --git a/board/nexbox/a95x/genimage.cfg b/board/nexbox/a95x/genimage.cfg deleted file mode 100644 index 81bcc82c9b8fe383885a8184d0f2c41233fa9bd5..0000000000000000000000000000000000000000 --- a/board/nexbox/a95x/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "meson-gxbb-nexbox-a95x.dtb", - "meson-gxl-s905x-nexbox-a95x.dtb", - "boot.scr" - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - # for root=PARTUUID support - disk-signature = 0xfeedc0de - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/nexbox/a95x/post-build.sh b/board/nexbox/a95x/post-build.sh deleted file mode 100755 index f8706f2dffbaf7281621e636cff251744a582778..0000000000000000000000000000000000000000 --- a/board/nexbox/a95x/post-build.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -MKIMAGE=$HOST_DIR/bin/mkimage - -$MKIMAGE -C none -A arm64 -T script -d $BOARD_DIR/boot.txt $BINARIES_DIR/boot.scr - -# vendor u-boot uses uImage -if [ -e $BINARIES_DIR/Image ]; then - $MKIMAGE -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 \ - -n linux -d $BINARIES_DIR/Image $BINARIES_DIR/uImage -fi diff --git a/board/nexbox/a95x/post-image.sh b/board/nexbox/a95x/post-image.sh deleted file mode 100755 index 359b4c9e7c5eb6aa447c8826210d70e7b68fcf91..0000000000000000000000000000000000000000 --- a/board/nexbox/a95x/post-image.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" diff --git a/board/nexbox/a95x/readme.txt b/board/nexbox/a95x/readme.txt deleted file mode 100644 index e08b4e4e6ba97767bfe315f546f9943e544e13b9..0000000000000000000000000000000000000000 --- a/board/nexbox/a95x/readme.txt +++ /dev/null @@ -1,48 +0,0 @@ -Nexbox A95X - -Intro -===== - -Nexbox A95X is a low cost Android STB based around an Amlogic s905(x) SoC -(quad A53), 8/16GB eMMC and 1/2GB RAM. To use this defconfig, wires to the -internal UART solder pads must be added. See the linux-meson page for -details: - -http://linux-meson.com/doku.php?id=nexbox_a95x_s905 - -Both the s905 (gxbb) and s905x (gxl) variant is supported. - -This default configuration will allow you to start experimenting with the -buildroot environment for the A95X. With the current configuration it will -bring-up the board from microSD, and allow access through the serial -console. - -How to build it -=============== - -Configure Buildroot: - - $ make nexbox_a95x_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto a microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -How to boot -=========== - -Insert microSD card and connect serial cable. Power board and stop -U-Boot by pressing any key. Boot the system by typing: - -fatload mmc 0:1 0x1070000 boot.scr -autoscr 0x1070000 diff --git a/board/nezha/genimage.cfg b/board/nezha/genimage.cfg deleted file mode 100644 index 836666ff8e673071d367c782c1f50d548285d7ae..0000000000000000000000000000000000000000 --- a/board/nezha/genimage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Minimal SD card image for the Allwinner Nezha - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = false - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - bootable = "true" - offset = 1M - } -} diff --git a/board/nezha/overlay/boot/extlinux/extlinux.conf b/board/nezha/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 91b2298628b2318ef7116f338d881c156f692ad9..0000000000000000000000000000000000000000 --- a/board/nezha/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - # use devicetree from u-boot - append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait diff --git a/board/nezha/readme.txt b/board/nezha/readme.txt deleted file mode 100644 index fd4c6707de8185b3ad820d04d017881eaec5622a..0000000000000000000000000000000000000000 --- a/board/nezha/readme.txt +++ /dev/null @@ -1,24 +0,0 @@ -Allwinner Nezha -=============== - -Nezha is is a low-cost RISC-V 64-bit based platform, powered by an -Allwinner D1 SoC. - -How to build -============ - -$ make nezha_defconfig -$ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Connect a TTL UART to the debug connector, insert the microSD card and -plug in a USB-C cable to the PWR connector to boot the system. diff --git a/board/octavo/osd32mp1-brk/genimage.cfg b/board/octavo/osd32mp1-brk/genimage.cfg deleted file mode 100644 index 40bde81e8617f0c57dbf1c89891c4d0107ec1df7..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition fsbl1 { - image = "tf-a-stm32mp157c-osd32mp1-brk.stm32" - } - - partition fsbl2 { - image = "tf-a-stm32mp157c-osd32mp1-brk.stm32" - } - - partition fip { - image = "fip.bin" - size = 2M - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/board/octavo/osd32mp1-brk/linux-dts/stm32mp157c-osd32mp1-brk.dts b/board/octavo/osd32mp1-brk/linux-dts/stm32mp157c-osd32mp1-brk.dts deleted file mode 100644 index d5f2793f548de395abef871e2c73d699f9d1b1d8..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/linux-dts/stm32mp157c-osd32mp1-brk.dts +++ /dev/null @@ -1,1120 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* - * Copyright (C) Octavo Systems LLC 2020 - All Rights Reserved - */ - -/* For more information on Device Tree configuration, please refer to - * https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration - */ - -/dts-v1/; -#include -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "stm32mp15-m4-srm.dtsi" -#include -#include -#include - -/ { - model = "Octavo OSD32MP1 BRK board"; - compatible = "st,stm32mp157c-osd32mp1-brk", "st,stm32mp157"; - - memory@c0000000 { - device_type = "memory"; - reg = <0xc0000000 0x20000000>; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - mcuram2:mcuram2@10000000{ - compatible = "shared-dma-pool"; - reg = <0x10000000 0x40000>; - no-map; - }; - - vdev0vring0:vdev0vring0@10040000{ - compatible = "shared-dma-pool"; - reg = <0x10040000 0x1000>; - no-map; - }; - - vdev0vring1:vdev0vring1@10041000{ - compatible = "shared-dma-pool"; - reg = <0x10041000 0x1000>; - no-map; - }; - - vdev0buffer:vdev0buffer@10042000{ - compatible = "shared-dma-pool"; - reg = <0x10042000 0x4000>; - no-map; - }; - - mcuram:mcuram@30000000{ - compatible = "shared-dma-pool"; - reg = <0x30000000 0x40000>; - no-map; - }; - - retram:retram@38000000{ - compatible = "shared-dma-pool"; - reg = <0x38000000 0x10000>; - no-map; - }; - - gpu_reserved:gpu@d4000000{ - reg = <0xd4000000 0x4000000>; - no-map; - }; - }; - - led{ - compatible = "gpio-leds"; - - red1{ - label = "LED1_RED"; - gpios = <&gpioz 6 GPIO_ACTIVE_LOW>; - linux,default-trigger = "heartbeat"; - status = "okay"; - default-state = "off"; - }; - - green1{ - label = "LED1_GRN"; - gpios = <&gpioz 7 GPIO_ACTIVE_LOW>; - status = "okay"; - default-state = "on"; - }; - - red2{ - label = "LED2_RED"; - gpios = <&gpioi 8 GPIO_ACTIVE_LOW>; - status = "okay"; - default-state = "off"; - }; - - green2{ - label = "LED2_GRN"; - gpios = <&gpioi 9 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - }; - - usb_phy_tuning:usb-phy-tuning{ - st,hs-dc-level = <2>; - st,fs-rftime-tuning; - st,hs-rftime-reduction; - st,hs-current-trim = <15>; - st,hs-impedance-trim = <1>; - st,squelch-level = <3>; - st,hs-rx-offset = <2>; - st,no-lsfs-sc; - }; - - vin:vin{ - compatible = "regulator-fixed"; - regulator-name = "vin"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; - - aliases{ - serial0 = &uart4; - serial2 = &usart2; - serial5 = &uart5; - serial7 = &uart7; - serial1 = &uart8; - }; - - chosen{ - stdout-path = "serial0:115200n8"; - }; - -}; /*root*/ - -&pinctrl { - u-boot,dm-pre-reloc; - i2c1_pins_mx: i2c1-0 { - pins { - pinmux = , /* I2C1_SCL */ - ; /* I2C1_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c1_pins_sleep_mx: i2c1-1 { - pins { - pinmux = , /* I2C1_SCL */ - ; /* I2C1_SDA */ - }; - }; - - i2c2_pins_mx: i2c2-0 { - pins { - pinmux = , /* I2C2_SCL */ - ; /* I2C2_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c2_pins_sleep_mx: i2c2-1 { - pins { - pinmux = , /* I2C2_SCL */ - ; /* I2C2_SDA */ - }; - }; - - i2c5_pins_mx: i2c5-0 { - pins { - pinmux = , /* I2C5_SCL */ - ; /* I2C5_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c5_pins_sleep_mx: i2c5-1 { - pins { - pinmux = , /* I2C5_SCL */ - ; /* I2C5_SDA */ - }; - }; - - spi2_pins_mx: spi2-0 { - pins1 { - pinmux = , /* SPI2_SCK */ - ; /* SPI2_MOSI */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - - pins2 { - pinmux = ; /* SPI2_MISO */ - bias-disable; - }; - }; - - spi2_sleep_pins_mx: spi2-sleep-0 { - pins { - pinmux = , /* SPI2_SCK */ - , /* SPI2_MISO */ - ; /* SPI2_MOSI */ - }; - }; - - spi4_pins_mx: spi4-0 { - pins1 { - pinmux = , /* SPI4_SCK */ - ; /* SPI4_MOSI */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - - pins2 { - pinmux = ; /* SPI4_MISO */ - bias-disable; - }; - }; - - spi4_sleep_pins_mx: spi4-sleep-0 { - pins { - pinmux = , /* SPI2_SCK */ - , /* SPI2_MISO */ - ; /* SPI2_MOSI */ - }; - }; - - usart2_pins_mx: usart2-0 { - pins1 { - pinmux = ; /* USART2_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* USART2_RX */ - bias-disable; - }; - }; - - usart2_idle_pins_mx: usart2-idle-0 { - pins1 { - pinmux = ; /* USART2_TX */ - }; - pins2 { - pinmux = ; /* USART2_RX */ - bias-disable; - }; - }; - - usart2_sleep_pins_mx: usart2-sleep-0 { - pins { - pinmux = , /* USART2_TX */ - ; /* USART2_RX */ - }; - }; - - uart5_pins_mx: uart5-0 { - pins1 { - pinmux = ; /* USART5_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* USART5_RX */ - bias-disable; - }; - }; - - uart5_idle_pins_mx: uart5-idle-0 { - pins1 { - pinmux = ; /* USART5_TX */ - }; - pins2 { - pinmux = ; /* USART5_RX */ - bias-disable; - }; - }; - - uart5_sleep_pins_mx: uart5-sleep-0 { - pins { - pinmux = , /* USART5_TX */ - ; /* USART5_RX */ - }; - }; - - uart7_pins_mx: uart7-0 { - pins1 { - pinmux = ; /* USART7_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* USART7_RX */ - bias-disable; - }; - }; - - uart7_idle_pins_mx: uart7-idle-0 { - pins1 { - pinmux = ; /* USART7_TX */ - }; - pins2 { - pinmux = ; /* USART7_RX */ - bias-disable; - }; - }; - - uart7_sleep_pins_mx: uart7-sleep-0 { - pins { - pinmux = , /* USART7_TX */ - ; /* USART7_RX */ - }; - }; - - uart8_pins_mx: uart8-0 { - pins1 { - pinmux = ; /* USART8_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* USART8_RX */ - bias-disable; - }; - }; - - uart8_idle_pins_mx: uart8-idle-0 { - pins1 { - pinmux = ; /* USART8_TX */ - }; - pins2 { - pinmux = ; /* USART8_RX */ - bias-disable; - }; - }; - - uart8_sleep_pins_mx: uart8-sleep-0 { - pins { - pinmux = , /* USART8_TX */ - ; /* USART8_RX */ - }; - }; - - m_can1_pins_mx: m-can1-0 { - pins1 { - pinmux = ; /* CAN1_TX */ - slew-rate = <0>; - drive-push-pull; - bias-disable; - }; - pins2 { - pinmux = ; /* CAN1_RX */ - bias-disable; - }; - }; - - m_can1_sleep_pins_mx: m_can1-sleep@0 { - pins { - pinmux = , /* CAN1_TX */ - ; /* CAN1_RX */ - }; - }; - - pwm1_pins_mx: pwm1-0 { - pins { - pinmux = ; /* TIM1_CH2 */ - bias-pull-down; - drive-push-pull; - slew-rate = <0>; - }; - }; - - pwm1_sleep_pins_mx: pwm1-sleep-0 { - pins { - pinmux = ; /* TIM1_CH1 */ - }; - }; - - pwm3_pins_mx: pwm3-0 { - pins { - pinmux = ; /* TIM3_CH2 */ - bias-pull-down; - drive-push-pull; - slew-rate = <0>; - }; - }; - - pwm3_sleep_pins_mx: pwm3-sleep-0 { - pins { - pinmux = ; /* TIM3_CH2 */ - }; - }; - - pwm4_pins_mx: pwm4-0 { - pins { - pinmux = ; /* TIM4_CH2 */ - bias-pull-down; - drive-push-pull; - slew-rate = <0>; - }; - }; - - pwm4_sleep_pins_mx: pwm4-sleep-0 { - pins { - pinmux = ; /* TIM4_CH2 */ - }; - }; - - pwm8_pins_mx: pwm8-0 { - pins { - pinmux = ; /* TIM8_CH2 */ - bias-pull-down; - drive-push-pull; - slew-rate = <0>; - }; - }; - - pwm8_sleep_pins_mx: pwm8-sleep-0 { - pins { - pinmux = ; /* TIM8_CH2 */ - }; - }; - - - pwm12_pins_mx: pwm12-0 { - pins { - pinmux = ; /* TIM12_CH2 */ - bias-pull-down; - drive-push-pull; - slew-rate = <0>; - }; - }; - - pwm12_sleep_pins_mx: pwm12-sleep-0 { - pins { - pinmux = ; /* TIM12_CH2 */ - }; - }; - - sdmmc1_pins_mx: sdmmc1_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - ; /* SDMMC1_CMD */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - }; - - sdmmc1_opendrain_pins_mx: sdmmc1_opendrain_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - ; /* SDMMC1_D3 */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - pins3 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CMD */ - bias-disable; - drive-open-drain; - slew-rate = <1>; - }; - }; - - sdmmc1_sleep_pins_mx: sdmmc1_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - , /* SDMMC1_CK */ - ; /* SDMMC1_CMD */ - }; - }; - - uart4_pins_mx: uart4_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = ; /* UART4_RX */ - /* pull-up on rx to avoid floating level */ - bias-pull-up; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* UART4_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - }; - - uart4_sleep_pins_mx: uart4_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* UART4_RX */ - ; /* UART4_TX */ - }; - }; -}; - -&pinctrl_z { - u-boot,dm-pre-reloc; - - i2c4_pins_z_mx: i2c4_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c4_sleep_pins_z_mx: i2c4_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - }; - }; - - spi6_pins_mx: spi6-0 { - pins1 { - pinmux = , /* SPI6_SCK */ - ; /* SPI6_MOSI */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - - pins2 { - pinmux = ; /* SPI6_MISO */ - bias-disable; - }; - }; - - spi6_sleep_pins_mx: spi6-sleep-0 { - pins { - pinmux = , /* SPI6_SCK */ - , /* SPI6_MISO */ - ; /* SPI6_MOSI */ - }; - }; -}; - -&m4_rproc{ - memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, - <&vdev0vring1>, <&vdev0buffer>; - mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; - mbox-names = "vq0", "vq1", "shutdown"; - interrupt-parent = <&exti>; - interrupts = <68 1>; - wakeup-source; - status = "okay"; -}; - -&pwr_regulators { - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - - -&crc1{ - status = "okay"; -}; - -&cryp1{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&dma1{ - status = "okay"; - sram = <&dma_pool>; -}; - -&dma2{ - status = "okay"; - sram = <&dma_pool>; -}; - -&dts{ - status = "okay"; -}; - -&gpu{ - status = "okay"; - contiguous-area = <&gpu_reserved>; -}; - -&hash1{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&hsem{ - status = "okay"; -}; - -&i2c1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c1_pins_mx>; - pinctrl-1 = <&i2c1_pins_sleep_mx>; - i2c-scl-rising-time-ns = <100>; - i2c-scl-falling-time-ns = <7>; - status = "okay"; - /delete-property/dmas; - /delete-property/dma-names; -}; - -&i2c2 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c2_pins_mx>; - pinctrl-1 = <&i2c2_pins_sleep_mx>; - i2c-scl-rising-time-ns = <100>; - i2c-scl-falling-time-ns = <7>; - status = "okay"; - /delete-property/dmas; - /delete-property/dma-names; -}; - -&i2c5 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c5_pins_mx>; - pinctrl-1 = <&i2c5_pins_sleep_mx>; - i2c-scl-rising-time-ns = <100>; - i2c-scl-falling-time-ns = <7>; - status = "okay"; - /delete-property/dmas; - /delete-property/dma-names; -}; - -&i2c4{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c4_pins_z_mx>; - pinctrl-1 = <&i2c4_sleep_pins_z_mx>; - status = "okay"; - - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - clock-frequency = <400000>; - /delete-property/ dmas; - /delete-property/ dma-names; - - pmic:stpmic@33{ - compatible = "st,stpmic1"; - reg = <0x33>; - interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; - interrupt-controller; - #interrupt-cells = <2>; - status = "okay"; - - regulators{ - compatible = "st,stpmic1-regulators"; - buck1-supply = <&vin>; - buck2-supply = <&vin>; - buck3-supply = <&vin>; - buck4-supply = <&vin>; - ldo1-supply = <&v3v3>; - ldo2-supply = <&vin>; - ldo3-supply = <&vdd_ddr>; - ldo4-supply = <&vin>; - ldo5-supply = <&vin>; - ldo6-supply = <&v3v3>; - vref_ddr-supply = <&vin>; - boost-supply = <&vin>; - pwr_sw1-supply = <&bst_out>; - pwr_sw2-supply = <&bst_out>; - - vddcore:buck1{ - regulator-name = "vddcore"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - vdd_ddr:buck2{ - regulator-name = "vdd_ddr"; - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - vdd:buck3{ - regulator-name = "vdd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - st,mask-reset; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - v3v3:buck4{ - regulator-name = "v3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-over-current-protection; - regulator-initial-mode = <0>; - }; - - v1v8_audio:ldo1{ - regulator-name = "v1v8_audio"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - interrupts = ; - }; - - v3v3_hdmi:ldo2{ - regulator-name = "v3v3_hdmi"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - interrupts = ; - }; - - vtt_ddr:ldo3{ - regulator-name = "vtt_ddr"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <750000>; - regulator-always-on; - regulator-over-current-protection; - }; - - vdd_usb:ldo4{ - regulator-name = "vdd_usb"; - interrupts = ; - }; - - vdda:ldo5{ - regulator-name = "vdda"; - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - interrupts = ; - regulator-boot-on; - }; - - v1v2_hdmi:ldo6{ - regulator-name = "v1v2_hdmi"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-always-on; - interrupts = ; - }; - - vref_ddr:vref_ddr{ - regulator-name = "vref_ddr"; - regulator-always-on; - regulator-over-current-protection; - }; - - bst_out:boost{ - regulator-name = "bst_out"; - interrupts = ; - }; - - vbus_otg:pwr_sw1{ - regulator-name = "vbus_otg"; - interrupts = ; - }; - - vbus_sw:pwr_sw2{ - regulator-name = "vbus_sw"; - interrupts = ; - regulator-active-discharge = <1>; - }; - }; - - onkey{ - compatible = "st,stpmic1-onkey"; - interrupts = , ; - interrupt-names = "onkey-falling", "onkey-rising"; - power-off-time-sec = <10>; - status = "okay"; - }; - - watchdog { - compatible = "st,stpmic1-wdt"; - status = "disabled"; - }; - }; - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - pagesize = <16>; - }; -}; - -&ipcc{ - status = "okay"; -}; - -&iwdg2{ - status = "okay"; - timeout-sec = <32>; -}; - -&mdma1{ - status = "okay"; -}; - -&rcc{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&rng1{ - status = "okay"; -}; - -&rtc{ - status = "okay"; -}; - -&sdmmc1{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "opendrain", "sleep"; - pinctrl-0 = <&sdmmc1_pins_mx>; - pinctrl-1 = <&sdmmc1_opendrain_pins_mx>; - pinctrl-2 = <&sdmmc1_sleep_pins_mx>; - status = "okay"; - - cd-gpios = <&gpiog 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - disable-wp; - st,neg-edge; - bus-width = <4>; - vmmc-supply = <&v3v3>; -}; - -&tamp{ - status = "okay"; -}; - -&uart4{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&uart4_pins_mx>; - pinctrl-1 = <&uart4_sleep_pins_mx>; - status = "okay"; - - /delete-property/ dmas; - /delete-property/ dma-names; -}; - -&usbh_ehci{ - status = "okay"; - phys = <&usbphyc_port0>; -}; - -&usbh_ohci{ - status = "okay"; -}; - -&usbotg_hs{ - u-boot,dm-pre-reloc; - status = "okay"; - phys = <&usbphyc_port1 0>; - phy-names = "usb2-phy"; -}; - -&usbphyc{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&usbphyc_port0{ - u-boot,dm-pre-reloc; - status = "okay"; - phy-supply = <&vdd_usb>; - st,phy-tuning = <&usb_phy_tuning>; -}; - -&usbphyc_port1{ - u-boot,dm-pre-reloc; - status = "okay"; - phy-supply = <&vdd_usb>; - st,phy-tuning = <&usb_phy_tuning>; -}; - -&adc { - vdd-supply = <&vdd>; - vdda-supply = <&vdda>; - vref-supply = <&vdda>; - status = "okay"; - adc1: adc@0 { - st,min-sample-time-nsecs = <5000>; - st,adc-channels = <0 1>; - status = "okay"; - }; - - adc2: adc@100 { - status = "okay"; - }; - - adc_temp: temp { - status = "okay"; - }; -}; - -&usbh_ohci{ - phys = <&usbphyc_port0>; -}; - -&cpu0{ - cpu-supply = <&vddcore>; -}; - -&cpu1{ - cpu-supply = <&vddcore>; -}; - -&sram{ - dma_pool:dma_pool@0{ - reg = <0x50000 0x10000>; - pool; - }; -}; - -&spi2 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&spi2_pins_mx>; - pinctrl-1 = <&spi2_sleep_pins_mx>; - cs-gpios = <&gpioi 0 0>; - status = "okay"; - - spidev2: spidev2@0{ - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - reg = <0>; - }; -}; - -&spi4 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&spi4_pins_mx>; - pinctrl-1 = <&spi4_sleep_pins_mx>; - cs-gpios = <&gpioe 11 0>; - status = "okay"; - - spidev4: spidev4@0{ - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - reg = <0>; - }; -}; - -&spi6 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&spi6_pins_mx>; - pinctrl-1 = <&spi6_sleep_pins_mx>; - cs-gpios = <&gpioz 3 0>; - status = "okay"; - - spidev6: spidev6@0{ - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - reg = <0>; - }; -}; - -&usart2 { - pinctrl-names = "default", "sleep", "idle"; - pinctrl-0 = <&usart2_pins_mx>; - pinctrl-1 = <&usart2_sleep_pins_mx>; - pinctrl-2 = <&usart2_idle_pins_mx>; - status = "okay"; -}; - -&uart5 { - pinctrl-names = "default", "sleep", "idle"; - pinctrl-0 = <&uart5_pins_mx>; - pinctrl-1 = <&uart5_sleep_pins_mx>; - pinctrl-2 = <&uart5_idle_pins_mx>; - status = "okay"; -}; - -&uart7 { - pinctrl-names = "default", "sleep", "idle"; - pinctrl-0 = <&uart7_pins_mx>; - pinctrl-1 = <&uart7_sleep_pins_mx>; - pinctrl-2 = <&uart7_idle_pins_mx>; - status = "okay"; -}; - -&uart8 { - pinctrl-names = "default", "sleep", "idle"; - pinctrl-0 = <&uart8_pins_mx>; - pinctrl-1 = <&uart8_sleep_pins_mx>; - pinctrl-2 = <&uart8_idle_pins_mx>; - status = "okay"; -}; - -&m_can1 { - pinctrl-names = "default"; - pinctrl-0 = <&m_can1_pins_mx>; - status = "okay"; - can-transceiver { - max-bitrate = <5000000>; - }; -}; - -&timers1 { - status = "okay"; - /* spare dmas for other usage */ - /delete-property/dmas; - /delete-property/dma-names; - pwm1: pwm { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pwm1_pins_mx>; - pinctrl-1 = <&pwm1_sleep_pins_mx>; - status = "okay"; - }; -}; - -&timers3 { - status = "okay"; - /* spare dmas for other usage */ - /delete-property/dmas; - /delete-property/dma-names; - pwm3: pwm { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pwm3_pins_mx>; - pinctrl-1 = <&pwm3_sleep_pins_mx>; - status = "okay"; - }; -}; - -&timers4 { - status = "okay"; - /* spare dmas for other usage */ - /delete-property/dmas; - /delete-property/dma-names; - pwm4: pwm { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pwm4_pins_mx>; - pinctrl-1 = <&pwm4_sleep_pins_mx>; - status = "okay"; - }; -}; - -&timers8 { - status = "okay"; - /* spare dmas for other usage */ - /delete-property/dmas; - /delete-property/dma-names; - pwm8: pwm { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pwm8_pins_mx>; - pinctrl-1 = <&pwm8_sleep_pins_mx>; - status = "okay"; - }; -}; - -&timers12 { - status = "okay"; - /* spare dmas for other usage */ - /delete-property/dmas; - /delete-property/dma-names; - pwm12: pwm { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pwm12_pins_mx>; - pinctrl-1 = <&pwm12_sleep_pins_mx>; - status = "okay"; - }; -}; diff --git a/board/octavo/osd32mp1-brk/overlay/boot/extlinux/extlinux.conf b/board/octavo/osd32mp1-brk/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index a1ca2e58d6cdd1727ec3a97db7a01a483bf8ac80..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label osd32mp1-brk-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157c-osd32mp1-brk.dtb - append root=/dev/mmcblk0p4 rootwait diff --git a/board/octavo/osd32mp1-brk/patches/uboot/0001-Add-OSD32MP1-BRK-device-tree-support.patch b/board/octavo/osd32mp1-brk/patches/uboot/0001-Add-OSD32MP1-BRK-device-tree-support.patch deleted file mode 100644 index 3e4b6de23598398be64d896de8a3853d84324a84..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/patches/uboot/0001-Add-OSD32MP1-BRK-device-tree-support.patch +++ /dev/null @@ -1,1509 +0,0 @@ -From 4731b1f73e0bfe3e3539f6b7c17e0f5366996a98 Mon Sep 17 00:00:00 2001 -From: "neeraj.dantu" -Date: Sun, 21 Nov 2021 23:26:05 -0600 -Subject: [PATCH 1/2] Add OSD32MP1-BRK device tree support - -Signed-off-by: Kory Maincent ---- - arch/arm/dts/Makefile | 3 +- - .../dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi | 119 ++ - .../dts/stm32mp157c-osd32mp1-brk-u-boot.dtsi | 219 ++++ - arch/arm/dts/stm32mp157c-osd32mp1-brk.dts | 1120 +++++++++++++++++ - 4 files changed, 1460 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi - create mode 100644 arch/arm/dts/stm32mp157c-osd32mp1-brk-u-boot.dtsi - create mode 100644 arch/arm/dts/stm32mp157c-osd32mp1-brk.dts - -diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 83677c3d4f..6e67c6d18a 100644 ---- a/arch/arm/dts/Makefile -+++ b/arch/arm/dts/Makefile -@@ -959,7 +959,8 @@ dtb-$(CONFIG_STM32MP15x) += \ - stm32mp157f-ed1.dtb \ - stm32mp157f-ev1.dtb \ - stm32mp15xx-dhcom-pdk2.dtb \ -- stm32mp15xx-dhcor-avenger96.dtb -+ stm32mp15xx-dhcor-avenger96.dtb \ -+ stm32mp157c-osd32mp1-brk.dtb - - dtb-$(CONFIG_SOC_K3_AM6) += k3-am654-base-board.dtb k3-am654-r5-base-board.dtb - dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb \ -diff --git a/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi b/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi -new file mode 100644 -index 0000000000..362f3281b8 ---- /dev/null -+++ b/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi -@@ -0,0 +1,119 @@ -+/* -+ * Copyright (C) 2015-2018, STMicroelectronics - All Rights Reserved -+ * -+ * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -+ * -+ */ -+ -+/* -+ * File generated by STMicroelectronics STM32CubeMX DDR Tool for MPUs -+ * DDR type: DDR3 / DDR3L -+ * DDR width: 16bits -+ * DDR density: 4Gb -+ * System frequency: 533000Khz -+ * Relaxed Timing Mode: false -+ * Address mapping type: RBC -+ * -+ * Save Date: 2020.08.20, save Time: 10:57:25 -+ */ -+ -+#define DDR_MEM_NAME "DDR3-DDR3L 16bits 533000Khz" -+#define DDR_MEM_SPEED 533000 -+#define DDR_MEM_SIZE 0x20000000 -+ -+#define DDR_MSTR 0x00041401 -+#define DDR_MRCTRL0 0x00000010 -+#define DDR_MRCTRL1 0x00000000 -+#define DDR_DERATEEN 0x00000000 -+#define DDR_DERATEINT 0x00800000 -+#define DDR_PWRCTL 0x00000000 -+#define DDR_PWRTMG 0x00400010 -+#define DDR_HWLPCTL 0x00000000 -+#define DDR_RFSHCTL0 0x00210000 -+#define DDR_RFSHCTL3 0x00000000 -+#define DDR_RFSHTMG 0x0081008B -+#define DDR_CRCPARCTL0 0x00000000 -+#define DDR_DRAMTMG0 0x121B2414 -+#define DDR_DRAMTMG1 0x000A041C -+#define DDR_DRAMTMG2 0x0608090F -+#define DDR_DRAMTMG3 0x0050400C -+#define DDR_DRAMTMG4 0x08040608 -+#define DDR_DRAMTMG5 0x06060403 -+#define DDR_DRAMTMG6 0x02020002 -+#define DDR_DRAMTMG7 0x00000202 -+#define DDR_DRAMTMG8 0x00001005 -+#define DDR_DRAMTMG14 0x000000A0 -+#define DDR_ZQCTL0 0xC2000040 -+#define DDR_DFITMG0 0x02060105 -+#define DDR_DFITMG1 0x00000202 -+#define DDR_DFILPCFG0 0x07000000 -+#define DDR_DFIUPD0 0xC0400003 -+#define DDR_DFIUPD1 0x00000000 -+#define DDR_DFIUPD2 0x00000000 -+#define DDR_DFIPHYMSTR 0x00000000 -+#define DDR_ODTCFG 0x06000600 -+#define DDR_ODTMAP 0x00000001 -+#define DDR_SCHED 0x00000C01 -+#define DDR_SCHED1 0x00000000 -+#define DDR_PERFHPR1 0x01000001 -+#define DDR_PERFLPR1 0x08000200 -+#define DDR_PERFWR1 0x08000400 -+#define DDR_DBG0 0x00000000 -+#define DDR_DBG1 0x00000000 -+#define DDR_DBGCMD 0x00000000 -+#define DDR_POISONCFG 0x00000000 -+#define DDR_PCCFG 0x00000010 -+#define DDR_PCFGR_0 0x00010000 -+#define DDR_PCFGW_0 0x00000000 -+#define DDR_PCFGQOS0_0 0x02100C03 -+#define DDR_PCFGQOS1_0 0x00800100 -+#define DDR_PCFGWQOS0_0 0x01100C03 -+#define DDR_PCFGWQOS1_0 0x01000200 -+#define DDR_PCFGR_1 0x00010000 -+#define DDR_PCFGW_1 0x00000000 -+#define DDR_PCFGQOS0_1 0x02100C03 -+#define DDR_PCFGQOS1_1 0x00800040 -+#define DDR_PCFGWQOS0_1 0x01100C03 -+#define DDR_PCFGWQOS1_1 0x01000200 -+#define DDR_ADDRMAP1 0x00070707 -+#define DDR_ADDRMAP2 0x00000000 -+#define DDR_ADDRMAP3 0x1F000000 -+#define DDR_ADDRMAP4 0x00001F1F -+#define DDR_ADDRMAP5 0x06060606 -+#define DDR_ADDRMAP6 0x0F060606 -+#define DDR_ADDRMAP9 0x00000000 -+#define DDR_ADDRMAP10 0x00000000 -+#define DDR_ADDRMAP11 0x00000000 -+#define DDR_PGCR 0x01442E02 -+#define DDR_PTR0 0x0022AA5B -+#define DDR_PTR1 0x04841104 -+#define DDR_PTR2 0x042DA068 -+#define DDR_ACIOCR 0x10400812 -+#define DDR_DXCCR 0x00000C40 -+#define DDR_DSGCR 0xF200011F -+#define DDR_DCR 0x0000000B -+#define DDR_DTPR0 0x38D488D0 -+#define DDR_DTPR1 0x098B00D8 -+#define DDR_DTPR2 0x10023600 -+#define DDR_MR0 0x00000840 -+#define DDR_MR1 0x00000000 -+#define DDR_MR2 0x00000208 -+#define DDR_MR3 0x00000000 -+#define DDR_ODTCR 0x00010000 -+#define DDR_ZQ0CR1 0x00000038 -+#define DDR_DX0GCR 0x0000CE81 -+#define DDR_DX0DLLCR 0x40000000 -+#define DDR_DX0DQTR 0xFFFFFFFF -+#define DDR_DX0DQSTR 0x3DB02000 -+#define DDR_DX1GCR 0x0000CE81 -+#define DDR_DX1DLLCR 0x40000000 -+#define DDR_DX1DQTR 0xFFFFFFFF -+#define DDR_DX1DQSTR 0x3DB02000 -+#define DDR_DX2GCR 0x0000CE80 -+#define DDR_DX2DLLCR 0x40000000 -+#define DDR_DX2DQTR 0xFFFFFFFF -+#define DDR_DX2DQSTR 0x3DB02000 -+#define DDR_DX3GCR 0x0000CE80 -+#define DDR_DX3DLLCR 0x40000000 -+#define DDR_DX3DQTR 0xFFFFFFFF -+#define DDR_DX3DQSTR 0x3DB02000 -diff --git a/arch/arm/dts/stm32mp157c-osd32mp1-brk-u-boot.dtsi b/arch/arm/dts/stm32mp157c-osd32mp1-brk-u-boot.dtsi -new file mode 100644 -index 0000000000..b7284f3028 ---- /dev/null -+++ b/arch/arm/dts/stm32mp157c-osd32mp1-brk-u-boot.dtsi -@@ -0,0 +1,219 @@ -+/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause*/ -+/* -+ * Copyright (C) 2020, Octavo Systems LLC - All Rights Reserved -+ */ -+ -+/* For more information on Device Tree configuration, please refer to -+ * https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration -+ */ -+ -+#include -+#include "stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi" -+#include "stm32mp15-u-boot.dtsi" -+#include "stm32mp15-ddr.dtsi" -+ -+ -+/ { -+ -+ aliases{ -+ i2c0 = &i2c4; -+ mmc0 = &sdmmc1; -+ usb0 = &usbotg_hs; -+ }; -+ -+ config{ -+ u-boot,boot-led = "LED2_GRN"; -+ u-boot,error-led = "LED2_RED"; -+ u-boot,mmc-env-partition = "fip"; -+ st,stm32prog-gpios = <&gpiod 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; -+ }; -+ -+#ifdef CONFIG_STM32MP15x_STM32IMAGE -+ config { -+ u-boot,mmc-env-partition = "ssbl"; -+ }; -+ -+ /* only needed for boot with TF-A, witout FIP support */ -+ firmware { -+ optee { -+ compatible = "linaro,optee-tz"; -+ method = "smc"; -+ }; -+ }; -+ -+ reserved-memory { -+ optee@de000000 { -+ reg = <0xde000000 0x02000000>; -+ no-map; -+ }; -+ }; -+#endif -+ -+}; /*root*/ -+ -+#ifndef CONFIG_TFABOOT -+ -+&clk_hse { -+ st,digbypass; -+}; -+ -+&rcc { -+ u-boot,dm-pre-reloc; -+ st,clksrc = < -+ CLK_MPU_PLL1P -+ CLK_AXI_PLL2P -+ CLK_MCU_PLL3P -+ CLK_PLL12_HSE -+ CLK_PLL3_HSE -+ CLK_PLL4_HSE -+ CLK_RTC_LSE -+ CLK_MCO1_DISABLED -+ CLK_MCO2_DISABLED -+ >; -+ st,clkdiv = < -+ 1 /*MPU*/ -+ 0 /*AXI*/ -+ 0 /*MCU*/ -+ 1 /*APB1*/ -+ 1 /*APB2*/ -+ 1 /*APB3*/ -+ 1 /*APB4*/ -+ 2 /*APB5*/ -+ 23 /*RTC*/ -+ 0 /*MCO1*/ -+ 0 /*MCO2*/ -+ >; -+ st,pkcs = < -+ CLK_CKPER_HSE -+ CLK_FMC_ACLK -+ CLK_QSPI_ACLK -+ CLK_ETH_DISABLED -+ CLK_SDMMC12_PLL4P -+ CLK_DSI_DSIPLL -+ CLK_STGEN_HSE -+ CLK_USBPHY_HSE -+ CLK_SPI2S1_PLL3Q -+ CLK_SPI2S23_PLL3Q -+ CLK_SPI45_HSI -+ CLK_SPI6_HSI -+ CLK_I2C46_HSI -+ CLK_SDMMC3_PLL4P -+ CLK_USBO_USBPHY -+ CLK_ADC_CKPER -+ CLK_CEC_LSE -+ CLK_I2C12_HSI -+ CLK_I2C35_HSI -+ CLK_UART1_HSI -+ CLK_UART24_HSI -+ CLK_UART35_HSI -+ CLK_UART6_HSI -+ CLK_UART78_HSI -+ CLK_SPDIF_PLL4P -+ CLK_FDCAN_PLL4R -+ CLK_SAI1_PLL3Q -+ CLK_SAI2_PLL3Q -+ CLK_SAI3_PLL3Q -+ CLK_SAI4_PLL3Q -+ CLK_RNG1_LSI -+ CLK_RNG2_LSI -+ CLK_LPTIM1_PCLK1 -+ CLK_LPTIM23_PCLK3 -+ CLK_LPTIM45_LSE -+ >; -+ pll2:st,pll@1 { -+ compatible = "st,stm32mp1-pll"; -+ reg = <1>; -+ cfg = < 2 65 1 0 0 PQR(1,1,1) >; -+ frac = < 0x1400 >; -+ u-boot,dm-pre-reloc; -+ }; -+ pll3:st,pll@2 { -+ compatible = "st,stm32mp1-pll"; -+ reg = <2>; -+ cfg = < 1 33 1 16 36 PQR(1,1,1) >; -+ frac = < 0x1a04 >; -+ u-boot,dm-pre-reloc; -+ }; -+ pll4:st,pll@3 { -+ compatible = "st,stm32mp1-pll"; -+ reg = <3>; -+ cfg = < 3 98 5 7 7 PQR(1,1,1) >; -+ u-boot,dm-pre-reloc; -+ }; -+}; -+ -+&i2c4{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&i2c4_pins_z_mx { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ }; -+}; -+ -+&sdmmc1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&sdmmc1_pins_mx { -+ u-boot,dm-spl; -+ pins1 { -+ u-boot,dm-spl; -+ }; -+ pins2 { -+ u-boot,dm-spl; -+ }; -+}; -+ -+#endif /*CONFIG_TFABOOT*/ -+ -+&cryp1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&hash1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&uart4{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbotg_hs{ -+ u-boot,dm-pre-reloc; -+ u-boot,force-b-session-valid; -+ hnp-srp-disable; -+ dr_mode = "peripheral"; -+}; -+ -+&usbphyc{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbphyc_port0{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbphyc_port1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&adc{ -+ status = "okay"; -+}; -+ -+#ifndef CONFIG_STM32MP1_TRUSTED -+&i2s2{ -+ clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; -+}; -+ -+&pmic{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&sai2{ -+ clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; -+}; -+#endif /*CONFIG_STM32MP1_TRUSTED*/ -diff --git a/arch/arm/dts/stm32mp157c-osd32mp1-brk.dts b/arch/arm/dts/stm32mp157c-osd32mp1-brk.dts -new file mode 100644 -index 0000000000..d5f2793f54 ---- /dev/null -+++ b/arch/arm/dts/stm32mp157c-osd32mp1-brk.dts -@@ -0,0 +1,1120 @@ -+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -+/* -+ * Copyright (C) Octavo Systems LLC 2020 - All Rights Reserved -+ */ -+ -+/* For more information on Device Tree configuration, please refer to -+ * https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration -+ */ -+ -+/dts-v1/; -+#include -+#include "stm32mp157.dtsi" -+#include "stm32mp15xc.dtsi" -+#include "stm32mp15xxac-pinctrl.dtsi" -+#include "stm32mp15-m4-srm.dtsi" -+#include -+#include -+#include -+ -+/ { -+ model = "Octavo OSD32MP1 BRK board"; -+ compatible = "st,stm32mp157c-osd32mp1-brk", "st,stm32mp157"; -+ -+ memory@c0000000 { -+ device_type = "memory"; -+ reg = <0xc0000000 0x20000000>; -+ }; -+ -+ reserved-memory { -+ #address-cells = <1>; -+ #size-cells = <1>; -+ ranges; -+ -+ mcuram2:mcuram2@10000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10000000 0x40000>; -+ no-map; -+ }; -+ -+ vdev0vring0:vdev0vring0@10040000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10040000 0x1000>; -+ no-map; -+ }; -+ -+ vdev0vring1:vdev0vring1@10041000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10041000 0x1000>; -+ no-map; -+ }; -+ -+ vdev0buffer:vdev0buffer@10042000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10042000 0x4000>; -+ no-map; -+ }; -+ -+ mcuram:mcuram@30000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x30000000 0x40000>; -+ no-map; -+ }; -+ -+ retram:retram@38000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x38000000 0x10000>; -+ no-map; -+ }; -+ -+ gpu_reserved:gpu@d4000000{ -+ reg = <0xd4000000 0x4000000>; -+ no-map; -+ }; -+ }; -+ -+ led{ -+ compatible = "gpio-leds"; -+ -+ red1{ -+ label = "LED1_RED"; -+ gpios = <&gpioz 6 GPIO_ACTIVE_LOW>; -+ linux,default-trigger = "heartbeat"; -+ status = "okay"; -+ default-state = "off"; -+ }; -+ -+ green1{ -+ label = "LED1_GRN"; -+ gpios = <&gpioz 7 GPIO_ACTIVE_LOW>; -+ status = "okay"; -+ default-state = "on"; -+ }; -+ -+ red2{ -+ label = "LED2_RED"; -+ gpios = <&gpioi 8 GPIO_ACTIVE_LOW>; -+ status = "okay"; -+ default-state = "off"; -+ }; -+ -+ green2{ -+ label = "LED2_GRN"; -+ gpios = <&gpioi 9 GPIO_ACTIVE_LOW>; -+ default-state = "off"; -+ }; -+ }; -+ -+ usb_phy_tuning:usb-phy-tuning{ -+ st,hs-dc-level = <2>; -+ st,fs-rftime-tuning; -+ st,hs-rftime-reduction; -+ st,hs-current-trim = <15>; -+ st,hs-impedance-trim = <1>; -+ st,squelch-level = <3>; -+ st,hs-rx-offset = <2>; -+ st,no-lsfs-sc; -+ }; -+ -+ vin:vin{ -+ compatible = "regulator-fixed"; -+ regulator-name = "vin"; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ regulator-always-on; -+ }; -+ -+ aliases{ -+ serial0 = &uart4; -+ serial2 = &usart2; -+ serial5 = &uart5; -+ serial7 = &uart7; -+ serial1 = &uart8; -+ }; -+ -+ chosen{ -+ stdout-path = "serial0:115200n8"; -+ }; -+ -+}; /*root*/ -+ -+&pinctrl { -+ u-boot,dm-pre-reloc; -+ i2c1_pins_mx: i2c1-0 { -+ pins { -+ pinmux = , /* I2C1_SCL */ -+ ; /* I2C1_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c1_pins_sleep_mx: i2c1-1 { -+ pins { -+ pinmux = , /* I2C1_SCL */ -+ ; /* I2C1_SDA */ -+ }; -+ }; -+ -+ i2c2_pins_mx: i2c2-0 { -+ pins { -+ pinmux = , /* I2C2_SCL */ -+ ; /* I2C2_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c2_pins_sleep_mx: i2c2-1 { -+ pins { -+ pinmux = , /* I2C2_SCL */ -+ ; /* I2C2_SDA */ -+ }; -+ }; -+ -+ i2c5_pins_mx: i2c5-0 { -+ pins { -+ pinmux = , /* I2C5_SCL */ -+ ; /* I2C5_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c5_pins_sleep_mx: i2c5-1 { -+ pins { -+ pinmux = , /* I2C5_SCL */ -+ ; /* I2C5_SDA */ -+ }; -+ }; -+ -+ spi2_pins_mx: spi2-0 { -+ pins1 { -+ pinmux = , /* SPI2_SCK */ -+ ; /* SPI2_MOSI */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ -+ pins2 { -+ pinmux = ; /* SPI2_MISO */ -+ bias-disable; -+ }; -+ }; -+ -+ spi2_sleep_pins_mx: spi2-sleep-0 { -+ pins { -+ pinmux = , /* SPI2_SCK */ -+ , /* SPI2_MISO */ -+ ; /* SPI2_MOSI */ -+ }; -+ }; -+ -+ spi4_pins_mx: spi4-0 { -+ pins1 { -+ pinmux = , /* SPI4_SCK */ -+ ; /* SPI4_MOSI */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ -+ pins2 { -+ pinmux = ; /* SPI4_MISO */ -+ bias-disable; -+ }; -+ }; -+ -+ spi4_sleep_pins_mx: spi4-sleep-0 { -+ pins { -+ pinmux = , /* SPI2_SCK */ -+ , /* SPI2_MISO */ -+ ; /* SPI2_MOSI */ -+ }; -+ }; -+ -+ usart2_pins_mx: usart2-0 { -+ pins1 { -+ pinmux = ; /* USART2_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins2 { -+ pinmux = ; /* USART2_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ usart2_idle_pins_mx: usart2-idle-0 { -+ pins1 { -+ pinmux = ; /* USART2_TX */ -+ }; -+ pins2 { -+ pinmux = ; /* USART2_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ usart2_sleep_pins_mx: usart2-sleep-0 { -+ pins { -+ pinmux = , /* USART2_TX */ -+ ; /* USART2_RX */ -+ }; -+ }; -+ -+ uart5_pins_mx: uart5-0 { -+ pins1 { -+ pinmux = ; /* USART5_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins2 { -+ pinmux = ; /* USART5_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart5_idle_pins_mx: uart5-idle-0 { -+ pins1 { -+ pinmux = ; /* USART5_TX */ -+ }; -+ pins2 { -+ pinmux = ; /* USART5_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart5_sleep_pins_mx: uart5-sleep-0 { -+ pins { -+ pinmux = , /* USART5_TX */ -+ ; /* USART5_RX */ -+ }; -+ }; -+ -+ uart7_pins_mx: uart7-0 { -+ pins1 { -+ pinmux = ; /* USART7_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins2 { -+ pinmux = ; /* USART7_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart7_idle_pins_mx: uart7-idle-0 { -+ pins1 { -+ pinmux = ; /* USART7_TX */ -+ }; -+ pins2 { -+ pinmux = ; /* USART7_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart7_sleep_pins_mx: uart7-sleep-0 { -+ pins { -+ pinmux = , /* USART7_TX */ -+ ; /* USART7_RX */ -+ }; -+ }; -+ -+ uart8_pins_mx: uart8-0 { -+ pins1 { -+ pinmux = ; /* USART8_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins2 { -+ pinmux = ; /* USART8_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart8_idle_pins_mx: uart8-idle-0 { -+ pins1 { -+ pinmux = ; /* USART8_TX */ -+ }; -+ pins2 { -+ pinmux = ; /* USART8_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ uart8_sleep_pins_mx: uart8-sleep-0 { -+ pins { -+ pinmux = , /* USART8_TX */ -+ ; /* USART8_RX */ -+ }; -+ }; -+ -+ m_can1_pins_mx: m-can1-0 { -+ pins1 { -+ pinmux = ; /* CAN1_TX */ -+ slew-rate = <0>; -+ drive-push-pull; -+ bias-disable; -+ }; -+ pins2 { -+ pinmux = ; /* CAN1_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ m_can1_sleep_pins_mx: m_can1-sleep@0 { -+ pins { -+ pinmux = , /* CAN1_TX */ -+ ; /* CAN1_RX */ -+ }; -+ }; -+ -+ pwm1_pins_mx: pwm1-0 { -+ pins { -+ pinmux = ; /* TIM1_CH2 */ -+ bias-pull-down; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ pwm1_sleep_pins_mx: pwm1-sleep-0 { -+ pins { -+ pinmux = ; /* TIM1_CH1 */ -+ }; -+ }; -+ -+ pwm3_pins_mx: pwm3-0 { -+ pins { -+ pinmux = ; /* TIM3_CH2 */ -+ bias-pull-down; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ pwm3_sleep_pins_mx: pwm3-sleep-0 { -+ pins { -+ pinmux = ; /* TIM3_CH2 */ -+ }; -+ }; -+ -+ pwm4_pins_mx: pwm4-0 { -+ pins { -+ pinmux = ; /* TIM4_CH2 */ -+ bias-pull-down; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ pwm4_sleep_pins_mx: pwm4-sleep-0 { -+ pins { -+ pinmux = ; /* TIM4_CH2 */ -+ }; -+ }; -+ -+ pwm8_pins_mx: pwm8-0 { -+ pins { -+ pinmux = ; /* TIM8_CH2 */ -+ bias-pull-down; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ pwm8_sleep_pins_mx: pwm8-sleep-0 { -+ pins { -+ pinmux = ; /* TIM8_CH2 */ -+ }; -+ }; -+ -+ -+ pwm12_pins_mx: pwm12-0 { -+ pins { -+ pinmux = ; /* TIM12_CH2 */ -+ bias-pull-down; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ pwm12_sleep_pins_mx: pwm12-sleep-0 { -+ pins { -+ pinmux = ; /* TIM12_CH2 */ -+ }; -+ }; -+ -+ sdmmc1_pins_mx: sdmmc1_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ , /* SDMMC1_D3 */ -+ ; /* SDMMC1_CMD */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ sdmmc1_opendrain_pins_mx: sdmmc1_opendrain_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ ; /* SDMMC1_D3 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ pins3 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CMD */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ sdmmc1_sleep_pins_mx: sdmmc1_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ , /* SDMMC1_D3 */ -+ , /* SDMMC1_CK */ -+ ; /* SDMMC1_CMD */ -+ }; -+ }; -+ -+ uart4_pins_mx: uart4_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* UART4_RX */ -+ /* pull-up on rx to avoid floating level */ -+ bias-pull-up; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* UART4_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ uart4_sleep_pins_mx: uart4_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* UART4_RX */ -+ ; /* UART4_TX */ -+ }; -+ }; -+}; -+ -+&pinctrl_z { -+ u-boot,dm-pre-reloc; -+ -+ i2c4_pins_z_mx: i2c4_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* I2C4_SCL */ -+ ; /* I2C4_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c4_sleep_pins_z_mx: i2c4_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* I2C4_SCL */ -+ ; /* I2C4_SDA */ -+ }; -+ }; -+ -+ spi6_pins_mx: spi6-0 { -+ pins1 { -+ pinmux = , /* SPI6_SCK */ -+ ; /* SPI6_MOSI */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ -+ pins2 { -+ pinmux = ; /* SPI6_MISO */ -+ bias-disable; -+ }; -+ }; -+ -+ spi6_sleep_pins_mx: spi6-sleep-0 { -+ pins { -+ pinmux = , /* SPI6_SCK */ -+ , /* SPI6_MISO */ -+ ; /* SPI6_MOSI */ -+ }; -+ }; -+}; -+ -+&m4_rproc{ -+ memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, -+ <&vdev0vring1>, <&vdev0buffer>; -+ mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; -+ mbox-names = "vq0", "vq1", "shutdown"; -+ interrupt-parent = <&exti>; -+ interrupts = <68 1>; -+ wakeup-source; -+ status = "okay"; -+}; -+ -+&pwr_regulators { -+ vdd-supply = <&vdd>; -+ vdd_3v3_usbfs-supply = <&vdd_usb>; -+}; -+ -+ -+&crc1{ -+ status = "okay"; -+}; -+ -+&cryp1{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&dma1{ -+ status = "okay"; -+ sram = <&dma_pool>; -+}; -+ -+&dma2{ -+ status = "okay"; -+ sram = <&dma_pool>; -+}; -+ -+&dts{ -+ status = "okay"; -+}; -+ -+&gpu{ -+ status = "okay"; -+ contiguous-area = <&gpu_reserved>; -+}; -+ -+&hash1{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&hsem{ -+ status = "okay"; -+}; -+ -+&i2c1 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c1_pins_mx>; -+ pinctrl-1 = <&i2c1_pins_sleep_mx>; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ status = "okay"; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+}; -+ -+&i2c2 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c2_pins_mx>; -+ pinctrl-1 = <&i2c2_pins_sleep_mx>; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ status = "okay"; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+}; -+ -+&i2c5 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c5_pins_mx>; -+ pinctrl-1 = <&i2c5_pins_sleep_mx>; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ status = "okay"; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+}; -+ -+&i2c4{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c4_pins_z_mx>; -+ pinctrl-1 = <&i2c4_sleep_pins_z_mx>; -+ status = "okay"; -+ -+ i2c-scl-rising-time-ns = <185>; -+ i2c-scl-falling-time-ns = <20>; -+ clock-frequency = <400000>; -+ /delete-property/ dmas; -+ /delete-property/ dma-names; -+ -+ pmic:stpmic@33{ -+ compatible = "st,stpmic1"; -+ reg = <0x33>; -+ interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; -+ interrupt-controller; -+ #interrupt-cells = <2>; -+ status = "okay"; -+ -+ regulators{ -+ compatible = "st,stpmic1-regulators"; -+ buck1-supply = <&vin>; -+ buck2-supply = <&vin>; -+ buck3-supply = <&vin>; -+ buck4-supply = <&vin>; -+ ldo1-supply = <&v3v3>; -+ ldo2-supply = <&vin>; -+ ldo3-supply = <&vdd_ddr>; -+ ldo4-supply = <&vin>; -+ ldo5-supply = <&vin>; -+ ldo6-supply = <&v3v3>; -+ vref_ddr-supply = <&vin>; -+ boost-supply = <&vin>; -+ pwr_sw1-supply = <&bst_out>; -+ pwr_sw2-supply = <&bst_out>; -+ -+ vddcore:buck1{ -+ regulator-name = "vddcore"; -+ regulator-min-microvolt = <1200000>; -+ regulator-max-microvolt = <1350000>; -+ regulator-always-on; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ vdd_ddr:buck2{ -+ regulator-name = "vdd_ddr"; -+ regulator-min-microvolt = <1350000>; -+ regulator-max-microvolt = <1350000>; -+ regulator-always-on; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ vdd:buck3{ -+ regulator-name = "vdd"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ st,mask-reset; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ v3v3:buck4{ -+ regulator-name = "v3v3"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ regulator-over-current-protection; -+ regulator-initial-mode = <0>; -+ }; -+ -+ v1v8_audio:ldo1{ -+ regulator-name = "v1v8_audio"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ v3v3_hdmi:ldo2{ -+ regulator-name = "v3v3_hdmi"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ vtt_ddr:ldo3{ -+ regulator-name = "vtt_ddr"; -+ regulator-min-microvolt = <500000>; -+ regulator-max-microvolt = <750000>; -+ regulator-always-on; -+ regulator-over-current-protection; -+ }; -+ -+ vdd_usb:ldo4{ -+ regulator-name = "vdd_usb"; -+ interrupts = ; -+ }; -+ -+ vdda:ldo5{ -+ regulator-name = "vdda"; -+ regulator-min-microvolt = <2900000>; -+ regulator-max-microvolt = <2900000>; -+ interrupts = ; -+ regulator-boot-on; -+ }; -+ -+ v1v2_hdmi:ldo6{ -+ regulator-name = "v1v2_hdmi"; -+ regulator-min-microvolt = <1200000>; -+ regulator-max-microvolt = <1200000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ vref_ddr:vref_ddr{ -+ regulator-name = "vref_ddr"; -+ regulator-always-on; -+ regulator-over-current-protection; -+ }; -+ -+ bst_out:boost{ -+ regulator-name = "bst_out"; -+ interrupts = ; -+ }; -+ -+ vbus_otg:pwr_sw1{ -+ regulator-name = "vbus_otg"; -+ interrupts = ; -+ }; -+ -+ vbus_sw:pwr_sw2{ -+ regulator-name = "vbus_sw"; -+ interrupts = ; -+ regulator-active-discharge = <1>; -+ }; -+ }; -+ -+ onkey{ -+ compatible = "st,stpmic1-onkey"; -+ interrupts = , ; -+ interrupt-names = "onkey-falling", "onkey-rising"; -+ power-off-time-sec = <10>; -+ status = "okay"; -+ }; -+ -+ watchdog { -+ compatible = "st,stpmic1-wdt"; -+ status = "disabled"; -+ }; -+ }; -+ eeprom@50 { -+ compatible = "atmel,24c02"; -+ reg = <0x50>; -+ pagesize = <16>; -+ }; -+}; -+ -+&ipcc{ -+ status = "okay"; -+}; -+ -+&iwdg2{ -+ status = "okay"; -+ timeout-sec = <32>; -+}; -+ -+&mdma1{ -+ status = "okay"; -+}; -+ -+&rcc{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&rng1{ -+ status = "okay"; -+}; -+ -+&rtc{ -+ status = "okay"; -+}; -+ -+&sdmmc1{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "opendrain", "sleep"; -+ pinctrl-0 = <&sdmmc1_pins_mx>; -+ pinctrl-1 = <&sdmmc1_opendrain_pins_mx>; -+ pinctrl-2 = <&sdmmc1_sleep_pins_mx>; -+ status = "okay"; -+ -+ cd-gpios = <&gpiog 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; -+ disable-wp; -+ st,neg-edge; -+ bus-width = <4>; -+ vmmc-supply = <&v3v3>; -+}; -+ -+&tamp{ -+ status = "okay"; -+}; -+ -+&uart4{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&uart4_pins_mx>; -+ pinctrl-1 = <&uart4_sleep_pins_mx>; -+ status = "okay"; -+ -+ /delete-property/ dmas; -+ /delete-property/ dma-names; -+}; -+ -+&usbh_ehci{ -+ status = "okay"; -+ phys = <&usbphyc_port0>; -+}; -+ -+&usbh_ohci{ -+ status = "okay"; -+}; -+ -+&usbotg_hs{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+ phys = <&usbphyc_port1 0>; -+ phy-names = "usb2-phy"; -+}; -+ -+&usbphyc{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&usbphyc_port0{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+ phy-supply = <&vdd_usb>; -+ st,phy-tuning = <&usb_phy_tuning>; -+}; -+ -+&usbphyc_port1{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+ phy-supply = <&vdd_usb>; -+ st,phy-tuning = <&usb_phy_tuning>; -+}; -+ -+&adc { -+ vdd-supply = <&vdd>; -+ vdda-supply = <&vdda>; -+ vref-supply = <&vdda>; -+ status = "okay"; -+ adc1: adc@0 { -+ st,min-sample-time-nsecs = <5000>; -+ st,adc-channels = <0 1>; -+ status = "okay"; -+ }; -+ -+ adc2: adc@100 { -+ status = "okay"; -+ }; -+ -+ adc_temp: temp { -+ status = "okay"; -+ }; -+}; -+ -+&usbh_ohci{ -+ phys = <&usbphyc_port0>; -+}; -+ -+&cpu0{ -+ cpu-supply = <&vddcore>; -+}; -+ -+&cpu1{ -+ cpu-supply = <&vddcore>; -+}; -+ -+&sram{ -+ dma_pool:dma_pool@0{ -+ reg = <0x50000 0x10000>; -+ pool; -+ }; -+}; -+ -+&spi2 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&spi2_pins_mx>; -+ pinctrl-1 = <&spi2_sleep_pins_mx>; -+ cs-gpios = <&gpioi 0 0>; -+ status = "okay"; -+ -+ spidev2: spidev2@0{ -+ compatible = "rohm,dh2228fv"; -+ spi-max-frequency = <30000000>; -+ reg = <0>; -+ }; -+}; -+ -+&spi4 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&spi4_pins_mx>; -+ pinctrl-1 = <&spi4_sleep_pins_mx>; -+ cs-gpios = <&gpioe 11 0>; -+ status = "okay"; -+ -+ spidev4: spidev4@0{ -+ compatible = "rohm,dh2228fv"; -+ spi-max-frequency = <30000000>; -+ reg = <0>; -+ }; -+}; -+ -+&spi6 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&spi6_pins_mx>; -+ pinctrl-1 = <&spi6_sleep_pins_mx>; -+ cs-gpios = <&gpioz 3 0>; -+ status = "okay"; -+ -+ spidev6: spidev6@0{ -+ compatible = "rohm,dh2228fv"; -+ spi-max-frequency = <30000000>; -+ reg = <0>; -+ }; -+}; -+ -+&usart2 { -+ pinctrl-names = "default", "sleep", "idle"; -+ pinctrl-0 = <&usart2_pins_mx>; -+ pinctrl-1 = <&usart2_sleep_pins_mx>; -+ pinctrl-2 = <&usart2_idle_pins_mx>; -+ status = "okay"; -+}; -+ -+&uart5 { -+ pinctrl-names = "default", "sleep", "idle"; -+ pinctrl-0 = <&uart5_pins_mx>; -+ pinctrl-1 = <&uart5_sleep_pins_mx>; -+ pinctrl-2 = <&uart5_idle_pins_mx>; -+ status = "okay"; -+}; -+ -+&uart7 { -+ pinctrl-names = "default", "sleep", "idle"; -+ pinctrl-0 = <&uart7_pins_mx>; -+ pinctrl-1 = <&uart7_sleep_pins_mx>; -+ pinctrl-2 = <&uart7_idle_pins_mx>; -+ status = "okay"; -+}; -+ -+&uart8 { -+ pinctrl-names = "default", "sleep", "idle"; -+ pinctrl-0 = <&uart8_pins_mx>; -+ pinctrl-1 = <&uart8_sleep_pins_mx>; -+ pinctrl-2 = <&uart8_idle_pins_mx>; -+ status = "okay"; -+}; -+ -+&m_can1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&m_can1_pins_mx>; -+ status = "okay"; -+ can-transceiver { -+ max-bitrate = <5000000>; -+ }; -+}; -+ -+&timers1 { -+ status = "okay"; -+ /* spare dmas for other usage */ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ pwm1: pwm { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&pwm1_pins_mx>; -+ pinctrl-1 = <&pwm1_sleep_pins_mx>; -+ status = "okay"; -+ }; -+}; -+ -+&timers3 { -+ status = "okay"; -+ /* spare dmas for other usage */ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ pwm3: pwm { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&pwm3_pins_mx>; -+ pinctrl-1 = <&pwm3_sleep_pins_mx>; -+ status = "okay"; -+ }; -+}; -+ -+&timers4 { -+ status = "okay"; -+ /* spare dmas for other usage */ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ pwm4: pwm { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&pwm4_pins_mx>; -+ pinctrl-1 = <&pwm4_sleep_pins_mx>; -+ status = "okay"; -+ }; -+}; -+ -+&timers8 { -+ status = "okay"; -+ /* spare dmas for other usage */ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ pwm8: pwm { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&pwm8_pins_mx>; -+ pinctrl-1 = <&pwm8_sleep_pins_mx>; -+ status = "okay"; -+ }; -+}; -+ -+&timers12 { -+ status = "okay"; -+ /* spare dmas for other usage */ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ pwm12: pwm { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&pwm12_pins_mx>; -+ pinctrl-1 = <&pwm12_sleep_pins_mx>; -+ status = "okay"; -+ }; -+}; --- -2.25.1 - diff --git a/board/octavo/osd32mp1-brk/patches/uboot/0002-Add-OSD32MP1-BRK-build-config.patch b/board/octavo/osd32mp1-brk/patches/uboot/0002-Add-OSD32MP1-BRK-build-config.patch deleted file mode 100644 index ff323562e695ad8eb4ade66eea6b311ff7f7743a..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/patches/uboot/0002-Add-OSD32MP1-BRK-build-config.patch +++ /dev/null @@ -1,881 +0,0 @@ -From cbe33390a338428d74a4549cb28e25af42d7f7d9 Mon Sep 17 00:00:00 2001 -From: "neeraj.dantu" -Date: Sun, 21 Nov 2021 23:31:02 -0600 -Subject: [PATCH 2/2] Add OSD32MP1-BRK build config - -Signed-off-by: Kory Maincent ---- - arch/arm/mach-stm32mp/Kconfig | 10 +- - board/octavo/osd32mp1-brk/Kconfig | 13 + - board/octavo/osd32mp1-brk/MAINTAINERS | 8 + - board/octavo/osd32mp1-brk/Makefile | 9 + - board/octavo/osd32mp1-brk/board.c | 631 +++++++++++++++++++++++++ - configs/osd32mp1_brk_trusted_defconfig | 141 ++++++ - 6 files changed, 811 insertions(+), 1 deletion(-) - create mode 100644 board/octavo/osd32mp1-brk/Kconfig - create mode 100644 board/octavo/osd32mp1-brk/MAINTAINERS - create mode 100644 board/octavo/osd32mp1-brk/Makefile - create mode 100644 board/octavo/osd32mp1-brk/board.c - create mode 100644 configs/osd32mp1_brk_trusted_defconfig - -diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig -index 44bfac9000..006855acad 100644 ---- a/arch/arm/mach-stm32mp/Kconfig -+++ b/arch/arm/mach-stm32mp/Kconfig -@@ -92,6 +92,14 @@ config TARGET_DH_STM32MP1_PDK2 - help - Target the DH PDK2 development kit with STM32MP15x SoM. - -+config TARGET_OCTAVO_OSD32MP1_BRK -+ bool "Octavo OSD32MP1 BRK" -+ select STM32MP15x -+ imply BOOTCOUNT_LIMIT -+ imply CMD_BOOTCOUNT -+ help -+ Target the Octavo BRK board based on OSD32MP1 SiP. -+ - endchoice - - config SYS_TEXT_BASE -@@ -172,5 +180,5 @@ endif - source "arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig" - source "board/st/stm32mp1/Kconfig" - source "board/dhelectronics/dh_stm32mp1/Kconfig" -- -+source "board/octavo/osd32mp1-brk/Kconfig" - endif -diff --git a/board/octavo/osd32mp1-brk/Kconfig b/board/octavo/osd32mp1-brk/Kconfig -new file mode 100644 -index 0000000000..907a09c170 ---- /dev/null -+++ b/board/octavo/osd32mp1-brk/Kconfig -@@ -0,0 +1,13 @@ -+if TARGET_OCTAVO_OSD32MP1_BRK -+ -+config SYS_BOARD -+ default "osd32mp1-brk" -+ -+config SYS_VENDOR -+ default "octavo" -+ -+config SYS_CONFIG_NAME -+ default "stm32mp1" -+ -+source "board/st/common/Kconfig" -+endif -diff --git a/board/octavo/osd32mp1-brk/MAINTAINERS b/board/octavo/osd32mp1-brk/MAINTAINERS -new file mode 100644 -index 0000000000..9c0addbc21 ---- /dev/null -+++ b/board/octavo/osd32mp1-brk/MAINTAINERS -@@ -0,0 +1,8 @@ -+OCTAVO osd32mp1-brk BOARD -+M: Martin Lesniak -+M: Neeraj Dantu -+S: Maintained -+F: arch/arm/dts/stm32mp157c-osd32mp1-brk* -+F: board/Octavo/osd32mp1-brk/ -+F: configs/osd32mp1_brk_trusted_defconfig -+F: include/configs/stm32mp1.h -diff --git a/board/octavo/osd32mp1-brk/Makefile b/board/octavo/osd32mp1-brk/Makefile -new file mode 100644 -index 0000000000..b368b396a4 ---- /dev/null -+++ b/board/octavo/osd32mp1-brk/Makefile -@@ -0,0 +1,9 @@ -+# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause -+# -+# Copyright (C) 2018, STMicroelectronics - All Rights Reserved -+# -+ -+obj-y += ../../st/common/stpmic1.o board.o -+ -+obj-$(CONFIG_SYS_MTDPARTS_RUNTIME) += ../../st/common/stm32mp_mtdparts.o -+obj-$(CONFIG_SET_DFU_ALT_INFO) += ../../st/common/stm32mp_dfu.o -diff --git a/board/octavo/osd32mp1-brk/board.c b/board/octavo/osd32mp1-brk/board.c -new file mode 100644 -index 0000000000..fd97c9a390 ---- /dev/null -+++ b/board/octavo/osd32mp1-brk/board.c -@@ -0,0 +1,631 @@ -+// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause -+/* -+ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -+ */ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+/* SYSCFG registers */ -+#define SYSCFG_BOOTR 0x00 -+#define SYSCFG_PMCSETR 0x04 -+#define SYSCFG_IOCTRLSETR 0x18 -+#define SYSCFG_ICNR 0x1C -+#define SYSCFG_CMPCR 0x20 -+#define SYSCFG_CMPENSETR 0x24 -+#define SYSCFG_PMCCLRR 0x44 -+ -+#define SYSCFG_BOOTR_BOOT_MASK GENMASK(2, 0) -+#define SYSCFG_BOOTR_BOOTPD_SHIFT 4 -+ -+#define SYSCFG_IOCTRLSETR_HSLVEN_TRACE BIT(0) -+#define SYSCFG_IOCTRLSETR_HSLVEN_QUADSPI BIT(1) -+#define SYSCFG_IOCTRLSETR_HSLVEN_ETH BIT(2) -+#define SYSCFG_IOCTRLSETR_HSLVEN_SDMMC BIT(3) -+#define SYSCFG_IOCTRLSETR_HSLVEN_SPI BIT(4) -+ -+#define SYSCFG_CMPCR_SW_CTRL BIT(1) -+#define SYSCFG_CMPCR_READY BIT(8) -+ -+#define SYSCFG_CMPENSETR_MPU_EN BIT(0) -+ -+#define SYSCFG_PMCSETR_ETH_CLK_SEL BIT(16) -+#define SYSCFG_PMCSETR_ETH_REF_CLK_SEL BIT(17) -+ -+#define SYSCFG_PMCSETR_ETH_SELMII BIT(20) -+ -+#define SYSCFG_PMCSETR_ETH_SEL_MASK GENMASK(23, 21) -+#define SYSCFG_PMCSETR_ETH_SEL_GMII_MII 0 -+#define SYSCFG_PMCSETR_ETH_SEL_RGMII BIT(21) -+#define SYSCFG_PMCSETR_ETH_SEL_RMII BIT(23) -+ -+/* -+ * Get a global data pointer -+ */ -+DECLARE_GLOBAL_DATA_PTR; -+ -+int setup_mac_address(void) -+{ -+ struct udevice *dev; -+ ofnode eeprom; -+ unsigned char enetaddr[6]; -+ int ret; -+ -+ ret = eth_env_get_enetaddr("ethaddr", enetaddr); -+ if (ret) /* ethaddr is already set */ -+ return 0; -+ -+ eeprom = ofnode_path("/soc/i2c@5c002000/eeprom@50"); -+ if (!ofnode_valid(eeprom)) { -+ printf("Invalid hardware path to EEPROM!\n"); -+ return -ENODEV; -+ } -+ -+ ret = uclass_get_device_by_ofnode(UCLASS_I2C_EEPROM, eeprom, &dev); -+ if (ret) { -+ printf("Cannot find EEPROM!\n"); -+ return ret; -+ } -+ -+ ret = i2c_eeprom_read(dev, 0xfa, enetaddr, 0x6); -+ if (ret) { -+ printf("Error reading configuration EEPROM!\n"); -+ return ret; -+ } -+ -+ if (is_valid_ethaddr(enetaddr)) -+ eth_env_set_enetaddr("ethaddr", enetaddr); -+ -+ return 0; -+} -+ -+int checkboard(void) -+{ -+ char *mode; -+ const char *fdt_compat; -+ int fdt_compat_len; -+ -+ if (IS_ENABLED(CONFIG_STM32MP15x_STM32IMAGE)) -+ mode = "trusted - stm32image"; -+ else if (IS_ENABLED(CONFIG_TFABOOT)) -+ mode = "trusted"; -+ else -+ mode = "basic"; -+ -+ printf("Board: stm32mp1 in %s mode", mode); -+ fdt_compat = fdt_getprop(gd->fdt_blob, 0, "compatible", -+ &fdt_compat_len); -+ if (fdt_compat && fdt_compat_len) -+ printf(" (%s)", fdt_compat); -+ puts("\n"); -+ -+ return 0; -+} -+ -+static void board_key_check(void) -+{ -+ ofnode node; -+ struct gpio_desc gpio; -+ enum forced_boot_mode boot_mode = BOOT_NORMAL; -+ -+ if (!IS_ENABLED(CONFIG_FASTBOOT) && !IS_ENABLED(CONFIG_CMD_STM32PROG)) -+ return; -+ -+ node = ofnode_path("/config"); -+ if (!ofnode_valid(node)) { -+ debug("%s: no /config node?\n", __func__); -+ return; -+ } -+ if (IS_ENABLED(CONFIG_FASTBOOT)) { -+ if (gpio_request_by_name_nodev(node, "st,fastboot-gpios", 0, -+ &gpio, GPIOD_IS_IN)) { -+ debug("%s: could not find a /config/st,fastboot-gpios\n", -+ __func__); -+ } else { -+ if (dm_gpio_get_value(&gpio)) { -+ puts("Fastboot key pressed, "); -+ boot_mode = BOOT_FASTBOOT; -+ } -+ -+ dm_gpio_free(NULL, &gpio); -+ } -+ } -+ if (IS_ENABLED(CONFIG_CMD_STM32PROG)) { -+ if (gpio_request_by_name_nodev(node, "st,stm32prog-gpios", 0, -+ &gpio, GPIOD_IS_IN)) { -+ debug("%s: could not find a /config/st,stm32prog-gpios\n", -+ __func__); -+ } else { -+ if (dm_gpio_get_value(&gpio)) { -+ puts("STM32Programmer key pressed, "); -+ boot_mode = BOOT_STM32PROG; -+ } -+ dm_gpio_free(NULL, &gpio); -+ } -+ } -+ if (boot_mode != BOOT_NORMAL) { -+ puts("entering download mode...\n"); -+ clrsetbits_le32(TAMP_BOOT_CONTEXT, -+ TAMP_BOOT_FORCED_MASK, -+ boot_mode); -+ } -+} -+ -+int g_dnl_board_usb_cable_connected(void) -+{ -+ struct udevice *dwc2_udc_otg; -+ int ret; -+ -+ if (!IS_ENABLED(CONFIG_USB_GADGET_DWC2_OTG)) -+ return -ENODEV; -+ ret = uclass_get_device_by_driver(UCLASS_USB_GADGET_GENERIC, -+ DM_GET_DRIVER(dwc2_udc_otg), -+ &dwc2_udc_otg); -+ if (!ret) -+ debug("dwc2_udc_otg init failed\n"); -+ -+ return dwc2_udc_B_session_valid(dwc2_udc_otg); -+} -+ -+#ifdef CONFIG_USB_GADGET_DOWNLOAD -+#define STM32MP1_G_DNL_DFU_PRODUCT_NUM 0xdf11 -+#define STM32MP1_G_DNL_FASTBOOT_PRODUCT_NUM 0x0afb -+ -+int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) -+{ -+ if (IS_ENABLED(CONFIG_DFU_OVER_USB) && -+ !strcmp(name, "usb_dnl_dfu")) -+ put_unaligned(STM32MP1_G_DNL_DFU_PRODUCT_NUM, &dev->idProduct); -+ else if (IS_ENABLED(CONFIG_FASTBOOT) && -+ !strcmp(name, "usb_dnl_fastboot")) -+ put_unaligned(STM32MP1_G_DNL_FASTBOOT_PRODUCT_NUM, -+ &dev->idProduct); -+ else -+ put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM, &dev->idProduct); -+ -+ return 0; -+} -+#endif /* CONFIG_USB_GADGET_DOWNLOAD */ -+ -+static int get_led(struct udevice **dev, char *led_string) -+{ -+ char *led_name; -+ int ret; -+ -+ led_name = fdtdec_get_config_string(gd->fdt_blob, led_string); -+ if (!led_name) { -+ pr_debug("%s: could not find %s config string\n", -+ __func__, led_string); -+ return -ENOENT; -+ } -+ ret = led_get_by_label(led_name, dev); -+ if (ret) { -+ debug("%s: get=%d\n", __func__, ret); -+ return ret; -+ } -+ -+ return 0; -+} -+ -+static int setup_led(enum led_state_t cmd) -+{ -+ struct udevice *dev; -+ int ret; -+ -+ if (!CONFIG_IS_ENABLED(LED)) -+ return 0; -+ -+ ret = get_led(&dev, "u-boot,boot-led"); -+ if (ret) -+ return ret; -+ -+ ret = led_set_state(dev, cmd); -+ return ret; -+} -+ -+static void __maybe_unused led_error_blink(u32 nb_blink) -+{ -+ int ret; -+ struct udevice *led; -+ u32 i; -+ -+ if (!nb_blink) -+ return; -+ -+ if (CONFIG_IS_ENABLED(LED)) { -+ ret = get_led(&led, "u-boot,error-led"); -+ if (!ret) { -+ /* make u-boot,error-led blinking */ -+ /* if U32_MAX and 125ms interval, for 17.02 years */ -+ for (i = 0; i < 2 * nb_blink; i++) { -+ led_set_state(led, LEDST_TOGGLE); -+ mdelay(125); -+ WATCHDOG_RESET(); -+ } -+ led_set_state(led, LEDST_ON); -+ } -+ } -+ -+ /* infinite: the boot process must be stopped */ -+ if (nb_blink == U32_MAX) -+ hang(); -+} -+ -+static void sysconf_init(void) -+{ -+ u8 *syscfg; -+ struct udevice *pwr_dev; -+ struct udevice *pwr_reg; -+ struct udevice *dev; -+ u32 otp = 0; -+ int ret; -+ u32 bootr, val; -+ -+ syscfg = (u8 *)syscon_get_first_range(STM32MP_SYSCON_SYSCFG); -+ -+ /* interconnect update : select master using the port 1 */ -+ /* LTDC = AXI_M9 */ -+ /* GPU = AXI_M8 */ -+ /* today information is hardcoded in U-Boot */ -+ writel(BIT(9), syscfg + SYSCFG_ICNR); -+ -+ /* disable Pull-Down for boot pin connected to VDD */ -+ bootr = readl(syscfg + SYSCFG_BOOTR); -+ bootr &= ~(SYSCFG_BOOTR_BOOT_MASK << SYSCFG_BOOTR_BOOTPD_SHIFT); -+ bootr |= (bootr & SYSCFG_BOOTR_BOOT_MASK) << SYSCFG_BOOTR_BOOTPD_SHIFT; -+ writel(bootr, syscfg + SYSCFG_BOOTR); -+ -+ /* High Speed Low Voltage Pad mode Enable for SPI, SDMMC, ETH, QSPI -+ * and TRACE. Needed above ~50MHz and conditioned by AFMUX selection. -+ * The customer will have to disable this for low frequencies -+ * or if AFMUX is selected but the function not used, typically for -+ * TRACE. Otherwise, impact on power consumption. -+ * -+ * WARNING: -+ * enabling High Speed mode while VDD>2.7V -+ * with the OTP product_below_2v5 (OTP 18, BIT 13) -+ * erroneously set to 1 can damage the IC! -+ * => U-Boot set the register only if VDD < 2.7V (in DT) -+ * but this value need to be consistent with board design -+ */ -+ ret = uclass_get_device_by_driver(UCLASS_PMIC, -+ DM_GET_DRIVER(stm32mp_pwr_pmic), -+ &pwr_dev); -+ if (!ret && IS_ENABLED(CONFIG_DM_REGULATOR)) { -+ ret = uclass_get_device_by_driver(UCLASS_MISC, -+ DM_GET_DRIVER(stm32mp_bsec), -+ &dev); -+ if (ret) { -+ pr_err("Can't find stm32mp_bsec driver\n"); -+ return; -+ } -+ -+ ret = misc_read(dev, STM32_BSEC_SHADOW(18), &otp, 4); -+ if (ret > 0) -+ otp = otp & BIT(13); -+ -+ /* get VDD = vdd-supply */ -+ ret = device_get_supply_regulator(pwr_dev, "vdd-supply", -+ &pwr_reg); -+ -+ /* check if VDD is Low Voltage */ -+ if (!ret) { -+ if (regulator_get_value(pwr_reg) < 2700000) { -+ writel(SYSCFG_IOCTRLSETR_HSLVEN_TRACE | -+ SYSCFG_IOCTRLSETR_HSLVEN_QUADSPI | -+ SYSCFG_IOCTRLSETR_HSLVEN_ETH | -+ SYSCFG_IOCTRLSETR_HSLVEN_SDMMC | -+ SYSCFG_IOCTRLSETR_HSLVEN_SPI, -+ syscfg + SYSCFG_IOCTRLSETR); -+ -+ if (!otp) -+ pr_err("product_below_2v5=0: HSLVEN protected by HW\n"); -+ } else { -+ if (otp) -+ pr_err("product_below_2v5=1: HSLVEN update is destructive, no update as VDD>2.7V\n"); -+ } -+ } else { -+ debug("VDD unknown"); -+ } -+ } -+ -+ /* activate automatic I/O compensation -+ * warning: need to ensure CSI enabled and ready in clock driver -+ */ -+ writel(SYSCFG_CMPENSETR_MPU_EN, syscfg + SYSCFG_CMPENSETR); -+ -+ /* poll until ready (1s timeout) */ -+ ret = readl_poll_timeout(syscfg + SYSCFG_CMPCR, val, -+ val & SYSCFG_CMPCR_READY, -+ 1000000); -+ if (ret) { -+ pr_err("SYSCFG: I/O compensation failed, timeout.\n"); -+ led_error_blink(10); -+ } -+ -+ clrbits_le32(syscfg + SYSCFG_CMPCR, SYSCFG_CMPCR_SW_CTRL); -+} -+ -+/* board dependent setup after realloc */ -+int board_init(void) -+{ -+ /* address of boot parameters */ -+ gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100; -+ -+ if (CONFIG_IS_ENABLED(DM_GPIO_HOG)) -+ gpio_hog_probe_all(); -+ -+ board_key_check(); -+ -+ if (IS_ENABLED(CONFIG_DM_REGULATOR)) -+ regulators_enable_boot_on(_DEBUG); -+ -+ if (!IS_ENABLED(CONFIG_TFABOOT)) -+ sysconf_init(); -+ -+ if (CONFIG_IS_ENABLED(LED)) -+ led_default_state(); -+ -+ return 0; -+} -+ -+int board_late_init(void) -+{ -+ char *boot_device; -+ const void *fdt_compat; -+ int fdt_compat_len; -+ int ret; -+ u32 otp; -+ struct udevice *dev; -+ char buf[10]; -+ char dtb_name[256]; -+ int buf_len; -+ -+ if (IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG)) { -+ fdt_compat = fdt_getprop(gd->fdt_blob, 0, "compatible", -+ &fdt_compat_len); -+ if (fdt_compat && fdt_compat_len) { -+ if (strncmp(fdt_compat, "st,", 3) != 0) { -+ env_set("board_name", fdt_compat); -+ } else { -+ env_set("board_name", fdt_compat + 3); -+ -+ buf_len = sizeof(dtb_name); -+ strncpy(dtb_name, fdt_compat + 3, buf_len); -+ buf_len -= strlen(fdt_compat + 3); -+ strncat(dtb_name, ".dtb", buf_len); -+ env_set("fdtfile", dtb_name); -+ } -+ } -+ ret = uclass_get_device_by_driver(UCLASS_MISC, -+ DM_GET_DRIVER(stm32mp_bsec), -+ &dev); -+ -+ if (!ret) -+ ret = misc_read(dev, STM32_BSEC_SHADOW(BSEC_OTP_BOARD), -+ &otp, sizeof(otp)); -+ if (ret > 0 && otp) { -+ snprintf(buf, sizeof(buf), "0x%04x", otp >> 16); -+ env_set("board_id", buf); -+ -+ snprintf(buf, sizeof(buf), "0x%04x", -+ ((otp >> 8) & 0xF) - 1 + 0xA); -+ env_set("board_rev", buf); -+ } -+ } -+ -+ /* Check the boot-source to disable bootdelay */ -+ boot_device = env_get("boot_device"); -+ if (!strcmp(boot_device, "serial") || !strcmp(boot_device, "usb")) -+ env_set("bootdelay", "0"); -+ -+ return 0; -+} -+ -+void board_quiesce_devices(void) -+{ -+ setup_led(LEDST_OFF); -+} -+ -+/* eth init function : weak called in eqos driver */ -+int board_interface_eth_init(struct udevice *dev, -+ phy_interface_t interface_type, ulong rate) -+{ -+ u8 *syscfg; -+ u32 value; -+ bool eth_clk_sel_reg = false; -+ bool eth_ref_clk_sel_reg = false; -+ -+ /* Gigabit Ethernet 125MHz clock selection. */ -+ eth_clk_sel_reg = dev_read_bool(dev, "st,eth_clk_sel"); -+ -+ /* Ethernet 50Mhz RMII clock selection */ -+ eth_ref_clk_sel_reg = -+ dev_read_bool(dev, "st,eth_ref_clk_sel"); -+ -+ syscfg = (u8 *)syscon_get_first_range(STM32MP_SYSCON_SYSCFG); -+ -+ if (!syscfg) -+ return -ENODEV; -+ -+ switch (interface_type) { -+ case PHY_INTERFACE_MODE_MII: -+ value = SYSCFG_PMCSETR_ETH_SEL_GMII_MII | -+ SYSCFG_PMCSETR_ETH_REF_CLK_SEL; -+ debug("%s: PHY_INTERFACE_MODE_MII\n", __func__); -+ break; -+ case PHY_INTERFACE_MODE_GMII: -+ if (eth_clk_sel_reg) -+ value = SYSCFG_PMCSETR_ETH_SEL_GMII_MII | -+ SYSCFG_PMCSETR_ETH_CLK_SEL; -+ else -+ value = SYSCFG_PMCSETR_ETH_SEL_GMII_MII; -+ debug("%s: PHY_INTERFACE_MODE_GMII\n", __func__); -+ break; -+ case PHY_INTERFACE_MODE_RMII: -+ if (eth_ref_clk_sel_reg) -+ value = SYSCFG_PMCSETR_ETH_SEL_RMII | -+ SYSCFG_PMCSETR_ETH_REF_CLK_SEL; -+ else -+ value = SYSCFG_PMCSETR_ETH_SEL_RMII; -+ debug("%s: PHY_INTERFACE_MODE_RMII\n", __func__); -+ break; -+ case PHY_INTERFACE_MODE_RGMII: -+ case PHY_INTERFACE_MODE_RGMII_ID: -+ case PHY_INTERFACE_MODE_RGMII_RXID: -+ case PHY_INTERFACE_MODE_RGMII_TXID: -+ if (eth_clk_sel_reg) -+ value = SYSCFG_PMCSETR_ETH_SEL_RGMII | -+ SYSCFG_PMCSETR_ETH_CLK_SEL; -+ else -+ value = SYSCFG_PMCSETR_ETH_SEL_RGMII; -+ debug("%s: PHY_INTERFACE_MODE_RGMII\n", __func__); -+ break; -+ default: -+ debug("%s: Do not manage %d interface\n", -+ __func__, interface_type); -+ /* Do not manage others interfaces */ -+ return -EINVAL; -+ } -+ -+ /* clear and set ETH configuration bits */ -+ writel(SYSCFG_PMCSETR_ETH_SEL_MASK | SYSCFG_PMCSETR_ETH_SELMII | -+ SYSCFG_PMCSETR_ETH_REF_CLK_SEL | SYSCFG_PMCSETR_ETH_CLK_SEL, -+ syscfg + SYSCFG_PMCCLRR); -+ writel(value, syscfg + SYSCFG_PMCSETR); -+ -+ return 0; -+} -+ -+enum env_location env_get_location(enum env_operation op, int prio) -+{ -+ u32 bootmode = get_bootmode(); -+ -+ if (prio) -+ return ENVL_UNKNOWN; -+ -+ switch (bootmode & TAMP_BOOT_DEVICE_MASK) { -+ case BOOT_FLASH_SD: -+ case BOOT_FLASH_EMMC: -+ if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC)) -+ return ENVL_MMC; -+ else if (CONFIG_IS_ENABLED(ENV_IS_IN_EXT4)) -+ return ENVL_EXT4; -+ else -+ return ENVL_NOWHERE; -+ -+ case BOOT_FLASH_NAND: -+ case BOOT_FLASH_SPINAND: -+ if (CONFIG_IS_ENABLED(ENV_IS_IN_UBI)) -+ return ENVL_UBI; -+ else -+ return ENVL_NOWHERE; -+ -+ case BOOT_FLASH_NOR: -+ if (CONFIG_IS_ENABLED(ENV_IS_IN_SPI_FLASH)) -+ return ENVL_SPI_FLASH; -+ else -+ return ENVL_NOWHERE; -+ -+ default: -+ return ENVL_NOWHERE; -+ } -+} -+ -+const char *env_ext4_get_intf(void) -+{ -+ u32 bootmode = get_bootmode(); -+ -+ switch (bootmode & TAMP_BOOT_DEVICE_MASK) { -+ case BOOT_FLASH_SD: -+ case BOOT_FLASH_EMMC: -+ return "mmc"; -+ default: -+ return ""; -+ } -+} -+ -+const char *env_ext4_get_dev_part(void) -+{ -+ static char *const dev_part[] = {"0:auto", "1:auto", "2:auto"}; -+ u32 bootmode = get_bootmode(); -+ -+ return dev_part[(bootmode & TAMP_BOOT_INSTANCE_MASK) - 1]; -+} -+ -+int mmc_get_env_dev(void) -+{ -+ u32 bootmode; -+ -+ if (CONFIG_SYS_MMC_ENV_DEV >= 0) -+ return CONFIG_SYS_MMC_ENV_DEV; -+ -+ bootmode = get_bootmode(); -+ -+ /* use boot instance to select the correct mmc device identifier */ -+ return (bootmode & TAMP_BOOT_INSTANCE_MASK) - 1; -+} -+ -+#if defined(CONFIG_OF_BOARD_SETUP) -+int ft_board_setup(void *blob, struct bd_info *bd) -+{ -+ return 0; -+} -+#endif -+ -+static void board_copro_image_process(ulong fw_image, size_t fw_size) -+{ -+ int ret, id = 0; /* Copro id fixed to 0 as only one coproc on mp1 */ -+ -+ if (!rproc_is_initialized()) -+ if (rproc_init()) { -+ printf("Remote Processor %d initialization failed\n", -+ id); -+ return; -+ } -+ -+ ret = rproc_load(id, fw_image, fw_size); -+ printf("Load Remote Processor %d with data@addr=0x%08lx %u bytes:%s\n", -+ id, fw_image, fw_size, ret ? " Failed!" : " Success!"); -+ -+ if (!ret) -+ rproc_start(id); -+} -+ -+U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_COPRO, board_copro_image_process); -diff --git a/configs/osd32mp1_brk_trusted_defconfig b/configs/osd32mp1_brk_trusted_defconfig -new file mode 100644 -index 0000000000..6d41af8886 ---- /dev/null -+++ b/configs/osd32mp1_brk_trusted_defconfig -@@ -0,0 +1,141 @@ -+CONFIG_ARM=y -+CONFIG_ARCH_STM32MP=y -+CONFIG_TFABOOT=y -+CONFIG_SYS_MALLOC_F_LEN=0x3000 -+CONFIG_ENV_OFFSET=0x480000 -+CONFIG_ENV_SECT_SIZE=0x40000 -+# CONFIG_TARGET_ST_STM32MP15x=y -+CONFIG_TARGET_OCTAVO_OSD32MP1_BRK=y -+CONFIG_CMD_STM32PROG=y -+CONFIG_ENV_OFFSET_REDUND=0x4C0000 -+CONFIG_DEFAULT_DEVICE_TREE="stm32mp157c-osd32mp1-brk" -+CONFIG_DISTRO_DEFAULTS=y -+CONFIG_FIT=y -+CONFIG_BOOTDELAY=1 -+CONFIG_BOOTCOMMAND="run bootcmd_stm32mp" -+CONFIG_SYS_PROMPT="OSD32MP> " -+# CONFIG_CMD_BOOTD is not set -+CONFIG_CMD_ADTIMG=y -+# CONFIG_CMD_ELF is not set -+CONFIG_CMD_EEPROM=y -+CONFIG_CMD_ERASEENV=y -+CONFIG_CMD_MEMINFO=y -+CONFIG_CMD_MEMTEST=y -+CONFIG_SYS_MEMTEST_START=0xc0000000 -+CONFIG_SYS_MEMTEST_END=0xc4000000 -+CONFIG_CMD_ADC=y -+CONFIG_CMD_CLK=y -+CONFIG_CMD_DFU=y -+CONFIG_CMD_FUSE=y -+CONFIG_CMD_GPIO=y -+CONFIG_CMD_I2C=y -+CONFIG_CMD_MMC=y -+CONFIG_CMD_REMOTEPROC=y -+CONFIG_CMD_SPI=y -+CONFIG_CMD_USB=y -+CONFIG_CMD_USB_MASS_STORAGE=y -+CONFIG_CMD_BMP=y -+CONFIG_CMD_CACHE=y -+CONFIG_CMD_TIME=y -+CONFIG_CMD_TIMER=y -+CONFIG_CMD_PMIC=y -+CONFIG_CMD_REGULATOR=y -+CONFIG_CMD_EXT4_WRITE=y -+CONFIG_CMD_MTDPARTS=y -+CONFIG_CMD_UBI=y -+CONFIG_ENV_IS_NOWHERE=y -+CONFIG_ENV_IS_IN_MMC=y -+CONFIG_ENV_IS_IN_UBI=y -+CONFIG_SYS_REDUNDAND_ENVIRONMENT=y -+CONFIG_ENV_UBI_PART="UBI" -+CONFIG_ENV_UBI_VOLUME="uboot_config" -+CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r" -+CONFIG_SYS_RELOC_GD_ENV_ADDR=y -+CONFIG_SYS_MMC_ENV_DEV=-1 -+CONFIG_STM32_ADC=y -+CONFIG_CLK_SCMI=y -+CONFIG_SET_DFU_ALT_INFO=y -+CONFIG_USB_FUNCTION_FASTBOOT=y -+CONFIG_FASTBOOT_BUF_ADDR=0xC0000000 -+CONFIG_FASTBOOT_BUF_SIZE=0x02000000 -+CONFIG_FASTBOOT_USB_DEV=1 -+CONFIG_FASTBOOT_FLASH=y -+CONFIG_FASTBOOT_FLASH_MMC_DEV=1 -+CONFIG_GPIO_HOG=y -+CONFIG_DM_HWSPINLOCK=y -+CONFIG_HWSPINLOCK_STM32=y -+CONFIG_DM_I2C=y -+CONFIG_SYS_I2C_STM32F7=y -+CONFIG_LED=y -+CONFIG_LED_GPIO=y -+CONFIG_DM_MAILBOX=y -+CONFIG_STM32_IPCC=y -+CONFIG_STM32_FMC2_EBI=y -+CONFIG_I2C_EEPROM=y -+CONFIG_DM_MMC=y -+CONFIG_SUPPORT_EMMC_BOOT=y -+CONFIG_STM32_SDMMC2=y -+CONFIG_MTD=y -+CONFIG_DM_MTD=y -+CONFIG_SYS_MTDPARTS_RUNTIME=y -+CONFIG_MTD_RAW_NAND=y -+CONFIG_NAND_STM32_FMC2=y -+CONFIG_MTD_SPI_NAND=y -+CONFIG_DM_SPI_FLASH=y -+CONFIG_SPI_FLASH_MACRONIX=y -+CONFIG_SPI_FLASH_SPANSION=y -+CONFIG_SPI_FLASH_STMICRO=y -+CONFIG_SPI_FLASH_WINBOND=y -+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set -+CONFIG_SPI_FLASH_MTD=y -+CONFIG_PHY_REALTEK=y -+CONFIG_DM_ETH=y -+CONFIG_DWC_ETH_QOS=y -+CONFIG_PHY=y -+CONFIG_PHY_STM32_USBPHYC=y -+CONFIG_PINCONF=y -+CONFIG_PINCTRL_STMFX=y -+CONFIG_DM_PMIC=y -+CONFIG_PMIC_STPMIC1=y -+CONFIG_DM_REGULATOR=y -+CONFIG_DM_REGULATOR_FIXED=y -+CONFIG_DM_REGULATOR_GPIO=y -+CONFIG_DM_REGULATOR_STM32_VREFBUF=y -+CONFIG_DM_REGULATOR_STPMIC1=y -+CONFIG_REMOTEPROC_STM32_COPRO=y -+CONFIG_RESET_SCMI=y -+CONFIG_DM_RNG=y -+CONFIG_RNG_STM32MP1=y -+CONFIG_DM_RTC=y -+CONFIG_RTC_STM32=y -+CONFIG_SERIAL_RX_BUFFER=y -+CONFIG_SPI=y -+CONFIG_DM_SPI=y -+CONFIG_STM32_QSPI=y -+CONFIG_STM32_SPI=y -+CONFIG_TEE=y -+CONFIG_OPTEE=y -+# CONFIG_OPTEE_TA_AVB is not set -+CONFIG_USB=y -+CONFIG_DM_USB=y -+CONFIG_DM_USB_GADGET=y -+CONFIG_USB_EHCI_HCD=y -+CONFIG_USB_EHCI_GENERIC=y -+CONFIG_USB_GADGET=y -+CONFIG_USB_GADGET_MANUFACTURER="STMicroelectronics" -+CONFIG_USB_GADGET_VENDOR_NUM=0x0483 -+CONFIG_USB_GADGET_PRODUCT_NUM=0x5720 -+CONFIG_USB_GADGET_DWC2_OTG=y -+CONFIG_DM_VIDEO=y -+CONFIG_BACKLIGHT_GPIO=y -+CONFIG_VIDEO_LCD_ORISETECH_OTM8009A=y -+CONFIG_VIDEO_LCD_RAYDIUM_RM68200=y -+CONFIG_VIDEO_STM32=y -+CONFIG_VIDEO_STM32_DSI=y -+CONFIG_VIDEO_STM32_MAX_XRES=1280 -+CONFIG_VIDEO_STM32_MAX_YRES=800 -+CONFIG_WDT=y -+CONFIG_WDT_STM32MP=y -+CONFIG_ERRNO_STR=y -+CONFIG_FDT_FIXUP_PARTITIONS=y -+CONFIG_LMB_RESERVED_REGIONS=16 --- -2.25.1 - diff --git a/board/octavo/osd32mp1-brk/readme.txt b/board/octavo/osd32mp1-brk/readme.txt deleted file mode 100644 index 8aae419f96c7de9c205b562d4a4319c416806f10..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/readme.txt +++ /dev/null @@ -1,35 +0,0 @@ -OSD32MP1-BRK - -Intro -===== - -This configuration supports the OSD32MP1-BRK platform: - - https://octavosystems.com/octavo_products/osd32mp1-brk/ - -How to build -============ - - $ make octavo_osd32mp1_brk_defconfig - $ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Insert the microSD card. - - (2) Plug an USB-SERIAL cable on the RX, TX and GND pins - - (3) Plug a micro-USB cable to power-up the board. - - (4) The system will start, with the console on UART. diff --git a/board/octavo/osd32mp1-brk/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi b/board/octavo/osd32mp1-brk/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi deleted file mode 100644 index 3cd2c3f5d17155285816a81d05fc326c64ec92e0..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (C) 2015-2018, STMicroelectronics - All Rights Reserved - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause - * - */ - -/* - * File generated by STMicroelectronics STM32CubeMX DDR Tool for MPUs - * DDR type: DDR3 / DDR3L - * DDR width: 16bits - * DDR density: 4Gb - * System frequency: 533000Khz - * Relaxed Timing Mode: false - * Address mapping type: RBC - * - * Save Date: 2020.08.27, save Time: 15:22:11 - */ - -#define DDR_MEM_NAME "DDR3-DDR3L 16bits 533000Khz" -#define DDR_MEM_SPEED 533000 -#define DDR_MEM_SIZE 0x20000000 - -#define DDR_MSTR 0x00041401 -#define DDR_MRCTRL0 0x00000010 -#define DDR_MRCTRL1 0x00000000 -#define DDR_DERATEEN 0x00000000 -#define DDR_DERATEINT 0x00800000 -#define DDR_PWRCTL 0x00000000 -#define DDR_PWRTMG 0x00400010 -#define DDR_HWLPCTL 0x00000000 -#define DDR_RFSHCTL0 0x00210000 -#define DDR_RFSHCTL3 0x00000000 -#define DDR_RFSHTMG 0x0081008B -#define DDR_CRCPARCTL0 0x00000000 -#define DDR_DRAMTMG0 0x121B2414 -#define DDR_DRAMTMG1 0x000A041C -#define DDR_DRAMTMG2 0x0608090F -#define DDR_DRAMTMG3 0x0050400C -#define DDR_DRAMTMG4 0x08040608 -#define DDR_DRAMTMG5 0x06060403 -#define DDR_DRAMTMG6 0x02020002 -#define DDR_DRAMTMG7 0x00000202 -#define DDR_DRAMTMG8 0x00001005 -#define DDR_DRAMTMG14 0x000000A0 -#define DDR_ZQCTL0 0xC2000040 -#define DDR_DFITMG0 0x02060105 -#define DDR_DFITMG1 0x00000202 -#define DDR_DFILPCFG0 0x07000000 -#define DDR_DFIUPD0 0xC0400003 -#define DDR_DFIUPD1 0x00000000 -#define DDR_DFIUPD2 0x00000000 -#define DDR_DFIPHYMSTR 0x00000000 -#define DDR_ODTCFG 0x06000600 -#define DDR_ODTMAP 0x00000001 -#define DDR_SCHED 0x00000C01 -#define DDR_SCHED1 0x00000000 -#define DDR_PERFHPR1 0x01000001 -#define DDR_PERFLPR1 0x08000200 -#define DDR_PERFWR1 0x08000400 -#define DDR_DBG0 0x00000000 -#define DDR_DBG1 0x00000000 -#define DDR_DBGCMD 0x00000000 -#define DDR_POISONCFG 0x00000000 -#define DDR_PCCFG 0x00000010 -#define DDR_PCFGR_0 0x00010000 -#define DDR_PCFGW_0 0x00000000 -#define DDR_PCFGQOS0_0 0x02100C03 -#define DDR_PCFGQOS1_0 0x00800100 -#define DDR_PCFGWQOS0_0 0x01100C03 -#define DDR_PCFGWQOS1_0 0x01000200 -#define DDR_PCFGR_1 0x00010000 -#define DDR_PCFGW_1 0x00000000 -#define DDR_PCFGQOS0_1 0x02100C03 -#define DDR_PCFGQOS1_1 0x00800040 -#define DDR_PCFGWQOS0_1 0x01100C03 -#define DDR_PCFGWQOS1_1 0x01000200 -#define DDR_ADDRMAP1 0x00070707 -#define DDR_ADDRMAP2 0x00000000 -#define DDR_ADDRMAP3 0x1F000000 -#define DDR_ADDRMAP4 0x00001F1F -#define DDR_ADDRMAP5 0x06060606 -#define DDR_ADDRMAP6 0x0F060606 -#define DDR_ADDRMAP9 0x00000000 -#define DDR_ADDRMAP10 0x00000000 -#define DDR_ADDRMAP11 0x00000000 -#define DDR_PGCR 0x01442E02 -#define DDR_PTR0 0x0022AA5B -#define DDR_PTR1 0x04841104 -#define DDR_PTR2 0x042DA068 -#define DDR_ACIOCR 0x10400812 -#define DDR_DXCCR 0x00000C40 -#define DDR_DSGCR 0xF200011F -#define DDR_DCR 0x0000000B -#define DDR_DTPR0 0x38D488D0 -#define DDR_DTPR1 0x098B00D8 -#define DDR_DTPR2 0x10023600 -#define DDR_MR0 0x00000840 -#define DDR_MR1 0x00000000 -#define DDR_MR2 0x00000208 -#define DDR_MR3 0x00000000 -#define DDR_ODTCR 0x00010000 -#define DDR_ZQ0CR1 0x00000038 -#define DDR_DX0GCR 0x0000CE81 -#define DDR_DX0DLLCR 0x40000000 -#define DDR_DX0DQTR 0x00112121 -#define DDR_DX0DQSTR 0x3D200000 -#define DDR_DX1GCR 0x0000CE81 -#define DDR_DX1DLLCR 0x40000000 -#define DDR_DX1DQTR 0x11100121 -#define DDR_DX1DQSTR 0x3D200000 -#define DDR_DX2GCR 0x0000CE80 -#define DDR_DX2DLLCR 0x40000000 -#define DDR_DX2DQTR 0xFFFFFFFF -#define DDR_DX2DQSTR 0x3DB02000 -#define DDR_DX3GCR 0x0000CE80 -#define DDR_DX3DLLCR 0x40000000 -#define DDR_DX3DQTR 0xFFFFFFFF -#define DDR_DX3DQSTR 0x3DB02000 - -#include "stm32mp15-ddr.dtsi" diff --git a/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk-fw-config.dts b/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk-fw-config.dts deleted file mode 100644 index 256d0db93526d1b750440e0e72cf38ecec26b889..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk-fw-config.dts +++ /dev/null @@ -1,6 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (c) 2020, STMicroelectronics - All Rights Reserved - */ - -#include "stm32mp15-ddr-512m-fw-config.dts" diff --git a/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk.dts b/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk.dts deleted file mode 100644 index 4f21a21158f1bfaec8e5b607c29a651ff0de1068..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-brk/tfa-dts/stm32mp157c-osd32mp1-brk.dts +++ /dev/null @@ -1,547 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* - * Copyright (C) STMicroelectronics 2020 - All Rights Reserved - * Author: STM32CubeMX code generation for STMicroelectronics. - */ - -/dts-v1/; -#include -#include -#include -#include - -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "osd32mp1_ddr_1x4Gb.dtsi" - -/ { - model = "Octavo OSD32MP1 BRK board"; - compatible = "st,stm32mp157c-osd32mp1-brk", "st,stm32mp157"; - - aliases { - serial0 = &uart4; - }; - - memory@c0000000 { - device_type = "memory"; - reg = <0xc0000000 0x20000000>; - }; - - vin: vin { - compatible = "regulator-fixed"; - regulator-name = "vin"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&bsec { - board_id: board_id@ec { - reg = <0xec 0x4>; - st,non-secure-otp; - }; -}; - -&clk_hse { - st,digbypass; -}; - -&cpu0 { - cpu-supply = <&vddcore>; -}; - -&cpu1 { - cpu-supply = <&vddcore>; -}; - -&hash1 { - status = "okay"; -}; - -&cryp1 { - status = "okay"; -}; - -&etzpc { - st,decprot = < - DECPROT(STM32MP1_ETZPC_USART1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_SPI6_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_I2C4_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_I2C6_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_RNG1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_HASH1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_CRYP1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_DDRCTRL_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_DDRPHYC_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_STGENC_ID, DECPROT_S_RW, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_BKPSRAM_ID, DECPROT_S_RW, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_IWDG1_ID, DECPROT_S_RW, DECPROT_LOCK) - >; -}; - - - -&i2c4 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c4_pins_z_mx>; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - clock-frequency = <400000>; - status = "okay"; - secure-status = "okay"; - - pmic: stpmic@33 { - compatible = "st,stpmic1"; - reg = <0x33>; - interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; - interrupt-controller; - #interrupt-cells = <2>; - status = "okay"; - secure-status = "okay"; - - regulators { - compatible = "st,stpmic1-regulators"; - buck1-supply = <&vin>; - buck2-supply = <&vin>; - buck3-supply = <&vin>; - buck4-supply = <&vin>; - ldo1-supply = <&v3v3>; - ldo2-supply = <&vin>; - ldo3-supply = <&vdd_ddr>; - ldo4-supply = <&vin>; - ldo5-supply = <&vin>; - ldo6-supply = <&v3v3>; - vref_ddr-supply = <&vin>; - boost-supply = <&vin>; - pwr_sw1-supply = <&bst_out>; - pwr_sw2-supply = <&bst_out>; - - vddcore: buck1 { - regulator-name = "vddcore"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-on-in-suspend; - regulator-suspend-microvolt = <1200000>; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd_ddr: buck2 { - regulator-name = "vdd_ddr"; - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-suspend-microvolt = <1350000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-suspend-microvolt = <1350000>; - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd: buck3 { - regulator-name = "vdd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - st,mask-reset; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - }; - - v3v3: buck4 { - regulator-name = "v3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-over-current-protection; - regulator-initial-mode = <0>; - lp-stop{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v1v8_ldo1: ldo1 { - regulator-name = "v1v8_audio"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v3v3_ldo2: ldo2 { - regulator-name = "v3v3_hdmi"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vtt_ddr: ldo3 { - regulator-name = "vtt_ddr"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <750000>; - regulator-always-on; - regulator-over-current-protection; - lp-stop{ - regulator-off-in-suspend; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd_usb: ldo4 { - regulator-name = "vdd_usb"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - standby-ddr-sr{ - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdda: ldo5 { - regulator-name = "vdda"; - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - regulator-boot-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v1v2_ldo6: ldo6 { - regulator-name = "v1v2_ldo6"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vref_ddr: vref_ddr { - regulator-name = "vref_ddr"; - regulator-always-on; - regulator-over-current-protection; - lp-stop{ - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - bst_out: boost { - regulator-name = "bst_out"; - }; - - vbus_otg: pwr_sw1 { - regulator-name = "vbus_otg"; - }; - - vbus_sw: pwr_sw2 { - regulator-name = "vbus_sw"; - regulator-active-discharge = <1>; - }; - }; - }; -}; - -&iwdg2 { - timeout-sec = <32>; - secure-timeout-sec = <5>; - status = "okay"; - secure-status = "okay"; -}; - -&nvmem_layout { - nvmem-cells = <&cfg0_otp>, - <&part_number_otp>, - <&monotonic_otp>, - <&nand_otp>, - <&uid_otp>, - <&package_otp>, - <&hw2_otp>, - <&pkh_otp>, - <&board_id>; - - nvmem-cell-names = "cfg0_otp", - "part_number_otp", - "monotonic_otp", - "nand_otp", - "uid_otp", - "package_otp", - "hw2_otp", - "pkh_otp", - "board_id"; -}; - -&pwr_regulators { - system_suspend_supported_soc_modes = < - STM32_PM_CSLEEP_RUN - STM32_PM_CSTOP_ALLOW_LP_STOP - STM32_PM_CSTOP_ALLOW_STANDBY_DDR_SR - >; - system_off_soc_mode = ; - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - -&rcc { - st,hsi-cal; - st,csi-cal; - st,cal-sec = <60>; - st,clksrc = < - CLK_MPU_PLL1P - CLK_AXI_PLL2P - CLK_MCU_PLL3P - CLK_PLL12_HSE - CLK_PLL3_HSE - CLK_PLL4_HSE - CLK_RTC_LSE - CLK_MCO1_DISABLED - CLK_MCO2_DISABLED - >; - - st,clkdiv = < - 1 /*MPU*/ - 0 /*AXI*/ - 0 /*MCU*/ - 1 /*APB1*/ - 1 /*APB2*/ - 1 /*APB3*/ - 1 /*APB4*/ - 2 /*APB5*/ - 23 /*RTC*/ - 0 /*MCO1*/ - 0 /*MCO2*/ - >; - - st,pkcs = < - CLK_CKPER_HSE - CLK_FMC_ACLK - CLK_QSPI_ACLK - CLK_ETH_DISABLED - CLK_SDMMC12_PLL4P - CLK_DSI_DSIPLL - CLK_STGEN_HSE - CLK_USBPHY_HSE - CLK_SPI2S1_PLL3Q - CLK_SPI2S23_PLL3Q - CLK_SPI45_HSI - CLK_SPI6_HSI - CLK_I2C46_HSI - CLK_SDMMC3_PLL4P - CLK_USBO_USBPHY - CLK_ADC_CKPER - CLK_CEC_LSE - CLK_I2C12_HSI - CLK_I2C35_HSI - CLK_UART1_HSI - CLK_UART24_HSI - CLK_UART35_HSI - CLK_UART6_HSI - CLK_UART78_HSI - CLK_SPDIF_PLL4P - CLK_FDCAN_PLL4R - CLK_SAI1_PLL3Q - CLK_SAI2_PLL3Q - CLK_SAI3_PLL3Q - CLK_SAI4_PLL3Q - CLK_RNG1_LSI - CLK_RNG2_LSI - CLK_LPTIM1_PCLK1 - CLK_LPTIM23_PCLK3 - CLK_LPTIM45_LSE - >; - - /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */ - pll2: st,pll@1 { - compatible = "st,stm32mp1-pll"; - reg = <1>; - cfg = <2 65 1 0 0 PQR(1,1,1)>; - frac = <0x1400>; - }; - - /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */ - pll3: st,pll@2 { - compatible = "st,stm32mp1-pll"; - reg = <2>; - cfg = <1 33 1 16 36 PQR(1,1,1)>; - frac = <0x1a04>; - }; - - /* VCO = 594.0 MHz => P = 99, Q = 74, R = 74 */ - pll4: st,pll@3 { - compatible = "st,stm32mp1-pll"; - reg = <3>; - cfg = <3 98 5 7 7 PQR(1,1,1)>; - }; -}; - -&rng1 { - status = "okay"; - secure-status = "okay"; -}; - -&rtc { - status = "okay"; - secure-status = "okay"; -}; - -&sdmmc1 { - pinctrl-names = "default"; - pinctrl-0 = <&sdmmc1_pins_mx>; - disable-wp; - st,neg-edge; - bus-width = <4>; - vmmc-supply = <&v3v3>; - status = "okay"; -}; - -&timers15 { - secure-status = "okay"; - st,hsi-cal-input = <7>; - st,csi-cal-input = <8>; -}; -&uart4 { - pinctrl-names = "default"; - pinctrl-0 = <&uart4_pins_mx>; - status = "okay"; -}; - -&usbotg_hs { - phys = <&usbphyc_port1 0>; - phy-names = "usb2-phy"; - usb-role-switch; - status = "okay"; -}; - -&usbphyc { - status = "okay"; -}; - -&usbphyc_port0 { - phy-supply = <&vdd_usb>; -}; - -&usbphyc_port1 { - phy-supply = <&vdd_usb>; -}; - - - - -&pinctrl { - sdmmc1_pins_mx: sdmmc1-b4-0 { - pins1 { - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - ; /* SDMMC1_CMD */ - slew-rate = <1>; - drive-push-pull; - bias-disable; - }; - pins2 { - pinmux = ; /* SDMMC1_CK */ - slew-rate = <2>; - drive-push-pull; - bias-disable; - }; - }; - - uart4_pins_mx: uart4-0 { - pins1 { - pinmux = ; /* UART4_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* UART4_RX */ - bias-disable; - }; - }; -}; - -&pinctrl_z { - i2c4_pins_z_mx: i2c4-0 { - pins { - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; -}; diff --git a/board/octavo/osd32mp1-red/genimage.cfg b/board/octavo/osd32mp1-red/genimage.cfg deleted file mode 100644 index bdad1914891c2be837f0cdc08d624c13f1d6547f..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition fsbl1 { - image = "tf-a-stm32mp157c-osd32mp1-red.stm32" - } - - partition fsbl2 { - image = "tf-a-stm32mp157c-osd32mp1-red.stm32" - } - - partition fip { - image = "fip.bin" - size = 2M - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/board/octavo/osd32mp1-red/linux-dts/stm32mp157c-osd32mp1-red.dts b/board/octavo/osd32mp1-red/linux-dts/stm32mp157c-osd32mp1-red.dts deleted file mode 100644 index bf0e23c76150ac0d9a5d3cb2a152637773a17e5e..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/linux-dts/stm32mp157c-osd32mp1-red.dts +++ /dev/null @@ -1,1440 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* - * Copyright (C) Octavo Systems 2021 - All Rights Reserved - * Author: Neeraj Dantu for Octavo Systems - */ - -/dts-v1/; - -#include -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "stm32mp15-m4-srm.dtsi" -#include -#include -#include - -/ { - model = "Octavo OSD32MP1 RED board"; - compatible = "octavo,stm32mp157c-osd32mp1-red", "st,stm32mp157"; - - memory@c0000000 { - device_type = "memory"; - reg = <0xc0000000 0x20000000>; - }; - - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&gpiog 5 GPIO_ACTIVE_LOW>; - }; - - clocks { - clk_ext_camera: clk-ext-camera { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - mcuram2:mcuram2@10000000{ - compatible = "shared-dma-pool"; - reg = <0x10000000 0x40000>; - no-map; - }; - - vdev0vring0:vdev0vring0@10040000{ - compatible = "shared-dma-pool"; - reg = <0x10040000 0x1000>; - no-map; - }; - - vdev0vring1:vdev0vring1@10041000{ - compatible = "shared-dma-pool"; - reg = <0x10041000 0x1000>; - no-map; - }; - - vdev0buffer:vdev0buffer@10042000{ - compatible = "shared-dma-pool"; - reg = <0x10042000 0x4000>; - no-map; - }; - - mcuram:mcuram@30000000{ - compatible = "shared-dma-pool"; - reg = <0x30000000 0x40000>; - no-map; - }; - - retram:retram@38000000{ - compatible = "shared-dma-pool"; - reg = <0x38000000 0x10000>; - no-map; - }; - - gpu_reserved:gpu@d4000000{ - reg = <0xd4000000 0x4000000>; - no-map; - }; - }; - - - aliases { - ethernet0 = ðernet0; - serial0 = &uart4; - serial1 = &usart3; - serial2 = &uart7; - serial3 = &usart2; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - led { - compatible = "gpio-leds"; - blue { - label = "heartbeat"; - gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; - default-state = "off"; - }; - }; - - usb_phy_tuning:usb-phy-tuning{ - st,hs-dc-level = <2>; - st,fs-rftime-tuning; - st,hs-rftime-reduction; - st,hs-current-trim = <15>; - st,hs-impedance-trim = <1>; - st,squelch-level = <3>; - st,hs-rx-offset = <2>; - st,no-lsfs-sc; - }; - - vin:vin{ - compatible = "regulator-fixed"; - regulator-name = "vin"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; - - sound { - compatible = "audio-graph-card"; - label = "STM32MP15-DK"; - dais = <&i2s2_port>; - status = "okay"; - }; -}; - -&pinctrl { - u-boot,dm-pre-reloc; - dcmi_pins_mx: dcmi_mx-0 { - pins { - pinmux = , /* DCMI_HSYNC */ - , /* DCMI_PIXCLK */ - , /* DCMI_D1 */ - , /* DCMI_D7 */ - , /* DCMI_D0 */ - , /* DCMI_D2 */ - , /* DCMI_D3 */ - , /* DCMI_D4 */ - , /* DCMI_D6 */ - , /* DCMI_VSYNC */ - , /* DCMI_D8 */ - , /* DCMI_D9 */ - , /* DCMI_D11 */ - , /* DCMI_D10 */ - ; /* DCMI_D5 */ - bias-disable; - }; - }; - - dcmi_sleep_pins_mx: dcmi_sleep_mx-0 { - pins { - pinmux = , /* DCMI_HSYNC */ - , /* DCMI_PIXCLK */ - , /* DCMI_D1 */ - , /* DCMI_D7 */ - , /* DCMI_D0 */ - , /* DCMI_D2 */ - , /* DCMI_D3 */ - , /* DCMI_D4 */ - , /* DCMI_D6 */ - , /* DCMI_VSYNC */ - , /* DCMI_D8 */ - , /* DCMI_D9 */ - , /* DCMI_D11 */ - , /* DCMI_D10 */ - ; /* DCMI_D5 */ - }; - }; - - eth1_pins_mx: eth1_mx-0 { - pins1 { - pinmux = , /* ETH1_RX_CLK */ - , /* ETH1_RX_CTL */ - , /* ETH1_RXD2 */ - , /* ETH1_RXD3 */ - , /* ETH1_RXD0 */ - ; /* ETH1_RXD1 */ - bias-disable; - }; - pins2 { - pinmux = ; /* ETH1_MDIO */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins3 { - pinmux = , /* ETH1_TX_CTL */ - , /* ETH1_MDC */ - , /* ETH1_TXD2 */ - , /* ETH1_TXD3 */ - , /* ETH1_GTX_CLK */ - , /* ETH1_TXD0 */ - ; /* ETH1_TXD1 */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - }; - - eth1_sleep_pins_mx: eth1_sleep_mx-0 { - pins { - pinmux = , /* ETH1_RX_CLK */ - , /* ETH1_MDIO */ - , /* ETH1_RX_CTL */ - , /* ETH1_RXD2 */ - , /* ETH1_RXD3 */ - , /* ETH1_TX_CTL */ - , /* ETH1_MDC */ - , /* ETH1_TXD2 */ - , /* ETH1_RXD0 */ - , /* ETH1_RXD1 */ - , /* ETH1_TXD3 */ - , /* ETH1_GTX_CLK */ - , /* ETH1_TXD0 */ - ; /* ETH1_TXD1 */ - }; - }; - - i2c1_pins_mx: i2c1_mx-0 { - pins { - pinmux = , /* I2C1_SCL */ - ; /* I2C1_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c1_sleep_pins_mx: i2c1_sleep_mx-0 { - pins { - pinmux = , /* I2C1_SCL */ - ; /* I2C1_SDA */ - }; - }; - - i2c2_pins_mx: i2c2_mx-0 { - pins { - pinmux = ; /* I2C2_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c2_sleep_pins_mx: i2c2_sleep_mx-0 { - pins { - pinmux = ; /* I2C2_SDA */ - }; - }; - - i2c5_pins_mx: i2c5_mx-0 { - pins { - pinmux = , /* I2C5_SCL */ - ; /* I2C5_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c5_sleep_pins_mx: i2c5_sleep_mx-0 { - pins { - pinmux = , /* I2C5_SCL */ - ; /* I2C5_SDA */ - }; - }; - - i2s2_pins_mx: i2s2_mx-0 { - pins { - pinmux = , /* I2S2_WS */ - , /* I2S2_CK */ - ; /* I2S2_SDO */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - }; - - i2s2_sleep_pins_mx: i2s2_sleep_mx-0 { - pins { - pinmux = , /* I2S2_WS */ - , /* I2S2_CK */ - ; /* I2S2_SDO */ - }; - }; - - ltdc_pins_mx: ltdc_mx-0 { - pins1 { - pinmux = , /* LTDC_B5 */ - , /* LTDC_B6 */ - , /* LTDC_R5 */ - , /* LTDC_B7 */ - , /* LTDC_B0 */ - , /* LTDC_B3 */ - , /* LTDC_G1 */ - , /* LTDC_B4 */ - , /* LTDC_G0 */ - , /* LTDC_R7 */ - , /* LTDC_DE */ - , /* LTDC_B2 */ - , /* LTDC_B1 */ - , /* LTDC_R0 */ - , /* LTDC_R1 */ - , /* LTDC_G4 */ - , /* LTDC_R2 */ - , /* LTDC_R3 */ - , /* LTDC_R4 */ - , /* LTDC_R6 */ - , /* LTDC_G2 */ - , /* LTDC_G3 */ - , /* LTDC_G5 */ - , /* LTDC_G6 */ - , /* LTDC_G7 */ - , /* LTDC_VSYNC */ - ; /* LTDC_HSYNC */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* LTDC_CLK */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - }; - - ltdc_sleep_pins_mx: ltdc_sleep_mx-0 { - pins { - pinmux = , /* LTDC_B5 */ - , /* LTDC_B6 */ - , /* LTDC_R5 */ - , /* LTDC_B7 */ - , /* LTDC_B0 */ - , /* LTDC_B3 */ - , /* LTDC_G1 */ - , /* LTDC_B4 */ - , /* LTDC_G0 */ - , /* LTDC_R7 */ - , /* LTDC_DE */ - , /* LTDC_CLK */ - , /* LTDC_B2 */ - , /* LTDC_B1 */ - , /* LTDC_R0 */ - , /* LTDC_R1 */ - , /* LTDC_G4 */ - , /* LTDC_R2 */ - , /* LTDC_R3 */ - , /* LTDC_R4 */ - , /* LTDC_R6 */ - , /* LTDC_G2 */ - , /* LTDC_G3 */ - , /* LTDC_G5 */ - , /* LTDC_G6 */ - , /* LTDC_G7 */ - , /* LTDC_VSYNC */ - ; /* LTDC_HSYNC */ - }; - }; - - sdmmc1_pins_mx: sdmmc1_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - ; /* SDMMC1_CMD */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - }; - - sdmmc1_opendrain_pins_mx: sdmmc1_opendrain_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - ; /* SDMMC1_D3 */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - pins3 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC1_CMD */ - bias-disable; - drive-open-drain; - slew-rate = <1>; - }; - }; - - sdmmc1_sleep_pins_mx: sdmmc1_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - , /* SDMMC1_CK */ - ; /* SDMMC1_CMD */ - }; - }; - - sdmmc2_pins_mx: sdmmc2_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC2_D4 */ - , /* SDMMC2_D5 */ - , /* SDMMC2_D2 */ - , /* SDMMC2_D3 */ - , /* SDMMC2_D0 */ - , /* SDMMC2_D1 */ - , /* SDMMC2_D7 */ - , /* SDMMC2_D6 */ - ; /* SDMMC2_CMD */ - bias-pull-up; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC2_CK */ - bias-pull-up; - drive-push-pull; - slew-rate = <2>; - }; - }; - - sdmmc2_opendrain_pins_mx: sdmmc2_opendrain_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC2_D4 */ - , /* SDMMC2_D5 */ - , /* SDMMC2_D2 */ - , /* SDMMC2_D3 */ - , /* SDMMC2_D0 */ - , /* SDMMC2_D1 */ - , /* SDMMC2_D7 */ - ; /* SDMMC2_D6 */ - bias-pull-up; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC2_CK */ - bias-pull-up; - drive-push-pull; - slew-rate = <2>; - }; - pins3 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC2_CMD */ - bias-pull-up; - drive-open-drain; - slew-rate = <1>; - }; - }; - - sdmmc2_sleep_pins_mx: sdmmc2_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC2_D4 */ - , /* SDMMC2_D5 */ - , /* SDMMC2_D2 */ - , /* SDMMC2_D3 */ - , /* SDMMC2_D0 */ - , /* SDMMC2_D1 */ - , /* SDMMC2_D7 */ - , /* SDMMC2_CK */ - , /* SDMMC2_D6 */ - ; /* SDMMC2_CMD */ - }; - }; - - sdmmc3_pins_mx: sdmmc3_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC3_D3 */ - , /* SDMMC3_D0 */ - , /* SDMMC3_CMD */ - , /* SDMMC3_D1 */ - ; /* SDMMC3_D2 */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC3_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - }; - - sdmmc3_opendrain_pins_mx: sdmmc3_opendrain_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC3_D3 */ - , /* SDMMC3_D0 */ - , /* SDMMC3_D1 */ - ; /* SDMMC3_D2 */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC3_CMD */ - bias-disable; - drive-open-drain; - slew-rate = <1>; - }; - pins3 { - u-boot,dm-pre-reloc; - pinmux = ; /* SDMMC3_CK */ - bias-disable; - drive-push-pull; - slew-rate = <2>; - }; - }; - - sdmmc3_sleep_pins_mx: sdmmc3_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* SDMMC3_D3 */ - , /* SDMMC3_D0 */ - , /* SDMMC3_CMD */ - , /* SDMMC3_D1 */ - , /* SDMMC3_D2 */ - ; /* SDMMC3_CK */ - }; - }; - - spi5_pins_mx: spi5_mx-0 { - pins { - pinmux = , /* SPI5_SCK */ - , /* SPI5_MISO */ - ; /* SPI5_MOSI */ - bias-disable; - drive-push-pull; - slew-rate = <1>; - }; - }; - - spi5_sleep_pins_mx: spi5_sleep_mx-0 { - pins { - pinmux = , /* SPI5_SCK */ - , /* SPI5_MISO */ - ; /* SPI5_MOSI */ - }; - }; - - tim5_pwm_pins_mx: tim5_pwm_mx-0 { - pins { - pinmux = ; /* TIM5_CH2 */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - }; - - tim5_pwm_sleep_pins_mx: tim5_pwm_sleep_mx-0 { - pins { - pinmux = ; /* TIM5_CH2 */ - }; - }; - - uart4_pins_mx: uart4_mx-0 { - u-boot,dm-pre-reloc; - pins1 { - u-boot,dm-pre-reloc; - pinmux = ; /* UART4_RX */ - bias-disable; - }; - pins2 { - u-boot,dm-pre-reloc; - pinmux = ; /* UART4_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - }; - - uart4_sleep_pins_mx: uart4_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* UART4_RX */ - ; /* UART4_TX */ - }; - }; - - usart2_pins_mx: usart2_mx-0 { - pins1 { - pinmux = , /* USART2_CTS */ - ; /* USART2_RX */ - bias-disable; - }; - pins2 { - pinmux = , /* USART2_RTS */ - ; /* USART2_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - }; - - usart2_sleep_pins_mx: usart2_sleep_mx-0 { - pins { - pinmux = , /* USART2_CTS */ - , /* USART2_RTS */ - , /* USART2_TX */ - ; /* USART2_RX */ - }; - }; - - cec_pins_mx: cec-1 { - pins { - pinmux = ; - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - cec_sleep_pins_mx: cec-sleep-1 { - pins { - pinmux = ; /* HDMI_CEC */ - }; - }; - - stusb1600_pins_mx: stusb1600-0 { - pins { - pinmux = ; - bias-pull-up; - }; - }; - - m_can1_pins_mx: m_can1_sleep_mx-0 { - pins1 { - pinmux = ; /* CAN1_TX */ - slew-rate = <0>; - drive-push-pull; - bias-disable; - }; - pins2 { - pinmux = ; /* CAN1_RX */ - bias-disable; - }; - }; - - m_can1_sleep_pins_mx: m_can1_sleep-0 { - pins { - pinmux = , /* CAN1_TX */ - ; /* CAN1_RX */ - }; - }; - -}; - -&pinctrl_z { - u-boot,dm-pre-reloc; - - i2c2_pins_z_mx: i2c2_mx-0 { - pins { - pinmux = ; /* I2C2_SCL */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c2_sleep_pins_z_mx: i2c2_sleep_mx-0 { - pins { - pinmux = ; /* I2C2_SCL */ - }; - }; - - i2c4_pins_z_mx: i2c4_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; - - i2c4_sleep_pins_z_mx: i2c4_sleep_mx-0 { - u-boot,dm-pre-reloc; - pins { - u-boot,dm-pre-reloc; - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - }; - }; -}; - -&m4_rproc{ - memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, - <&vdev0vring1>, <&vdev0buffer>; - mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; - mbox-names = "vq0", "vq1", "shutdown"; - interrupt-parent = <&exti>; - interrupts = <68 1>; - wakeup-source; - status = "okay"; -}; - -&dcmi{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&dcmi_pins_mx>; - pinctrl-1 = <&dcmi_sleep_pins_mx>; - status = "okay"; - - port { - dcmi_0: endpoint { - remote-endpoint = <&ov5640_0>; - bus-width = <8>; - hsync-active = <0>; - vsync-active = <0>; - pclk-sample = <1>; - pclk-max-frequency = <77000000>; - }; - }; -}; - -&dsi{ - status = "okay"; - - ports { - port@0 { - reg = <0>; - dsi_in: endpoint { - remote-endpoint = <<dc_ep1_out>; - }; - }; - - port@1 { - reg = <1>; - dsi_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; - - panel_otm8009a: panel-otm8009a@0 { - compatible = "orisetech,otm8009a"; - reg = <0>; - reset-gpios = <&gpioe 9 GPIO_ACTIVE_LOW>; - power-supply = <&v3v3>; - status = "okay"; - - port { - panel_in: endpoint { - remote-endpoint = <&dsi_out>; - }; - }; - }; -}; - -ðernet0{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <ð1_pins_mx>; - pinctrl-1 = <ð1_sleep_pins_mx>; - status = "okay"; - - - st,eth-clk-sel; //custom - phy-mode = "rgmii-id"; - max-speed = <1000>; - phy-handle = <&phy0>; - nvmem-cells = <ðernet_mac_address>; - nvmem-cell-names = "mac-address"; - - mdio0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,dwmac-mdio"; - phy0: ethernet-phy@0 { - reg = <3>; - }; - }; -}; - -&gpu{ - status = "okay"; - contiguous-area = <&gpu_reserved>; -}; - -&hash1 { - status = "okay"; -}; - -&hsem{ - status = "okay"; -}; - -&cryp1{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&i2c1{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c1_pins_mx>; - pinctrl-1 = <&i2c1_sleep_pins_mx>; - status = "okay"; - i2c-scl-rising-time-ns = <100>; - i2c-scl-falling-time-ns = <7>; - /delete-property/dmas; - /delete-property/dma-names; - - touchscreen@2a { - compatible = "focaltech,ft6236"; - reg = <0x2a>; - interrupts = <2 2>; - interrupt-parent = <&gpiof>; - interrupt-controller; - touchscreen-size-x = <480>; - touchscreen-size-y = <800>; - panel = <&panel_otm8009a>; - vcc-supply = <&v3v3>; - status = "okay"; - }; - touchscreen@38 { - compatible = "focaltech,ft6236"; - reg = <0x38>; - interrupts = <2 2>; - interrupt-parent = <&gpiof>; - interrupt-controller; - touchscreen-size-x = <480>; - touchscreen-size-y = <800>; - panel = <&panel_otm8009a>; - vcc-supply = <&v3v3>; - status = "okay"; - }; - - hdmi-transmitter@39 { - compatible = "sil,sii9022"; - reg = <0x39>; - reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; - interrupts = <1 IRQ_TYPE_EDGE_FALLING>; - interrupt-parent = <&gpiog>; - #sound-dai-cells = <0>; - status = "okay"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - sii9022_in: endpoint { - remote-endpoint = <<dc_ep0_out>; - }; - }; - - port@3 { - reg = <3>; - sii9022_tx_endpoint: endpoint { - remote-endpoint = <&i2s2_endpoint>; - }; - }; - }; - }; -}; - -&i2c2{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c2_pins_mx &i2c2_pins_z_mx>; - pinctrl-1 = <&i2c2_sleep_pins_mx &i2c2_sleep_pins_z_mx>; - status = "okay"; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - /delete-property/dmas; - /delete-property/dma-names; - - ov5640: camera@3c { - compatible = "ovti,ov5640"; - reg = <0x3c>; - clocks = <&clk_ext_camera>; - clock-names = "xclk"; - DOVDD-supply = <&v3v3>; - //powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>; - //reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; - //powerdown-gpios = <&gpioc 3 GPIO_ACTIVE_HIGH>; //custom - //reset-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; //custom - rotation = <180>; - status = "okay"; - - port { - ov5640_0: endpoint { - remote-endpoint = <&dcmi_0>; - bus-width = <8>; - data-shift = <2>; /* lines 9:2 are used */ - hsync-active = <0>; - vsync-active = <0>; - pclk-sample = <1>; - pclk-max-frequency = <77000000>; - }; - }; - }; -}; - -&i2c4{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c4_pins_z_mx>; - pinctrl-1 = <&i2c4_sleep_pins_z_mx>; - status = "okay"; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - clock-frequency = <400000>; - /delete-property/ dmas; - /delete-property/ dma-names; - - typec: stusb1600@28 { - compatible = "st,stusb1600"; - reg = <0x28>; - interrupt-parent = <&gpioe>; - interrupts = <8 IRQ_TYPE_EDGE_FALLING>; - pinctrl-0 = <&stusb1600_pins_mx>; - pinctrl-names = "default"; - status = "okay"; - vdd-supply = <&vin>; - - typec_con: connector { - compatible = "usb-c-connector"; - label = "USB-C"; - power-role = "dual"; - power-opmode = "default"; - - port { - con_usbotg_hs_ep: endpoint { - remote-endpoint = <&usbotg_hs_ep>; - }; - }; - }; - }; - - pmic:stpmic@33{ - compatible = "st,stpmic1"; - reg = <0x33>; - interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; - interrupt-controller; - #interrupt-cells = <2>; - status = "okay"; - - st,main-control-register = <0x04>; - st,vin-control-register = <0xc0>; - st,usb-control-register = <0x20>; - - regulators{ - compatible = "st,stpmic1-regulators"; - buck1-supply = <&vin>; - buck2-supply = <&vin>; - buck3-supply = <&vin>; - buck4-supply = <&vin>; - ldo1-supply = <&v3v3>; - ldo2-supply = <&vin>; - ldo3-supply = <&vdd_ddr>; - ldo4-supply = <&vin>; - ldo5-supply = <&vin>; - ldo6-supply = <&v3v3>; - vref_ddr-supply = <&vin>; - boost-supply = <&vin>; - pwr_sw1-supply = <&bst_out>; - pwr_sw2-supply = <&bst_out>; - - - vddcore:buck1{ - regulator-name = "vddcore"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - vdd_ddr:buck2{ - regulator-name = "vdd_ddr"; - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - vdd:buck3{ - regulator-name = "vdd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - st,mask-reset; - regulator-initial-mode = <0>; - regulator-over-current-protection; - }; - - v3v3:buck4{ - regulator-name = "v3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-over-current-protection; - regulator-initial-mode = <0>; - }; - - v1v8_audio:ldo1{ - regulator-name = "v1v8_audio"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - interrupts = ; - }; - - v3v3_hdmi:ldo2{ - regulator-name = "v3v3_hdmi"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - interrupts = ; - }; - - vtt_ddr:ldo3{ - regulator-name = "vtt_ddr"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <750000>; - regulator-always-on; - regulator-over-current-protection; - }; - - vdd_usb:ldo4{ - regulator-name = "vdd_usb"; - interrupts = ; - }; - - v3v3_eth:ldo5{ - regulator-name = "v3v3_eth"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - interrupts = ; - regulator-boot-on; - }; - - v3v3_dsi:ldo6{ - regulator-name = "v3v3_dsi"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - interrupts = ; - }; - - vref_ddr:vref_ddr{ - regulator-name = "vref_ddr"; - regulator-always-on; - regulator-over-current-protection; - }; - - bst_out:boost{ - regulator-name = "bst_out"; - interrupts = ; - regulator-always-on; - }; - - vbus_otg:pwr_sw1{ - regulator-name = "vbus_otg"; - interrupts = ; - regulator-active-discharge; - regulator-always-on; - }; - - vbus_sw:pwr_sw2{ - regulator-name = "vbus_sw"; - interrupts = ; - regulator-active-discharge = <1>; - regulator-always-on; - }; - }; - - onkey{ - compatible = "st,stpmic1-onkey"; - interrupts = , ; - interrupt-names = "onkey-falling", "onkey-rising"; - power-off-time-sec = <10>; - status = "okay"; - }; - - watchdog { - compatible = "st,stpmic1-wdt"; - status = "disabled"; - }; - }; - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - pagesize = <16>; - }; -}; - -&i2c5{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2c5_pins_mx>; - pinctrl-1 = <&i2c5_sleep_pins_mx>; - status = "okay"; - - /delete-property/dmas; - /delete-property/dma-names; - -}; - -&spi5 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&spi5_pins_mx>; - pinctrl-1 = <&spi5_sleep_pins_mx>; - cs-gpios = <&gpiof 6 0>; - status = "okay"; - - spidev: spidev@0 { - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - reg = <0>; - }; -}; - -&i2s2{ - clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; - clock-names = "pclk", "i2sclk", "x8k", "x11k"; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&i2s2_pins_mx>; - pinctrl-1 = <&i2s2_sleep_pins_mx>; - status = "okay"; - - i2s2_port: port { - i2s2_endpoint: endpoint { - remote-endpoint = <&sii9022_tx_endpoint>; - format = "i2s"; - mclk-fs = <256>; - }; - }; -}; - -&ipcc{ - status = "okay"; -}; - -&iwdg2{ - status = "okay"; - timeout-sec = <32>; -}; - -<dc{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <<dc_pins_mx>; - pinctrl-1 = <<dc_sleep_pins_mx>; - status = "okay"; - port { - ltdc_ep0_out: endpoint@0 { - reg = <0>; - remote-endpoint = <&sii9022_in>; - }; - - ltdc_ep1_out: endpoint@1 { - reg = <1>; - remote-endpoint = <&dsi_in>; - }; - }; -}; - -&pwr_regulators { - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - -&rcc{ - u-boot,dm-pre-reloc; - status = "okay"; -}; - -&rng1{ - status = "okay"; -}; - -&rtc{ - status = "okay"; -}; - -&cec { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&cec_pins_mx>; - pinctrl-1 = <&cec_sleep_pins_mx>; - status = "okay"; -}; - -&cpu0{ - cpu-supply = <&vddcore>; -}; - -&cpu1{ - cpu-supply = <&vddcore>; -}; - -&crc1 { - status = "okay"; -}; - -&dts { - status = "okay"; -}; - -&sdmmc1{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "opendrain", "sleep"; - pinctrl-0 = <&sdmmc1_pins_mx>; - pinctrl-1 = <&sdmmc1_opendrain_pins_mx>; - pinctrl-2 = <&sdmmc1_sleep_pins_mx>; - status = "okay"; - - cd-gpios = <&gpioe 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - disable-wp; - st,neg-edge; - bus-width = <4>; - vmmc-supply = <&v3v3>; -}; - -&sdmmc2{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "opendrain", "sleep"; - pinctrl-0 = <&sdmmc2_pins_mx>; - pinctrl-1 = <&sdmmc2_opendrain_pins_mx>; - pinctrl-2 = <&sdmmc2_sleep_pins_mx>; - status = "okay"; - non-removable; - no-sd; - no-sdio; - st,neg-edge; - bus-width = <8>; - vmmc-supply = <&v3v3>; - vqmmc-supply = <&v3v3>; - mmc-ddr-3_3v; -}; - -&sdmmc3{ - pinctrl-names = "default", "opendrain", "sleep"; - pinctrl-0 = <&sdmmc3_pins_mx>; - pinctrl-1 = <&sdmmc3_opendrain_pins_mx>; - pinctrl-2 = <&sdmmc3_sleep_pins_mx>; - arm,primecell-periphid = <0x10153180>; - non-removable; - st,neg-edge; - bus-width = <4>; - vmmc-supply = <&v3v3>; - mmc-pwrseq = <&wifi_pwrseq>; - #address-cells = <1>; - #size-cells = <0>; - keep-power-in-suspend; - status = "okay"; - - brcmf: bcrmf@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - -&tamp{ - status = "okay"; -}; - -&timers5 { - /delete-property/dmas; - /delete-property/dma-names; - status = "okay"; - pwm { - pinctrl-0 = <&tim5_pwm_pins_mx>; - pinctrl-1 = <&tim5_pwm_sleep_pins_mx>; - pinctrl-names = "default", "sleep"; - status = "okay"; - }; - timer@4 { - status = "okay"; - }; -}; - -&uart4{ - u-boot,dm-pre-reloc; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&uart4_pins_mx>; - pinctrl-1 = <&uart4_sleep_pins_mx>; - /delete-property/dmas; - /delete-property/dma-names; - status = "okay"; -}; - -&usart2{ - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&usart2_pins_mx>; - pinctrl-1 = <&usart2_sleep_pins_mx>; - uart-has-rtscts; - status = "okay"; - - bluetooth { - shutdown-gpios = <&gpioe 10 GPIO_ACTIVE_HIGH>; - compatible = "brcm,bcm43438-bt"; - max-speed = <3000000>; - vbat-supply = <&v3v3>; - vddio-supply = <&v3v3>; - }; -}; - -&sram { - dma_pool: dma_pool@0 { - reg = <0x50000 0x10000>; - pool; - }; -}; - -&dma1 { - sram = <&dma_pool>; -}; - -&dma2 { - sram = <&dma_pool>; -}; - -&adc { - vdd-supply = <&vdd>; - vdda-supply = <&v3v3_eth>; - vref-supply = <&v3v3_eth>; - status = "okay"; - adc1: adc@0 { - st,min-sample-time-nsecs = <5000>; - st,adc-channels = <0 1>; - status = "okay"; - }; - - adc_temp: temp { - status = "okay"; - }; -}; - - -// WARNING: Do not try to enable DAC1 and DCMI -// This devices share the same pin PA4 -/* &dac { - pinctrl-names = "default"; - status = "okay"; - dac1: dac@1 { - pinctrl-0 = <&dac_ch1_pins_a>; - status = "disabled"; - }; - dac2: dac@2 { - pinctrl-0 = <&dac_ch2_pins_a>; - status = "okay"; - }; -};*/ - -&usbh_ehci { - phys = <&usbphyc_port0>; - phy-names = "usb"; - status = "okay"; -}; - -&usbh_ohci{ - phys = <&usbphyc_port0>; - phy-names = "usb"; - status = "okay"; -}; - -&usbotg_hs { - phys = <&usbphyc_port1 0>; - phy-names = "usb2-phy"; - usb-role-switch; - status = "okay"; - - port { - usbotg_hs_ep: endpoint { - remote-endpoint = <&con_usbotg_hs_ep>; - }; - }; -}; - -&usbphyc { - status = "okay"; -}; - -&usbphyc_port0 { - phy-supply = <&vdd_usb>; - st,phy-tuning = <&usb_phy_tuning>; -}; - -&usbphyc_port1 { - phy-supply = <&vdd_usb>; - st,phy-tuning = <&usb_phy_tuning>; -}; - -&m_can1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can1_pins_mx>; - pinctrl-1 = <&m_can1_sleep_pins_mx>; - status = "okay"; -}; diff --git a/board/octavo/osd32mp1-red/overlay/boot/extlinux/extlinux.conf b/board/octavo/osd32mp1-red/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index b3f16b2247edbd452002cf37177fd2fcaa843399..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label osd32mp1-red-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157c-osd32mp1-red.dtb - append root=/dev/mmcblk1p4 rootwait diff --git a/board/octavo/osd32mp1-red/patches/uboot/0001-Add-OSD32MP1-RED-Device-Tree-support.patch b/board/octavo/osd32mp1-red/patches/uboot/0001-Add-OSD32MP1-RED-Device-Tree-support.patch deleted file mode 100644 index 9b075139ee9c385a0da6eaca52eaa8c8cc28ed10..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/patches/uboot/0001-Add-OSD32MP1-RED-Device-Tree-support.patch +++ /dev/null @@ -1,1848 +0,0 @@ -From 69029a32acdfac1499750f657c16ab3a3cbfa8f8 Mon Sep 17 00:00:00 2001 -From: Kory Maincent -Date: Mon, 3 Oct 2022 12:17:37 +0200 -Subject: [PATCH 1/2] Add OSD32MP1-RED Device Tree support - -Signed-off-by: Kory Maincent ---- - arch/arm/dts/Makefile | 3 +- - .../dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi | 119 ++ - .../dts/stm32mp157c-osd32mp1-red-u-boot.dtsi | 233 +++ - arch/arm/dts/stm32mp157c-osd32mp1-red.dts | 1445 +++++++++++++++++ - 4 files changed, 1799 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi - create mode 100644 arch/arm/dts/stm32mp157c-osd32mp1-red-u-boot.dtsi - create mode 100644 arch/arm/dts/stm32mp157c-osd32mp1-red.dts - -diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 83677c3d4f..00b27c8695 100644 ---- a/arch/arm/dts/Makefile -+++ b/arch/arm/dts/Makefile -@@ -959,7 +959,8 @@ dtb-$(CONFIG_STM32MP15x) += \ - stm32mp157f-ed1.dtb \ - stm32mp157f-ev1.dtb \ - stm32mp15xx-dhcom-pdk2.dtb \ -- stm32mp15xx-dhcor-avenger96.dtb -+ stm32mp15xx-dhcor-avenger96.dtb \ -+ stm32mp157c-osd32mp1-red.dtb - - dtb-$(CONFIG_SOC_K3_AM6) += k3-am654-base-board.dtb k3-am654-r5-base-board.dtb - dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb \ -diff --git a/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi b/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi -new file mode 100644 -index 0000000000..362f3281b8 ---- /dev/null -+++ b/arch/arm/dts/stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi -@@ -0,0 +1,119 @@ -+/* -+ * Copyright (C) 2015-2018, STMicroelectronics - All Rights Reserved -+ * -+ * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -+ * -+ */ -+ -+/* -+ * File generated by STMicroelectronics STM32CubeMX DDR Tool for MPUs -+ * DDR type: DDR3 / DDR3L -+ * DDR width: 16bits -+ * DDR density: 4Gb -+ * System frequency: 533000Khz -+ * Relaxed Timing Mode: false -+ * Address mapping type: RBC -+ * -+ * Save Date: 2020.08.20, save Time: 10:57:25 -+ */ -+ -+#define DDR_MEM_NAME "DDR3-DDR3L 16bits 533000Khz" -+#define DDR_MEM_SPEED 533000 -+#define DDR_MEM_SIZE 0x20000000 -+ -+#define DDR_MSTR 0x00041401 -+#define DDR_MRCTRL0 0x00000010 -+#define DDR_MRCTRL1 0x00000000 -+#define DDR_DERATEEN 0x00000000 -+#define DDR_DERATEINT 0x00800000 -+#define DDR_PWRCTL 0x00000000 -+#define DDR_PWRTMG 0x00400010 -+#define DDR_HWLPCTL 0x00000000 -+#define DDR_RFSHCTL0 0x00210000 -+#define DDR_RFSHCTL3 0x00000000 -+#define DDR_RFSHTMG 0x0081008B -+#define DDR_CRCPARCTL0 0x00000000 -+#define DDR_DRAMTMG0 0x121B2414 -+#define DDR_DRAMTMG1 0x000A041C -+#define DDR_DRAMTMG2 0x0608090F -+#define DDR_DRAMTMG3 0x0050400C -+#define DDR_DRAMTMG4 0x08040608 -+#define DDR_DRAMTMG5 0x06060403 -+#define DDR_DRAMTMG6 0x02020002 -+#define DDR_DRAMTMG7 0x00000202 -+#define DDR_DRAMTMG8 0x00001005 -+#define DDR_DRAMTMG14 0x000000A0 -+#define DDR_ZQCTL0 0xC2000040 -+#define DDR_DFITMG0 0x02060105 -+#define DDR_DFITMG1 0x00000202 -+#define DDR_DFILPCFG0 0x07000000 -+#define DDR_DFIUPD0 0xC0400003 -+#define DDR_DFIUPD1 0x00000000 -+#define DDR_DFIUPD2 0x00000000 -+#define DDR_DFIPHYMSTR 0x00000000 -+#define DDR_ODTCFG 0x06000600 -+#define DDR_ODTMAP 0x00000001 -+#define DDR_SCHED 0x00000C01 -+#define DDR_SCHED1 0x00000000 -+#define DDR_PERFHPR1 0x01000001 -+#define DDR_PERFLPR1 0x08000200 -+#define DDR_PERFWR1 0x08000400 -+#define DDR_DBG0 0x00000000 -+#define DDR_DBG1 0x00000000 -+#define DDR_DBGCMD 0x00000000 -+#define DDR_POISONCFG 0x00000000 -+#define DDR_PCCFG 0x00000010 -+#define DDR_PCFGR_0 0x00010000 -+#define DDR_PCFGW_0 0x00000000 -+#define DDR_PCFGQOS0_0 0x02100C03 -+#define DDR_PCFGQOS1_0 0x00800100 -+#define DDR_PCFGWQOS0_0 0x01100C03 -+#define DDR_PCFGWQOS1_0 0x01000200 -+#define DDR_PCFGR_1 0x00010000 -+#define DDR_PCFGW_1 0x00000000 -+#define DDR_PCFGQOS0_1 0x02100C03 -+#define DDR_PCFGQOS1_1 0x00800040 -+#define DDR_PCFGWQOS0_1 0x01100C03 -+#define DDR_PCFGWQOS1_1 0x01000200 -+#define DDR_ADDRMAP1 0x00070707 -+#define DDR_ADDRMAP2 0x00000000 -+#define DDR_ADDRMAP3 0x1F000000 -+#define DDR_ADDRMAP4 0x00001F1F -+#define DDR_ADDRMAP5 0x06060606 -+#define DDR_ADDRMAP6 0x0F060606 -+#define DDR_ADDRMAP9 0x00000000 -+#define DDR_ADDRMAP10 0x00000000 -+#define DDR_ADDRMAP11 0x00000000 -+#define DDR_PGCR 0x01442E02 -+#define DDR_PTR0 0x0022AA5B -+#define DDR_PTR1 0x04841104 -+#define DDR_PTR2 0x042DA068 -+#define DDR_ACIOCR 0x10400812 -+#define DDR_DXCCR 0x00000C40 -+#define DDR_DSGCR 0xF200011F -+#define DDR_DCR 0x0000000B -+#define DDR_DTPR0 0x38D488D0 -+#define DDR_DTPR1 0x098B00D8 -+#define DDR_DTPR2 0x10023600 -+#define DDR_MR0 0x00000840 -+#define DDR_MR1 0x00000000 -+#define DDR_MR2 0x00000208 -+#define DDR_MR3 0x00000000 -+#define DDR_ODTCR 0x00010000 -+#define DDR_ZQ0CR1 0x00000038 -+#define DDR_DX0GCR 0x0000CE81 -+#define DDR_DX0DLLCR 0x40000000 -+#define DDR_DX0DQTR 0xFFFFFFFF -+#define DDR_DX0DQSTR 0x3DB02000 -+#define DDR_DX1GCR 0x0000CE81 -+#define DDR_DX1DLLCR 0x40000000 -+#define DDR_DX1DQTR 0xFFFFFFFF -+#define DDR_DX1DQSTR 0x3DB02000 -+#define DDR_DX2GCR 0x0000CE80 -+#define DDR_DX2DLLCR 0x40000000 -+#define DDR_DX2DQTR 0xFFFFFFFF -+#define DDR_DX2DQSTR 0x3DB02000 -+#define DDR_DX3GCR 0x0000CE80 -+#define DDR_DX3DLLCR 0x40000000 -+#define DDR_DX3DQTR 0xFFFFFFFF -+#define DDR_DX3DQSTR 0x3DB02000 -diff --git a/arch/arm/dts/stm32mp157c-osd32mp1-red-u-boot.dtsi b/arch/arm/dts/stm32mp157c-osd32mp1-red-u-boot.dtsi -new file mode 100644 -index 0000000000..6da91e0bb8 ---- /dev/null -+++ b/arch/arm/dts/stm32mp157c-osd32mp1-red-u-boot.dtsi -@@ -0,0 +1,233 @@ -+/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause*/ -+/* -+ * Copyright (C) 2020, Octavo Systems LLC - All Rights Reserved -+ */ -+ -+/* For more information on Device Tree configuration, please refer to -+ * https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration -+ */ -+ -+#include -+#include "stm32mp15-osd32mp1-ddr3-1x4Gb.dtsi" -+#include "stm32mp15-u-boot.dtsi" -+#include "stm32mp15-ddr.dtsi" -+ -+ -+/ { -+ -+ aliases{ -+ i2c0 = &i2c4; -+ mmc0 = &sdmmc1; -+ usb0 = &usbotg_hs; -+ }; -+ -+ config{ -+ u-boot,boot-led = "heartbeat"; -+ u-boot,error-led = "error"; -+ u-boot,mmc-env-partition = "fip"; -+ }; -+ -+#ifdef CONFIG_STM32MP15x_STM32IMAGE -+ config { -+ u-boot,mmc-env-partition = "ssbl"; -+ }; -+ -+ /* only needed for boot with TF-A, witout FIP support */ -+ firmware { -+ optee { -+ compatible = "linaro,optee-tz"; -+ method = "smc"; -+ }; -+ }; -+ -+ reserved-memory { -+ optee@de000000 { -+ reg = <0xde000000 0x02000000>; -+ no-map; -+ }; -+ }; -+#endif -+ -+ led { -+ red { -+ label = "error"; -+ gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; -+ default-state = "off"; -+ status = "okay"; -+ }; -+ -+ blue { -+ default-state = "on"; -+ }; -+ }; -+}; /*root*/ -+ -+#ifndef CONFIG_TFABOOT -+ -+&i2s2{ -+ clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; -+}; -+ -+ -+ -+&sai2{ -+ clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; -+}; -+ -+ -+&clk_hse { -+ st,digbypass; -+}; -+ -+&rcc { -+ u-boot,dm-pre-reloc; -+ st,clksrc = < -+ CLK_MPU_PLL1P -+ CLK_AXI_PLL2P -+ CLK_MCU_PLL3P -+ CLK_PLL12_HSE -+ CLK_PLL3_HSE -+ CLK_PLL4_HSE -+ CLK_RTC_LSE -+ CLK_MCO1_DISABLED -+ CLK_MCO2_DISABLED -+ >; -+ st,clkdiv = < -+ 1 /*MPU*/ -+ 0 /*AXI*/ -+ 0 /*MCU*/ -+ 1 /*APB1*/ -+ 1 /*APB2*/ -+ 1 /*APB3*/ -+ 1 /*APB4*/ -+ 2 /*APB5*/ -+ 23 /*RTC*/ -+ 0 /*MCO1*/ -+ 0 /*MCO2*/ -+ >; -+ st,pkcs = < -+ CLK_CKPER_HSE -+ CLK_ETH_PLL3Q -+ CLK_SDMMC12_PLL4P -+ CLK_DSI_DSIPLL -+ CLK_STGEN_HSE -+ CLK_USBPHY_HSE -+ CLK_SPI2S1_PLL3Q -+ CLK_SPI2S23_CKPER -+ CLK_SPI45_PCLK2 -+ CLK_SPI6_DISABLED -+ CLK_I2C46_HSI -+ CLK_SDMMC3_PLL4P -+ CLK_USBO_USBPHY -+ CLK_ADC_CKPER -+ CLK_CEC_LSE -+ CLK_I2C12_HSI -+ CLK_I2C35_HSI -+ CLK_UART1_DISABLED -+ CLK_UART24_HSI -+ CLK_UART35_HSI -+ CLK_UART6_DISABLED -+ CLK_UART78_DISABLED -+ CLK_SPDIF_DISABLED -+ CLK_SAI1_DISABLED -+ CLK_SAI2_DISABLED -+ CLK_SAI3_DISABLED -+ CLK_SAI4_DISABLED -+ CLK_RNG1_LSI -+ CLK_LPTIM1_DISABLED -+ CLK_LPTIM23_DISABLED -+ CLK_LPTIM45_DISABLED -+ >; -+ pll1:st,pll@0 { -+ cfg = < 2 80 0 1 1 PQR(1,0,0) >; -+ frac = < 0x800>; -+ u-boot,dm-pre-reloc; -+ }; -+ pll2:st,pll@1 { -+ cfg = < 2 65 1 0 0 PQR(1,1,1) >; -+ frac = < 0x1400>; -+ u-boot,dm-pre-reloc; -+ }; -+ pll3:st,pll@2 { -+ cfg = < 1 61 3 5 36 PQR(1,1,0) >; -+ frac = < 0x1000 >; -+ u-boot,dm-pre-reloc; -+ }; -+ pll4:st,pll@3 { -+ cfg = < 3 98 5 7 7 PQR(1,1,1) >; -+ u-boot,dm-pre-reloc; -+ }; -+}; -+ -+&i2c4{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&i2c4_pins_z_mx { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ }; -+}; -+ -+&sdmmc1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&sdmmc2{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&sdmmc1_pins_mx { -+ u-boot,dm-spl; -+ pins1 { -+ u-boot,dm-spl; -+ }; -+ pins2 { -+ u-boot,dm-spl; -+ }; -+}; -+ -+&sdmmc2_pins_mx { -+ u-boot,dm-spl; -+ pins1 { -+ u-boot,dm-spl; -+ }; -+ pins2 { -+ u-boot,dm-spl; -+ }; -+}; -+ -+#endif /*CONFIG_TFABOOT*/ -+ -+&cryp1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&hash1{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&uart4{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbotg_hs{ -+ u-boot,dm-pre-reloc; -+ u-boot,force-b-session-valid; -+ hnp-srp-disable; -+ dr_mode = "peripheral"; -+}; -+ -+&usbphyc{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbphyc_port0{ -+ u-boot,dm-pre-reloc; -+}; -+ -+&usbphyc_port1{ -+ u-boot,dm-pre-reloc; -+}; -+ -diff --git a/arch/arm/dts/stm32mp157c-osd32mp1-red.dts b/arch/arm/dts/stm32mp157c-osd32mp1-red.dts -new file mode 100644 -index 0000000000..6104aff03d ---- /dev/null -+++ b/arch/arm/dts/stm32mp157c-osd32mp1-red.dts -@@ -0,0 +1,1445 @@ -+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -+/* -+ * Copyright (C) Octavo Systems 2021 - All Rights Reserved -+ * Author: Neeraj Dantu for Octavo Systems -+ */ -+ -+/dts-v1/; -+ -+#include -+#include "stm32mp157.dtsi" -+#include "stm32mp15xc.dtsi" -+#include "stm32mp15xxac-pinctrl.dtsi" -+#include "stm32mp15-m4-srm.dtsi" -+#include -+#include -+#include -+ -+/ { -+ model = "Octavo OSD32MP1 RED board"; -+ compatible = "st,stm32mp157c-osd32mp1-red", "st,stm32mp157"; -+ -+ memory@c0000000 { -+ device_type = "memory"; -+ reg = <0xc0000000 0x20000000>; -+ }; -+ -+ wifi_pwrseq: wifi-pwrseq { -+ compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&gpiog 5 GPIO_ACTIVE_LOW>; -+ }; -+ -+ clocks { -+ clk_ext_camera: clk-ext-camera { -+ #clock-cells = <0>; -+ compatible = "fixed-clock"; -+ clock-frequency = <24000000>; -+ }; -+ }; -+ -+ reserved-memory { -+ #address-cells = <1>; -+ #size-cells = <1>; -+ ranges; -+ -+ mcuram2:mcuram2@10000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10000000 0x40000>; -+ no-map; -+ }; -+ -+ vdev0vring0:vdev0vring0@10040000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10040000 0x1000>; -+ no-map; -+ }; -+ -+ vdev0vring1:vdev0vring1@10041000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10041000 0x1000>; -+ no-map; -+ }; -+ -+ vdev0buffer:vdev0buffer@10042000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x10042000 0x4000>; -+ no-map; -+ }; -+ -+ mcuram:mcuram@30000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x30000000 0x40000>; -+ no-map; -+ }; -+ -+ retram:retram@38000000{ -+ compatible = "shared-dma-pool"; -+ reg = <0x38000000 0x10000>; -+ no-map; -+ }; -+ -+ gpu_reserved:gpu@d4000000{ -+ reg = <0xd4000000 0x4000000>; -+ no-map; -+ }; -+ }; -+ -+ -+ aliases { -+ ethernet0 = ðernet0; -+ serial0 = &uart4; -+ serial1 = &usart3; -+ serial2 = &uart7; -+ serial3 = &usart2; -+ }; -+ -+ chosen { -+ stdout-path = "serial0:115200n8"; -+ }; -+ -+ led { -+ compatible = "gpio-leds"; -+ blue { -+ label = "heartbeat"; -+ gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "heartbeat"; -+ default-state = "off"; -+ }; -+ }; -+ -+ usb_phy_tuning:usb-phy-tuning{ -+ st,hs-dc-level = <2>; -+ st,fs-rftime-tuning; -+ st,hs-rftime-reduction; -+ st,hs-current-trim = <15>; -+ st,hs-impedance-trim = <1>; -+ st,squelch-level = <3>; -+ st,hs-rx-offset = <2>; -+ st,no-lsfs-sc; -+ }; -+ -+ vin:vin{ -+ compatible = "regulator-fixed"; -+ regulator-name = "vin"; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ regulator-always-on; -+ }; -+ -+ sound { -+ compatible = "audio-graph-card"; -+ label = "STM32MP15-DK"; -+ routing = -+ "Playback" , "MCLK", -+ "Capture" , "MCLK", -+ "MICL" , "Mic Bias"; -+ dais = <&i2s2_port>; -+ status = "okay"; -+ }; -+}; -+ -+&pinctrl { -+ u-boot,dm-pre-reloc; -+ dcmi_pins_mx: dcmi_mx-0 { -+ pins { -+ pinmux = , /* DCMI_HSYNC */ -+ , /* DCMI_PIXCLK */ -+ , /* DCMI_D1 */ -+ , /* DCMI_D7 */ -+ , /* DCMI_D0 */ -+ , /* DCMI_D2 */ -+ , /* DCMI_D3 */ -+ , /* DCMI_D4 */ -+ , /* DCMI_D6 */ -+ , /* DCMI_VSYNC */ -+ , /* DCMI_D8 */ -+ , /* DCMI_D9 */ -+ , /* DCMI_D11 */ -+ , /* DCMI_D10 */ -+ ; /* DCMI_D5 */ -+ bias-disable; -+ }; -+ }; -+ -+ dcmi_sleep_pins_mx: dcmi_sleep_mx-0 { -+ pins { -+ pinmux = , /* DCMI_HSYNC */ -+ , /* DCMI_PIXCLK */ -+ , /* DCMI_D1 */ -+ , /* DCMI_D7 */ -+ , /* DCMI_D0 */ -+ , /* DCMI_D2 */ -+ , /* DCMI_D3 */ -+ , /* DCMI_D4 */ -+ , /* DCMI_D6 */ -+ , /* DCMI_VSYNC */ -+ , /* DCMI_D8 */ -+ , /* DCMI_D9 */ -+ , /* DCMI_D11 */ -+ , /* DCMI_D10 */ -+ ; /* DCMI_D5 */ -+ }; -+ }; -+ -+ eth1_pins_mx: eth1_mx-0 { -+ pins1 { -+ pinmux = , /* ETH1_RX_CLK */ -+ , /* ETH1_RX_CTL */ -+ , /* ETH1_RXD2 */ -+ , /* ETH1_RXD3 */ -+ , /* ETH1_RXD0 */ -+ ; /* ETH1_RXD1 */ -+ bias-disable; -+ }; -+ pins2 { -+ pinmux = ; /* ETH1_MDIO */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins3 { -+ pinmux = , /* ETH1_TX_CTL */ -+ , /* ETH1_MDC */ -+ , /* ETH1_TXD2 */ -+ , /* ETH1_TXD3 */ -+ , /* ETH1_GTX_CLK */ -+ , /* ETH1_TXD0 */ -+ ; /* ETH1_TXD1 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ eth1_sleep_pins_mx: eth1_sleep_mx-0 { -+ pins { -+ pinmux = , /* ETH1_RX_CLK */ -+ , /* ETH1_MDIO */ -+ , /* ETH1_RX_CTL */ -+ , /* ETH1_RXD2 */ -+ , /* ETH1_RXD3 */ -+ , /* ETH1_TX_CTL */ -+ , /* ETH1_MDC */ -+ , /* ETH1_TXD2 */ -+ , /* ETH1_RXD0 */ -+ , /* ETH1_RXD1 */ -+ , /* ETH1_TXD3 */ -+ , /* ETH1_GTX_CLK */ -+ , /* ETH1_TXD0 */ -+ ; /* ETH1_TXD1 */ -+ }; -+ }; -+ -+ i2c1_pins_mx: i2c1_mx-0 { -+ pins { -+ pinmux = , /* I2C1_SCL */ -+ ; /* I2C1_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c1_sleep_pins_mx: i2c1_sleep_mx-0 { -+ pins { -+ pinmux = , /* I2C1_SCL */ -+ ; /* I2C1_SDA */ -+ }; -+ }; -+ -+ i2c2_pins_mx: i2c2_mx-0 { -+ pins { -+ pinmux = ; /* I2C2_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c2_sleep_pins_mx: i2c2_sleep_mx-0 { -+ pins { -+ pinmux = ; /* I2C2_SDA */ -+ }; -+ }; -+ -+ i2c5_pins_mx: i2c5_mx-0 { -+ pins { -+ pinmux = , /* I2C5_SCL */ -+ ; /* I2C5_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c5_sleep_pins_mx: i2c5_sleep_mx-0 { -+ pins { -+ pinmux = , /* I2C5_SCL */ -+ ; /* I2C5_SDA */ -+ }; -+ }; -+ -+ i2s2_pins_mx: i2s2_mx-0 { -+ pins { -+ pinmux = , /* I2S2_WS */ -+ , /* I2S2_CK */ -+ ; /* I2S2_SDO */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ i2s2_sleep_pins_mx: i2s2_sleep_mx-0 { -+ pins { -+ pinmux = , /* I2S2_WS */ -+ , /* I2S2_CK */ -+ ; /* I2S2_SDO */ -+ }; -+ }; -+ -+ ltdc_pins_mx: ltdc_mx-0 { -+ pins1 { -+ pinmux = , /* LTDC_B5 */ -+ , /* LTDC_B6 */ -+ , /* LTDC_R5 */ -+ , /* LTDC_B7 */ -+ , /* LTDC_B0 */ -+ , /* LTDC_B3 */ -+ , /* LTDC_G1 */ -+ , /* LTDC_B4 */ -+ , /* LTDC_G0 */ -+ , /* LTDC_R7 */ -+ , /* LTDC_DE */ -+ , /* LTDC_B2 */ -+ , /* LTDC_B1 */ -+ , /* LTDC_R0 */ -+ , /* LTDC_R1 */ -+ , /* LTDC_G4 */ -+ , /* LTDC_R2 */ -+ , /* LTDC_R3 */ -+ , /* LTDC_R4 */ -+ , /* LTDC_R6 */ -+ , /* LTDC_G2 */ -+ , /* LTDC_G3 */ -+ , /* LTDC_G5 */ -+ , /* LTDC_G6 */ -+ , /* LTDC_G7 */ -+ , /* LTDC_VSYNC */ -+ ; /* LTDC_HSYNC */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ pins2 { -+ pinmux = ; /* LTDC_CLK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ ltdc_sleep_pins_mx: ltdc_sleep_mx-0 { -+ pins { -+ pinmux = , /* LTDC_B5 */ -+ , /* LTDC_B6 */ -+ , /* LTDC_R5 */ -+ , /* LTDC_B7 */ -+ , /* LTDC_B0 */ -+ , /* LTDC_B3 */ -+ , /* LTDC_G1 */ -+ , /* LTDC_B4 */ -+ , /* LTDC_G0 */ -+ , /* LTDC_R7 */ -+ , /* LTDC_DE */ -+ , /* LTDC_CLK */ -+ , /* LTDC_B2 */ -+ , /* LTDC_B1 */ -+ , /* LTDC_R0 */ -+ , /* LTDC_R1 */ -+ , /* LTDC_G4 */ -+ , /* LTDC_R2 */ -+ , /* LTDC_R3 */ -+ , /* LTDC_R4 */ -+ , /* LTDC_R6 */ -+ , /* LTDC_G2 */ -+ , /* LTDC_G3 */ -+ , /* LTDC_G5 */ -+ , /* LTDC_G6 */ -+ , /* LTDC_G7 */ -+ , /* LTDC_VSYNC */ -+ ; /* LTDC_HSYNC */ -+ }; -+ }; -+ -+ sdmmc1_pins_mx: sdmmc1_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ , /* SDMMC1_D3 */ -+ ; /* SDMMC1_CMD */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ sdmmc1_opendrain_pins_mx: sdmmc1_opendrain_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ ; /* SDMMC1_D3 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ pins3 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC1_CMD */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ sdmmc1_sleep_pins_mx: sdmmc1_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC1_D0 */ -+ , /* SDMMC1_D1 */ -+ , /* SDMMC1_D2 */ -+ , /* SDMMC1_D3 */ -+ , /* SDMMC1_CK */ -+ ; /* SDMMC1_CMD */ -+ }; -+ }; -+ -+ sdmmc2_pins_mx: sdmmc2_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC2_D4 */ -+ , /* SDMMC2_D5 */ -+ , /* SDMMC2_D2 */ -+ , /* SDMMC2_D3 */ -+ , /* SDMMC2_D0 */ -+ , /* SDMMC2_D1 */ -+ , /* SDMMC2_D7 */ -+ , /* SDMMC2_D6 */ -+ ; /* SDMMC2_CMD */ -+ bias-pull-up; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC2_CK */ -+ bias-pull-up; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ sdmmc2_opendrain_pins_mx: sdmmc2_opendrain_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC2_D4 */ -+ , /* SDMMC2_D5 */ -+ , /* SDMMC2_D2 */ -+ , /* SDMMC2_D3 */ -+ , /* SDMMC2_D0 */ -+ , /* SDMMC2_D1 */ -+ , /* SDMMC2_D7 */ -+ ; /* SDMMC2_D6 */ -+ bias-pull-up; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC2_CK */ -+ bias-pull-up; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ pins3 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC2_CMD */ -+ bias-pull-up; -+ drive-open-drain; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ sdmmc2_sleep_pins_mx: sdmmc2_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC2_D4 */ -+ , /* SDMMC2_D5 */ -+ , /* SDMMC2_D2 */ -+ , /* SDMMC2_D3 */ -+ , /* SDMMC2_D0 */ -+ , /* SDMMC2_D1 */ -+ , /* SDMMC2_D7 */ -+ , /* SDMMC2_CK */ -+ , /* SDMMC2_D6 */ -+ ; /* SDMMC2_CMD */ -+ }; -+ }; -+ -+ sdmmc3_pins_mx: sdmmc3_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC3_D3 */ -+ , /* SDMMC3_D0 */ -+ , /* SDMMC3_CMD */ -+ , /* SDMMC3_D1 */ -+ ; /* SDMMC3_D2 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC3_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ sdmmc3_opendrain_pins_mx: sdmmc3_opendrain_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC3_D3 */ -+ , /* SDMMC3_D0 */ -+ , /* SDMMC3_D1 */ -+ ; /* SDMMC3_D2 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC3_CMD */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <1>; -+ }; -+ pins3 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* SDMMC3_CK */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <2>; -+ }; -+ }; -+ -+ sdmmc3_sleep_pins_mx: sdmmc3_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* SDMMC3_D3 */ -+ , /* SDMMC3_D0 */ -+ , /* SDMMC3_CMD */ -+ , /* SDMMC3_D1 */ -+ , /* SDMMC3_D2 */ -+ ; /* SDMMC3_CK */ -+ }; -+ }; -+ -+ spi5_pins_mx: spi5_mx-0 { -+ pins { -+ pinmux = , /* SPI5_SCK */ -+ , /* SPI5_MISO */ -+ ; /* SPI5_MOSI */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <1>; -+ }; -+ }; -+ -+ spi5_sleep_pins_mx: spi5_sleep_mx-0 { -+ pins { -+ pinmux = , /* SPI5_SCK */ -+ , /* SPI5_MISO */ -+ ; /* SPI5_MOSI */ -+ }; -+ }; -+ -+ tim5_pwm_pins_mx: tim5_pwm_mx-0 { -+ pins { -+ pinmux = ; /* TIM5_CH2 */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ tim5_pwm_sleep_pins_mx: tim5_pwm_sleep_mx-0 { -+ pins { -+ pinmux = ; /* TIM5_CH2 */ -+ }; -+ }; -+ -+ uart4_pins_mx: uart4_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins1 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* UART4_RX */ -+ bias-disable; -+ }; -+ pins2 { -+ u-boot,dm-pre-reloc; -+ pinmux = ; /* UART4_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ uart4_sleep_pins_mx: uart4_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* UART4_RX */ -+ ; /* UART4_TX */ -+ }; -+ }; -+ -+ usart2_pins_mx: usart2_mx-0 { -+ pins1 { -+ pinmux = , /* USART2_CTS */ -+ ; /* USART2_RX */ -+ bias-disable; -+ }; -+ pins2 { -+ pinmux = , /* USART2_RTS */ -+ ; /* USART2_TX */ -+ bias-disable; -+ drive-push-pull; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ usart2_sleep_pins_mx: usart2_sleep_mx-0 { -+ pins { -+ pinmux = , /* USART2_CTS */ -+ , /* USART2_RTS */ -+ , /* USART2_TX */ -+ ; /* USART2_RX */ -+ }; -+ }; -+ -+ cec_pins_mx: cec-1 { -+ pins { -+ pinmux = ; -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ cec_sleep_pins_mx: cec-sleep-1 { -+ pins { -+ pinmux = ; /* HDMI_CEC */ -+ }; -+ }; -+ -+ stusb1600_pins_mx: stusb1600-0 { -+ pins { -+ pinmux = ; -+ bias-pull-up; -+ }; -+ }; -+ -+ m_can1_pins_mx: m_can1_sleep_mx-0 { -+ pins1 { -+ pinmux = ; /* CAN1_TX */ -+ slew-rate = <0>; -+ drive-push-pull; -+ bias-disable; -+ }; -+ pins2 { -+ pinmux = ; /* CAN1_RX */ -+ bias-disable; -+ }; -+ }; -+ -+ m_can1_sleep_pins_mx: m_can1_sleep-0 { -+ pins { -+ pinmux = , /* CAN1_TX */ -+ ; /* CAN1_RX */ -+ }; -+ }; -+ -+}; -+ -+&pinctrl_z { -+ u-boot,dm-pre-reloc; -+ -+ i2c2_pins_z_mx: i2c2_mx-0 { -+ pins { -+ pinmux = ; /* I2C2_SCL */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c2_sleep_pins_z_mx: i2c2_sleep_mx-0 { -+ pins { -+ pinmux = ; /* I2C2_SCL */ -+ }; -+ }; -+ -+ i2c4_pins_z_mx: i2c4_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* I2C4_SCL */ -+ ; /* I2C4_SDA */ -+ bias-disable; -+ drive-open-drain; -+ slew-rate = <0>; -+ }; -+ }; -+ -+ i2c4_sleep_pins_z_mx: i2c4_sleep_mx-0 { -+ u-boot,dm-pre-reloc; -+ pins { -+ u-boot,dm-pre-reloc; -+ pinmux = , /* I2C4_SCL */ -+ ; /* I2C4_SDA */ -+ }; -+ }; -+}; -+ -+&m4_rproc{ -+ memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, -+ <&vdev0vring1>, <&vdev0buffer>; -+ mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; -+ mbox-names = "vq0", "vq1", "shutdown"; -+ interrupt-parent = <&exti>; -+ interrupts = <68 1>; -+ wakeup-source; -+ status = "okay"; -+}; -+ -+&dcmi{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&dcmi_pins_mx>; -+ pinctrl-1 = <&dcmi_sleep_pins_mx>; -+ status = "okay"; -+ -+ port { -+ dcmi_0: endpoint { -+ remote-endpoint = <&ov5640_0>; -+ bus-width = <8>; -+ hsync-active = <0>; -+ vsync-active = <0>; -+ pclk-sample = <1>; -+ pclk-max-frequency = <77000000>; -+ }; -+ }; -+}; -+ -+&dsi{ -+ status = "okay"; -+ -+ ports { -+ port@0 { -+ reg = <0>; -+ dsi_in: endpoint { -+ remote-endpoint = <<dc_ep1_out>; -+ }; -+ }; -+ -+ port@1 { -+ reg = <1>; -+ dsi_out: endpoint { -+ remote-endpoint = <&panel_in>; -+ }; -+ }; -+ }; -+ -+ panel_otm8009a: panel-otm8009a@0 { -+ compatible = "orisetech,otm8009a"; -+ reg = <0>; -+ reset-gpios = <&gpioe 9 GPIO_ACTIVE_LOW>; -+ power-supply = <&v3v3>; -+ status = "okay"; -+ -+ port { -+ panel_in: endpoint { -+ remote-endpoint = <&dsi_out>; -+ }; -+ }; -+ }; -+}; -+ -+ðernet0{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <ð1_pins_mx>; -+ pinctrl-1 = <ð1_sleep_pins_mx>; -+ status = "okay"; -+ -+ -+ st,eth-clk-sel; //custom -+ phy-mode = "rgmii-id"; -+ max-speed = <1000>; -+ phy-handle = <&phy0>; -+ nvmem-cells = <ðernet_mac_address>; -+ nvmem-cell-names = "mac-address"; -+ -+ mdio0 { -+ #address-cells = <1>; -+ #size-cells = <0>; -+ compatible = "snps,dwmac-mdio"; -+ phy0: ethernet-phy@0 { -+ reg = <3>; -+ }; -+ }; -+}; -+ -+&gpu{ -+ status = "okay"; -+ contiguous-area = <&gpu_reserved>; -+}; -+ -+&hash1 { -+ status = "okay"; -+}; -+ -+&hsem{ -+ status = "okay"; -+}; -+ -+&cryp1{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&i2c1{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c1_pins_mx>; -+ pinctrl-1 = <&i2c1_sleep_pins_mx>; -+ status = "okay"; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ -+ touchscreen@2a { -+ compatible = "focaltech,ft6236"; -+ reg = <0x2a>; -+ interrupts = <2 2>; -+ interrupt-parent = <&gpiof>; -+ interrupt-controller; -+ touchscreen-size-x = <480>; -+ touchscreen-size-y = <800>; -+ panel = <&panel_otm8009a>; -+ vcc-supply = <&v3v3>; -+ status = "okay"; -+ }; -+ touchscreen@38 { -+ compatible = "focaltech,ft6236"; -+ reg = <0x38>; -+ interrupts = <2 2>; -+ interrupt-parent = <&gpiof>; -+ interrupt-controller; -+ touchscreen-size-x = <480>; -+ touchscreen-size-y = <800>; -+ panel = <&panel_otm8009a>; -+ vcc-supply = <&v3v3>; -+ status = "okay"; -+ }; -+ -+ hdmi-transmitter@39 { -+ compatible = "sil,sii9022"; -+ reg = <0x39>; -+ reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; -+ interrupts = <1 IRQ_TYPE_EDGE_FALLING>; -+ interrupt-parent = <&gpiog>; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <<dc_pins_mx>; -+ pinctrl-1 = <<dc_sleep_pins_mx>; -+ status = "okay"; -+ -+ ports { -+ #address-cells = <1>; -+ #size-cells = <0>; -+ -+ port@0 { -+ reg = <0>; -+ sii9022_in: endpoint { -+ remote-endpoint = <<dc_ep0_out>; -+ }; -+ }; -+ -+ port@1 { -+ reg = <1>; -+ sii9022_tx_endpoint: endpoint { -+ remote-endpoint = <&i2s2_endpoint>; -+ }; -+ }; -+ }; -+ }; -+}; -+ -+&i2c2{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c2_pins_mx &i2c2_pins_z_mx>; -+ pinctrl-1 = <&i2c2_sleep_pins_mx &i2c2_sleep_pins_z_mx>; -+ status = "okay"; -+ i2c-scl-rising-time-ns = <185>; -+ i2c-scl-falling-time-ns = <20>; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ -+ ov5640: camera@3c { -+ compatible = "ovti,ov5640"; -+ reg = <0x3c>; -+ clocks = <&clk_ext_camera>; -+ clock-names = "xclk"; -+ DOVDD-supply = <&v3v3>; -+ //powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>; -+ //reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; -+ //powerdown-gpios = <&gpioc 3 GPIO_ACTIVE_HIGH>; //custom -+ //reset-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; //custom -+ rotation = <180>; -+ status = "okay"; -+ -+ port { -+ ov5640_0: endpoint { -+ remote-endpoint = <&dcmi_0>; -+ bus-width = <8>; -+ data-shift = <2>; /* lines 9:2 are used */ -+ hsync-active = <0>; -+ vsync-active = <0>; -+ pclk-sample = <1>; -+ pclk-max-frequency = <77000000>; -+ }; -+ }; -+ }; -+}; -+ -+&i2c4{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c4_pins_z_mx>; -+ pinctrl-1 = <&i2c4_sleep_pins_z_mx>; -+ status = "okay"; -+ i2c-scl-rising-time-ns = <185>; -+ i2c-scl-falling-time-ns = <20>; -+ clock-frequency = <400000>; -+ /delete-property/ dmas; -+ /delete-property/ dma-names; -+ -+ typec: stusb1600@28 { -+ compatible = "st,stusb1600"; -+ reg = <0x28>; -+ interrupt-parent = <&gpioe>; -+ interrupts = <8 IRQ_TYPE_EDGE_FALLING>; -+ pinctrl-0 = <&stusb1600_pins_mx>; -+ pinctrl-names = "default"; -+ status = "okay"; -+ vdd-supply = <&vin>; -+ -+ typec_con: connector { -+ compatible = "usb-c-connector"; -+ label = "USB-C"; -+ power-role = "dual"; -+ power-opmode = "default"; -+ -+ port { -+ con_usbotg_hs_ep: endpoint { -+ remote-endpoint = <&usbotg_hs_ep>; -+ }; -+ }; -+ }; -+ }; -+ -+ pmic:stpmic@33{ -+ compatible = "st,stpmic1"; -+ reg = <0x33>; -+ interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; -+ interrupt-controller; -+ #interrupt-cells = <2>; -+ status = "okay"; -+ -+ st,main-control-register = <0x04>; -+ st,vin-control-register = <0xc0>; -+ st,usb-control-register = <0x20>; -+ -+ regulators{ -+ compatible = "st,stpmic1-regulators"; -+ buck1-supply = <&vin>; -+ buck2-supply = <&vin>; -+ buck3-supply = <&vin>; -+ buck4-supply = <&vin>; -+ ldo1-supply = <&v3v3>; -+ ldo2-supply = <&vin>; -+ ldo3-supply = <&vdd_ddr>; -+ ldo4-supply = <&vin>; -+ ldo5-supply = <&vin>; -+ ldo6-supply = <&v3v3>; -+ vref_ddr-supply = <&vin>; -+ boost-supply = <&vin>; -+ pwr_sw1-supply = <&bst_out>; -+ pwr_sw2-supply = <&bst_out>; -+ -+ -+ vddcore:buck1{ -+ regulator-name = "vddcore"; -+ regulator-min-microvolt = <1200000>; -+ regulator-max-microvolt = <1350000>; -+ regulator-always-on; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ vdd_ddr:buck2{ -+ regulator-name = "vdd_ddr"; -+ regulator-min-microvolt = <1350000>; -+ regulator-max-microvolt = <1350000>; -+ regulator-always-on; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ vdd:buck3{ -+ regulator-name = "vdd"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ st,mask-reset; -+ regulator-initial-mode = <0>; -+ regulator-over-current-protection; -+ }; -+ -+ v3v3:buck4{ -+ regulator-name = "v3v3"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ regulator-over-current-protection; -+ regulator-initial-mode = <0>; -+ }; -+ -+ v1v8_audio:ldo1{ -+ regulator-name = "v1v8_audio"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ v3v3_hdmi:ldo2{ -+ regulator-name = "v3v3_hdmi"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ vtt_ddr:ldo3{ -+ regulator-name = "vtt_ddr"; -+ regulator-min-microvolt = <500000>; -+ regulator-max-microvolt = <750000>; -+ regulator-always-on; -+ regulator-over-current-protection; -+ }; -+ -+ vdd_usb:ldo4{ -+ regulator-name = "vdd_usb"; -+ interrupts = ; -+ }; -+ -+ v3v3_eth:ldo5{ -+ regulator-name = "v3v3_eth"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ interrupts = ; -+ regulator-boot-on; -+ }; -+ -+ v3v3_dsi:ldo6{ -+ regulator-name = "v3v3_dsi"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ interrupts = ; -+ }; -+ -+ vref_ddr:vref_ddr{ -+ regulator-name = "vref_ddr"; -+ regulator-always-on; -+ regulator-over-current-protection; -+ }; -+ -+ bst_out:boost{ -+ regulator-name = "bst_out"; -+ interrupts = ; -+ regulator-always-on; -+ }; -+ -+ vbus_otg:pwr_sw1{ -+ regulator-name = "vbus_otg"; -+ interrupts = ; -+ regulator-active-discharge; -+ regulator-always-on; -+ }; -+ -+ vbus_sw:pwr_sw2{ -+ regulator-name = "vbus_sw"; -+ interrupts = ; -+ regulator-active-discharge = <1>; -+ regulator-always-on; -+ }; -+ }; -+ -+ onkey{ -+ compatible = "st,stpmic1-onkey"; -+ interrupts = , ; -+ interrupt-names = "onkey-falling", "onkey-rising"; -+ power-off-time-sec = <10>; -+ status = "okay"; -+ }; -+ -+ watchdog { -+ compatible = "st,stpmic1-wdt"; -+ status = "disabled"; -+ }; -+ }; -+ eeprom@50 { -+ compatible = "atmel,24c02"; -+ reg = <0x50>; -+ pagesize = <16>; -+ }; -+}; -+ -+&i2c5{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c5_pins_mx>; -+ pinctrl-1 = <&i2c5_sleep_pins_mx>; -+ status = "okay"; -+ -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ -+}; -+ -+&spi5 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&spi5_pins_mx>; -+ pinctrl-1 = <&spi5_sleep_pins_mx>; -+ cs-gpios = <&gpiof 6 0>; -+ status = "okay"; -+ -+ spidev: spidev@0 { -+ compatible = "rohm,dh2228fv"; -+ spi-max-frequency = <30000000>; -+ reg = <0>; -+ }; -+}; -+ -+&i2s2{ -+ clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; -+ clock-names = "pclk", "i2sclk", "x8k", "x11k"; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2s2_pins_mx>; -+ pinctrl-1 = <&i2s2_sleep_pins_mx>; -+ status = "okay"; -+ -+ i2s2_port: port { -+ i2s2_endpoint: endpoint { -+ remote-endpoint = <&sii9022_tx_endpoint>; -+ format = "i2s"; -+ mclk-fs = <256>; -+ }; -+ }; -+}; -+ -+&ipcc{ -+ status = "okay"; -+}; -+ -+&iwdg2{ -+ status = "okay"; -+ timeout-sec = <32>; -+}; -+ -+<dc{ -+ status = "okay"; -+ port { -+ ltdc_ep0_out: endpoint@0 { -+ reg = <0>; -+ remote-endpoint = <&sii9022_in>; -+ }; -+ -+ ltdc_ep1_out: endpoint@1 { -+ reg = <1>; -+ remote-endpoint = <&dsi_in>; -+ }; -+ }; -+}; -+ -+&pwr_regulators { -+ vdd-supply = <&vdd>; -+ vdd_3v3_usbfs-supply = <&vdd_usb>; -+}; -+ -+&rcc{ -+ u-boot,dm-pre-reloc; -+ status = "okay"; -+}; -+ -+&rng1{ -+ status = "okay"; -+}; -+ -+&rtc{ -+ status = "okay"; -+}; -+ -+&cec { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&cec_pins_mx>; -+ pinctrl-1 = <&cec_sleep_pins_mx>; -+ status = "okay"; -+}; -+ -+&cpu0{ -+ cpu-supply = <&vddcore>; -+}; -+ -+&cpu1{ -+ cpu-supply = <&vddcore>; -+}; -+ -+&crc1 { -+ status = "okay"; -+}; -+ -+&dts { -+ status = "okay"; -+}; -+ -+&sdmmc1{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "opendrain", "sleep"; -+ pinctrl-0 = <&sdmmc1_pins_mx>; -+ pinctrl-1 = <&sdmmc1_opendrain_pins_mx>; -+ pinctrl-2 = <&sdmmc1_sleep_pins_mx>; -+ status = "okay"; -+ -+ cd-gpios = <&gpioe 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; -+ disable-wp; -+ st,neg-edge; -+ bus-width = <4>; -+ vmmc-supply = <&v3v3>; -+}; -+ -+&sdmmc2{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "opendrain", "sleep"; -+ pinctrl-0 = <&sdmmc2_pins_mx>; -+ pinctrl-1 = <&sdmmc2_opendrain_pins_mx>; -+ pinctrl-2 = <&sdmmc2_sleep_pins_mx>; -+ status = "okay"; -+ non-removable; -+ no-sd; -+ no-sdio; -+ st,neg-edge; -+ bus-width = <8>; -+ vmmc-supply = <&v3v3>; -+ vqmmc-supply = <&v3v3>; -+ mmc-ddr-3_3v; -+}; -+ -+&sdmmc3{ -+ pinctrl-names = "default", "opendrain", "sleep"; -+ pinctrl-0 = <&sdmmc3_pins_mx>; -+ pinctrl-1 = <&sdmmc3_opendrain_pins_mx>; -+ pinctrl-2 = <&sdmmc3_sleep_pins_mx>; -+ arm,primecell-periphid = <0x10153180>; -+ non-removable; -+ st,neg-edge; -+ bus-width = <4>; -+ vmmc-supply = <&v3v3>; -+ //mmc-pwrseq = <&wifi_pwrseq>; -+ #address-cells = <1>; -+ #size-cells = <0>; -+ keep-power-in-suspend; -+ status = "disabled"; -+ //status = "okay"; -+ -+ brcmf: bcrmf@1 { -+ reg = <1>; -+ compatible = "brcm,bcm4329-fmac"; -+ }; -+}; -+ -+&tamp{ -+ status = "okay"; -+}; -+ -+&timers5 { -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ status = "okay"; -+ pwm { -+ pinctrl-0 = <&tim5_pwm_pins_mx>; -+ pinctrl-1 = <&tim5_pwm_sleep_pins_mx>; -+ pinctrl-names = "default", "sleep"; -+ status = "okay"; -+ }; -+ timer@4 { -+ status = "okay"; -+ }; -+}; -+ -+&uart4{ -+ u-boot,dm-pre-reloc; -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&uart4_pins_mx>; -+ pinctrl-1 = <&uart4_sleep_pins_mx>; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ status = "okay"; -+}; -+ -+&usart2{ -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&usart2_pins_mx>; -+ pinctrl-1 = <&usart2_sleep_pins_mx>; -+ uart-has-rtscts; -+ status = "okay"; -+ -+ bluetooth { -+ shutdown-gpios = <&gpioe 10 GPIO_ACTIVE_HIGH>; -+ compatible = "brcm,bcm43438-bt"; -+ max-speed = <3000000>; -+ vbat-supply = <&v3v3>; -+ vddio-supply = <&v3v3>; -+ }; -+}; -+ -+&sram { -+ dma_pool: dma_pool@0 { -+ reg = <0x50000 0x10000>; -+ pool; -+ }; -+}; -+ -+&dma1 { -+ sram = <&dma_pool>; -+}; -+ -+&dma2 { -+ sram = <&dma_pool>; -+}; -+ -+&adc { -+ vdd-supply = <&vdd>; -+ vdda-supply = <&v3v3_eth>; -+ vref-supply = <&v3v3_eth>; -+ status = "okay"; -+ adc1: adc@0 { -+ st,min-sample-time-nsecs = <5000>; -+ st,adc-channels = <0 1>; -+ status = "okay"; -+ }; -+ -+ adc_temp: temp { -+ status = "okay"; -+ }; -+}; -+ -+ -+// WARNING: Do not try to enable DAC1 and DCMI -+// This devices share the same pin PA4 -+/* &dac { -+ pinctrl-names = "default"; -+ status = "okay"; -+ dac1: dac@1 { -+ pinctrl-0 = <&dac_ch1_pins_a>; -+ status = "disabled"; -+ }; -+ dac2: dac@2 { -+ pinctrl-0 = <&dac_ch2_pins_a>; -+ status = "okay"; -+ }; -+};*/ -+ -+&usbh_ehci { -+ phys = <&usbphyc_port0>; -+ phy-names = "usb"; -+ status = "okay"; -+}; -+ -+&usbh_ohci{ -+ phys = <&usbphyc_port0>; -+ phy-names = "usb"; -+ status = "okay"; -+}; -+ -+&usbotg_hs { -+ phys = <&usbphyc_port1 0>; -+ phy-names = "usb2-phy"; -+ usb-role-switch; -+ status = "okay"; -+ -+ port { -+ usbotg_hs_ep: endpoint { -+ remote-endpoint = <&con_usbotg_hs_ep>; -+ }; -+ }; -+}; -+ -+&usbphyc { -+ status = "okay"; -+}; -+ -+&usbphyc_port0 { -+ phy-supply = <&vdd_usb>; -+ st,phy-tuning = <&usb_phy_tuning>; -+}; -+ -+&usbphyc_port1 { -+ phy-supply = <&vdd_usb>; -+ st,phy-tuning = <&usb_phy_tuning>; -+}; -+ -+&m_can1 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&m_can1_pins_mx>; -+ pinctrl-1 = <&m_can1_sleep_pins_mx>; -+ status = "okay"; -+}; --- -2.25.1 - diff --git a/board/octavo/osd32mp1-red/patches/uboot/0002-configs-stm32mp15_trusted_defconfig-disable-environm.patch b/board/octavo/osd32mp1-red/patches/uboot/0002-configs-stm32mp15_trusted_defconfig-disable-environm.patch deleted file mode 100644 index a2ec783e1bd489b6dd9918e7a1e6ab16c1a233a7..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/patches/uboot/0002-configs-stm32mp15_trusted_defconfig-disable-environm.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 27a516e2ad464bf1de5e23e8277e0f6d6735bd21 Mon Sep 17 00:00:00 2001 -From: Kory Maincent -Date: Mon, 3 Oct 2022 12:20:40 +0200 -Subject: [PATCH 2/2] configs/stm32mp15_trusted_defconfig: disable environment - -Signed-off-by: Kory Maincent ---- - board/st/stm32mp1/stm32mp1.c | 4 ++++ - configs/stm32mp15_trusted_defconfig | 9 --------- - 2 files changed, 4 insertions(+), 9 deletions(-) - -diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c -index 48591b2f1e..ba510d843c 100644 ---- a/board/st/stm32mp1/stm32mp1.c -+++ b/board/st/stm32mp1/stm32mp1.c -@@ -78,6 +78,10 @@ DECLARE_GLOBAL_DATA_PTR; - #define USB_START_LOW_THRESHOLD_UV 1230000 - #define USB_START_HIGH_THRESHOLD_UV 2150000 - -+#ifndef CONFIG_SYS_MMC_ENV_DEV -+#define CONFIG_SYS_MMC_ENV_DEV -1 -+#endif -+ - int board_early_init_f(void) - { - /* nothing to do, only used in SPL */ -diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig -index 2161ccbefa..fd3fed8fb0 100644 ---- a/configs/stm32mp15_trusted_defconfig -+++ b/configs/stm32mp15_trusted_defconfig -@@ -45,15 +45,6 @@ CONFIG_CMD_EXT4_WRITE=y - CONFIG_CMD_MTDPARTS=y - CONFIG_CMD_UBI=y - CONFIG_ENV_IS_NOWHERE=y --CONFIG_ENV_IS_IN_MMC=y --CONFIG_ENV_IS_IN_SPI_FLASH=y --CONFIG_ENV_IS_IN_UBI=y --CONFIG_SYS_REDUNDAND_ENVIRONMENT=y --CONFIG_ENV_UBI_PART="UBI" --CONFIG_ENV_UBI_VOLUME="uboot_config" --CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r" --CONFIG_SYS_RELOC_GD_ENV_ADDR=y --CONFIG_SYS_MMC_ENV_DEV=-1 - CONFIG_STM32_ADC=y - CONFIG_CLK_SCMI=y - CONFIG_SET_DFU_ALT_INFO=y --- -2.25.1 - diff --git a/board/octavo/osd32mp1-red/readme.txt b/board/octavo/osd32mp1-red/readme.txt deleted file mode 100644 index e087e386400849a9a75b74c27954b36fa11d60bc..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -OSD32MP1-RED - -Intro -===== - -This configuration supports the OSD32MP1-RED platform: - - https://octavosystems.com/octavo_products/osd32mp1-red/ - -How to build -============ - - $ make octavo_osd32mp1_red_defconfig - $ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Insert the microSD card in connector X5. - - (2) Plug an USB-SERIAL cable in the JP4 pin connector and run your serial - communication program on /dev/ttySTM0. - - (3) Plug an USB-C cable in the J2 connector or use barrel power supply to - power-up the board. - - (4) The system will start, with the console on UART. diff --git a/board/octavo/osd32mp1-red/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi b/board/octavo/osd32mp1-red/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi deleted file mode 100644 index 3cd2c3f5d17155285816a81d05fc326c64ec92e0..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/tfa-dts/osd32mp1_ddr_1x4Gb.dtsi +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (C) 2015-2018, STMicroelectronics - All Rights Reserved - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause - * - */ - -/* - * File generated by STMicroelectronics STM32CubeMX DDR Tool for MPUs - * DDR type: DDR3 / DDR3L - * DDR width: 16bits - * DDR density: 4Gb - * System frequency: 533000Khz - * Relaxed Timing Mode: false - * Address mapping type: RBC - * - * Save Date: 2020.08.27, save Time: 15:22:11 - */ - -#define DDR_MEM_NAME "DDR3-DDR3L 16bits 533000Khz" -#define DDR_MEM_SPEED 533000 -#define DDR_MEM_SIZE 0x20000000 - -#define DDR_MSTR 0x00041401 -#define DDR_MRCTRL0 0x00000010 -#define DDR_MRCTRL1 0x00000000 -#define DDR_DERATEEN 0x00000000 -#define DDR_DERATEINT 0x00800000 -#define DDR_PWRCTL 0x00000000 -#define DDR_PWRTMG 0x00400010 -#define DDR_HWLPCTL 0x00000000 -#define DDR_RFSHCTL0 0x00210000 -#define DDR_RFSHCTL3 0x00000000 -#define DDR_RFSHTMG 0x0081008B -#define DDR_CRCPARCTL0 0x00000000 -#define DDR_DRAMTMG0 0x121B2414 -#define DDR_DRAMTMG1 0x000A041C -#define DDR_DRAMTMG2 0x0608090F -#define DDR_DRAMTMG3 0x0050400C -#define DDR_DRAMTMG4 0x08040608 -#define DDR_DRAMTMG5 0x06060403 -#define DDR_DRAMTMG6 0x02020002 -#define DDR_DRAMTMG7 0x00000202 -#define DDR_DRAMTMG8 0x00001005 -#define DDR_DRAMTMG14 0x000000A0 -#define DDR_ZQCTL0 0xC2000040 -#define DDR_DFITMG0 0x02060105 -#define DDR_DFITMG1 0x00000202 -#define DDR_DFILPCFG0 0x07000000 -#define DDR_DFIUPD0 0xC0400003 -#define DDR_DFIUPD1 0x00000000 -#define DDR_DFIUPD2 0x00000000 -#define DDR_DFIPHYMSTR 0x00000000 -#define DDR_ODTCFG 0x06000600 -#define DDR_ODTMAP 0x00000001 -#define DDR_SCHED 0x00000C01 -#define DDR_SCHED1 0x00000000 -#define DDR_PERFHPR1 0x01000001 -#define DDR_PERFLPR1 0x08000200 -#define DDR_PERFWR1 0x08000400 -#define DDR_DBG0 0x00000000 -#define DDR_DBG1 0x00000000 -#define DDR_DBGCMD 0x00000000 -#define DDR_POISONCFG 0x00000000 -#define DDR_PCCFG 0x00000010 -#define DDR_PCFGR_0 0x00010000 -#define DDR_PCFGW_0 0x00000000 -#define DDR_PCFGQOS0_0 0x02100C03 -#define DDR_PCFGQOS1_0 0x00800100 -#define DDR_PCFGWQOS0_0 0x01100C03 -#define DDR_PCFGWQOS1_0 0x01000200 -#define DDR_PCFGR_1 0x00010000 -#define DDR_PCFGW_1 0x00000000 -#define DDR_PCFGQOS0_1 0x02100C03 -#define DDR_PCFGQOS1_1 0x00800040 -#define DDR_PCFGWQOS0_1 0x01100C03 -#define DDR_PCFGWQOS1_1 0x01000200 -#define DDR_ADDRMAP1 0x00070707 -#define DDR_ADDRMAP2 0x00000000 -#define DDR_ADDRMAP3 0x1F000000 -#define DDR_ADDRMAP4 0x00001F1F -#define DDR_ADDRMAP5 0x06060606 -#define DDR_ADDRMAP6 0x0F060606 -#define DDR_ADDRMAP9 0x00000000 -#define DDR_ADDRMAP10 0x00000000 -#define DDR_ADDRMAP11 0x00000000 -#define DDR_PGCR 0x01442E02 -#define DDR_PTR0 0x0022AA5B -#define DDR_PTR1 0x04841104 -#define DDR_PTR2 0x042DA068 -#define DDR_ACIOCR 0x10400812 -#define DDR_DXCCR 0x00000C40 -#define DDR_DSGCR 0xF200011F -#define DDR_DCR 0x0000000B -#define DDR_DTPR0 0x38D488D0 -#define DDR_DTPR1 0x098B00D8 -#define DDR_DTPR2 0x10023600 -#define DDR_MR0 0x00000840 -#define DDR_MR1 0x00000000 -#define DDR_MR2 0x00000208 -#define DDR_MR3 0x00000000 -#define DDR_ODTCR 0x00010000 -#define DDR_ZQ0CR1 0x00000038 -#define DDR_DX0GCR 0x0000CE81 -#define DDR_DX0DLLCR 0x40000000 -#define DDR_DX0DQTR 0x00112121 -#define DDR_DX0DQSTR 0x3D200000 -#define DDR_DX1GCR 0x0000CE81 -#define DDR_DX1DLLCR 0x40000000 -#define DDR_DX1DQTR 0x11100121 -#define DDR_DX1DQSTR 0x3D200000 -#define DDR_DX2GCR 0x0000CE80 -#define DDR_DX2DLLCR 0x40000000 -#define DDR_DX2DQTR 0xFFFFFFFF -#define DDR_DX2DQSTR 0x3DB02000 -#define DDR_DX3GCR 0x0000CE80 -#define DDR_DX3DLLCR 0x40000000 -#define DDR_DX3DQTR 0xFFFFFFFF -#define DDR_DX3DQSTR 0x3DB02000 - -#include "stm32mp15-ddr.dtsi" diff --git a/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red-fw-config.dts b/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red-fw-config.dts deleted file mode 100644 index 256d0db93526d1b750440e0e72cf38ecec26b889..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red-fw-config.dts +++ /dev/null @@ -1,6 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (c) 2020, STMicroelectronics - All Rights Reserved - */ - -#include "stm32mp15-ddr-512m-fw-config.dts" diff --git a/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red.dts b/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red.dts deleted file mode 100644 index 7cf64d9d9870b653bb9cf97d0fcad76a1c1ffd6f..0000000000000000000000000000000000000000 --- a/board/octavo/osd32mp1-red/tfa-dts/stm32mp157c-osd32mp1-red.dts +++ /dev/null @@ -1,571 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* - * Copyright (C) STMicroelectronics 2020 - All Rights Reserved - * Author: STM32CubeMX code generation for STMicroelectronics. - */ - -/dts-v1/; -#include -#include -#include -#include - -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "osd32mp1_ddr_1x4Gb.dtsi" - -/ { - model = "Octavo OSD32MP1 RED board"; - compatible = "octavo,stm32mp157c-osd32mp1-red", "st,stm32mp157"; - - aliases { - serial0 = &uart4; - }; - - memory@c0000000 { - device_type = "memory"; - reg = <0xc0000000 0x20000000>; - }; - - vin: vin { - compatible = "regulator-fixed"; - regulator-name = "vin"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&bsec { - board_id: board_id@ec { - reg = <0xec 0x4>; - st,non-secure-otp; - }; -}; - -&clk_hse { - st,digbypass; -}; - -&cpu0 { - cpu-supply = <&vddcore>; -}; - -&cpu1 { - cpu-supply = <&vddcore>; -}; - -&hash1 { - status = "okay"; -}; - -&cryp1 { - status = "okay"; -}; - -&etzpc { - st,decprot = < - DECPROT(STM32MP1_ETZPC_DCMI_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_ETH_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_USART1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_SPI6_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_I2C4_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_SPI2_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_I2C6_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_RNG1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_HASH1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_CRYP1_ID, DECPROT_NS_RW, DECPROT_UNLOCK) - DECPROT(STM32MP1_ETZPC_DDRCTRL_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_DDRPHYC_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_STGENC_ID, DECPROT_S_RW, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_BKPSRAM_ID, DECPROT_S_RW, DECPROT_LOCK) - DECPROT(STM32MP1_ETZPC_IWDG1_ID, DECPROT_S_RW, DECPROT_LOCK) - >; -}; - - - -&i2c4 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c4_pins_z_mx>; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - clock-frequency = <400000>; - status = "okay"; - secure-status = "okay"; - - pmic: stpmic@33 { - compatible = "st,stpmic1"; - reg = <0x33>; - interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; - interrupt-controller; - #interrupt-cells = <2>; - status = "okay"; - secure-status = "okay"; - - regulators { - compatible = "st,stpmic1-regulators"; - buck1-supply = <&vin>; - buck2-supply = <&vin>; - buck3-supply = <&vin>; - buck4-supply = <&vin>; - ldo1-supply = <&v3v3>; - ldo2-supply = <&vin>; - ldo3-supply = <&vdd_ddr>; - ldo4-supply = <&vin>; - ldo5-supply = <&vin>; - ldo6-supply = <&v3v3>; - vref_ddr-supply = <&vin>; - boost-supply = <&vin>; - pwr_sw1-supply = <&bst_out>; - pwr_sw2-supply = <&bst_out>; - - vddcore: buck1 { - regulator-name = "vddcore"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-on-in-suspend; - regulator-suspend-microvolt = <1200000>; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd_ddr: buck2 { - regulator-name = "vdd_ddr"; - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - regulator-always-on; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-suspend-microvolt = <1350000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-suspend-microvolt = <1350000>; - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd: buck3 { - regulator-name = "vdd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - st,mask-reset; - regulator-initial-mode = <0>; - regulator-over-current-protection; - lp-stop{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - }; - - v3v3: buck4 { - regulator-name = "v3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-over-current-protection; - regulator-initial-mode = <0>; - lp-stop{ - regulator-suspend-microvolt = <3300000>; - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v1v8_ldo1: ldo1 { - regulator-name = "v1v8_audio"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v3v3_ldo2: ldo2 { - regulator-name = "v3v3_hdmi"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vtt_ddr: ldo3 { - regulator-name = "vtt_ddr"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <750000>; - regulator-always-on; - regulator-over-current-protection; - lp-stop{ - regulator-off-in-suspend; - }; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdd_usb: ldo4 { - regulator-name = "vdd_usb"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - standby-ddr-sr{ - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vdda: ldo5 { - regulator-name = "vdda"; - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - regulator-boot-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - v1v2_ldo6: ldo6 { - regulator-name = "v1v2_ldo6"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-always-on; - standby-ddr-sr{ - regulator-off-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - vref_ddr: vref_ddr { - regulator-name = "vref_ddr"; - regulator-always-on; - regulator-over-current-protection; - lp-stop{ - regulator-on-in-suspend; - }; - standby-ddr-sr{ - regulator-on-in-suspend; - }; - standby-ddr-off{ - regulator-off-in-suspend; - }; - }; - - bst_out: boost { - regulator-name = "bst_out"; - }; - - vbus_otg: pwr_sw1 { - regulator-name = "vbus_otg"; - }; - - vbus_sw: pwr_sw2 { - regulator-name = "vbus_sw"; - regulator-active-discharge = <1>; - }; - }; - }; -}; - -&iwdg2 { - timeout-sec = <32>; - secure-timeout-sec = <5>; - status = "okay"; - secure-status = "okay"; -}; - -&nvmem_layout { - nvmem-cells = <&cfg0_otp>, - <&part_number_otp>, - <&monotonic_otp>, - <&nand_otp>, - <&uid_otp>, - <&package_otp>, - <&hw2_otp>, - <&pkh_otp>, - <&board_id>; - - nvmem-cell-names = "cfg0_otp", - "part_number_otp", - "monotonic_otp", - "nand_otp", - "uid_otp", - "package_otp", - "hw2_otp", - "pkh_otp", - "board_id"; -}; - -&pwr_regulators { - system_suspend_supported_soc_modes = < - STM32_PM_CSLEEP_RUN - STM32_PM_CSTOP_ALLOW_LP_STOP - STM32_PM_CSTOP_ALLOW_STANDBY_DDR_SR - >; - system_off_soc_mode = ; - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - -&rcc { - st,hsi-cal; - st,csi-cal; - st,cal-sec = <60>; - st,clksrc = < - CLK_MPU_PLL1P - CLK_AXI_PLL2P - CLK_MCU_PLL3P - CLK_PLL12_HSE - CLK_PLL3_HSE - CLK_PLL4_HSE - CLK_RTC_LSE - CLK_MCO1_DISABLED - CLK_MCO2_DISABLED - >; - - st,clkdiv = < - 1 /*MPU*/ - 0 /*AXI*/ - 0 /*MCU*/ - 1 /*APB1*/ - 1 /*APB2*/ - 1 /*APB3*/ - 1 /*APB4*/ - 2 /*APB5*/ - 23 /*RTC*/ - 0 /*MCO1*/ - 0 /*MCO2*/ - >; - - st,pkcs = < - CLK_CKPER_HSE - CLK_ETH_PLL3Q - CLK_SDMMC12_PLL4P - CLK_DSI_DSIPLL - CLK_STGEN_HSE - CLK_USBPHY_HSE - CLK_SPI2S1_PLL3Q - CLK_SPI2S23_CKPER - CLK_SPI45_PCLK2 - CLK_SPI6_DISABLED - CLK_I2C46_HSI - CLK_SDMMC3_PLL4P - CLK_USBO_USBPHY - CLK_ADC_CKPER - CLK_CEC_LSE - CLK_I2C12_HSI - CLK_I2C35_HSI - CLK_UART1_DISABLED - CLK_UART24_HSI - CLK_UART35_HSI - CLK_UART6_DISABLED - CLK_UART78_DISABLED - CLK_SPDIF_DISABLED - CLK_SAI1_DISABLED - CLK_SAI2_DISABLED - CLK_SAI3_DISABLED - CLK_SAI4_DISABLED - CLK_RNG1_LSI - CLK_LPTIM1_DISABLED - CLK_LPTIM23_DISABLED - CLK_LPTIM45_DISABLED - >; - - pll1:st,pll@0 { - cfg = < 2 80 0 1 1 PQR(1,0,0) >; - frac = < 0x800>; - }; - - pll2:st,pll@1 { - cfg = < 2 65 1 0 0 PQR(1,1,1) >; - frac = < 0x1400>; - }; - - pll3:st,pll@2 { - cfg = < 1 61 3 5 36 PQR(1,1,0) >; - frac = < 0x1000 >; - }; - - pll4: st,pll@3 { - cfg = < 3 98 5 7 7 PQR(1,1,1) >; - }; -}; - -&rng1 { - status = "okay"; - secure-status = "okay"; -}; - -&rtc { - status = "okay"; - secure-status = "okay"; -}; - -&sdmmc1 { - pinctrl-names = "default"; - pinctrl-0 = <&sdmmc1_pins_mx>; - disable-wp; - st,neg-edge; - bus-width = <4>; - vmmc-supply = <&v3v3>; - status = "okay"; -}; - -&sdmmc2{ - pinctrl-names = "default"; - pinctrl-0 = <&sdmmc2_pins_mx>; - status = "okay"; -}; - -&timers15 { - secure-status = "okay"; - st,hsi-cal-input = <7>; - st,csi-cal-input = <8>; -}; -&uart4 { - pinctrl-names = "default"; - pinctrl-0 = <&uart4_pins_mx>; - status = "okay"; -}; - -&usbotg_hs { - phys = <&usbphyc_port1 0>; - phy-names = "usb2-phy"; - usb-role-switch; - status = "okay"; -}; - -&usbphyc { - status = "okay"; -}; - -&usbphyc_port0 { - phy-supply = <&vdd_usb>; -}; - -&usbphyc_port1 { - phy-supply = <&vdd_usb>; -}; - - - - -&pinctrl { - sdmmc1_pins_mx: sdmmc1-b4-0 { - pins1 { - pinmux = , /* SDMMC1_D0 */ - , /* SDMMC1_D1 */ - , /* SDMMC1_D2 */ - , /* SDMMC1_D3 */ - ; /* SDMMC1_CMD */ - slew-rate = <1>; - drive-push-pull; - bias-disable; - }; - pins2 { - pinmux = ; /* SDMMC1_CK */ - slew-rate = <2>; - drive-push-pull; - bias-disable; - }; - }; - - sdmmc2_pins_mx: sdmmc2_mx-0 { - pins1 { - pinmux = , /* SDMMC2_D4 */ - , /* SDMMC2_D5 */ - , /* SDMMC2_D2 */ - , /* SDMMC2_D3 */ - , /* SDMMC2_D0 */ - , /* SDMMC2_D1 */ - , /* SDMMC2_D7 */ - , /* SDMMC2_D6 */ - ; /* SDMMC2_CMD */ - bias-pull-up; - drive-push-pull; - slew-rate = <1>; - }; - pins2 { - pinmux = ; /* SDMMC2_CK */ - bias-pull-up; - drive-push-pull; - slew-rate = <2>; - }; - }; - - uart4_pins_mx: uart4-0 { - pins1 { - pinmux = ; /* UART4_TX */ - bias-disable; - drive-push-pull; - slew-rate = <0>; - }; - pins2 { - pinmux = ; /* UART4_RX */ - bias-disable; - }; - }; -}; - -&pinctrl_z { - i2c4_pins_z_mx: i2c4-0 { - pins { - pinmux = , /* I2C4_SCL */ - ; /* I2C4_SDA */ - bias-disable; - drive-open-drain; - slew-rate = <0>; - }; - }; -}; diff --git a/board/olimex/a10_olinuxino/boot.cmd b/board/olimex/a10_olinuxino/boot.cmd deleted file mode 120000 index 612c745500bc7cc5a48d643038bf2a0d83ba3bd9..0000000000000000000000000000000000000000 --- a/board/olimex/a10_olinuxino/boot.cmd +++ /dev/null @@ -1 +0,0 @@ -../a20_olinuxino/boot.cmd \ No newline at end of file diff --git a/board/olimex/a10_olinuxino/genimage.cfg b/board/olimex/a10_olinuxino/genimage.cfg deleted file mode 120000 index c21932feecc717d7a58012e52dca5f346fa080fb..0000000000000000000000000000000000000000 --- a/board/olimex/a10_olinuxino/genimage.cfg +++ /dev/null @@ -1 +0,0 @@ -../a20_olinuxino/genimage.cfg \ No newline at end of file diff --git a/board/olimex/a10_olinuxino/post-build.sh b/board/olimex/a10_olinuxino/post-build.sh deleted file mode 120000 index b3468960242c0b735f183e66d035b081832069fe..0000000000000000000000000000000000000000 --- a/board/olimex/a10_olinuxino/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../a20_olinuxino/post-build.sh \ No newline at end of file diff --git a/board/olimex/a10_olinuxino/readme.txt b/board/olimex/a10_olinuxino/readme.txt deleted file mode 100644 index ba4bf69126303c85f35616b224ed9c824d2f8242..0000000000000000000000000000000000000000 --- a/board/olimex/a10_olinuxino/readme.txt +++ /dev/null @@ -1,57 +0,0 @@ -A10-OLinuXino-LIME - -Intro -===== - -These are open hardware boards, all based on the Allwinner A10 SoC. - -for more details about the boards see the following pages: - - https://www.olimex.com/Products/OLinuXino/open-source-hardware - - https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME/ - -The following defconfigs are available: - - olimex_a10_olinuxino_lime_defconfig - for the A10-OLinuXino-LIME board using mainline kernel - -(see http://linux-sunxi.org/Linux_Kernel for more details) - -How to build it -=============== - -Configure Buildroot: - - $ make _defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- boot.scr - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- sun4i-a10-olinuxino-lime.dtb (lime, mainline) - +-- u-boot.bin - +-- u-boot-sunxi-with-spl.bin - `-- zImage - - -How to write the SD card -======================== - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to a uSD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the uSD. - -Eject the SD card, insert it in the A10-OLinuXino board, and power it up. - diff --git a/board/olimex/a13_olinuxino/boot.cmd b/board/olimex/a13_olinuxino/boot.cmd deleted file mode 100644 index 4dd1c7b754a51185269efaad036fe1e270976e28..0000000000000000000000000000000000000000 --- a/board/olimex/a13_olinuxino/boot.cmd +++ /dev/null @@ -1,7 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -mmc dev 0 -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun5i-a13-olinuxino.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/olimex/a13_olinuxino/genimage.cfg b/board/olimex/a13_olinuxino/genimage.cfg deleted file mode 100644 index 4eb14eb520f2467217ed7c45e5283257a9bb25ff..0000000000000000000000000000000000000000 --- a/board/olimex/a13_olinuxino/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun5i-a13-olinuxino.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/olimex/a13_olinuxino/post-build.sh b/board/olimex/a13_olinuxino/post-build.sh deleted file mode 100755 index aa2a76bddec4f3f91c22c113a0860cd4f94c035d..0000000000000000000000000000000000000000 --- a/board/olimex/a13_olinuxino/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -MKIMAGE=$HOST_DIR/bin/mkimage - -$MKIMAGE -A arm -O linux -T script -C none \ - -d board/olimex/a13_olinuxino/boot.cmd \ - ${BINARIES_DIR}/boot.scr diff --git a/board/olimex/a13_olinuxino/readme.txt b/board/olimex/a13_olinuxino/readme.txt deleted file mode 100644 index b64e339fdd71884e0a391ab4aae20bd39b12b986..0000000000000000000000000000000000000000 --- a/board/olimex/a13_olinuxino/readme.txt +++ /dev/null @@ -1,43 +0,0 @@ -A13-OLinuXino - -Intro -===== - -This default configuration will allow you to start experimenting with -the buildroot environment for the A13-OLinuXino. With the current -configuration it will bring-up the board, and allow access through the -serial console. - -For more details about the A13-OLinuXino: - -https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino/open-source-hardware - -How to build it -=============== - -Configure Buildroot: - - $ make olimex_a13_olinuxino_defconfig - -Compile everything and build the rootfs image: - - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to a micro SD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Notes: - - replace 'sdX' with the actual device with your micro SDcard, - - you may need to be root to do that (use 'sudo'). - -Eject the SD card, insert it in the A13-OLinuXino board, and power it -up. diff --git a/board/olimex/a20_olinuxino/boot.cmd b/board/olimex/a20_olinuxino/boot.cmd deleted file mode 100644 index 44d9239a94796c69dbae8ff03ba4088f7396cb93..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/boot.cmd +++ /dev/null @@ -1,5 +0,0 @@ -setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra} -ext4load mmc 0 0x49000000 /boot/${fdtfile} -ext4load mmc 0 0x46000000 /boot/zImage -env set fdt_high ffffffff -bootz 0x46000000 - 0x49000000 diff --git a/board/olimex/a20_olinuxino/genimage.cfg b/board/olimex/a20_olinuxino/genimage.cfg deleted file mode 100644 index b48e12a83128950da1f44199eb6fbbc09e303a47..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/olimex/a20_olinuxino/linux-disable-lima.fragment b/board/olimex/a20_olinuxino/linux-disable-lima.fragment deleted file mode 100644 index 4c36f8aab30e3535412f6cc0a3a71c68da946be9..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/linux-disable-lima.fragment +++ /dev/null @@ -1,2 +0,0 @@ -# Disable LIMA in favour of Mali -# CONFIG_DRM_LIMA is not set diff --git a/board/olimex/a20_olinuxino/post-build.sh b/board/olimex/a20_olinuxino/post-build.sh deleted file mode 100755 index d3f612f8118a85f59b046cf8160c3af94acef462..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/post-build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr diff --git a/board/olimex/a20_olinuxino/readme.txt b/board/olimex/a20_olinuxino/readme.txt deleted file mode 100644 index 504483b513482c297a16fd58955096b1a8bc3e17..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/readme.txt +++ /dev/null @@ -1,69 +0,0 @@ -A20-OLinuXino-LIME and A20-OLinuXino-MICRO - -Intro -===== - -These are open hardware boards, all based on the Allwinner A20 SoC. - -for more details about the boards see the following pages: - - https://www.olimex.com/Products/OLinuXino/open-source-hardware - - https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/ - - https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME/ - - https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2/ - -The following defconfigs are available: - - olimex_a20_olinuxino_micro_defconfig - for the A20-OLinuXino-MICRO board using mainline kernel - - olimex_a20_olinuxino_lime_defconfig - for the A20-OLinuXino-LIME board using mainline kernel - - olimex_a20_olinuxino_lime2_defconfig - for the A20-OLinuXino-LIME2 board using mainline kernel - -The Mainline Kernel is already a much better choice for a headless server. -And also the mainline kernel works fine even for a basic Linux desktop -system running on top of a simple framebuffer, which may be good enough for -the users who do not need fancy 3D graphics or video playback acceleration. - -(see http://linux-sunxi.org/Linux_Kernel for more details) - -How to build it -=============== - -Configure Buildroot: - - $ make _defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- sun7i-a20-olinuxino-lime.dtb (lime, mainline) - +-- sun7i-a20-olinuxino-lime2.dtb (lime2, mainline) - +-- sun7i-a20-olinuxino-micro.dtb (micro, mainline) - +-- u-boot.bin - +-- u-boot-sunxi-with-spl.bin - `-- zImage - - -How to write the SD card -======================== - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to a uSD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the uSD. - -Eject the SD card, insert it in the A20-OLinuXino board, and power it up. - diff --git a/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf b/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 358bda056bf1a078612e0cb2aba519eab52f7a73..0000000000000000000000000000000000000000 --- a/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Olinuxino - kernel /boot/zImage - fdtdir /boot - append console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 drm_kms_helper.drm_leak_fbdev_smem=1 drm_kms_helper.drm_fbdev_overalloc=200 ${extra} diff --git a/board/olimex/a33_olinuxino/boot.cmd b/board/olimex/a33_olinuxino/boot.cmd deleted file mode 100644 index 44d9239a94796c69dbae8ff03ba4088f7396cb93..0000000000000000000000000000000000000000 --- a/board/olimex/a33_olinuxino/boot.cmd +++ /dev/null @@ -1,5 +0,0 @@ -setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra} -ext4load mmc 0 0x49000000 /boot/${fdtfile} -ext4load mmc 0 0x46000000 /boot/zImage -env set fdt_high ffffffff -bootz 0x46000000 - 0x49000000 diff --git a/board/olimex/a33_olinuxino/genimage.cfg b/board/olimex/a33_olinuxino/genimage.cfg deleted file mode 100644 index b48e12a83128950da1f44199eb6fbbc09e303a47..0000000000000000000000000000000000000000 --- a/board/olimex/a33_olinuxino/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/olimex/a33_olinuxino/post-build.sh b/board/olimex/a33_olinuxino/post-build.sh deleted file mode 100755 index b418120652d499bcf95d402cc8c63ea4415102eb..0000000000000000000000000000000000000000 --- a/board/olimex/a33_olinuxino/post-build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr diff --git a/board/olimex/a33_olinuxino/readme.txt b/board/olimex/a33_olinuxino/readme.txt deleted file mode 100644 index b19060200ce61ae5c4be8a617bb6528bea46b99c..0000000000000000000000000000000000000000 --- a/board/olimex/a33_olinuxino/readme.txt +++ /dev/null @@ -1,50 +0,0 @@ -A33-OLinuXino - -Intro -===== - -This board is based on Allwinner A33 SoC. - -Home Page: https://www.olimex.com/Products/OLinuXino/A33/A33-OLinuXino/open-source-hardware -Wiki: https://wiki.amarulasolutions.com/bsp/sunxi/a33/Olimex-A33-Olinuxino.html - -How to build it -=============== - -Configure Buildroot: - - $ make olimex_a33_olinuxino_defconfig - -Build everything by running: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - -output/images/ -├── boot.scr -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── sun8i-a33-olinuxino.dtb -├── u-boot.bin -├── u-boot-sunxi-with-spl.bin -└── zImage - - -How to write the SD card -======================== - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to a uSD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the uSD. - -Eject the SD card, insert it in the A33-OLinuXino board, and power it up. diff --git a/board/olimex/a64-olinuxino/boot.cmd b/board/olimex/a64-olinuxino/boot.cmd deleted file mode 100644 index 28ed6d9dc9a6225b822dcc36de598328190d70aa..0000000000000000000000000000000000000000 --- a/board/olimex/a64-olinuxino/boot.cmd +++ /dev/null @@ -1,6 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r Image -fatload mmc 0 $fdt_addr_r sun50i-a64-olinuxino.dtb - -booti $kernel_addr_r - $fdt_addr_r diff --git a/board/olimex/a64-olinuxino/genimage.cfg b/board/olimex/a64-olinuxino/genimage.cfg deleted file mode 100644 index ac59e915d9bb8ce767dbdc1e235aa8519c935e8e..0000000000000000000000000000000000000000 --- a/board/olimex/a64-olinuxino/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-olinuxino.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1032K # 1MB - 8KB + 16KB(GPT) - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/olimex/a64-olinuxino/readme.txt b/board/olimex/a64-olinuxino/readme.txt deleted file mode 100644 index 342bdc77d48b0d445600824d997a44d369e36e95..0000000000000000000000000000000000000000 --- a/board/olimex/a64-olinuxino/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the A64-OLinuXino. With the current configuration -it will bring-up the board, and allow access through the serial console. - -A64-OLinuXino link: -https://www.olimex.com/Products/OLinuXino/A64/ - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Olimex+A64-Olinuxino - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make olimex_a64_olinuxino_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your A64-OLinuXino and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/olimex/imx233_olinuxino/linux-wifi.fragment b/board/olimex/imx233_olinuxino/linux-wifi.fragment deleted file mode 100644 index b70dea2c678f99fc859cc218ce40e530fd6326f8..0000000000000000000000000000000000000000 --- a/board/olimex/imx233_olinuxino/linux-wifi.fragment +++ /dev/null @@ -1,18 +0,0 @@ -# Network testing -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=y -# MII PHY device drivers -CONFIG_WLAN=y -CONFIG_RTL8187=m -CONFIG_ATH9K_HTC=m -CONFIG_RT2X00=m -CONFIG_RT73USB=m -CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT53XX=y -CONFIG_RT2800USB_RT55XX=y -CONFIG_RT2800USB_UNKNOWN=y -CONFIG_RTL_CARDS=m -CONFIG_RTL8192CU=m -CONFIG_ZD1211RW=m diff --git a/board/olimex/imx233_olinuxino/readme.txt b/board/olimex/imx233_olinuxino/readme.txt deleted file mode 100644 index 1e676c45d140abdbbfdf438687afdca1f95148b5..0000000000000000000000000000000000000000 --- a/board/olimex/imx233_olinuxino/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -This configuration is intended as a base image. -It includes kernel and firmware support for the common USB WiFi hardware. -Packages for WiFi support are up to the user, you'll probably want -one or more of: hostapd, iw, wireless_tools and/or wpa_supplicant. - -It also pulls up the console on the serial port, not on TV output. - -=== Output files after building ============================================== - -output/images -+-- boot.vfat (VFAT kernel partition image generated by genimage) -+-- imx23-olinuxino.dtb (device tree blob) -+-- rootfs.ext2 (Root file system) -+-- sdcard.img (Complete SD card image generated by genimage) -+-- u-boot.sd (U-Boot image) -+-- uImage (Kernel binary) - -=== Use of generated SD card image =========================================== - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Then, run the following command as root: - -*** WARNING! The command will destroy all the card content. Use with care! *** - - sudo dd if=output/images/sdcard.img of=/dev/ diff --git a/board/olimex/stmp1_olinuxino/genimage.cfg b/board/olimex/stmp1_olinuxino/genimage.cfg deleted file mode 100644 index 02800db8d49da0c2daba6b5f3c1b5f7ae92c821b..0000000000000000000000000000000000000000 --- a/board/olimex/stmp1_olinuxino/genimage.cfg +++ /dev/null @@ -1,25 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition fsbl1 { - image = "u-boot-spl.stm32" - size = 256K - } - - partition fsbl2 { - image = "u-boot-spl.stm32" - size = 256K - } - - partition ssbl { - image = "u-boot.img" - size = 2M - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/board/olimex/stmp1_olinuxino/linux.config b/board/olimex/stmp1_olinuxino/linux.config deleted file mode 100644 index 592c44368cdd69aac58fb84b9ea0650645e09fcf..0000000000000000000000000000000000000000 --- a/board/olimex/stmp1_olinuxino/linux.config +++ /dev/null @@ -1,125 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_PREEMPT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_NAMESPACES=y -CONFIG_EMBEDDED=y -CONFIG_ARCH_STM32=y -CONFIG_ARM_THUMBEE=y -CONFIG_SMP=y -CONFIG_HIGHMEM=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_ARM_CRYPTO=y -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODVERSIONS=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_CAN=m -CONFIG_CAN_M_CAN=m -CONFIG_CAN_M_CAN_PLATFORM=m -CONFIG_UEVENT_HELPER=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_OF_OVERLAY=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=4 -CONFIG_NETDEVICES=y -CONFIG_STMMAC_ETH=y -CONFIG_MICREL_PHY=y -CONFIG_INPUT_MOUSEDEV=m -CONFIG_INPUT_EVDEV=m -CONFIG_INPUT_MISC=y -CONFIG_INPUT_AXP20X_PEK=m -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -CONFIG_NULL_TTY=m -CONFIG_SERIAL_DEV_BUS=m -CONFIG_HW_RANDOM=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX=y -CONFIG_I2C_STM32F7=y -CONFIG_SPI=y -CONFIG_SPI_MEM=y -CONFIG_SPI_STM32=m -CONFIG_SPI_STM32_QSPI=m -CONFIG_PINCTRL_AXP209=m -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_GPIO=y -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=y -CONFIG_CPU_THERMAL=y -CONFIG_WATCHDOG=y -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_STM32_LPTIMER=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_AXP20X=y -CONFIG_REGULATOR_STM32_VREFBUF=y -CONFIG_REGULATOR_STM32_PWR=y -CONFIG_DRM=y -CONFIG_DRM_STM=m -CONFIG_DRM_STM_DSI=m -CONFIG_DRM_PANEL_LVDS=m -CONFIG_DRM_PANEL_SIMPLE=m -CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO=m -CONFIG_DRM_ITE_IT66121=m -CONFIG_DRM_ETNAVIV=m -CONFIG_BACKLIGHT_CLASS_DEVICE=y -CONFIG_BACKLIGHT_PWM=m -CONFIG_BACKLIGHT_GPIO=m -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_LOGO=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_OHCI_HCD=y -CONFIG_MMC=y -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_UIO=m -CONFIG_UIO_PDRV_GENIRQ=m -CONFIG_UIO_DMEM_GENIRQ=m -CONFIG_HWSPINLOCK=y -CONFIG_HWSPINLOCK_STM32=y -CONFIG_CLKSRC_STM32_LP=y -CONFIG_STM32_IPCC=y -CONFIG_REMOTEPROC=y -CONFIG_STM32_RPROC=y -CONFIG_IIO=y -CONFIG_IIO_SW_TRIGGER=y -CONFIG_SD_ADC_MODULATOR=y -CONFIG_STM32_ADC_CORE=y -CONFIG_STM32_ADC=y -CONFIG_STM32_DFSDM_ADC=y -CONFIG_STM32_DAC=y -CONFIG_IIO_HRTIMER_TRIGGER=y -CONFIG_IIO_STM32_LPTIMER_TRIGGER=y -CONFIG_PWM=y -CONFIG_PWM_STM32=m -CONFIG_PWM_STM32_LP=m -CONFIG_PHY_STM32_USBPHYC=y -CONFIG_NVMEM_STM32_ROMEM=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_VFAT_FS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_UTF8=y -CONFIG_PRINTK_TIME=y diff --git a/board/olimex/stmp1_olinuxino/readme.txt b/board/olimex/stmp1_olinuxino/readme.txt deleted file mode 100644 index 8c641c6c86f262d63900632a0d66e1fe5c30f9e2..0000000000000000000000000000000000000000 --- a/board/olimex/stmp1_olinuxino/readme.txt +++ /dev/null @@ -1,53 +0,0 @@ -STMP157-OLinuXino-LIME2 - -Intro -===== - -These are open hardware boards, all based on the STmicro STMP157 SoC. - -for more details about the board see the following pages: - - https://www.olimex.com/Products/OLinuXino/open-source-hardware - - https://www.olimex.com/Products/OLinuXino/STMP1/STMP157-OLinuXino-LIME2/ - -The following defconfigs are available: - - olimex_stmp157_olinuxino_lime_defconfig - -How to build it -=============== - -Configure Buildroot: - - $ make _defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- stm32mp1xx-olinuxino-lime.dtb - +-- u-boot-spl.stm32 - +-- u-boot.img - `-- zImage - - -How to write the SD card -======================== - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to a uSD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the uSD. - -Eject the SD card, insert it in the STMP1-OLinuXino board, and power it up. - diff --git a/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf b/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index edb601c7c919e43deff14bb4b2eb41bc26d04979..0000000000000000000000000000000000000000 --- a/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stmp1-olinuxino-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp1xx-olinuxino-lime.dtb - append root=/dev/mmcblk0p4 rootwait diff --git a/board/olpc/genimage.cfg b/board/olpc/genimage.cfg deleted file mode 100644 index baafe31714b086508421cd9f3187baa865504867..0000000000000000000000000000000000000000 --- a/board/olpc/genimage.cfg +++ /dev/null @@ -1,9 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/olpc/linux.config b/board/olpc/linux.config deleted file mode 100644 index 538f7c5949f6298de29c79e1c3b9d46876f5739c..0000000000000000000000000000000000000000 --- a/board/olpc/linux.config +++ /dev/null @@ -1,71 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_CFG80211=y -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=y -CONFIG_RFKILL=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_CHR_DEV_SG=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_GPIO_SYSFS=y -CONFIG_NETDEVICES=y -CONFIG_LIBERTAS=m -CONFIG_INPUT_MOUSEDEV=y -CONFIG_INPUT_MOUSEDEV_PSAUX=y -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1200 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=900 -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_TABLET=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_POWER_SUPPLY=y -CONFIG_BATTERY_OLPC=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_MEDIA_SUPPORT=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_CONTROLLER=y -CONFIG_VIDEO_V4L2_SUBDEV_API=y -CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_V4L_PLATFORM_DRIVERS=y -CONFIG_DRM=y -CONFIG_DRM_PANEL_SIMPLE=m -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FB_SIMPLE=y -CONFIG_LCD_CLASS_DEVICE=y -CONFIG_BACKLIGHT_CLASS_DEVICE=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_RTC_CLASS=y -CONFIG_EXT4_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_FONTS=y -CONFIG_FONT_TER16x32=y diff --git a/board/olpc/olpc.fth b/board/olpc/olpc.fth deleted file mode 100644 index b4cbecf11f66ec7a45c348eb5edb03f7873f1a3f..0000000000000000000000000000000000000000 --- a/board/olpc/olpc.fth +++ /dev/null @@ -1,47 +0,0 @@ -\ OLPC XO boot script - -: (visible) " unfreeze visible" evaluate ; -' (visible) catch drop forget (visible) - -" /aliases" find-device " last" get-property -abort" No last alias" -" /pci/sd@c" 2over substring? if " root=/dev/mmcblk0p1 " to boot-file then -" /sd/sdhci@d4280000" 2over substring? if " root=/dev/mmcblk1p1 " to boot-file then -" /pci/usb@" 2over substring? if " root=/dev/sda1 " to boot-file then -" /usb@" 2over substring? if " root=/dev/sda1 " to boot-file then -" /pci/nandflash@c" 2over substring? if " root=/dev/mtdblock0 rootfstype=jffs2 " to boot-file then -2drop - -root-device " compatible" get-property dend if 0 0 then ( compatible$ ) -" olpc,xo-1.75" 2over sindex -1 > if ( compatible$ ) - \ Version check on XO-1.75 - " mrvl,mmp2" 2over sindex -1 = if ( compatible$ ) - 2drop ( ) - cr - ." Firmware Q4E00 or newer is needed to boot a Devicetree enabled kernel." cr - cr - ." One way to update is to copy http://dev.laptop.org/~quozl/q4e00ja.rom" cr - ." to a FAT partition on a USB flash stick and run ""flash u:\q4e00ja.rom""" cr - cr - ." Aborting boot." cr - " show-sad" evaluate - abort - then -then ( compatible$ ) - -" mmp" 2swap sindex -1 > if - \ A Marvell MMP-based machine - " last:\boot\zImage" to boot-device - boot-file " console=ttyS2,115200 " $cat2 to boot-file -else - \ Assume XO-1 - " last:\boot\bzImage" to boot-device - boot-file " console=ttyS0,115200 reboot=pci " $cat2 to boot-file -then - -\ Pick a terminal that looks better on the XO screen -root-device " architecture" get-property dend if 0 0 else 1- then -" OLPC" $= if boot-file " fbcon=font:TER16x32 vt.color=0xf0 " $cat2 to boot-file then - -boot-file " console=tty0 rootwait" $cat2 to boot-file -boot diff --git a/board/olpc/post-build.sh b/board/olpc/post-build.sh deleted file mode 100755 index 4d4cf97086335c79d19bc56475855cff63920551..0000000000000000000000000000000000000000 --- a/board/olpc/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" -install -m 0644 -D $BOARD_DIR/olpc.fth $TARGET_DIR/boot/olpc.fth diff --git a/board/olpc/readme.txt b/board/olpc/readme.txt deleted file mode 100644 index f1110c82cb5ca9f205bb3e3e87bd84e4fed4428c..0000000000000000000000000000000000000000 --- a/board/olpc/readme.txt +++ /dev/null @@ -1,98 +0,0 @@ -OLPC XO Laptops -=============== - -This document explains how to build and run images that run on the OLPC -XO laptops. - -Supported models ----------------- - -* OLPC XO-1 - The original NS Geode based OLPC laptop, uses the x86 architecture. - Can be booted either from an internal MTD device formatted with JFFS2 - or from a FAT or EXT4 partition on a SD card or a USB flash stick. - -* OLPC XO-7.5 - The ARM-based laptop. Needs a recent enough firmware to provide a good - enough flattened device tree to the kernel. Can be from a FAT or EXT4 - partition on a internal eMMC, a SD card or a USB flash stick. - -Configure and build -=================== - - $ make olpc_xo1_defconfig # Configure for XO-1 - -or: - - $ make olpc_xo175_defconfig # Configure for XO-1.75 - -Then: - - $ make menuconfig # Customize the build configuration - $ make # Build - -Preparing the machine -===================== - -Firmware security ------------------ - -Most OLPC machines were shipped with the security system that disallows -booting unsigned software. If this is the case with your machine, in order -to run the image you've built on it you'll need to get a developer key and -deactivate the security system. - -The procedure is descriped in the OLPC wiki: -http://wiki.laptop.org/go/Activation_and_Developer_Keys - -Firmware upgrade ----------------- - -It is always preferrable to use an up to date firmware. The firmware images -are available at http://wiki.laptop.org/go/Firmware. For the XO-1.75 laptop -to boot the mainline kernel a firmware Q4E00JA or newer is needed. You can -get it at http://dev.laptop.org/~quozl/q4e00ja.rom. - -To update the firmware, place the .rom file on to your bootable media, -connect a charged battery pack and a wall adapter, and enter the Open -Firmware prompt by pressing ESC during the early boot (needs an unlocked -laptop -- see "Firmware security" above). Then use the "flash" command -to update the firmware: - - ok flash ext:\q4e00ja.rom \ Flash the "q4e00ja.rom" from the SD card - ok flash u:\q4e00ja.rom \ Flash the "q4e00ja.rom" from USB stick - -Create the bootable SD card or USB flash stick -============================================== - -When the build is finished, an image file called "sdcard.img" will be created. -It is suitable for writing directly to a SD card, USB flash stick or (on a -XO-1.75) the internal eMMC flash. - -Before writing the image, please double check that you're using the right -device (e.g. with "lsblk" command). Doing the following will DESTROY ALL DATA -that's currently on the media. - - # cat output/images/sdcard.img >/dev/ - -Flashing the JFFS2 image (XO-1 only) -==================================== - -Unlike XO-1.75, the internal NAND flash on XO-1 is accessed without a -FTL and needs a flash-friendly filesystem. A build configured for XO-1 -creates a file named "root.jffs2" that can be written to it. - -One way to write it is from the Open Firmware prompt. First, partition -and format a USB flash disk with a FAT file system and place the -"root.jffs2" file onto it. Then power on the machine, enter the -Open Firmware port by pressing the ESC key and run the following: - - ok patch noop ?open-crcs copy-nand \ Disable CRC check - ok copy-nand u:\root.jffs2 - -Booting the machine -=================== - -Once your machine is unlocked, it will automatically boot from your media -wherever it will detect it attached to the USB bus or the SD card slot, -otherwise it will proceed booting from the internal flash. diff --git a/board/olpc/xo-1.75/linux.config b/board/olpc/xo-1.75/linux.config deleted file mode 100644 index 937cc38bd58e54abaf616de785bd2a4930343d99..0000000000000000000000000000000000000000 --- a/board/olpc/xo-1.75/linux.config +++ /dev/null @@ -1,55 +0,0 @@ -CONFIG_ARCH_MMP=y -CONFIG_MACH_MMP2_DT=y -CONFIG_MACH_MMP3_DT=y -CONFIG_USB_EHCI_MV_U2O=y -CONFIG_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_HIGHMEM=y -CONFIG_FORCE_MAX_ZONEORDER=16 -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_SENSORS_LIS3_SPI=y -CONFIG_SERIO_OLPC_APSP=y -CONFIG_REGULATOR_88PG86X=m -CONFIG_MEDIA_PLATFORM_SUPPORT=y -CONFIG_V4L_PLATFORM_DRIVERS=y -CONFIG_VIDEO_MMP_CAMERA=y -CONFIG_DRM_ARMADA=y -CONFIG_DRM_CHRONTEL_CH7033=m -CONFIG_DRM_DISPLAY_CONNECTOR=m -CONFIG_DRM_SIMPLE_BRIDGE=m -CONFIG_DRM_ETNAVIV=m -CONFIG_USB_EHCI_MV=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_PXAV3=y -CONFIG_OLPC_XO175=y -CONFIG_OLPC_XO175_EC=y -CONFIG_PHY_PXA_USB=y -CONFIG_PHY_MMP3_USB=y -CONFIG_CRYPTO_LZO=m -CONFIG_LIBERTAS_SDIO=m -CONFIG_LIBERTAS_THINFIRM=m -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_SDIO=m -CONFIG_MTD_SPI_NOR=m -CONFIG_SRAM=y -CONFIG_I2C_PXA=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SPI=y -CONFIG_SPI_PXA2XX=y -CONFIG_SPI_SLAVE=y -CONFIG_SND_SOC=y -CONFIG_SND_MMP_SOC_SSPA=y -CONFIG_SND_SOC_RT5631=y -CONFIG_SND_AUDIO_GRAPH_CARD=y -CONFIG_PWRSEQ_SD8787=m -CONFIG_RTC_DRV_DS1307=y -CONFIG_DMADEVICES=y -CONFIG_MMP_TDMA=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_ZFORCE=y -CONFIG_COMMON_CLK_MMP2_AUDIO=y diff --git a/board/olpc/xo-1/linux.config b/board/olpc/xo-1/linux.config deleted file mode 100644 index 12919471a249e417d01a37bff3cf981c94bd337d..0000000000000000000000000000000000000000 --- a/board/olpc/xo-1/linux.config +++ /dev/null @@ -1,80 +0,0 @@ -# CONFIG_64BIT is not set -CONFIG_IOSF_MBI=y -CONFIG_MGEODE_LX=y -CONFIG_X86_MSR=y -CONFIG_HZ_100=y -CONFIG_KEXEC=y -CONFIG_CMDLINE_BOOL=y -CONFIG_ACPI=y -CONFIG_CPU_IDLE=y -CONFIG_CPU_IDLE_GOV_LADDER=y -CONFIG_OLPC=y -CONFIG_OLPC_XO1_PM=y -CONFIG_OLPC_XO1_RTC=y -CONFIG_OLPC_XO1_SCI=y -# CONFIG_VIRTUALIZATION is not set -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_CMA=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_REDBOOT_PARTS=y -CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=0 -CONFIG_MTD_ONENAND=y -CONFIG_MTD_ONENAND_GENERIC=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_CAFE=y -CONFIG_MTD_UBI=y -CONFIG_CS5535_MFGPT=y -CONFIG_CS5535_CLOCK_EVENT_SRC=y -CONFIG_MOUSE_PS2_OLPC=y -CONFIG_SERIAL_8250_NR_UARTS=1 -CONFIG_SERIAL_8250_RUNTIME_UARTS=1 -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_DETECT_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_HW_RANDOM=y -# CONFIG_HW_RANDOM_VIA is not set -CONFIG_NVRAM=y -CONFIG_SCx200_ACB=y -CONFIG_PINCTRL=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_GPIO_CS5535=y -CONFIG_THERMAL=y -CONFIG_WATCHDOG=y -CONFIG_GEODE_WDT=y -CONFIG_MFD_CS5535=y -CONFIG_MFD_MAX8925=y -CONFIG_VIDEO_CAFE_CCIC=y -CONFIG_FB_TILEBLITTING=y -CONFIG_FB_VESA=y -CONFIG_FB_GEODE=y -CONFIG_FB_GEODE_LX=y -CONFIG_BACKLIGHT_MAX8925=y -CONFIG_VGACON_SOFT_SCROLLBACK=y -CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_SND_OSSEMUL=y -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_SND_AC97_POWER_SAVE=y -CONFIG_SND_CS5535AUDIO=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_OHCI_HCD=y -CONFIG_MMC_SDHCI_PCI=y -CONFIG_STAGING=y -CONFIG_FB_OLPC_DCON=y -CONFIG_XO1_RFKILL=y -CONFIG_RESET_CONTROLLER=y -CONFIG_GENERIC_PHY=y -CONFIG_PROC_KCORE=y -CONFIG_HUGETLBFS=y -CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_WBUF_VERIFY=y -CONFIG_JFFS2_SUMMARY=y -CONFIG_JFFS2_FS_XATTR=y -CONFIG_JFFS2_COMPRESSION_OPTIONS=y -CONFIG_UBIFS_FS=y -CONFIG_PCI=y -CONFIG_LIBERTAS_USB=m -CONFIG_LIBERTAS_MESH=y -CONFIG_LIBERTAS_THINFIRM=m -CONFIG_LIBERTAS_THINFIRM_USB=m diff --git a/board/openblocks/a6/readme.txt b/board/openblocks/a6/readme.txt deleted file mode 100644 index 10a78bb790b2251b58aae28e1d37c7f82377d4be..0000000000000000000000000000000000000000 --- a/board/openblocks/a6/readme.txt +++ /dev/null @@ -1,78 +0,0 @@ -Openblocks A6 - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Openblocks A6. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make openblocks_a6_defconfig - -Compile everything: - - $ make - -Updating board over TFTP -======================== - -Copy the content of output/images to the root of your TFTP server. - -Connect serial and ethernet, power up board and stop it in U-Boot: - -DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 14 tRCD=5 -DRAM CS[0] base 0x00000000 size 512MB -DRAM Total size 512MB 16bit width -Addresses 8M - 0M are saved for the U-Boot usage. -Mem malloc Initialization (8M - 7M): Done -NAND:64 MB -POST: mac verify Eth0 PASSED - -CPU : Marvell Feroceon (Rev 1) - -Streaming disabled -Write allocate disabled - - -USB 0: host mode -Net: egiga0 -Hit any key to stop autoboot: 0 -openblocks>> - - -Load kernel from tftp: - -setenv serverip -setenv bootfile uImage.kirkwood-openblocks_a6 -bootp && tftp - - -Write it to nand: - -nand erase 0x590000 0x1c5c000 -nand write.e $loadaddr 0x590000 0x1c5c000 - - -Load rootfs from tftp: - -setenv serverip -setenv bootfile rootfs.jffs2 -bootp && tftp - - -Write it to nand: - -nand erase 0x2214000 0x1dc4000 -nand write.jffs2 $loadaddr 0x2214000 0x1dc4000 - - -Configure kernel to use rootfs: - -setenv root /dev/mtdblock5 rootfstype=jffs2 -saveenv -boot diff --git a/board/orangepi/common/extlinux.conf b/board/orangepi/common/extlinux.conf deleted file mode 100644 index 12f496b1fab7843b91925cf84b6057b7b9c4fc28..0000000000000000000000000000000000000000 --- a/board/orangepi/common/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -LABEL default - kernel /boot/%LINUXIMAGE% - devicetreedir /boot - append root=PARTUUID=%PARTUUID% rootwait console=${console} rootfstype=ext4 quiet panic=10 diff --git a/board/orangepi/common/genimage.cfg b/board/orangepi/common/genimage.cfg deleted file mode 100644 index c748108ca07972bab13bd2783d57e95eec9498d3..0000000000000000000000000000000000000000 --- a/board/orangepi/common/genimage.cfg +++ /dev/null @@ -1,20 +0,0 @@ -image sdcard.img { - partition u-boot { - in-partition-table = false - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1000K # 1MB - 8KB(offset) - 16KB(GPT) - } - - hdimage { - partition-table-type = "gpt" - gpt-location = 1008K # 1MB - 16KB(GPT) - gpt-no-backup = true - } - - partition rootfs { - offset = 1M - image = "rootfs.ext4" - partition-uuid = %PARTUUID% - } -} diff --git a/board/orangepi/common/post-build.sh b/board/orangepi/common/post-build.sh deleted file mode 100755 index 296f94b17478f15fd64507248581c0e467d393d0..0000000000000000000000000000000000000000 --- a/board/orangepi/common/post-build.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -linux_image() -{ - if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then - echo "uImage" - elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then - echo "Image" - elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then - echo "Image.gz" - else - echo "zImage" - fi -} - -generic_getty() -{ - if grep -Eq "^BR2_TARGET_GENERIC_GETTY=y$" ${BR2_CONFIG}; then - echo "" - else - echo "s/\s*console=\S*//" - fi -} - -PARTUUID="$($HOST_DIR/bin/uuidgen)" - -install -d "$TARGET_DIR/boot/extlinux/" - -sed -e "$(generic_getty)" \ - -e "s/%LINUXIMAGE%/$(linux_image)/g" \ - -e "s/%PARTUUID%/$PARTUUID/g" \ - "board/orangepi/common/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" - -sed "s/%PARTUUID%/$PARTUUID/g" "board/orangepi/common/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/orangepi/orangepi-lite/boot.cmd b/board/orangepi/orangepi-lite/boot.cmd deleted file mode 100644 index 5c29dabfe81d6466a507b25bb659408bc720a7a0..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite/boot.cmd +++ /dev/null @@ -1,8 +0,0 @@ -setenv fdt_high ffffffff - -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-lite.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/orangepi/orangepi-lite/genimage.cfg b/board/orangepi/orangepi-lite/genimage.cfg deleted file mode 100644 index b422a751a86304032746cb3bb1fb31259d885c0c..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Minimal SD card image for the OrangePi Lite -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-lite.dtb", - "boot.scr" - } - } - - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/orangepi/orangepi-lite/linux-extras.config b/board/orangepi/orangepi-lite/linux-extras.config deleted file mode 100644 index 6bb716903f5f94adf99d6db4deecc77eebdd99bf..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite/linux-extras.config +++ /dev/null @@ -1,15 +0,0 @@ -# wireless core -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_MAC80211=y -CONFIG_CFG80211_WEXT=y - -# wireless drivers -CONFIG_WLAN=y - -# hdmi -CONFIG_DRM_SUN8I_DW_HDMI=y -CONFIG_SUN8I_DE2_CCU=y - -# analog audio -CONFIG_SND_SUN8I_CODEC_ANALOG=y diff --git a/board/orangepi/orangepi-lite/readme.txt b/board/orangepi/orangepi-lite/readme.txt deleted file mode 100644 index 5f402bf207d58881689c1064af409f5bca149eb2..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi Lite - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi Lite. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_lite_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-lite2/extlinux.conf b/board/orangepi/orangepi-lite2/extlinux.conf deleted file mode 100644 index 1966186a20454ac35512d867acd2a8a51e4d6d5a..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite2/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /Image - devicetree /sun50i-h6-orangepi-lite2.dtb - append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait diff --git a/board/orangepi/orangepi-lite2/genimage.cfg b/board/orangepi/orangepi-lite2/genimage.cfg deleted file mode 100644 index bc981eed5188c20401c5c7be6d168a52e1a71cd2..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite2/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-orangepi-lite2.dtb", - "extlinux" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/orangepi/orangepi-lite2/post-build.sh b/board/orangepi/orangepi-lite2/post-build.sh deleted file mode 100755 index ec20fca7d96427d960082c8d882acc4bd3a2bd41..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite2/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/orangepi/orangepi-lite2/readme.txt b/board/orangepi/orangepi-lite2/readme.txt deleted file mode 100644 index 7f88250418e063717cf3e89286af1b00ef080f72..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite2/readme.txt +++ /dev/null @@ -1,44 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi Lite2. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi Lite2 link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Lite-2.html - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Lite2 - -How to build -============ - - $ make orangepi_lite2_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi Lite2 and power it up. The console -is on the serial line, 115200 8N1. - -WiFi -==== - - # wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf - (type password and enter) - # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B - # udhcpc -i wlan0 - # ping google.com diff --git a/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt b/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt deleted file mode 100755 index c1cc4c3c2e4a17f54109449c4f65d61ba9aa2b4b..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt +++ /dev/null @@ -1,82 +0,0 @@ -#AP6255_NVRAM_V1.0_29052015 - -NVRAMRev=$Rev: 498373 $ -sromrev=11 -vendid=0x14e4 -devid=0x43ab -manfid=0x2d0 -prodid=0x06e4 -macaddr=00:90:4c:c5:12:38 -nocrc=1 -boardtype=0x6e4 -boardrev=0x1304 -xtalfreq=37400 -#boardflags: 5GHz eTR switch by default -#2.4GHz eTR switch by default -#bit1 for btcoex -boardflags=0x00080201 -boardflags2=0x40000000 -boardflags3=0x48200100 -rxgains2gelnagaina0=0 -rxgains2gtrisoa0=0 -rxgains2gtrelnabypa0=0 -rxgains5gelnagaina0=0 -rxgains5gtrisoa0=0 -rxgains5gtrelnabypa0=0 -rxchain=1 -txchain=1 -aa2g=1 -aa5g=1 -tssipos5g=1 -tssipos2g=1 -femctrl=0 -AvVmid_c0=0,157,1,126,1,126,1,126,1,126 -pa2ga0=-112,6296,-662 -pa2ga1=-165,3699,-515 -pa5ga0=-143,6016,-683,-141,6013,-678,-137,5988,-670,-136,5982,-670 -pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498 -itrsw=1 -pdoffset2g40ma0=10 -pdoffset40ma0=0xaaaa -pdoffset80ma0=0xaaaa -extpagain5g=2 -extpagain2g=2 -tworangetssi2g=1 -tworangetssi5g=1 -# LTECX flags -# WCI2 -ltecxmux=0 -ltecxpadnum=0x0504 -ltecxfnsel=0x22 -ltecxgcigpio=0x32 - -maxp2ga0=64 -ofdmlrbw202gpo=0x0033 -dot11agofdmhrbw202gpo=0x1553 -mcsbw202gpo=0x99355533 - -maxp5ga0=80,82,76,77 - -mcsbw205glpo=0x99755000 -mcsbw205gmpo=0x9df55000 -mcsbw205ghpo=0x99855000 - -mcsbw405glpo=0xb8555000 -mcsbw405gmpo=0xed955000 -mcsbw405ghpo=0xd9755000 - -mcsbw805glpo=0xc8555000 -mcsbw805gmpo=0xe9555000 -mcsbw805ghpo=0xd9555000 - -swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff -swctrlmap_5g=0x00100010,0x00200020,0x00100010,0x010a02,0x2f4 -swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000 -swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000 - -vcodivmode=1 -deadman_to=481500000 -ed_thresh2g=-54 -ed_thresh5g=-54 - -muxenab=0x10 diff --git a/board/orangepi/orangepi-one-plus/extlinux.conf b/board/orangepi/orangepi-one-plus/extlinux.conf deleted file mode 100644 index f573aa17d0a58639d5d3bcdfb5a4bf1162242e35..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-one-plus/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /Image - devicetree /sun50i-h6-orangepi-one-plus.dtb - append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait diff --git a/board/orangepi/orangepi-one-plus/genimage.cfg b/board/orangepi/orangepi-one-plus/genimage.cfg deleted file mode 100644 index 80b83b02154d1afc661a0b467038f93c6ce9636d..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-one-plus/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-orangepi-one-plus.dtb", - "extlinux" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/orangepi/orangepi-one-plus/post-build.sh b/board/orangepi/orangepi-one-plus/post-build.sh deleted file mode 100755 index ec20fca7d96427d960082c8d882acc4bd3a2bd41..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-one-plus/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/orangepi/orangepi-one-plus/readme.txt b/board/orangepi/orangepi-one-plus/readme.txt deleted file mode 100644 index 547f874288074409a3185b970c542f8a8ef8062e..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-one-plus/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi One Plus. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi One Plus link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-One-Plus.html - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+One+Plus - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make orangepi_one_plus_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi One Plus and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/orangepi/orangepi-one/readme.txt b/board/orangepi/orangepi-one/readme.txt deleted file mode 100644 index e650f82d11489e0444ce576d1178541a3156fe86..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-one/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi One - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi One. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_one_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-pc-plus/linux-extras.config b/board/orangepi/orangepi-pc-plus/linux-extras.config deleted file mode 100644 index 5e3af2b831c9c9f6570856022d3c43cd73a47d35..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-pc-plus/linux-extras.config +++ /dev/null @@ -1,8 +0,0 @@ -# wireless core -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_MAC80211=y -CONFIG_CFG80211_WEXT=y - -# wireless drivers -CONFIG_WLAN=y diff --git a/board/orangepi/orangepi-pc-plus/readme.txt b/board/orangepi/orangepi-pc-plus/readme.txt deleted file mode 100644 index 49206949c8e62d88aa6c09e6bcb216cc9179ec3a..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-pc-plus/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi PC Plus - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi PC Plus. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_pc_plus_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-pc/linux.fragment b/board/orangepi/orangepi-pc/linux.fragment deleted file mode 100644 index b1dda162bb1245b9a2fd87d840dbf01948272c59..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-pc/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y -CONFIG_REGULATOR_SY8106A=y -CONFIG_SUN8I_DE2_CCU=y diff --git a/board/orangepi/orangepi-pc/readme.txt b/board/orangepi/orangepi-pc/readme.txt deleted file mode 100644 index d316b6fc1fd11c864b775c205fce588e53a802af..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-pc/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi PC - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi PC. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_pc_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-pc2/readme.txt b/board/orangepi/orangepi-pc2/readme.txt deleted file mode 100644 index 6c699244ceb5d5890416de3527a18bcb7184f15c..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-pc2/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi PC2. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi PC2 link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-PC-2.html - -Sunxi Wiki link: -https://linux-sunxi.org/Xunlong_Orange_Pi_PC_2 - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make orangepi_pc2_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi PC2 and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/orangepi/orangepi-r1/boot.cmd b/board/orangepi/orangepi-r1/boot.cmd deleted file mode 100644 index 50745f7e5e5f3b686be2f6fc36b2ae7a1fb79754..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-r1/boot.cmd +++ /dev/null @@ -1,8 +0,0 @@ -setenv fdt_high ffffffff - -setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait - -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-r1.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/board/orangepi/orangepi-r1/genimage.cfg b/board/orangepi/orangepi-r1/genimage.cfg deleted file mode 100644 index 78b69269b7fd4fcdd1c07b4d55dd318ea4c11d86..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-r1/genimage.cfg +++ /dev/null @@ -1,43 +0,0 @@ -# Minimal SD card image for the OrangePi R1 -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h2-plus-orangepi-r1.dtb", - "boot.scr" - } - } - - size = 10M -} - -image sdcard.img { - hdimage { - # for root=PARTLABEL support - partition-table-type = "gpt" - # default GPT location conflicts with spl, move it after - gpt-location = 1M - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 1016K # 1MB - 8KB - } - - partition boot { - partition-type-uuid = F - bootable = "true" - image = "boot.vfat" - } - - # 'rootfs' will be used as the partition label, used - # with root=PARTLABEL=rootfs kernel command line - partition rootfs { - partition-type-uuid = L - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/orangepi/orangepi-r1/linux-extras.config b/board/orangepi/orangepi-r1/linux-extras.config deleted file mode 100644 index 47ba88f670548eb5ac6b7c219b784c5590590c3a..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-r1/linux-extras.config +++ /dev/null @@ -1,11 +0,0 @@ -# spi nor -CONFIG_MTD=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_M25P80=y - -# ondemand cpufreq governor -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y - -# USB ethernet -CONFIG_USB_RTL8152=y diff --git a/board/orangepi/orangepi-r1/readme.txt b/board/orangepi/orangepi-r1/readme.txt deleted file mode 100644 index 8266499366692134e6ee06097c4b091d52c15486..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-r1/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi R1 - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi R1. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_r1_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-zero-plus/readme.txt b/board/orangepi/orangepi-zero-plus/readme.txt deleted file mode 100644 index 1e60e0f825badc47a3542d9f3e7497623bbfd1c5..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero-plus/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi Zero Plus. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi Zero Plus link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-Plus.html - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make orangepi_zero_plus_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi Zero Plus and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/orangepi/orangepi-zero-plus2/linux-extras.config b/board/orangepi/orangepi-zero-plus2/linux-extras.config deleted file mode 100644 index 52b4b4b29e109b0bd7e133aaaec17db42f277c8f..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero-plus2/linux-extras.config +++ /dev/null @@ -1,10 +0,0 @@ -# wireless core -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_MAC80211=y -CONFIG_CFG80211_WEXT=y - -# wireless drivers -CONFIG_WLAN=y -CONFIG_WLAN_VENDOR_BROADCOM=y -CONFIG_BRCMFMAC=m diff --git a/board/orangepi/orangepi-zero-plus2/readme.txt b/board/orangepi/orangepi-zero-plus2/readme.txt deleted file mode 100644 index 2df6dd9b112aeb3b28906b5cdd99272492fa71cb..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero-plus2/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi Zero Plus2. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi Zero Plus2 link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-Plus-2.html - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Zero+Plus2 - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make orangepi_zero_plus2_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi Zero Plus2 and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt b/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt deleted file mode 100644 index 8f0bf69063d3a256a9f0c81af52b63ef6ca38468..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt +++ /dev/null @@ -1,54 +0,0 @@ -#AP6212_NVRAM_V1.0_20140603 -# 2.4 GHz, 20 MHz BW mode - -# The following parameter values are just placeholders, need to be updated. -manfid=0x2d0 -prodid=0x0726 -vendid=0x14e4 -devid=0x43e2 -boardtype=0x0726 -boardrev=0x1101 -boardnum=22 -macaddr=00:90:4c:c5:12:38 -sromrev=11 -boardflags=0x00404201 -xtalfreq=26000 -nocrc=1 -ag0=255 -aa2g=1 -ccode=ALL - -pa0itssit=0x20 -extpagain2g=0 - -#PA parameters for 2.4GHz, measured at CHIP OUTPUT -pa2ga0=-168,7161,-820 -AvVmid_c0=0x0,0xc8 -cckpwroffset0=5 - -# PPR params -maxp2ga0=90 -txpwrbckof=6 -cckbw202gpo=0x5555 -legofdmbw202gpo=0x77777777 -mcsbw202gpo=0xaaaaaaaa - -# OFDM IIR : -ofdmdigfilttype=7 -# PAPD mode: -papdmode=2 - -il0macaddr=00:90:4c:c5:12:38 -wl0id=0x431b - -#OOB parameters -hostwake=0x40 -hostrdy=0x41 -usbrdy=0x03 -usbrdydelay=100 -deadman_to=0xffffffff -# muxenab: 0x1 for UART enable, 0x10 for Host awake -muxenab=0x10 -# CLDO PWM voltage settings - 0x4 - 1.1 volt -#cldo_pwm=0x4 - diff --git a/board/orangepi/orangepi-zero/linux-extras.fragment b/board/orangepi/orangepi-zero/linux-extras.fragment deleted file mode 100644 index 2db241de285a4da4342076de73a5b091224fd2f6..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/linux-extras.fragment +++ /dev/null @@ -1,20 +0,0 @@ -# spidev -CONFIG_SPI_SPIDEV=y - -# spi nor -CONFIG_MTD=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_M25P80=y - -# wireless core -CONFIG_WIRELESS=y -CONFIG_CFG80211=y -CONFIG_MAC80211=y -CONFIG_CFG80211_WEXT=y - -# wireless drivers -CONFIG_WLAN=y - -# ondemand cpufreq governor -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y diff --git a/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch b/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch deleted file mode 100644 index 6a5aa0bb631c4f97ff5f23dcd7fd51db7e4b904e..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 321faaf4b78d46a0c77782c1798856746f0619e9 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Fri, 19 May 2017 23:39:48 +0300 -Subject: [PATCH] ARM: dts: orange-pi-zero: specify XR819 WiFi chip - interrupts - -The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board -dts file provides a node enabling mmc1 controller. Together with an -out-of-tree driver https://github.com/fifteenhex/xradio this node -enables using the wifi chip. - -This commit specifies XR819 interrupt configuration for the driver. - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -index b7ca916d871d..4e1a9050c6b4 100644 ---- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -@@ -125,6 +125,9 @@ - */ - xr819: sdio_wifi@1 { - reg = <1>; -+ compatible = "xradio,xr819"; -+ interrupt-parent = <&pio>; -+ interrupts = <6 10 IRQ_TYPE_EDGE_RISING>; - }; - }; - --- -2.11.0 - diff --git a/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch b/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch deleted file mode 100644 index ff0a1db223ea1d9117c4947137cb21eb239e1735..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 068c3baff3048a3db4ef2518ff917ce749cd8169 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Sat, 20 May 2017 11:24:26 +0300 -Subject: [PATCH] ARM: dts: orange-pi-zero: enable SPI NOR - -Enable SPI NOR on orange-pi-zero board. - -For more information see: -- http://linux-sunxi.org/Orange_Pi_Zero#SPI_NOR_flash - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -index 4e1a9050c6b4..cdf19821b1f3 100644 ---- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -@@ -161,3 +161,19 @@ - /* USB VBUS is always on */ - status = "okay"; - }; -+ -+&spi0 { -+ status = "okay"; -+ -+ flash@0 { -+ #address-cells = <1>; -+ #size-cells = <1>; -+ compatible = "mxicy,mx25l1606e", "winbond,w25q128"; -+ reg = <0>; -+ spi-max-frequency = <40000000>; -+ -+ partition@00000000 { -+ reg = <0x00000000 0x200000>; /* 2Mb */ -+ }; -+ }; -+}; --- -2.11.0 - diff --git a/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch b/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch deleted file mode 100644 index 04d43c344f292dc998a14ecdf8ef64575b9bd0be..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8dd1b2a696bb7e9914abd11cc6f5c0f54c33d626 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Sat, 20 May 2017 15:36:51 +0300 -Subject: [PATCH] ARM: dts: orange-pi-zero: enable spidev - -On orange-pi-zero board SPI1 pins are accessible via GPIO expansion port. -This patch enables spidev driver for SPI1. - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -index cdf19821b1f3..7242aaecb14f 100644 ---- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -@@ -59,6 +59,7 @@ - serial0 = &uart0; - /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ - ethernet1 = &xr819; -+ spi1 = &spi1; - }; - - chosen { -@@ -177,3 +178,13 @@ - }; - }; - }; -+ -+&spi1 { -+ status = "okay"; -+ -+ spidev@0 { -+ compatible = "rohm,dh2228fv"; -+ reg = <0>; -+ spi-max-frequency = <10000000>; -+ }; -+}; --- -2.11.0 - diff --git a/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch b/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch deleted file mode 100644 index 41c23209ce05dce191a755b8c91f1ee703c37dec..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch +++ /dev/null @@ -1,35 +0,0 @@ -From e8768cc1f0f1231cbd4864417de629330e21222d Mon Sep 17 00:00:00 2001 -From: Sergey Kuzminov -Date: Sun, 21 Nov 2021 00:58:32 +0300 -Subject: [PATCH] ARM: dts: orange-pi-zero: enable uart - -Enable uart1 and uart2 on orange-pi-zero board. - -Signed-off-by: Sergey Kuzminov ---- - arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -index f19ed981da9d..03acf166ab70 100644 ---- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts -@@ -184,13 +184,13 @@ &uart0 { - &uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins>; -- status = "disabled"; -+ status = "okay"; - }; - - &uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_pins>; -- status = "disabled"; -+ status = "okay"; - }; - - &usb_otg { --- -2.32.0 - diff --git a/board/orangepi/orangepi-zero/readme.txt b/board/orangepi/orangepi-zero/readme.txt deleted file mode 100644 index 1afdbb7847f7cde3075618506d62613ece994be9..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero/readme.txt +++ /dev/null @@ -1,29 +0,0 @@ -OrangePi Zero - -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the OrangePi Zero. With the current configuration -it will bring-up the board, and allow access through the serial console. - -How to build it -=============== - -Configure Buildroot: - - $ make orangepi_zero_defconfig - -Compile everything and build the SD card image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/orangepi/orangepi-zero3/readme.txt b/board/orangepi/orangepi-zero3/readme.txt deleted file mode 100644 index 4872a363e7dff819f186a7b999b19991233b50fc..0000000000000000000000000000000000000000 --- a/board/orangepi/orangepi-zero3/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Orangepi Zero3. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Orangepi Zero3 link: -http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html - -This configuration uses Orangepi's fork of U-Boot and Linux kernel. - -How to build -============ - - $ make orangepi_zero3_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Orangepi Zero3 and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/pandaboard/genimage.cfg b/board/pandaboard/genimage.cfg deleted file mode 100644 index dfe388227ec53962c44b90f2700822a56231195a..0000000000000000000000000000000000000000 --- a/board/pandaboard/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img" - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/pandaboard/readme.txt b/board/pandaboard/readme.txt deleted file mode 100644 index 80a20c274364db9cef896871dc3164d940a08c85..0000000000000000000000000000000000000000 --- a/board/pandaboard/readme.txt +++ /dev/null @@ -1,46 +0,0 @@ -Pandaboard -========== - -This file documents the Buildroot support for the Pandaboard, a -low-power, low-cost single-board computer development platform based -on the Texas Instruments OMAP4 system on a chip (SoC). - -Configuring and building Buildroot ----------------------------------- - -Start from the defconfig: - - $ make pandaboard_defconfig - -You can edit build options the usual way: - - $ make menuconfig - -When you are happy with the setup, run: - - $ make - -The result of the build with the default settings should be these files: - - output/images - +-- MLO - +-- omap4-panda-a4.dtb - +-- omap4-panda.dtb - +-- omap4-panda-es.dtb - +-- rootfs.ext4 - +-- sdcard.img - +-- u-boot.img - +-- zImage - -How to write the SD card ------------------------- - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX -instead depending on setup). diff --git a/board/pc/genimage-bios.cfg b/board/pc/genimage-bios.cfg deleted file mode 100644 index 54026f6527e4c0b1993e133b6b9d8d2fb3515061..0000000000000000000000000000000000000000 --- a/board/pc/genimage-bios.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image disk.img { - hdimage { - } - - partition boot { - in-partition-table = "no" - image = "boot.img" - offset = 0 - size = 512 - holes = {"(440; 512)"} - } - - partition grub { - in-partition-table = "no" - image = "grub.img" - offset = 512 - } - - partition root { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/pc/genimage-efi.cfg b/board/pc/genimage-efi.cfg deleted file mode 100644 index c231e1b9b2626c5a788c85511b1f1e9d12759d33..0000000000000000000000000000000000000000 --- a/board/pc/genimage-efi.cfg +++ /dev/null @@ -1,32 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - - file bzImage { - image = "bzImage" - } - } - - size = 16352K # 16MB - 32KB -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a - partition-uuid = UUID_TMP - image = "rootfs.ext2" - } -} diff --git a/board/pc/grub-bios.cfg b/board/pc/grub-bios.cfg deleted file mode 100644 index bd3e3f00061b0bf16f65e86b471c3abf2e7fcaaf..0000000000000000000000000000000000000000 --- a/board/pc/grub-bios.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /boot/bzImage root=/dev/sda1 rootwait console=tty1 -} diff --git a/board/pc/grub-efi.cfg b/board/pc/grub-efi.cfg deleted file mode 100644 index bd44666404feb1eb43e9fbca8b8eba095c6f0407..0000000000000000000000000000000000000000 --- a/board/pc/grub-efi.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /bzImage root=PARTUUID=UUID_TMP rootwait console=tty1 -} diff --git a/board/pc/linux.config b/board/pc/linux.config deleted file mode 100644 index 43b15c94be49340a426e968343bb944c23639795..0000000000000000000000000000000000000000 --- a/board/pc/linux.config +++ /dev/null @@ -1,89 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_EFI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETFILTER=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_IP_NF_FILTER=y -CONFIG_CFG80211=m -CONFIG_CFG80211_WEXT=y -CONFIG_MAC80211=m -CONFIG_PCI=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_ATL2=m -CONFIG_ATL1=m -CONFIG_ATL1E=m -CONFIG_ATL1C=m -CONFIG_ALX=m -CONFIG_E100=m -CONFIG_E1000=m -CONFIG_E1000E=m -CONFIG_IGB=m -CONFIG_NE2K_PCI=y -CONFIG_8139CP=y -CONFIG_R8169=m -CONFIG_ATH9K=m -CONFIG_ATH9K_HTC=m -CONFIG_CARL9170=m -CONFIG_ATH10K=m -CONFIG_ATH10K_PCI=m -CONFIG_IWL4965=m -CONFIG_IWL3945=m -CONFIG_IWLWIFI=m -CONFIG_RT2X00=m -CONFIG_RT2800PCI=m -CONFIG_RT73USB=m -CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT3573=y -CONFIG_RT2800USB_RT53XX=y -CONFIG_RT2800USB_RT55XX=y -# CONFIG_RTL_CARDS is not set -CONFIG_RTL8XXXU=m -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_DRM_I915=y -CONFIG_DRM_QXL=y -CONFIG_DRM_BOCHS=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_FB=y -CONFIG_FIRMWARE_EDID=y -CONFIG_FB_VESA=y -CONFIG_FB_EFI=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_GENERIC=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_FUSE_FS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_SQUASHFS=y -CONFIG_UNWINDER_FRAME_POINTER=y diff --git a/board/pc/post-build.sh b/board/pc/post-build.sh deleted file mode 100755 index c76dee267644bd418f9817dca10263da2b75a9f2..0000000000000000000000000000000000000000 --- a/board/pc/post-build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -set -e - -BOARD_DIR=$(dirname "$0") - -# Detect boot strategy, EFI or BIOS -if [ -d "$BINARIES_DIR/efi-part/" ]; then - cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" -else - cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" - - # Copy grub 1st stage to binaries, required for genimage - cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" -fi diff --git a/board/pc/post-image-efi.sh b/board/pc/post-image-efi.sh deleted file mode 100755 index a0df70a6ab4f51c7fa50575990aaa1ba7fc3b091..0000000000000000000000000000000000000000 --- a/board/pc/post-image-efi.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e - -UUID=$(dumpe2fs "$BINARIES_DIR/rootfs.ext2" 2>/dev/null | sed -n 's/^Filesystem UUID: *\(.*\)/\1/p') -sed -i "s/UUID_TMP/$UUID/g" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" -sed "s/UUID_TMP/$UUID/g" board/pc/genimage-efi.cfg > "$BINARIES_DIR/genimage-efi.cfg" -support/scripts/genimage.sh -c "$BINARIES_DIR/genimage-efi.cfg" diff --git a/board/pc/readme.txt b/board/pc/readme.txt deleted file mode 100644 index 41aec50d3617da3b65d312d569e716e34fdf60b2..0000000000000000000000000000000000000000 --- a/board/pc/readme.txt +++ /dev/null @@ -1,72 +0,0 @@ -Bare PC sample config -===================== - -1. Build - - First select the appropriate target you want. - - For BIOS-based boot strategy: - - $ make pc_x86_64_bios_defconfig - - For EFI-based boot strategy on a GPT-partitioned disk: - - $ make pc_x86_64_efi_defconfig - - Add any additional packages required and build: - - $ make - -2. Write the pendrive - - The build process will create a pendrive image called sdcard.img in - output/images. - - Write the image to a pendrive: - - $ dd if=output/images/disk.img of=/dev/sdc; sync - - Once it's done insert it into the target PC and boot. - - Remember that if said PC has another boot device you might need to - select this alternative for it to boot. - - In the case of EFI boot you might need to disable Secure Boot from - the setup as well. - -3. Enjoy - -Emulation in qemu (BIOS) -======================== - -1. Edit grub-bios.cfg - - Since the driver will show up in the virtual machine as /dev/vda, - change board/pc/grub-bios.cfg to use root=/dev/vda2 instead of - root=/dev/sda2. Then rebuild grub2 and the image. - -2. Run the emulation with: - -qemu-system-x86_64 \ - -M pc \ - -drive file=output/images/disk.img,if=virtio,format=raw \ - -net nic,model=virtio \ - -net user - - -Emulation in qemu (UEFI) -======================== - -Run the emulation with: - -qemu-system-x86_64 \ - -M pc \ - -bios \ - -drive file=output/images/disk.img,if=virtio,format=raw \ - -net nic,model=virtio \ - -net user - -Note that needs to point to a valid x86_64 UEFI -firmware image for qemu. It may be provided by your distribution as a -edk2 or OVMF package, in path such as -/usr/share/edk2/ovmf/OVMF_CODE.fd . diff --git a/board/pcengines/apu2/isolinux.cfg b/board/pcengines/apu2/isolinux.cfg deleted file mode 100644 index cb19b5a89e89ed2ad814410b90d6c2a49370bc64..0000000000000000000000000000000000000000 --- a/board/pcengines/apu2/isolinux.cfg +++ /dev/null @@ -1,6 +0,0 @@ -serial 0 115200 -default 1 -label 1 - kernel __KERNEL_PATH__ - initrd __INITRD_PATH__ - append root=/dev/sr0 console=ttyS0,115200n8 diff --git a/board/pcengines/apu2/linux.config b/board/pcengines/apu2/linux.config deleted file mode 100644 index 5e3593b018abaa61a438462c030df6f1707f4140..0000000000000000000000000000000000000000 --- a/board/pcengines/apu2/linux.config +++ /dev/null @@ -1,51 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_CGROUPS=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_SATA_AHCI=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_IGB=y -CONFIG_NE2K_PCI=y -CONFIG_8139CP=y -# CONFIG_WLAN is not set -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_SOUND=y -CONFIG_SND=y -# CONFIG_SND_PCI is not set -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_UNWINDER_FRAME_POINTER=y diff --git a/board/pcengines/apu2/readme.txt b/board/pcengines/apu2/readme.txt deleted file mode 100644 index 9da1b802cc0f28463049c5dfe3599922f2f8a877..0000000000000000000000000000000000000000 --- a/board/pcengines/apu2/readme.txt +++ /dev/null @@ -1,40 +0,0 @@ -Intro -===== - -This is a board configuration for the apu2 platform by PC Engines. - -https://pcengines.ch/apu2.htm - -Since the apu2 does not have any graphical output, the default configuration -will ensure that the kernel output as well as the login prompt will be sent to -the serial port. - -How to build -============ - -The provided defconfig creates a hybrid isolinux image that can be booted from -either an USB stick or a CD. - - $ make pcengines_apu2_defconfig - $ make - -How to write to an USB stick -============================ - -Once the build process is finished you will have an image -called "rootfs.iso9660" in the output/images/ directory. - -Copy the bootable "rootfs.iso9660" onto the USB stick with "dd": - - $ sudo dd if=output/images/rootfs.iso9660 of=/dev/sdX bs=1M conv=fsync - $ sudo sync - -How to connect to the apu2 -========================== - -Connect to the DB9 serial port of the apu2 board (either directly or through a -USB adapter) with a baudrate of 115200. - -For example with miniterm (part of pyserial): - - $ miniterm.py -f direct /dev/ttyUSB0 115200 diff --git a/board/phytium/common/busybox_init_overlay/etc/inittab b/board/phytium/common/busybox_init_overlay/etc/inittab new file mode 100644 index 0000000000000000000000000000000000000000..c7f495229427597ac70a9c2e4c6272b58d1c887f --- /dev/null +++ b/board/phytium/common/busybox_init_overlay/etc/inittab @@ -0,0 +1,41 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +::sysinit:/bin/mount -t proc proc /proc +::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mkdir -p /dev/pts /dev/shm +::sysinit:/bin/mount -a +::sysinit:/bin/mkdir -p /run/lock/subsys +::sysinit:/sbin/swapon -a +null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd +null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin +null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout +null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr +::sysinit:/bin/hostname -F /etc/hostname +# now run any rc scripts +::sysinit:/etc/init.d/rcS + +# Put a getty on the serial port +ttyAMA1::respawn:/sbin/getty -L ttyAMA1 115200 vt100 # GENERIC_SERIAL +tty1::respawn:/sbin/getty 38400 tty1 + +# Stuff to do for the 3-finger salute +#::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +::shutdown:/etc/init.d/rcK +::shutdown:/sbin/swapoff -a +::shutdown:/bin/umount -a -r diff --git a/board/phytium/common/busybox_initrd_overlay/etc/inittab b/board/phytium/common/busybox_initrd_overlay/etc/inittab new file mode 100644 index 0000000000000000000000000000000000000000..40bfc0dbb3b34c3f58c375265299e4f74a1a81ea --- /dev/null +++ b/board/phytium/common/busybox_initrd_overlay/etc/inittab @@ -0,0 +1,42 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# Copyright 2021 Phytium +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mkdir -p /dev/pts /dev/shm +::sysinit:/bin/mount -a +::sysinit:/sbin/swapon -a +null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd +null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin +null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout +null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr +::sysinit:/bin/hostname -F /etc/hostname +# now run any rc scripts +::sysinit:/etc/init.d/rcS + +# Put a getty on the serial port +#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL +ttyAMA0::respawn:/sbin/getty -L ttyAMA0 115200 vt100 +ttyAMA1::respawn:/sbin/getty -L ttyAMA1 115200 vt100 +tty1::respawn:/sbin/getty 38400 tty1 + +# Stuff to do for the 3-finger salute +#::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +::shutdown:/etc/init.d/rcK +::shutdown:/sbin/swapoff -a +::shutdown:/bin/umount -a -r diff --git a/board/phytium/common/busybox_initrd_overlay/init b/board/phytium/common/busybox_initrd_overlay/init new file mode 100755 index 0000000000000000000000000000000000000000..62977750f18218681596e410acd44c37243eacd8 --- /dev/null +++ b/board/phytium/common/busybox_initrd_overlay/init @@ -0,0 +1,163 @@ +#!/bin/sh +# Copyright (C) 2011 O.S. Systems Software LTDA. +# Licensed on MIT +# +# Provides the API to be used by the initramfs modules +# +# Modules need to provide the following functions: +# +# _enabled : check if the module ought to run (return 1 to skip) +# _run : do what is need +# +# Boot parameters are available on environment in the as: +# +# 'foo=value' as 'bootparam_foo=value' +# 'foo' as 'bootparam_foo=true' +# 'foo.bar[=value] as 'foo_bar=[value|true]' + +# Register a function to be called before running a module +# The hook is called as: +# pre +add_module_pre_hook() { + MODULE_PRE_HOOKS="$MODULE_PRE_HOOKS $1" +} + +# Register a function to be called after running a module +# The hook is called as: +# post +add_module_post_hook() { + MODULE_POST_HOOKS="$MODULE_POST_HOOKS $1" +} + +# Load kernel module +load_kernel_module() { + if modprobe $1 >/dev/null 2>&1; then + info "Loaded module $1" + else + debug "Failed to load module $1" + fi +} + +# Prints information +msg() { + echo "$@" >/dev/console +} + +# Prints information if verbose bootparam is used +info() { + [ -n "$bootparam_verbose" ] && echo "$@" >/dev/console +} + +# Prints information if debug bootparam is used +debug() { + [ -n "$bootparam_debug" ] && echo "DEBUG: $@" >/dev/console +} + +# Prints a message and start a endless loop +fatal() { + echo $1 >/dev/console + echo >/dev/console + + if [ -n "$bootparam_init_fatal_sh" ]; then + sh + else + while [ "true" ]; do + sleep 3600 + done + fi +} + +# Variables shared amoung modules +ROOTFS_DIR="/rootfs" # where to do the switch root +MODULE_PRE_HOOKS="" # functions to call before running each module +MODULE_POST_HOOKS="" # functions to call after running each module +MODULES_DIR=/init.d # place to look for modules +EFI_DIR=/sys/firmware/efi # place to store device firmware information + +# make mount stop complaining about missing /etc/fstab +touch /etc/fstab + +# initialize /proc, /sys, /run/lock and /var/lock +mkdir -p /proc /sys /run/lock /var/lock +mount -t proc proc /proc +mount -t sysfs sysfs /sys + +if [ -d $EFI_DIR ];then + mount -t efivarfs none /sys/firmware/efi/efivars +fi + +# populate bootparam environment +for p in `cat /proc/cmdline`; do + if [ -n "$quoted" ]; then + value="$value $p" + if [ "`echo $p | sed -e 's/\"$//'`" != "$p" ]; then + eval "bootparam_${quoted}=${value}" + unset quoted + fi + continue + fi + + opt=`echo $p | cut -d'=' -f1` + opt=`echo $opt | sed -e 'y/.-/__/'` + if [ "`echo $p | cut -d'=' -f1`" = "$p" ]; then + eval "bootparam_${opt}=true" + else + value="`echo $p | cut -d'=' -f2-`" + if [ "`echo $value | sed -e 's/^\"//'`" != "$value" ]; then + quoted=${opt} + continue + fi + eval "bootparam_${opt}=\"${value}\"" + fi +done + +# use /dev with devtmpfs +if grep -q devtmpfs /proc/filesystems; then + mkdir -p /dev + mount -t devtmpfs devtmpfs /dev +else + if [ ! -d /dev ]; then + fatal "ERROR: /dev doesn't exist and kernel doesn't has devtmpfs enabled." + fi +fi + +mkdir $ROOTFS_DIR + +# Load and run modules +for m in $MODULES_DIR/*; do + # Skip backup files + if [ "`echo $m | sed -e 's/\~$//'`" != "$m" ]; then + continue + fi + + module=`basename $m | cut -d'-' -f 2` + debug "Loading module $module" + + # pre hooks + for h in $MODULE_PRE_HOOKS; do + debug "Calling module hook (pre): $h" + eval "$h pre $module" + debug "Finished module hook (pre): $h" + done + + # process module + . $m + + if ! eval "${module}_enabled"; then + debug "Skipping module $module" + continue + fi + + debug "Running ${module}_run" + eval "${module}_run" + + # post hooks + for h in $MODULE_POST_HOOKS; do + debug "Calling module hook (post): $h" + eval "$h post $module" + debug "Finished module hook (post): $h" + done +done + +# Catch all +fatal "ERROR: Initramfs failed to initialize the system." diff --git a/board/phytium/common/busybox_initrd_overlay/init.d/01-udev b/board/phytium/common/busybox_initrd_overlay/init.d/01-udev new file mode 100755 index 0000000000000000000000000000000000000000..4898b89246346815d295b5b1c1a0182159e0ff0f --- /dev/null +++ b/board/phytium/common/busybox_initrd_overlay/init.d/01-udev @@ -0,0 +1,50 @@ +#!/bin/sh +# Copyright (C) 2011, 2012 O.S. Systems Software LTDA. +# Licensed on MIT + +udev_shutdown_hook_handler() { + status=$1 + module=$2 + if [ "$status" = "pre" ] && [ "$module" = "finish" ]; then + udevadm settle + killall `basename $_UDEV_DAEMON` 2>/dev/null + fi +} + +udev_daemon() { + OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd" + + for o in $OPTIONS; do + if [ -x "$o" ]; then + echo $o + return 0 + fi + done + + return 1 +} + +_UDEV_DAEMON=`udev_daemon` + +udev_enabled() { + if [ -z "$_UDEV_DAEMON" ]; then + msg "WARNING: Cannot find the udev daemon; daemon will not be started in initramfs." + return 1 + fi + + return 0 +} + +udev_run() { + add_module_pre_hook "udev_shutdown_hook_handler" + + mkdir -p /run + mkdir -p /var/run + + # Workaround if console=null, systemd-udevd needs valid stdin, stdout and stderr to work + sh -c "exec 4< /dev/console" || { exec 0> /dev/null; exec 1> /dev/null; exec 2> /dev/null; } + + $_UDEV_DAEMON --daemon + udevadm trigger --action=add + udevadm settle +} diff --git a/board/phytium/common/busybox_initrd_overlay/init.d/90-rootfs b/board/phytium/common/busybox_initrd_overlay/init.d/90-rootfs new file mode 100755 index 0000000000000000000000000000000000000000..10b95831721a6fe5829e32f25c66226445301644 --- /dev/null +++ b/board/phytium/common/busybox_initrd_overlay/init.d/90-rootfs @@ -0,0 +1,66 @@ +#!/bin/sh +# Copyright (C) 2011 O.S. Systems Software LTDA. +# Licensed on MIT + +rootfs_enabled() { + return 0 +} + +rootfs_run() { + if [ -z "$ROOTFS_DIR" ]; then + return + fi + C=0 + delay=${bootparam_rootdelay:-1} + timeout=${bootparam_roottimeout:-5} + while ! mountpoint -q $ROOTFS_DIR; do + if [ $(( $C * $delay )) -gt $timeout ]; then + fatal "root '$bootparam_root' doesn't exist or does not contain a /dev." + fi + + if [ -n "$bootparam_root" ]; then + debug "No e2fs compatible filesystem has been mounted, mounting $bootparam_root..." + + if [ "`echo ${bootparam_root} | cut -c1-5`" = "UUID=" ]; then + root_uuid=`echo $bootparam_root | cut -c6-` + bootparam_root="/dev/disk/by-uuid/$root_uuid" + elif [ "`echo ${bootparam_root} | cut -c1-9`" = "PARTUUID=" ]; then + root_partuuid=`echo $bootparam_root | cut -c10-` + bootparam_root="/dev/disk/by-partuuid/$root_partuuid" + elif [ "`echo ${bootparam_root} | cut -c1-10`" = "PARTLABEL=" ]; then + root_partlabel=`echo $bootparam_root | cut -c11-` + bootparam_root="/dev/disk/by-partlabel/$root_partlabel" + elif [ "`echo ${bootparam_root} | cut -c1-6`" = "LABEL=" ]; then + root_label=`echo $bootparam_root | cut -c7-` + bootparam_root="/dev/disk/by-label/$root_label" + fi + + if [ -e "$bootparam_root" ]; then + flags="" + if [ -n "$bootparam_ro" ] && ! echo "$bootparam_rootflags" | grep -w -q "ro"; then + if [ -n "$bootparam_rootflags" ]; then + bootparam_rootflags="$bootparam_rootflags," + fi + bootparam_rootflags="${bootparam_rootflags}ro" + fi + if [ -n "$bootparam_rootflags" ]; then + flags="$flags -o$bootparam_rootflags" + fi + if [ -n "$bootparam_rootfstype" ]; then + flags="$flags -t$bootparam_rootfstype" + fi + mount $flags $bootparam_root $ROOTFS_DIR + if mountpoint -q $ROOTFS_DIR; then + break + else + # It is unlikely to change, but keep trying anyway. + # Perhaps we pick a different device next time. + umount $ROOTFS_DIR + fi + fi + fi + debug "Sleeping for $delay second(s) to wait root to settle..." + sleep $delay + C=$(( $C + 1 )) + done +} diff --git a/board/phytium/common/busybox_initrd_overlay/init.d/99-finish b/board/phytium/common/busybox_initrd_overlay/init.d/99-finish new file mode 100755 index 0000000000000000000000000000000000000000..866bb1ccae3d605b9985d655b3759e887a1e6535 --- /dev/null +++ b/board/phytium/common/busybox_initrd_overlay/init.d/99-finish @@ -0,0 +1,28 @@ +#!/bin/sh +# Copyright (C) 2011 O.S. Systems Software LTDA. +# Licensed on MIT + +finish_enabled() { + return 0 +} + +finish_run() { + if [ -n "$ROOTFS_DIR" ]; then + if [ ! -d $ROOTFS_DIR/dev ]; then + fatal "ERROR: There's no '/dev' on rootfs." + fi + + info "Switching root to '$ROOTFS_DIR'..." + + debug "Moving /dev, /proc and /sys onto rootfs..." + + mount --move /dev $ROOTFS_DIR/dev + #mount --move /proc $ROOTFS_DIR/proc + mount --move /sys $ROOTFS_DIR/sys + + cd $ROOTFS_DIR + exec switch_root -c /dev/console $ROOTFS_DIR ${bootparam_init:-/sbin/init} + else + debug "No rootfs has been set" + fi +} diff --git a/board/phytium/common/debian-additional_packages_list b/board/phytium/common/debian-additional_packages_list new file mode 100644 index 0000000000000000000000000000000000000000..2d3d874eee2fc2b4d721584c496077c1fdeb5e70 --- /dev/null +++ b/board/phytium/common/debian-additional_packages_list @@ -0,0 +1,9 @@ +# additional packages list for SDK main userland gathered from main repo +additional_full_packages_list=" python3-pygame python3-tk thonny python3-pgzero python3-serial debian-reference-en dillo python3-pip python3-numpy pypy alacarte rc-gui sense-hat tree libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr geany python3-spidev python3-twython python3-smbus python3-flask pprompt piwiz" + + +additional_desktop_packages_list="tigervnc-standalone-server vlc rfkill blueman bluetooth gstreamer1.0-tools fbset" + +# for Lite userland gathered from main repo +additional_base_packages_list="systemd-timesyncd ssh sudo psmisc strace ncdu parted build-essential bash-completion gdb pkg-config python-is-python3 v4l-utils python3-gpiozero avahi-daemon lua5.1 luajit hardlink curl fake-hwclock nfs-common usbutils dosfstools dphys-swapfile apt-listchanges usb-modeswitch libmtp-runtime rsync htop man-db rng-tools ssh-import-id ethtool ntfs-3g pciutils udisks2 zip p7zip-full file cifs-utils mkvtoolnix wpasupplicant wireless-tools net-tools vim locales" + diff --git a/board/phytium/common/debian-archive-bookworm-stable.gpg b/board/phytium/common/debian-archive-bookworm-stable.gpg new file mode 100644 index 0000000000000000000000000000000000000000..652161985275fbc43e2cfffab7f452e5ce1cdb96 Binary files /dev/null and b/board/phytium/common/debian-archive-bookworm-stable.gpg differ diff --git a/board/phytium/common/debian-archive-bullseye-stable.gpg b/board/phytium/common/debian-archive-bullseye-stable.gpg new file mode 100644 index 0000000000000000000000000000000000000000..8ecabc7d2d689ce33591e59920f3ecb2cdcd1fbe Binary files /dev/null and b/board/phytium/common/debian-archive-bullseye-stable.gpg differ diff --git a/board/phytium/common/debian-package-installer b/board/phytium/common/debian-package-installer new file mode 100755 index 0000000000000000000000000000000000000000..b7448dd69ad4914a47837dfc54696dd66acd27b4 --- /dev/null +++ b/board/phytium/common/debian-package-installer @@ -0,0 +1,150 @@ +#!/bin/bash + +DISTROTYPE=$3 +DISTROSCALE=$5 +tarch=$1 + +do_distrorfs_second_stage() { + [ -f /etc/buildinfo -a ! -f /proc/uptime ] && return + packages_list=/usr/aptpkg/$4 + . $packages_list + + echo "1." $1 + echo "2." $2 + echo "3." $3 + echo "4." $4 + echo "5." $5 + echo "6." $6 + if [ ! -d /home/user ]; then + useradd -m -d /home/user -s /bin/bash user + gpasswd -a user sudo + echo -e 'root\nroot\n' | passwd root + echo -e 'user\nuser\n' | passwd user + usermod -aG sudo user + chown -R user:user /home/user + fi + if [ -d /etc/shadow ]; then + cd /etc + chmod u=rw,g=r,o=r shadow + fi + if [ -e /home/user/.bashrc ]; then + echo "PATH=$PATH:/usr/sbin " >> /home/user/.bashrc + fi + + # set default hostname + echo localhost > /etc/hostname + + # set apt sources list to install additional packages + asl=/etc/apt/sources.list + rm -f $asl + cat <<-EOF > $asl + deb http://mirrors.tuna.tsinghua.edu.cn/debian/ $2 main contrib non-free non-free-firmware + deb http://mirrors.tuna.tsinghua.edu.cn/debian/ $2-updates main contrib non-free non-free-firmware + deb http://mirrors.tuna.tsinghua.edu.cn/debian/ $2-backports main contrib non-free non-free-firmware + deb http://mirrors.tuna.tsinghua.edu.cn/debian-security $2-security main contrib non-free non-free-firmware + EOF + chmod +777 /tmp + apt update + DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ + apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" update || exit 1 + + DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ + apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade || exit 1 + echo upgraded + + export LC_ALL=C LANGUAGE=C LANG=C + + echo installing base packages: $pkglist + for pkg in $additional_base_packages_list; do + echo Installing $pkg ... + DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install $pkg || exit 1 + done + + + echo installed additional packages. + if [ $6 = desktop ]; then + for pkg in task-xfce-desktop arctica-greeter; do + DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true + rm -rf /usr/share/arctica-greeter/backgrounds/arctica-greeter.png || true + rm -rf /usr/share/arctica-greeter/logo.png || true + done + usermod -a -G video,render,audio user + + ln -sf /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service + sed -i "s/gdm3/lightdm/" /etc/X11/default-display-manager + echo '[SeatDefaults]' >> /etc/lightdm/lightdm.conf + echo 'greeter-session=arctica-greeter' >> /etc/lightdm/lightdm.conf + echo 'user-session=xfce' >> /etc/lightdm/lightdm.conf + + echo installing desktop packages list packages: $pkglist + for pkg in $additional_desktop_packages_list; do + echo Installing $pkg ... + DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install $pkg || exit 1 + done + echo 'root' >> /etc/deniedusers + chmod 600 /etc/deniedusers + echo 'auth required pam_listfile.so onerr=succeed item=user sense=deny file=/etc/deniedusers' >> /etc/pam.d/lightdm + + echo remove packages. + DEBIAN_FRONTEND=noninteractive apt-get -y remove --purge parole || exit 1 + fi + + # set timezone + echo "Asia/Shanghai" > /etc/timezone + rm /etc/localtime + dpkg-reconfigure -f noninteractive tzdata + + # set kernel loglevel + sed -i 's/#kernel.printk = 3 4 1 3/kernel.printk = 4 4 1 7/' /etc/sysctl.d/99-sysctl.conf + + if [ $5 = 'phytiumpi' ]; then + echo 'defaults.pcm.!card phytiumpe220xi2' >> /etc/asound.conf + echo 'defaults.ctl.!card phytiumpe220xi2' >> /etc/asound.conf + fi + + # clean cached packages + apt-get clean + + + if [ $1 = arm64 ]; then + sysarch=aarch64-linux-gnu + elif [ $1 = armhf ]; then + sysarch=arm-linux-gnueabihf + fi + + + [ -f /usr/bin/sudo -a ! -u /usr/bin/sudo ] && chmod +s /usr/bin/sudo + [ -d /var/cache/man ] && chown -R man:root /var/cache/man + [ -d /var/lib/sddm ] && chown -R sddm:sddm /var/lib/sddm + + systemctl disable ModemManager.service + systemctl disable udisks2.service + systemctl disable NetworkManager-wait-online.service + systemctl disable dphys-swapfile.service + systemctl disable bluetooth.service + + # some shared libraries locate in /lib/aarch64-linux-gnu(or /lib/arm-linux-gnueabihf) and /usr/local/lib + echo export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib/$sysarch:/lib/$sysarch >> /etc/profile + + tmpusr=`ls -t /home | cut -d' ' -f1 | head -1` + [ -d /home/$tmpusr -a "$tmpusr" != "user" ] && rm -rf /home/$tmpusr + + test -c /dev/pts/0 && umount /dev/pts + test -f /proc/uptime && umount /proc + + echo APT Packages List: > /etc/packages.list + echo -e "Package\t Version\t Download-Size\t APT-Sources" >> /etc/packages.list + apt list --installed | cut -d/ -f1 | xargs apt show | \ + grep -E '^Package:|^APT-Sources:|^Version:|^Download-Size:' > packagelist + lnum=`wc -l packagelist |cut -d' ' -f1` + for((i=1; i<$lnum;)); do + t=$[ $i + 3 ] + sed -n "${i},${t}p" packagelist | grep -E 'Package:|APT-Sources:|Version:|Download-Size:' | \ + tr "\n" " " | cut -d' ' -f2,4,6,7,9,10 >> /etc/packages.list + i=$[ $i + 4 ] + done + rm -f packagelist +} + +do_distrorfs_second_stage $1 $2 $3 $4 $5 $6 +# end second stage installing diff --git a/board/phytium/common/linux-6.6/scripts/asn1_compiler b/board/phytium/common/linux-6.6/scripts/asn1_compiler new file mode 100755 index 0000000000000000000000000000000000000000..2a7ae6f4da51739e7a0acf1c07bf8b938c6119ec Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/asn1_compiler differ diff --git a/board/phytium/common/linux-6.6/scripts/basic/fixdep b/board/phytium/common/linux-6.6/scripts/basic/fixdep new file mode 100755 index 0000000000000000000000000000000000000000..9188a1655a6ef56f38aa7ed396f101a4a1438e7e Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/basic/fixdep differ diff --git a/board/phytium/common/linux-6.6/scripts/dtc/dtc b/board/phytium/common/linux-6.6/scripts/dtc/dtc new file mode 100755 index 0000000000000000000000000000000000000000..f16c5b069860543584071f6a100a5994655e0f1e Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/dtc/dtc differ diff --git a/board/phytium/common/linux-6.6/scripts/dtc/fdtoverlay b/board/phytium/common/linux-6.6/scripts/dtc/fdtoverlay new file mode 100755 index 0000000000000000000000000000000000000000..a2c4c8a775b14d72353a40994c55002193626cf2 Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/dtc/fdtoverlay differ diff --git a/board/phytium/common/linux-6.6/scripts/kallsyms b/board/phytium/common/linux-6.6/scripts/kallsyms new file mode 100755 index 0000000000000000000000000000000000000000..e7021c5c9aea035acdff4fdd0ddf8396a24cac5e Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/kallsyms differ diff --git a/board/phytium/common/linux-6.6/scripts/kconfig/conf b/board/phytium/common/linux-6.6/scripts/kconfig/conf new file mode 100755 index 0000000000000000000000000000000000000000..8e21f559431ec926cfa0a75766ab54a2fd46af07 Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/kconfig/conf differ diff --git a/board/phytium/common/linux-6.6/scripts/mod/mk_elfconfig b/board/phytium/common/linux-6.6/scripts/mod/mk_elfconfig new file mode 100755 index 0000000000000000000000000000000000000000..f992efcdd16af9ef04786719353e06eb59b08e86 Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/mod/mk_elfconfig differ diff --git a/board/phytium/common/linux-6.6/scripts/mod/modpost b/board/phytium/common/linux-6.6/scripts/mod/modpost new file mode 100755 index 0000000000000000000000000000000000000000..aca799ff9a590306ec1b69c0c66ef3a7345b7986 Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/mod/modpost differ diff --git a/board/phytium/common/linux-6.6/scripts/sorttable b/board/phytium/common/linux-6.6/scripts/sorttable new file mode 100755 index 0000000000000000000000000000000000000000..bc39e3ade8972f5d289be32b5ba6e92586c7ddd6 Binary files /dev/null and b/board/phytium/common/linux-6.6/scripts/sorttable differ diff --git a/board/phytium/common/post-build.sh b/board/phytium/common/post-build.sh new file mode 100755 index 0000000000000000000000000000000000000000..22a57bc745429b8687e29099e81b0ae991047105 --- /dev/null +++ b/board/phytium/common/post-build.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +main() +{ + # $1 - the current rootfs directory, skeleton-custom or target + if grep -Eq "^BR2_PACKAGE_ROOTFS_CHOWN=y$" ${BR2_CONFIG}; then + ln -sf /lib/systemd/system/systemd-rootfs-chown.service $1/etc/systemd/system/multi-user.target.wants/systemd-rootfs-chown.service + fi + + if grep -Eq "^BR2_PACKAGE_PHYTIUM_OPTEE=y$" ${BR2_CONFIG}; then + # add tee-supplicant systemd service + cp -dpf package/phytium-optee/phytium-tee-supplicant.service $1/lib/systemd/system/phytium-tee-supplicant.service + # default set start tee-supplicant + ln -sf /lib/systemd/system/phytium-tee-supplicant.service $1/etc/systemd/system/sysinit.target.wants/phytium-tee-supplicant.service + fi + + # change the priority order of the shared library directories + if ! grep -q "/usr/local/lib" $1/etc/ld.so.conf; then + sed -i '1 i /usr/local/lib' $1/etc/ld.so.conf + sudo chroot $1 ldconfig + sudo chown -R $USER:$GROUPS $1/etc/ld.so.cache + sudo chown -R $USER:$GROUPS $1/var/cache/ldconfig/aux-cache + fi + + exit $? +} + +main $@ diff --git a/board/phytium/common/post-custom-skeleton-debian.sh b/board/phytium/common/post-custom-skeleton-debian.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8e726f54e422ad40e0948722ab7e75942f0606d --- /dev/null +++ b/board/phytium/common/post-custom-skeleton-debian.sh @@ -0,0 +1,216 @@ +#!/usr/bin/env bash + +trap recover_from_ctrl_c INT + +recover_from_ctrl_c() +{ + do_recover_from_error "Interrupt caught ... exiting" + exit 1 +} + +do_recover_from_error() +{ + sudo chroot $RFSDIR /bin/umount /proc > /dev/null 2>&1; + sudo chroot $RFSDIR /bin/umount /sys > /dev/null 2>&1; + USER=$(id -u); GROUPS=${GROUPS}; \ + sudo chroot $RFSDIR /bin/chown -R ${USER}:${GROUPS} / > /dev/null 2>&1; + echo -e "\n************" + echo $1 + echo -e " Please running the below commands before re-compiling:" + echo -e " rm -rf $RFSDIR" + echo -e " make skeleton-custom-dirclean" + echo -e " Or\n make skeleton-custom-dirclean O=" +} + +do_distrorfs_first_stage() { +# $1: platform architecture, arm64 +# $2: rootfs directory, output/build/skeleton-custom +# $3: board/common/additional_packages_list +# $4: focal +# $5: debian + + DISTROTYPE=$5 + [ -z "$RFSDIR" ] && RFSDIR=$2 + [ -z $RFSDIR ] && echo No RootFS exist! && return + [ -f $RFSDIR/etc/.firststagedone ] && echo $RFSDIR firststage exist! && return + [ -f /etc/.firststagedone -a ! -f /proc/uptime ] && return + + if [ $1 = arm64 ]; then + tgtarch=aarch64 + elif [ $1 = armhf ]; then + tgtarch=arm + fi + + qemu-${tgtarch}-static -version > /dev/null 2>&1 + if [ "x$?" != "x0" ]; then + echo qemu-${tgtarch}-static not found + exit 1 + fi + + debootstrap --version > /dev/null 2>&1 + if [ "x$?" != "x0" ]; then + echo debootstrap not found + exit 1 + fi + + sudo chown 0:0 $RFSDIR + sudo mkdir -p $2/usr/local/bin + sudo cp -f board/phytium/common/debian-package-installer $RFSDIR/usr/local/bin/ + packages_list=board/phytium/common/$3 + [ ! -f $packages_list ] && echo $packages_list not found! && exit 1 + + echo additional packages list: $packages_list + if [ ! -d $RFSDIR/usr/aptpkg ]; then + sudo mkdir -p $RFSDIR/usr/aptpkg + sudo cp -f $packages_list $RFSDIR/usr/aptpkg + fi + + sudo mkdir -p $RFSDIR/etc + sudo cp -f /etc/resolv.conf $RFSDIR/etc/resolv.conf + + if [ ! -d $RFSDIR/debootstrap ]; then + echo "testdeboot" + export LANG=en_US.UTF-8 + sudo debootstrap --keyring=board/phytium/common/debian-archive-$4-stable.gpg --arch=$1 --foreign $4 $RFSDIR https://mirrors.tuna.tsinghua.edu.cn/debian/ + + [ $1 != amd64 -a ! -f $RFSDIR/usr/bin/qemu-${tgtarch}-static ] && sudo cp $(which qemu-${tgtarch}-static) $RFSDIR/usr/bin + echo "installing for second-stage ..." + DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ + sudo chroot $RFSDIR /debootstrap/debootstrap --variant=minbase --second-stage + if [ "x$?" != "x0" ]; then + do_recover_from_error "debootstrap failed in second-stage" + exit 1 + fi + + echo "configure ... " + DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ + sudo chroot $RFSDIR dpkg --configure -a + + fi + sudo chroot $RFSDIR debian-package-installer $1 $4 $5 $3 $6 $7 + if [ "x$?" != "x0" ]; then + do_recover_from_error "debian-package-installer failed" + exit 1 + fi + + # sudo chroot $RFSDIR systemctl enable systemd-rootfs-resize + file_s=$(sudo find $RFSDIR -perm -4000) + sudo chown -R $USER:$GROUPS $RFSDIR + for f in $file_s; do + sudo chmod u+s $f + done + sudo chmod u+s $RFSDIR/sbin/unix_chkpwd + + if [ $4 = bullseye ]; then + echo debian,11 | tee $RFSDIR/etc/.firststagedone 1>/dev/null + elif [ $4 = bookworm ]; then + echo debian,12 | tee $RFSDIR/etc/.firststagedone 1>/dev/null + + fi + setup_distribution_info $5 $2 $1 $4 + + #rm $RFSDIR/etc/apt/apt.conf + sudo rm $RFSDIR/dev/* -rf +} + +setup_distribution_info () { + DISTROTYPE=$1 + RFSDIR=$2 + tarch=$3 + distro=$4 + distroname=`head -1 $RFSDIR/etc/.firststagedone | cut -d, -f1` + distroversion=`head -1 $RFSDIR/etc/.firststagedone | cut -d, -f2` + releaseversion="$distroname (based on $DISTROTYPE-$distroversion-base) ${tarch}" + releasestamp="Build: `date +'%Y-%m-%d %H:%M:%S'`" + echo $releaseversion > $RFSDIR/etc/buildinfo + sed -i "1 a\\$releasestamp" $RFSDIR/etc/buildinfo + if grep U-Boot $RFSDIR/etc/.firststagedone 1>$RFSDIR/dev/null 2>&1; then + tail -1 $RFSDIR/etc/.firststagedone >> $RFSDIR/etc/buildinfo + fi + + if [ $DISTROTYPE = debian ]; then + echo Phytium Pi > $RFSDIR/etc/issue + echo phytium Pi > $RFSDIR/etc/issue.net + + tgtfile=$RFSDIR/etc/lsb-release + echo DISTRIB_ID=Phytium > $tgtfile + echo DISTRIB_RELEASE=1.0 >> $tgtfile + echo DISTRIB_CODENAME=1.0 >> $tgtfile + echo DISTRIB_DESCRIPTION="Phytium Pi OS" >> $tgtfile + + tgtfile=$RFSDIR/etc/update-motd.d/00-header + echo '#!/bin/sh' > $tgtfile + echo '[ -r /etc/lsb-release ] && . /etc/lsb-release' >> $tgtfile + echo 'printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"' >> $tgtfile + + tgtfile=$RFSDIR/etc/update-motd.d/10-help-text + echo '#!/bin/sh' > $tgtfile + echo 'printf "\n"' >> $tgtfile + echo 'printf " * Support: https://www.phytium.com.cn\n"' >> $tgtfile + + tgtfile=$RFSDIR/usr/lib/os-release + echo NAME=\"$distroname\" > $tgtfile + echo VERSION=${DISTROTYPE}-$distroversion >> $tgtfile + echo ID=Phytium >> $tgtfile + echo VERSION_ID=$distroversion >> $tgtfile + echo PRETTY_NAME=\" Phytium Pi\" >> $tgtfile + echo VERSION_CODENAME=$distro >> $tgtfile + + rm -f $RFSDIR/etc/default/motd-news + rm -f $RFSDIR/etc/update-motd.d/50-motd-news + fi +} + +plat_name() +{ + if grep -Eq "^BR2_TARGET_GENERIC_HOSTNAME=\"phytiumpi\"$" ${BR2_CONFIG}; then + echo "phytiumpi" + fi +} + +arch_type() +{ + if grep -Eq "^BR2_aarch64=y$" ${BR2_CONFIG}; then + echo "arm64" + elif grep -Eq "^BR2_arm=y$" ${BR2_CONFIG}; then + echo "armhf" + fi +} + +full_rtf() +{ + if grep -Eq "^BR2_PACKAGE_ROOTFS_DESKTOP=y$" ${BR2_CONFIG}; then + echo "desktop" + else + echo "base" + fi +} + +debian_distro() +{ + if grep -Eq "^BR2_ROOTFS_SKELETON_DEBIAN_BULLSEYE=y$" ${BR2_CONFIG}; then + echo "bullseye" + else + echo "bookworm" + fi +} + +main() +{ + # $1 - the current rootfs directory, skeleton-custom or target + rm -rf $1/* + + # run first stage do_distrorfs_first_stage arm64 ${1} ubuntu-additional_packages_list focal ubuntu + do_distrorfs_first_stage $(arch_type) ${1} debian-additional_packages_list $(debian_distro) debian $(plat_name) $(full_rtf) + + # change the hostname to "platforms-name" + echo $(plat_name) > ${1}/etc/hostname + + if ! grep -q "$(plat_name)" ${1}/etc/hosts; then + echo 127.0.0.1 $(plat_name) | sudo tee -a ${1}/etc/hosts 1>/dev/null + fi + + exit $? +} + +main $@ diff --git a/board/phytium/dd_and_checkMD5.sh b/board/phytium/dd_and_checkMD5.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9456dd37a66b18087163373bf0b653fb5be0679 --- /dev/null +++ b/board/phytium/dd_and_checkMD5.sh @@ -0,0 +1,125 @@ +#!/bin/bash + +# Phytium phytiumpi burning script +# +# Copyright (c) 2023-2024 Phytium Technology Co., Ltd. + +# dd_and_checkMD5.sh - To dd sdcard.img into the disk and verify the MD5 valuses that +# ensure sdcard.img is correctly written into the disk. +# dd_and_checkMD5.sh is suitable for the phytiumpi file system compiled from Phytium-Pi-OS. +# Phytium-Pi-OS Repository address: https://gitlab.phytium.com.cn/embedded/linux/phytiumpios. + +usage() { + echo "Usage: sudo ./board/phytium/dd_and_checkMD5.sh [Disk_name ] [Type_of_file_system ]" + echo " Disk_name: the disk you want to dd to. Such as /dev/sdb" + echo " Type_of_file_system:" + echo " desktop: phytium_xxx_desktop_defconfig from phytium-linux-buildroot or Phytium-Pi-OS" + echo " no_desktop: phytium_defconfig from Phytium-Pi-OS" + echo " For examples: $0 /dev/sdb desktop" +} + +while true; do + case $1 in + "-h") + usage + exit + ;; + *) + break + ;; + esac +done + +check_args() +{ + if [[ ! $1 =~ ^/dev/sd[b-z]$ ]]; then + echo "Parameter 1 does not meet the requirements." + exit 1 + fi + + if [[ $2 != "desktop" && $2 != "no_desktop" ]]; then + echo "Parameter 2 does not meet the requirements." + exit 1 + fi +} + +check_disk_device() +{ + + correct_permission="brw-rw----" + current_permission=$(stat -c %A $1) + + max_attemps=3 + delay=1 + attemp=1 + + if [ "$?" != "0" ]; then + echo "error: no $1 found!" + exit 1 + fi + + if [ "$current_permission" != "$correct_permission" ]; then + echo "$1 node error, please reboot your computer" + exit 1 + fi + + if mount | grep "$1" &> /dev/null; then + while [ $attemp -le $max_attemps ] + do + umount $11 > /dev/null 2>&1 + if [ $? -eq 0 ]; then + break + else + if [ $attemp -lt $max_attemps ]; then + echo "umount $11 failed. Retrying in $delay second..." + sleep $delay + else + echo "Failed to umount $11, $(umount -v $11 2>&1)" + exit 1 + fi + fi + attemp=$((attemp+1)) + done + fi +} + +# The size of phytiumpi file system with or without a desktop may vary. +if [ "$2" == "desktop" ]; then + count=5184 +elif [ "$2" == "no_desktop" ]; then + count=2112 +fi + +main() +{ + check_args $1 $2 + check_disk_device $1 + echo "----------------------------$(date)-----------------------" >> dd.log + dd if=./output/images/sdcard.img of=$1 bs=1M count=$count >> dd.log 2>&1 + if [ "$?" != "0" ]; then + echo "dd to $1 failed" + exit 1 + fi + + dd if=$1 of=tmp.img bs=1M count=$count >> dd.log 2>&1 + if [ "$?" != "0" ]; then + echo "dd to tmp.img failed" + exit 1 + fi + + pre_md5value=$(md5sum ./output/images/sdcard.img | awk '{print $1}') && echo "sdcard_img_md5value is $pre_md5value" >> dd.log + cur_md5value=$(md5sum tmp.img | awk '{print $1}') && echo "img_from_disk_md5value is $cur_md5value" >> dd.log + + echo "--------------------------------------------------------------------" >> dd.log + + if [ "$pre_md5value" = "$cur_md5value" ]; then + echo "dd and md5_check success" + else + echo "md5_check failed" + fi + + rm -f tmp.img +} + +main $@ + diff --git a/board/phytium/genimage-phytiumpi.cfg b/board/phytium/genimage-phytiumpi.cfg new file mode 100644 index 0000000000000000000000000000000000000000..c8a3609d5d9d2344baa98fcde7cbed8fe2fc951d --- /dev/null +++ b/board/phytium/genimage-phytiumpi.cfg @@ -0,0 +1,24 @@ +image sdcard.img { + hdimage { + } + + partition uboot { + in-partition-table = no + offset = 0 + image = "fip-all.bin" + size = 4M + } + partition bootload { + in-partition-table = no + offset = 4M + image = "fitImage" + size = 60M + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext2" + size = 16G + } + +} diff --git a/board/minnowboard/grub.cfg b/board/phytium/grub.cfg similarity index 36% rename from board/minnowboard/grub.cfg rename to board/phytium/grub.cfg index 1f75f4d7ca80a7d871a473b382f7fa0a4bff7d52..482b1f823adfefd5b494fbc5604cc86af6fa25f7 100644 --- a/board/minnowboard/grub.cfg +++ b/board/phytium/grub.cfg @@ -2,5 +2,5 @@ set default="0" set timeout="5" menuentry "Buildroot" { - linux /bzImage root=PARTLABEL=rootfs rootwait console=tty0 console=ttyS0,115200 net.ifnames=0 + linux /Image root=PARTUUID="0a52c129-7e0f-43ad-989f-d96b07ccdbb2" rootwait rw console=ttyAMA0,115200 } diff --git a/board/aarch64-efi/post-image.sh b/board/phytium/post-image.sh similarity index 100% rename from board/aarch64-efi/post-image.sh rename to board/phytium/post-image.sh diff --git a/board/pine64/pine64/boot.cmd b/board/pine64/pine64/boot.cmd deleted file mode 100644 index 14f561044c4e385899b55db36fca71070882d3b0..0000000000000000000000000000000000000000 --- a/board/pine64/pine64/boot.cmd +++ /dev/null @@ -1,6 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r Image -fatload mmc 0 $fdt_addr_r sun50i-a64-pine64.dtb - -booti $kernel_addr_r - $fdt_addr_r diff --git a/board/pine64/pine64/genimage.cfg b/board/pine64/pine64/genimage.cfg deleted file mode 100644 index 06b4ed1056d32e8d21a2d1aaaadfe3598e696194..0000000000000000000000000000000000000000 --- a/board/pine64/pine64/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-pine64.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/pine64/pine64/readme.txt b/board/pine64/pine64/readme.txt deleted file mode 100644 index 85226fdd17797fd76f0d69a90d9261aa2aa9f7fc..0000000000000000000000000000000000000000 --- a/board/pine64/pine64/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Pine64. With the current configuration -it will bring-up the board, and allow access through the serial console. - -Pine64 link: -https://www.pine64.org/?page_id=1194 - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/Pine64 - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make pine64_defconfig - - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your Pine64 and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/pine64/pinecube/extlinux.conf b/board/pine64/pinecube/extlinux.conf deleted file mode 100644 index 6a18d9a2cb9dd8c886768cebe4963d87fd6d2435..0000000000000000000000000000000000000000 --- a/board/pine64/pinecube/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label buildroot - kernel /zImage - devicetree /sun8i-s3-pinecube.dtb - append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait rw diff --git a/board/pine64/pinecube/genimage.cfg b/board/pine64/pinecube/genimage.cfg deleted file mode 100644 index 398d45e2f7e7d77cd82f0d9b3f3dd98b147d5ca5..0000000000000000000000000000000000000000 --- a/board/pine64/pinecube/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-s3-pinecube.dtb", - "extlinux" - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 504K # 512KB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/pine64/pinecube/post-build.sh b/board/pine64/pinecube/post-build.sh deleted file mode 100755 index 8dae08a47cd823dfabac0522b727c15180b34787..0000000000000000000000000000000000000000 --- a/board/pine64/pinecube/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname "$0")" - -install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf diff --git a/board/pine64/pinecube/readme.txt b/board/pine64/pinecube/readme.txt deleted file mode 100644 index 4cf6df211072548d5a5d5f561fb3eaf26533328e..0000000000000000000000000000000000000000 --- a/board/pine64/pinecube/readme.txt +++ /dev/null @@ -1,31 +0,0 @@ -Intro -===== - -This directory contains a Buildroot configuration for building a -Pine64 PineCube. - -Board homepage: https://www.pine64.org/cube/ -Board wiki: https://wiki.pine64.org/wiki/PineCube - -How to build it -=============== - - $ make pine64_pinecube_defconfig - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your PineCube and power it up. The console -is on the serial port 2, 115200 8N1 (check Wiki for board pinout). diff --git a/board/pine64/rock64/extlinux.conf b/board/pine64/rock64/extlinux.conf deleted file mode 100644 index bf71982a9f081a122d509e25f39410cbdd7f7ad8..0000000000000000000000000000000000000000 --- a/board/pine64/rock64/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label rock64-buildroot - kernel /boot/Image - devicetree /boot/rk3328-rock64.dtb - append console=ttyS2,1500000n8 root=/dev/mmcblk0p1 ro rootwait diff --git a/board/pine64/rock64/genimage.cfg b/board/pine64/rock64/genimage.cfg deleted file mode 100644 index 7b749d1dd686128e05e63aa5263fe38126f1f6c6..0000000000000000000000000000000000000000 --- a/board/pine64/rock64/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot-spl { - in-partition-table = "no" - image = "u-boot-tpl-spl.img" - offset = 32K # 512 * 0x40 from start of sd card - } - - partition uboot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 256K # 512 * 0x200 from start of sd card - } - - partition rootfs { - partition-type = 0x83 - bootable = "yes" - image = "rootfs.ext2" - size = 500M - } -} diff --git a/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch b/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch deleted file mode 100644 index 2d35b78daaf224510a137f018d86dee177cc4ba8..0000000000000000000000000000000000000000 --- a/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 211bf049084e6e374dac253138fa813682910146 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20=C5=81yszczek?= -Date: Tue, 5 Feb 2019 22:08:54 +0100 -Subject: [PATCH] Makefile: rk3328 needs itb image to boot properly -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Michał Łyszczek ---- - Makefile | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/Makefile b/Makefile -index 8086f3c93e..a6425b5b03 100644 ---- a/Makefile -+++ b/Makefile -@@ -799,6 +799,11 @@ ifneq ($(BUILD_ROM),) - ALL-$(CONFIG_X86_RESET_VECTOR) += u-boot.rom - endif - -+# rk3328 needs itb image to boot properly -+ifeq ($(CONFIG_ROCKCHIP_RK3328),y) -+ALL-y += u-boot.itb -+endif -+ - # enable combined SPL/u-boot/dtb rules for tegra - ifeq ($(CONFIG_TEGRA)$(CONFIG_SPL),yy) - ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin --- -2.18.1 - diff --git a/board/pine64/rock64/post-build.sh b/board/pine64/rock64/post-build.sh deleted file mode 100755 index 26b53cba8e5ec59f7da75e83bea0a7ba4c8b4b90..0000000000000000000000000000000000000000 --- a/board/pine64/rock64/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -MKIMAGE=$HOST_DIR/bin/mkimage -BOARD_DIR="$(dirname $0)" - -$MKIMAGE -n rk3328 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img -cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl.bin > $BINARIES_DIR/u-boot-tpl-spl.img - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/pine64/rock64/readme.txt b/board/pine64/rock64/readme.txt deleted file mode 100644 index 029c67641e99f92f235cc3e5e8b5267bc51cfdae..0000000000000000000000000000000000000000 --- a/board/pine64/rock64/readme.txt +++ /dev/null @@ -1,95 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the Rock64. With this default configuration you -can log in into board via uart and look around. - -Board homepage: https://www.pine64.org/?page_id=7147 - -Build -===== - -First, load rock64 config for buildroot - - $ make rock64_defconfig - -Optionally make changes to buildroot config (to install more programs) - - $ make menuconfig - -And then build everything - - $ make - -When completed, following files will be generated in output/images directory: - - . - ├── Image - ├── bl31.bin - ├── bl31.elf - ├── rk3328-rock64.dtb - ├── rootfs.ext2 - ├── rootfs.ext4 -> rootfs.ext2 - ├── rootfs.tar - ├── sdcard.img - ├── u-boot-spl.bin - ├── u-boot-tpl-spl.img - ├── u-boot-tpl.bin - ├── u-boot-tpl.img - ├── u-boot.bin - └── u-boot.itb - -Creating bootable SD card -========================= - -!!! THIS COMMAND MAY WIPE YOUR DISK! -!!! MAKE SURE YOU PASSED CORRECT DEVICE! -!!! OR IT THIS WILL WIPE YOUR DISK! - -Simply invoke (as root) - - # dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device (not partition), of= argument may also be -/dev/mmcblk0 if you are using built-in sd card reader. - -Runtime -======= - -Login ------ - -By default, buildroot has no password, just type 'root' as login user, and -you will be logged in. - -Serial console --------------- - -Serial console needs to be connected to pins (into 40pin rpi compatible part) - -pin 6: gnd -pin 8: tx -pin 10: rx - -Pin numbers are printed on board. - -Uart configuration is not standard. Rock64 uses 1500000 (1,5M) baudrate -with standard 8n1. - -Ethernet --------- - -To enable ethernet you need to load modules for it: - -# modprobe stmmac -# modprobe dwmac-rk - -and since by default there is no dhcp installed, you need to configure ip -address, remember to change address to fit your network. - -# ifconfig eth0 up -# ip addr add 10.1.1.180/24 dev eth0 -# ping 10.1.1.1 -PING 10.1.1.1 (10.1.1.1): 56 data bytes -64 bytes from 10.1.1.1: seq=0 ttl=64 time=0.695 ms diff --git a/board/pine64/rockpro64/extlinux.conf b/board/pine64/rockpro64/extlinux.conf deleted file mode 100644 index 83467ef43c2a6be3e591aa9b78a1ee18c50ef8be..0000000000000000000000000000000000000000 --- a/board/pine64/rockpro64/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label RK3399_ROCKPRO64 linux - kernel /Image - devicetree /rk3399-rockpro64.dtb - append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait diff --git a/board/pine64/rockpro64/genimage.cfg b/board/pine64/rockpro64/genimage.cfg deleted file mode 100644 index 94fa2f7c0601d1cfd4989fcdec87f6b742ff396a..0000000000000000000000000000000000000000 --- a/board/pine64/rockpro64/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-rockpro64.dtb", - "extlinux" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type-uuid = F - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae - image = "rootfs.ext4" - } -} diff --git a/board/pine64/rockpro64/post-build.sh b/board/pine64/rockpro64/post-build.sh deleted file mode 100755 index ba29375c05e862c25aec2704e066f5ce73f65392..0000000000000000000000000000000000000000 --- a/board/pine64/rockpro64/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/pine64/rockpro64/readme.txt b/board/pine64/rockpro64/readme.txt deleted file mode 100644 index de86970104da19f402c90330a86a3ab428a72eca..0000000000000000000000000000000000000000 --- a/board/pine64/rockpro64/readme.txt +++ /dev/null @@ -1,60 +0,0 @@ -PINE64 ROCKPro64 -================ -https://www.pine64.org/rockpro64/ - -Build: -====== - $ make rockpro64_defconfig - $ make - -Files created in output directory -================================= - -output/images - -├── bl31.elf -├── boot.vfat -├── extlinux -├── idbloader.img -├── Image -├── rk3399-rockpro64.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── u-boot.bin -└── u-boot.itb - -Creating bootable SD card: -========================== - -Simply invoke (as root) - -sudo dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device. - -Booting: -======== -RockPro64 has a 40-pin PI-2 GPIO Bus. - -Connect a jumper between pin 23 and pin 25 for SD card boot. - -Serial console: ---------------- -The pin layout for serial console on PI-2 GPIO Bus is as follows: - -pin 6: gnd -pin 8: tx -pin 10: rx - -Initially connect pin 6 and pin 8(transmit). Apply power to RockPro64, once the -power is on then connect pin 10(receive). - -Baudrate for this board is 1500000. - -Login: ------- -Enter 'root' as login user, and the prompt is ready. - -https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/rockpro64.html diff --git a/board/pine64/sopine/boot.cmd b/board/pine64/sopine/boot.cmd deleted file mode 100644 index 2eab642370065d4c65858d6243a094dcbd7856d3..0000000000000000000000000000000000000000 --- a/board/pine64/sopine/boot.cmd +++ /dev/null @@ -1,6 +0,0 @@ -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r Image -fatload mmc 0 $fdt_addr_r sun50i-a64-sopine-baseboard.dtb - -booti $kernel_addr_r - $fdt_addr_r diff --git a/board/pine64/sopine/genimage.cfg b/board/pine64/sopine/genimage.cfg deleted file mode 100644 index 9300f3d6016d083d0bff069c636883f338b04e39..0000000000000000000000000000000000000000 --- a/board/pine64/sopine/genimage.cfg +++ /dev/null @@ -1,40 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-sopine-baseboard.dtb", - "boot.scr" - } - } - - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/pine64/sopine/readme.txt b/board/pine64/sopine/readme.txt deleted file mode 100644 index 08cb380b46d936a8feb99e2317f9aa08fd532f59..0000000000000000000000000000000000000000 --- a/board/pine64/sopine/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with the -buildroot environment for the SoPine. With the current configuration -it will bring-up the board, and allow access through the serial console. - -SoPINE link: -https://www.pine64.org/?page_id=1491 - -Wiki link: -https://openedev.amarulasolutions.com/display/ODWIKI/SoPine - -This configuration uses U-Boot mainline and kernel mainline. - -How to build -============ - - $ make pine64_sopine_defconfig - - $ make - -Note: you will need access to the internet to download the required -sources. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sudo sync - -Insert the micro SDcard in your SoPine and power it up. The console -is on the serial line, 115200 8N1. diff --git a/board/qemu/aarch64-ebbr/genimage.cfg b/board/qemu/aarch64-ebbr/genimage.cfg deleted file mode 100644 index 1ca8332b9cd005625a0dc60a3383b6284485a9f2..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-ebbr/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - - file Image { - image = "Image" - } - } - - size = 128M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae - image = "rootfs.ext2" - } -} diff --git a/board/qemu/aarch64-ebbr/grub.cfg b/board/qemu/aarch64-ebbr/grub.cfg deleted file mode 100644 index d99e19c4cd52721c10bbcce0feb7816357f3088c..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-ebbr/grub.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /Image root=PARTLABEL=root rootwait -} diff --git a/board/qemu/aarch64-ebbr/post-image.sh b/board/qemu/aarch64-ebbr/post-image.sh deleted file mode 100755 index c884a8b6f6688e0f2a1d07bf4e546f8fada9f487..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-ebbr/post-image.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu - -BOARD_DIR=$(dirname "$0") - -# Create flash.bin TF-A FIP image from bl1.bin and fip.bin -dd if="${BINARIES_DIR}/bl1.bin" of="${BINARIES_DIR}/flash.bin" bs=1M -dd if="${BINARIES_DIR}/fip.bin" of="${BINARIES_DIR}/flash.bin" seek=64 bs=4096 conv=notrunc - -# Override the default GRUB configuration file with our own. -cp -f "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg" diff --git a/board/qemu/aarch64-ebbr/readme.txt b/board/qemu/aarch64-ebbr/readme.txt deleted file mode 100644 index 15353a8f6816d5e85e1d1507d0c03e523758114b..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-ebbr/readme.txt +++ /dev/null @@ -1,101 +0,0 @@ -Introduction -============ - -The qemu_aarch64_ebbr_defconfig is meant to illustrate some aspects of the Arm -EBBR specification[1] and the Arm SystemReady IR[2] compliance program. -It allows building an AArch64 U-Boot based firmware implementing the subset of -UEFI defined by EBBR, as well as a Linux OS disk image booting with UEFI, to run -on Qemu. - -Building -======== - - $ make qemu_aarch64_ebbr_defconfig - $ make - -Generated files under output/images: - -* flash.bin: A firmware image comprising TF-A, OP-TEE and the U-Boot bootloader. - -* disk.img: An OS disk image comprising the GRUB bootloader, the Linux kernel - and the root filesystem. - -Running under Qemu -================== - -Run the emulation with: - - qemu-system-aarch64 \ - -M virt,secure=on,acpi=off \ - -bios output/images/flash.bin \ - -cpu cortex-a53 \ - -device virtio-blk-device,drive=hd0 \ - -device virtio-net-device,netdev=eth0 \ - -device virtio-rng-device,rng=rng0 \ - -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \ - -m 2048 \ - -netdev user,id=eth0 \ - -nographic \ - -object rng-random,filename=/dev/urandom,id=rng0 \ - -rtc base=utc,clock=host \ - -smp 2 # qemu_aarch64_ebbr_defconfig - -The login prompt will appear in the terminal that started Qemu. - -Using the EBBR firmware to run another OS under Qemu ----------------------------------------------------- - -It is possible to use the generated firmware binary to install or run another OS -supporting the EBBR specification. - -To run another OS on emulation using a live or pre-installed image, use the same -Qemu command line as for the generated OS but adapt the OS image path in the --drive stanza. -The image generated by the aarch64_efi_defconfig or the Arm ACS-IR images[3] are -examples of pre-installed OS images. - -To install another OS using an installer iso image, prepare a destination disk -image first with: - - qemu-img create -f qcow2 disk.qcow2 10G - -Then run the OS installer iso image on emulation with: - - qemu-system-aarch64 \ - -M virt,secure=on,acpi=off \ - -bios output/images/flash.bin \ - -cpu cortex-a53 \ - -device virtio-blk-device,drive=hd1 \ - -device virtio-blk-device,drive=hd0 \ - -device virtio-net-device,netdev=eth0 \ - -device virtio-rng-device,rng=rng0 \ - -drive file=,if=none,format=raw,readonly=on,id=hd0 \ - -drive file=disk.qcow2,if=none,id=hd1 \ - -m 2048 \ - -netdev user,id=eth0 \ - -nographic \ - -object rng-random,filename=/dev/urandom,id=rng0 \ - -rtc base=utc,clock=host \ - -smp 2 - -The installation medium will show up under the Linux OS installer as /dev/vda -and the destination disk as /dev/vdb. -To reboot into the installed OS, use the same Qemu command line as for the -installation, but without the two stanzas -referring to hd0. -Linux distributions such as Debian, Fedora, openSUSE or Ubuntu provide an OS -installer iso image. - -Miscellaneous -============= - -This configuration is inspired by the qemu_aarch64_virt_defconfig, the -aarch64_efi_defconfig and the Arm SystemReady IR IoT Integration, Test, and -Certification Guide[4]. - -Firmware update is currently not supported. - -[1]: https://github.com/ARM-software/ebbr -[2]: https://developer.arm.com/Architectures/Arm%20SystemReady%20IR -[3]: https://github.com/ARM-software/arm-systemready/tree/main/IR/prebuilt_images -[4]: https://developer.arm.com/documentation/DUI1101/latest/ diff --git a/board/qemu/aarch64-ebbr/u-boot.fragment b/board/qemu/aarch64-ebbr/u-boot.fragment deleted file mode 100644 index 94aae9d2aaeec58eb012be77366b52d446163424..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-ebbr/u-boot.fragment +++ /dev/null @@ -1,34 +0,0 @@ -CONFIG_BOOTM_EFI=y -CONFIG_CMD_BOOTEFI=y -CONFIG_CMD_BOOTEFI_HELLO=y -CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y -CONFIG_CMD_BOOTEFI_SELFTEST=y -CONFIG_CMD_EFIDEBUG=y -CONFIG_CMD_EFI_VARIABLE_FILE_STORE=y -CONFIG_CMD_GPT=y -CONFIG_CMD_NVEDIT_EFI=y -CONFIG_CMD_RNG=y -CONFIG_CMD_RTC=y -CONFIG_DM_RTC=y -CONFIG_EFI_DEVICE_PATH_TO_TEXT=y -CONFIG_EFI_GET_TIME=y -CONFIG_EFI_HAVE_RUNTIME_RESET=y -CONFIG_EFI_LOADER=y -CONFIG_EFI_LOADER_HII=y -CONFIG_EFI_MM_COMM_TEE=y -CONFIG_EFI_PARTITION=y -CONFIG_EFI_SECURE_BOOT=y -CONFIG_EFI_SET_TIME=y -CONFIG_EFI_UNICODE_CAPITALIZATION=y -CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y -CONFIG_EFI_VARIABLE_FILE_STORE=y -CONFIG_FAT_WRITE=y -CONFIG_FIT=y -CONFIG_FS_FAT=y -CONFIG_OF_LIBFDT=y -CONFIG_OPTEE=y -CONFIG_PARTITION_TYPE_GUID=y -CONFIG_RNG_OPTEE=y -CONFIG_RTC_EMULATION=y -CONFIG_SCMI_FIRMWARE=y -CONFIG_TEE=y diff --git a/board/qemu/aarch64-sbsa/assemble-flash-images b/board/qemu/aarch64-sbsa/assemble-flash-images deleted file mode 100755 index abcc276b0bd7c028e1ff88da3e8ef5bba3a61e27..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-sbsa/assemble-flash-images +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -e - -BOARD_DIR="$(dirname $0)" - -cp -f ${BOARD_DIR}/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg - -# The QEMU sbsa machine expects flash devices to be 256M. -truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH0.fd -truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH1.fd diff --git a/board/qemu/aarch64-sbsa/genimage.cfg b/board/qemu/aarch64-sbsa/genimage.cfg deleted file mode 100644 index e7ac7f2ee1a5c4bd941c52493fec9cea070728a2..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-sbsa/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - - file Image { - image = "Image" - } - } - - size = 64M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae - image = "rootfs.ext2" - } -} diff --git a/board/qemu/aarch64-sbsa/grub.cfg b/board/qemu/aarch64-sbsa/grub.cfg deleted file mode 100644 index d99e19c4cd52721c10bbcce0feb7816357f3088c..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-sbsa/grub.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /Image root=PARTLABEL=root rootwait -} diff --git a/board/qemu/aarch64-sbsa/readme.txt b/board/qemu/aarch64-sbsa/readme.txt deleted file mode 100644 index cf5f66d4d609d0068d241104fff3bb0c1f4a44d0..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-sbsa/readme.txt +++ /dev/null @@ -1,32 +0,0 @@ -Intro -===== - -The QEMU sbsa-ref machine is primarily meant for firmware development -and testing according to ARM's SBSA and SBBR standards. - -Build -===== - - $ make qemu_aarch64_sbsa_defconfig - $ make - -Emulation -========= - -Run the emulation with: - - qemu-system-aarch64 \ - -M sbsa-ref \ - -cpu cortex-a57 \ - -smp 4 \ - -m 1024 \ - -nographic \ - -pflash output/images/SBSA_FLASH0.fd \ - -pflash output/images/SBSA_FLASH1.fd \ - -hda output/images/disk.img # qemu_aarch64_sbsa_defconfig - -Note that if you want to run sbsa-ref emulation with QEMU provided by -your distro (i.e., not host-qemu by Buildroot) then you may need to -install the SeaBIOS package for some required drivers. On Debian: - - # apt install seabios diff --git a/board/qemu/aarch64-virt/linux.config b/board/qemu/aarch64-virt/linux.config deleted file mode 100644 index 971b9fcf8682b123a2ea3783c52e782e1ae665ba..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-virt/linux.config +++ /dev/null @@ -1,76 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_TASKSTATS=y -CONFIG_MEMCG=y -CONFIG_BLK_CGROUP=y -CONFIG_CPUSETS=y -CONFIG_CGROUP_DEVICE=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_SCHED_AUTOGROUP=y -CONFIG_PROFILING=y -CONFIG_ARCH_VEXPRESS=y -CONFIG_COMPAT=y -CONFIG_ACPI=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BINFMT_MISC=y -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_PACKET_DIAG=y -CONFIG_UNIX=y -CONFIG_NET_KEY=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_BRIDGE=m -CONFIG_NET_SCHED=y -CONFIG_VSOCKETS=y -CONFIG_PCI=y -CONFIG_PCI_HOST_GENERIC=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_FW_CFG_SYSFS=y -CONFIG_FW_CFG_SYSFS_CMDLINE=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_NETDEVICES=y -CONFIG_DUMMY=y -CONFIG_MACVLAN=y -CONFIG_VIRTIO_NET=y -CONFIG_NLMON=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_TCG_TPM=y -CONFIG_TCG_TIS=y -CONFIG_DRM=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_FB=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_PL031=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_MAILBOX=y -CONFIG_PL320_MBOX=y -CONFIG_ARM_SMMU_V3=y -CONFIG_EXT4_FS=y -CONFIG_FUSE_FS=y -CONFIG_VIRTIO_FS=y -CONFIG_OVERLAY_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/aarch64-virt/readme.txt b/board/qemu/aarch64-virt/readme.txt deleted file mode 100644 index db35a3a7a8678b16fdbc58262eb0890fe5ede078..0000000000000000000000000000000000000000 --- a/board/qemu/aarch64-virt/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 # qemu_aarch64_virt_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/arm-ebbr/genimage.cfg b/board/qemu/arm-ebbr/genimage.cfg deleted file mode 100644 index 3d4c9cff1ad55e172421b0a388b52f94eb1f0dae..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - - file zImage { - image = "zImage" - } - } - - size = 128M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 - image = "rootfs.ext2" - } -} diff --git a/board/qemu/arm-ebbr/grub.cfg b/board/qemu/arm-ebbr/grub.cfg deleted file mode 100644 index ab3a6ec26b0575000cf97efe313b4fff512ddeea..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/grub.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /zImage root=PARTLABEL=root rootwait -} diff --git a/board/qemu/arm-ebbr/linux.fragment b/board/qemu/arm-ebbr/linux.fragment deleted file mode 100644 index 07554cf843d34ef484dd90155765a91519476980..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/linux.fragment +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_TEE=y -CONFIG_OPTEE=y diff --git a/board/qemu/arm-ebbr/post-image.sh b/board/qemu/arm-ebbr/post-image.sh deleted file mode 100755 index c884a8b6f6688e0f2a1d07bf4e546f8fada9f487..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/post-image.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu - -BOARD_DIR=$(dirname "$0") - -# Create flash.bin TF-A FIP image from bl1.bin and fip.bin -dd if="${BINARIES_DIR}/bl1.bin" of="${BINARIES_DIR}/flash.bin" bs=1M -dd if="${BINARIES_DIR}/fip.bin" of="${BINARIES_DIR}/flash.bin" seek=64 bs=4096 conv=notrunc - -# Override the default GRUB configuration file with our own. -cp -f "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg" diff --git a/board/qemu/arm-ebbr/readme.txt b/board/qemu/arm-ebbr/readme.txt deleted file mode 100644 index 19e114579f2aa235bab72c5436aaec4e3a54bc2a..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/readme.txt +++ /dev/null @@ -1,70 +0,0 @@ -Introduction -============ - -The qemu_arm_ebbr_defconfig is meant to illustrate some aspects of the Arm -EBBR specification[1] and the Arm SystemReady IR[2] compliance program. -It allows building a 32b ARMv7-A U-Boot based firmware implementing the subset -of UEFI defined by EBBR, as well as a Linux OS disk image booting with UEFI, to -run on Qemu. - -Building -======== - - $ make qemu_arm_ebbr_defconfig - $ make - -Generated files under output/images: - -* flash.bin: A firmware image comprising TF-A, OP-TEE and the U-Boot bootloader. - -* disk.img: An OS disk image comprising the GRUB bootloader, the Linux kernel - and the root filesystem. - -Running under Qemu -================== - -Run the emulation with: - - qemu-system-arm \ - -M virt,secure=on,acpi=off \ - -bios output/images/flash.bin \ - -cpu cortex-a15 \ - -device virtio-blk-device,drive=hd0 \ - -device virtio-net-device,netdev=eth0 \ - -device virtio-rng-device,rng=rng0 \ - -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \ - -m 1024 \ - -netdev user,id=eth0 \ - -nographic \ - -object rng-random,filename=/dev/urandom,id=rng0 \ - -rtc base=utc,clock=host \ - -smp 2 # qemu_arm_ebbr_defconfig - -The login prompt will appear in the terminal that started Qemu. - -Using the EBBR firmware to run another OS under Qemu ----------------------------------------------------- - -It is possible to use the generated firmware binary to run another OS -supporting the EBBR specification. - -To run another OS on emulation using a live or pre-installed image, use the same -Qemu command line as for the generated OS but adapt the OS image path in the --drive stanza. -The 32b Arm ACS-IR image[3] is an example of a pre-installed OS image. -Linux distributions such as Debian or openSUSE provide a pre-installed OS -image. - -Miscellaneous -============= - -This configuration is inspired by the qemu_arm_vexpress_tz_defconfig, the -qemu_aarch64_ebbr_defconfig and the Arm SystemReady IR IoT Integration, Test, -and Certification Guide[4]. - -Firmware update is currently not supported. - -[1]: https://github.com/ARM-software/ebbr -[2]: https://developer.arm.com/Architectures/Arm%20SystemReady%20IR -[3]: https://github.com/ARM-software/arm-systemready/tree/main/IR/prebuilt_images -[4]: https://developer.arm.com/documentation/DUI1101/latest/ diff --git a/board/qemu/arm-ebbr/u-boot.fragment b/board/qemu/arm-ebbr/u-boot.fragment deleted file mode 100644 index 66fe910f169af89a4ae8f6a4e2fab4ae223ca536..0000000000000000000000000000000000000000 --- a/board/qemu/arm-ebbr/u-boot.fragment +++ /dev/null @@ -1,35 +0,0 @@ -CONFIG_BOOTM_EFI=y -CONFIG_CMD_BOOTEFI=y -CONFIG_CMD_BOOTEFI_HELLO=y -CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y -CONFIG_CMD_BOOTEFI_SELFTEST=y -CONFIG_CMD_EFIDEBUG=y -CONFIG_CMD_EFI_VARIABLE_FILE_STORE=y -CONFIG_CMD_GPT=y -CONFIG_CMD_NVEDIT_EFI=y -CONFIG_CMD_RNG=y -CONFIG_CMD_RTC=y -CONFIG_DM_RTC=y -CONFIG_EFI_DEVICE_PATH_TO_TEXT=y -CONFIG_EFI_GET_TIME=y -CONFIG_EFI_HAVE_RUNTIME_RESET=y -CONFIG_EFI_LOADER=y -CONFIG_EFI_LOADER_HII=y -CONFIG_EFI_MM_COMM_TEE=y -CONFIG_EFI_PARTITION=y -CONFIG_EFI_SECURE_BOOT=y -CONFIG_EFI_SET_TIME=y -CONFIG_EFI_UNICODE_CAPITALIZATION=y -CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y -CONFIG_EFI_VARIABLE_FILE_STORE=y -CONFIG_FAT_WRITE=y -CONFIG_FIT=y -CONFIG_FS_FAT=y -CONFIG_OF_LIBFDT=y -CONFIG_OPTEE=y -CONFIG_PARTITION_TYPE_GUID=y -CONFIG_RNG_OPTEE=y -CONFIG_RTC_EMULATION=y -CONFIG_SCMI_FIRMWARE=y -CONFIG_TEE=y -CONFIG_TEXT_BASE=0x60000000 diff --git a/board/qemu/arm-versatile/linux.fragment b/board/qemu/arm-versatile/linux.fragment deleted file mode 100644 index 0aed55831553c878208022406c5aa6fe04449e4e..0000000000000000000000000000000000000000 --- a/board/qemu/arm-versatile/linux.fragment +++ /dev/null @@ -1,66 +0,0 @@ -# CONFIG_BLK_DEV_INITRD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_CMA is not set -# CONFIG_CRAMFS is not set -CONFIG_CMDLINE="" -CONFIG_CRC16=y -CONFIG_CRYPTO=y -# CONFIG_DEBUG_FS is not set -# CONFIG_DEBUG_KERNEL is not set -# CONFIG_DEBUG_USER is not set -CONFIG_DEVTMPFS=y -# CONFIG_DRM is not set -# CONFIG_EEPROM_LEGACY is not set -# CONFIG_EXT2_FS is not set -CONFIG_EXT4_FS=y -CONFIG_FB_ARMCLCD=y -# CONFIG_FONTS is not set -CONFIG_FONT_8x16=y -CONFIG_FONT_8x8=y -# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set -# CONFIG_FTRACE is not set -# CONFIG_GPIOLIB is not set -# CONFIG_HIGH_RES_TIMERS is not set -CONFIG_HWMON=y -CONFIG_HZ_PERIODIC=y -# CONFIG_I2C_VERSATILE is not set -CONFIG_INET_DIAG=y -CONFIG_INPUT_EVDEV=y -CONFIG_IPV6=y -# CONFIG_IP_MULTICAST is not set -# CONFIG_IP_PNP is not set -CONFIG_LOCALVERSION_AUTO=y -# CONFIG_LOGO is not set -CONFIG_LOG_BUF_SHIFT=17 -CONFIG_MDIO_DEVICE=y -# CONFIG_MINIX_FS is not set -# CONFIG_MMC is not set -# CONFIG_MTD is not set -# CONFIG_NEW_LEDS is not set -# CONFIG_NFSD is not set -# CONFIG_NFS_FS is not set -# CONFIG_NLS_CODEPAGE_850 is not set -# CONFIG_NLS_ISO8859_1 is not set -# CONFIG_NO_HZ_IDLE is not set -# CONFIG_NVMEM is not set -# CONFIG_OABI_COMPAT is not set -# CONFIG_PARTITION_ADVANCED is not set -CONFIG_PCI=y -CONFIG_PCI_VERSATILE=y -CONFIG_PHYLIB=y -# CONFIG_ROMFS_FS is not set -# CONFIG_RTC_CLASS is not set -CONFIG_SCSI=y -CONFIG_SCSI_SPI_ATTRS=y -CONFIG_SCSI_SYM53C8XX_2=y -CONFIG_SERIO_SERPORT=y -CONFIG_SLUB=y -# CONFIG_SPI is not set -# CONFIG_SYNC_FILE is not set -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_TMPFS_XATTR=y -# CONFIG_VFP is not set -# CONFIG_XZ_DEC is not set -CONFIG_8139CP=y -CONFIG_BLK_DEV_SD=y diff --git a/board/qemu/arm-versatile/readme.txt b/board/qemu/arm-versatile/readme.txt deleted file mode 100644 index 757ef378e9542cb03f5ef56266169bb618a75468..0000000000000000000000000000000000000000 --- a/board/qemu/arm-versatile/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user # qemu_arm_versatile_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/board/qemu/arm-vexpress-tz/linux.fragment b/board/qemu/arm-vexpress-tz/linux.fragment deleted file mode 100644 index 1537d938f128421339305b5b8b8d4f2eb1e6f82a..0000000000000000000000000000000000000000 --- a/board/qemu/arm-vexpress-tz/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -### Enable OP-TEE -CONFIG_TEE=y -CONFIG_OPTEE=y diff --git a/board/qemu/arm-vexpress-tz/post-build.sh b/board/qemu/arm-vexpress-tz/post-build.sh deleted file mode 100755 index 97cc53791c15b64860260e7e1431fc531a22a0da..0000000000000000000000000000000000000000 --- a/board/qemu/arm-vexpress-tz/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -u -set -e - -# Create flash.bin TF-A FIP image from bl1.bin and fip.bin -cd "$BINARIES_DIR" -dd if=bl1.bin of=flash.bin bs=4096 -dd if=fip.bin of=flash.bin seek=64 bs=4096 conv=notrunc diff --git a/board/qemu/arm-vexpress-tz/readme.txt b/board/qemu/arm-vexpress-tz/readme.txt deleted file mode 100644 index 3e84fe63919e1b6efb5d91fbd4c9c26528d290e9..0000000000000000000000000000000000000000 --- a/board/qemu/arm-vexpress-tz/readme.txt +++ /dev/null @@ -1,135 +0,0 @@ -Board qemu_arm_vexpress_tz builds a QEMU ARMv7-A target system with -OP-TEE running in the TrustZone secure world and a Linux based -OS running in the non-secure world. The board configuration enables -builds of the QEMU host ARM target emulator. - - make qemu_arm_vexpress_tz_defconfig - make - -The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A). -In our configuration, U-Boot uses QEMU semihosting file access to load the -kernel and rootfs image files. For this reason the emulation needs to be run -from the image directory: - - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial stdio \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable=on,target=native \ - -bios flash.bin # qemu_arm_vexpress_tz_defconfig - -The boot stage traces (if any) followed by the login prompt will appear -in the terminal that started QEMU. - -If you want to emulate more cores, use "-smp {1|2|3|4}" to select the -number of cores. - -Note: "-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic" -brings network support that is used i.e. in OP-TEE regression tests. - - --- Boot Details -- - -TF-A is used as QEMU BIOS. Its BL1 image boots and load its BL2 image. In turn, -this image loads the OP-TEE secure world (ARMv7-A BL32 stage) and the U-boot as -non-secure bootloader (BL33 stage). - -QEMU natively hosts and loads in RAM the QEMU ARM target device tree. OP-TEE -reads and modifies its content according to OP-TEE configuration. - -Enable TF-A traces from LOG_LEVEL (I.e LOG_LEVEL=40) from -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. - - --- OP-TEE Traces -- - -Secure boot stages and/or secure runtime services may use a serial link for -their traces. - -The ARM Trusted Firmware outputs its traces on the QEMU standard (first) -serial interface. - -The OP-TEE OS uses the QEMU second serial interface. - -To get the OP-TEE OS traces, append a second -serial argument after --serial stdio in the QEMU command line. I.e, the following enables 2 serial -consoles over telnet connections: - - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial telnet:127.0.0.1:1235,server \ - -serial telnet:127.0.0.1:1236,server \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable=on,target=native \ - -bios flash.bin - -QEMU is now waiting for the telnet connection. From another shell, open a -telnet connection on the port for the U-boot and Linux consoles: - - telnet 127.0.0.1 1235 - -and again for the secure console - - telnet 127.0.0.1 1236 - - --- Using gdb -- - -One can debug the OP-TEE secure world using GDB through the QEMU host. -To do so, simply run the qemu-system-arm emulation, then run a GDB client -and connect the QEMU internal GDB server. - -The example below assumes we run QEMU and the GDB client from the same -host computer. We use option -S of qemu-system-arm to make QEMU -waiting for the GDB continue instruction before booting the images. - -From a first shell: - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial stdio \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable=on,target=native \ - -bios flash.bin \ - -S - -From a second shell: - ./output/host/bin/arm-linux-gdb - GNU gdb (GNU Toolchain for the A-profile Architecture 8.2-2018-08 (arm-rel-8.23)) 8.1.1.20180704-git - Copyright (C) 2018 Free Software Foundation, Inc. - ... - For help, type "help". - Type "apropos word" to search for commands related to "word". - (gdb) - -From this GDB console, connect to the target, load the OP-TEE core symbols, -set a breakpoint to its entry point (__text_start) and start emulation: - - (gdb) target remote 127.0.0.1:1234 - (gdb) symbol-file ./output/build/optee-os-/out/core/tee.elf - (gdb) hbreak __text_start - Hardware assisted breakpoint 1 at 0xe100000: file core/arch/arm/kernel/generic_entry_a32.S, line 246. - (gdb) cont - Continuing. - - Thread 1 hit Breakpoint 1, _start () at core/arch/arm/kernel/generic_entry_a32.S:246 - 246 bootargs_entry - (gdb) - - -Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and -has booted OP-TEE. Emulation stopped at OP-TEE core entry. - -Note: QEMU hosts a GDB service listening to TCP port 1234, as set through -qemu-system-arm command line option -S. - -Note: To build the GDB server, the following extra options have to be added to -the Buildroot configuration: - - BR2_ENABLE_DEBUG=y - BR2_PACKAGE_GDB=y - BR2_PACKAGE_HOST_GDB=y - BR2_TOOLCHAIN_BUILDROOT_CXX=y - BR2_TOOLCHAIN_BUILDROOT_GLIBC=y diff --git a/board/qemu/arm-vexpress-tz/u-boot.config b/board/qemu/arm-vexpress-tz/u-boot.config deleted file mode 100644 index 48b1d06fdbb8defcbd2a4c609d0d84279b62b81b..0000000000000000000000000000000000000000 --- a/board/qemu/arm-vexpress-tz/u-boot.config +++ /dev/null @@ -1,8 +0,0 @@ -CONFIG_SYS_TEXT_BASE=0x60000000 -CONFIG_BOOTCOMMAND="smhload zImage ${kernel_addr_r} && smhload rootfs.cpio.uboot ${ramdisk_addr_r} && setenv bootargs console=ttyAMA0,115200 earlyprintk=serial,ttyAMA0,115200 && bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}" -CONFIG_SEMIHOSTING=y -# Drop flash accesses -CONFIG_ENV_IS_IN_FLASH=n -CONFIG_MTD=n -CONFIG_MTD_NOR_FLASH=n -CONFIG_ENV_IS_NOWHERE=y diff --git a/board/qemu/arm-vexpress/readme.txt b/board/qemu/arm-vexpress/readme.txt deleted file mode 100644 index 8d1bb72f8398f4ff9a5dfd65952915d7f0d7c5c1..0000000000000000000000000000000000000000 --- a/board/qemu/arm-vexpress/readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -Run the emulation with: - - qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user # qemu_arm_vexpress_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. - -If you want to emulate more cores change "-smp 1" to "-smp 2" for -dual-core or even "smp -4" for a quad-core configuration. diff --git a/board/qemu/m68k-mcf5208/0001-m68k-Fix-invalid-.section-syntax.patch b/board/qemu/m68k-mcf5208/0001-m68k-Fix-invalid-.section-syntax.patch deleted file mode 100644 index 1f1ed75ae0909d68cb8ced24aa90542f177d1bbb..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-mcf5208/0001-m68k-Fix-invalid-.section-syntax.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 0bb6b7477f5dcfafbdd76eea9c7aa7a5f78d7613 Mon Sep 17 00:00:00 2001 -From: Ben Hutchings -Date: Fri, 16 Jun 2023 17:36:10 +0200 -Subject: [PATCH] m68k: Fix invalid .section syntax - -gas supports several different forms for .section for ELF targets, -including: - .section NAME [, "FLAGS"[, @TYPE[,FLAG_SPECIFIC_ARGUMENTS]]] -and: - .section "NAME"[, #FLAGS...] - -In several places we use a mix of these two forms: - .section NAME, #FLAGS... - -A current development snapshot of binutils (2.40.50.20230611) treats -this mixed syntax as an error. - -Change to consistently use: - .section NAME, "FLAGS" -as is used elsewhere in the kernel. - -Link: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=m68k&ver=6.4%7Erc6-1%7Eexp1&stamp=1686907300&raw=1 -Signed-off-by: Ben Hutchings -Tested-by: Jan-Benedict Glaw -Link: https://lore.kernel.org/r/ZIyBaueWT9jnTwRC@decadent.org.uk -Signed-off-by: Geert Uytterhoeven -Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=922a9bd138101e3e5718f0f4d40dba68ef89bb43 -Signed-off-by: Thomas Petazzoni ---- - arch/m68k/fpsp040/skeleton.S | 4 ++-- - arch/m68k/ifpsp060/os.S | 4 ++-- - arch/m68k/kernel/relocate_kernel.S | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/arch/m68k/fpsp040/skeleton.S b/arch/m68k/fpsp040/skeleton.S -index 439395aa6fb4..081922c72daa 100644 ---- a/arch/m68k/fpsp040/skeleton.S -+++ b/arch/m68k/fpsp040/skeleton.S -@@ -499,13 +499,13 @@ in_ea: - dbf %d0,morein - rts - -- .section .fixup,#alloc,#execinstr -+ .section .fixup,"ax" - .even - 1: - jbsr fpsp040_die - jbra .Lnotkern - -- .section __ex_table,#alloc -+ .section __ex_table,"a" - .align 4 - - .long in_ea,1b -diff --git a/arch/m68k/ifpsp060/os.S b/arch/m68k/ifpsp060/os.S -index 7a0d6e428066..89e2ec224ab6 100644 ---- a/arch/m68k/ifpsp060/os.S -+++ b/arch/m68k/ifpsp060/os.S -@@ -379,11 +379,11 @@ _060_real_access: - - - | Execption handling for movs access to illegal memory -- .section .fixup,#alloc,#execinstr -+ .section .fixup,"ax" - .even - 1: moveq #-1,%d1 - rts --.section __ex_table,#alloc -+.section __ex_table,"a" - .align 4 - .long dmrbuae,1b - .long dmrwuae,1b -diff --git a/arch/m68k/kernel/relocate_kernel.S b/arch/m68k/kernel/relocate_kernel.S -index ab0f1e7d4653..f7667079e08e 100644 ---- a/arch/m68k/kernel/relocate_kernel.S -+++ b/arch/m68k/kernel/relocate_kernel.S -@@ -26,7 +26,7 @@ ENTRY(relocate_new_kernel) - lea %pc@(.Lcopy),%a4 - 2: addl #0x00000000,%a4 /* virt_to_phys() */ - -- .section ".m68k_fixup","aw" -+ .section .m68k_fixup,"aw" - .long M68K_FIXUP_MEMOFFSET, 2b+2 - .previous - -@@ -49,7 +49,7 @@ ENTRY(relocate_new_kernel) - lea %pc@(.Lcont040),%a4 - 5: addl #0x00000000,%a4 /* virt_to_phys() */ - -- .section ".m68k_fixup","aw" -+ .section .m68k_fixup,"aw" - .long M68K_FIXUP_MEMOFFSET, 5b+2 - .previous - --- -2.41.0 - diff --git a/board/qemu/m68k-mcf5208/linux.config b/board/qemu/m68k-mcf5208/linux.config deleted file mode 100644 index 09a89d7255e9e2763c5b9878d14ad8687ca6dc0e..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-mcf5208/linux.config +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG_M68K=y -CONFIG_COLDFIRE=y -# CONFIG_MMU is not set -CONFIG_M520x=y -CONFIG_CLOCK_SET=y -CONFIG_CLOCK_FREQ=66666666 -CONFIG_CLOCK_DIV=1 -CONFIG_M5208EVB=y -CONFIG_FREESCALE=y -CONFIG_RAMBASE=0x40000000 -CONFIG_RAMSIZE=0x0 -CONFIG_VECTORBASE=0x40000000 -CONFIG_KERNELBASE=0x40020000 -CONFIG_4KSTACKS=y -CONFIG_RAMKERNEL=y -CONFIG_BINFMT_FLAT=y -CONFIG_SERIAL_MCF=y -CONFIG_SERIAL_MCF_BAUDRATE=115200 -CONFIG_SERIAL_MCF_CONSOLE=y -CONFIG_BOOTPARAM=y -CONFIG_BOOTPARAM_STRING="console=ttyS0,115200" -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_NET_VENDOR_FREESCALE=y -CONFIG_FEC=y diff --git a/board/qemu/m68k-mcf5208/readme.txt b/board/qemu/m68k-mcf5208/readme.txt deleted file mode 100644 index 79bf7146a21fc97ba8ede354d4f3370f5c7b14c2..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-mcf5208/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel output/images/vmlinux -nographic # qemu_m68k_mcf5208_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/m68k-q800/0001-m68k-Fix-invalid-.section-syntax.patch b/board/qemu/m68k-q800/0001-m68k-Fix-invalid-.section-syntax.patch deleted file mode 100644 index 1f1ed75ae0909d68cb8ced24aa90542f177d1bbb..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-q800/0001-m68k-Fix-invalid-.section-syntax.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 0bb6b7477f5dcfafbdd76eea9c7aa7a5f78d7613 Mon Sep 17 00:00:00 2001 -From: Ben Hutchings -Date: Fri, 16 Jun 2023 17:36:10 +0200 -Subject: [PATCH] m68k: Fix invalid .section syntax - -gas supports several different forms for .section for ELF targets, -including: - .section NAME [, "FLAGS"[, @TYPE[,FLAG_SPECIFIC_ARGUMENTS]]] -and: - .section "NAME"[, #FLAGS...] - -In several places we use a mix of these two forms: - .section NAME, #FLAGS... - -A current development snapshot of binutils (2.40.50.20230611) treats -this mixed syntax as an error. - -Change to consistently use: - .section NAME, "FLAGS" -as is used elsewhere in the kernel. - -Link: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=m68k&ver=6.4%7Erc6-1%7Eexp1&stamp=1686907300&raw=1 -Signed-off-by: Ben Hutchings -Tested-by: Jan-Benedict Glaw -Link: https://lore.kernel.org/r/ZIyBaueWT9jnTwRC@decadent.org.uk -Signed-off-by: Geert Uytterhoeven -Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=922a9bd138101e3e5718f0f4d40dba68ef89bb43 -Signed-off-by: Thomas Petazzoni ---- - arch/m68k/fpsp040/skeleton.S | 4 ++-- - arch/m68k/ifpsp060/os.S | 4 ++-- - arch/m68k/kernel/relocate_kernel.S | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/arch/m68k/fpsp040/skeleton.S b/arch/m68k/fpsp040/skeleton.S -index 439395aa6fb4..081922c72daa 100644 ---- a/arch/m68k/fpsp040/skeleton.S -+++ b/arch/m68k/fpsp040/skeleton.S -@@ -499,13 +499,13 @@ in_ea: - dbf %d0,morein - rts - -- .section .fixup,#alloc,#execinstr -+ .section .fixup,"ax" - .even - 1: - jbsr fpsp040_die - jbra .Lnotkern - -- .section __ex_table,#alloc -+ .section __ex_table,"a" - .align 4 - - .long in_ea,1b -diff --git a/arch/m68k/ifpsp060/os.S b/arch/m68k/ifpsp060/os.S -index 7a0d6e428066..89e2ec224ab6 100644 ---- a/arch/m68k/ifpsp060/os.S -+++ b/arch/m68k/ifpsp060/os.S -@@ -379,11 +379,11 @@ _060_real_access: - - - | Execption handling for movs access to illegal memory -- .section .fixup,#alloc,#execinstr -+ .section .fixup,"ax" - .even - 1: moveq #-1,%d1 - rts --.section __ex_table,#alloc -+.section __ex_table,"a" - .align 4 - .long dmrbuae,1b - .long dmrwuae,1b -diff --git a/arch/m68k/kernel/relocate_kernel.S b/arch/m68k/kernel/relocate_kernel.S -index ab0f1e7d4653..f7667079e08e 100644 ---- a/arch/m68k/kernel/relocate_kernel.S -+++ b/arch/m68k/kernel/relocate_kernel.S -@@ -26,7 +26,7 @@ ENTRY(relocate_new_kernel) - lea %pc@(.Lcopy),%a4 - 2: addl #0x00000000,%a4 /* virt_to_phys() */ - -- .section ".m68k_fixup","aw" -+ .section .m68k_fixup,"aw" - .long M68K_FIXUP_MEMOFFSET, 2b+2 - .previous - -@@ -49,7 +49,7 @@ ENTRY(relocate_new_kernel) - lea %pc@(.Lcont040),%a4 - 5: addl #0x00000000,%a4 /* virt_to_phys() */ - -- .section ".m68k_fixup","aw" -+ .section .m68k_fixup,"aw" - .long M68K_FIXUP_MEMOFFSET, 5b+2 - .previous - --- -2.41.0 - diff --git a/board/qemu/m68k-q800/linux.config b/board/qemu/m68k-q800/linux.config deleted file mode 100644 index 44eb70e2d7da8c7ca89f0c2a5525828797de8747..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-q800/linux.config +++ /dev/null @@ -1,26 +0,0 @@ -CONFIG_M68K=y -CONFIG_M68040=y -CONFIG_M68KFPU_EMU=y -CONFIG_MAC=y -CONFIG_MACINTOSH_DRIVERS=y -CONFIG_ADB=y -CONFIG_ADB_MACII=y -CONFIG_TTY=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_MACSONIC=y -CONFIG_SCSI=y -CONFIG_SCSI_DMA=y -CONFIG_SCSI_LOWLEVEL=y -CONFIG_SCSI_MAC_ESP=y -CONFIG_BLK_DEV_SD=y -CONFIG_SERIAL_PMACZILOG=y -CONFIG_SERIAL_PMACZILOG_TTYS=y -CONFIG_SERIAL_PMACZILOG_CONSOLE=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y diff --git a/board/qemu/m68k-q800/readme.txt b/board/qemu/m68k-q800/readme.txt deleted file mode 100644 index f1db57d52b7b15ea1cfdb6642bb78601ae60105a..0000000000000000000000000000000000000000 --- a/board/qemu/m68k-q800/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0" # qemu_m68k_q800_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/microblazebe-mmu/linux.config b/board/qemu/microblazebe-mmu/linux.config deleted file mode 100644 index 7bcd382060319b6c45952d7af1349a33d96a84f2..0000000000000000000000000000000000000000 --- a/board/qemu/microblazebe-mmu/linux.config +++ /dev/null @@ -1,20 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_OPT_LIB_ASM=y -CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3adsp" -CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 -CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 -CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 -CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1 -CONFIG_MMU=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_XILINX_EMACLITE=y -CONFIG_SERIAL_UARTLITE=y -CONFIG_SERIAL_UARTLITE_CONSOLE=y -# CONFIG_VGA_CONSOLE is not set -CONFIG_TMPFS=y diff --git a/board/qemu/microblazebe-mmu/readme.txt b/board/qemu/microblazebe-mmu/readme.txt deleted file mode 100644 index 7bb986422c6371db04f6c8376bc07a768b91ceff..0000000000000000000000000000000000000000 --- a/board/qemu/microblazebe-mmu/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-microblaze -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio # qemu_microblazebe_mmu_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/microblazeel-mmu/linux.config b/board/qemu/microblazeel-mmu/linux.config deleted file mode 100644 index a6228280bd9bf8d21620911e2d415dd8b4ceb0c0..0000000000000000000000000000000000000000 --- a/board/qemu/microblazeel-mmu/linux.config +++ /dev/null @@ -1,19 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3adsp" -CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 -CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 -CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 -CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1 -CONFIG_MMU=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_XILINX_EMACLITE=y -CONFIG_SERIAL_UARTLITE=y -CONFIG_SERIAL_UARTLITE_CONSOLE=y -# CONFIG_VGA_CONSOLE is not set -CONFIG_TMPFS=y diff --git a/board/qemu/microblazeel-mmu/readme.txt b/board/qemu/microblazeel-mmu/readme.txt deleted file mode 100644 index 20fa0072ed1931d838f76dd854eb43ac747e8aa2..0000000000000000000000000000000000000000 --- a/board/qemu/microblazeel-mmu/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-microblazeel -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio # qemu_microblazeel_mmu_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/mips32r2-malta/linux.config b/board/qemu/mips32r2-malta/linux.config deleted file mode 100644 index db8ad1760ec5525686793d3e3cfe8489b2e3872f..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r2-malta/linux.config +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R2=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips32r2-malta/readme.txt b/board/qemu/mips32r2-malta/readme.txt deleted file mode 100644 index 77518ccec9b662f28d1edf4210a7a9cf07ba34bb..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r2-malta/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user # qemu_mips32r2_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. No keyboard support has been -enabled. diff --git a/board/qemu/mips32r2el-malta/linux.config b/board/qemu/mips32r2el-malta/linux.config deleted file mode 100644 index 916e522292e02f69b3e680d6dd06c1464e44fbde..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r2el-malta/linux.config +++ /dev/null @@ -1,29 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPU_MIPS32_R2=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips32r2el-malta/readme.txt b/board/qemu/mips32r2el-malta/readme.txt deleted file mode 100644 index 2a1e84a0fb8fafdfa9ac2675f749d6a868a5e05f..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r2el-malta/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user # qemu_mips32r2el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. No keyboard support has been -enabled. diff --git a/board/qemu/mips32r6-malta/linux.config b/board/qemu/mips32r6-malta/linux.config deleted file mode 100644 index fbfffe2065fb5516cfebcf637fc1b287800ae21e..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r6-malta/linux.config +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R6=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips32r6-malta/readme.txt b/board/qemu/mips32r6-malta/readme.txt deleted file mode 100644 index ff5f1e36be1a781b43975a5ae8d1d727e01f3a98..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r6-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips32r6_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/mips32r6el-malta/linux.config b/board/qemu/mips32r6el-malta/linux.config deleted file mode 100644 index fbfffe2065fb5516cfebcf637fc1b287800ae21e..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r6el-malta/linux.config +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R6=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips32r6el-malta/readme.txt b/board/qemu/mips32r6el-malta/readme.txt deleted file mode 100644 index 29a5a1e02b39d5f20542abf4b054b34c87e48e7e..0000000000000000000000000000000000000000 --- a/board/qemu/mips32r6el-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user -nographic # qemu_mips32r6el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/mips64-malta/linux.config b/board/qemu/mips64-malta/linux.config deleted file mode 100644 index 66932fb3db73f86084d1598b088902a2fa49e0ab..0000000000000000000000000000000000000000 --- a/board/qemu/mips64-malta/linux.config +++ /dev/null @@ -1,32 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R1=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips64-malta/readme.txt b/board/qemu/mips64-malta/readme.txt deleted file mode 100644 index d148a1394a6364dd71bf0558dc10acbce04c3022..0000000000000000000000000000000000000000 --- a/board/qemu/mips64-malta/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" # qemu_mips64_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/board/qemu/mips64el-malta/linux.config b/board/qemu/mips64el-malta/linux.config deleted file mode 100644 index 516b05b5c6efa37dba641a465b3be0b027a2e3df..0000000000000000000000000000000000000000 --- a/board/qemu/mips64el-malta/linux.config +++ /dev/null @@ -1,33 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPU_MIPS64_R1=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips64el-malta/readme.txt b/board/qemu/mips64el-malta/readme.txt deleted file mode 100644 index 4545fcd9df4c0b3a162fbe9259d3be769f42dff7..0000000000000000000000000000000000000000 --- a/board/qemu/mips64el-malta/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" # qemu_mips64el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/board/qemu/mips64r6-malta/linux.config b/board/qemu/mips64r6-malta/linux.config deleted file mode 100644 index 020e02f1d18ec29a2e498527c48a0ac7101fd624..0000000000000000000000000000000000000000 --- a/board/qemu/mips64r6-malta/linux.config +++ /dev/null @@ -1,32 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R6=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips64r6-malta/readme.txt b/board/qemu/mips64r6-malta/readme.txt deleted file mode 100644 index 6712d668ccd89f2ec10533d345ec85ee7f0a8973..0000000000000000000000000000000000000000 --- a/board/qemu/mips64r6-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips64r6_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/mips64r6el-malta/linux.config b/board/qemu/mips64r6el-malta/linux.config deleted file mode 100644 index 020e02f1d18ec29a2e498527c48a0ac7101fd624..0000000000000000000000000000000000000000 --- a/board/qemu/mips64r6el-malta/linux.config +++ /dev/null @@ -1,32 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R6=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/mips64r6el-malta/readme.txt b/board/qemu/mips64r6el-malta/readme.txt deleted file mode 100644 index 150ce752281e52d4cb2f7eb8711771e88d1ef85b..0000000000000000000000000000000000000000 --- a/board/qemu/mips64r6el-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips64r6el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/nios2-10m50/linux.fragment b/board/qemu/nios2-10m50/linux.fragment deleted file mode 100644 index c7647cee8a092da33268c33e29062bd4cf72f158..0000000000000000000000000000000000000000 --- a/board/qemu/nios2-10m50/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -# Embed the DTB in the kernel image -CONFIG_NIOS2_DTB_SOURCE_BOOL=y -CONFIG_NIOS2_DTB_SOURCE="10m50_devboard.dts" diff --git a/board/qemu/nios2-10m50/readme.txt b/board/qemu/nios2-10m50/readme.txt deleted file mode 100644 index f8f8f3b3a505e41ec03ae39547cecb04a676c2d8..0000000000000000000000000000000000000000 --- a/board/qemu/nios2-10m50/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-nios2 -kernel output/images/vmlinux -nographic # qemu_nios2_10m50_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/or1k/linux.config b/board/qemu/or1k/linux.config deleted file mode 100644 index 0a817b1e7fa3d609dab9b5509d193bb965530fdf..0000000000000000000000000000000000000000 --- a/board/qemu/or1k/linux.config +++ /dev/null @@ -1,30 +0,0 @@ -CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" -CONFIG_OPENRISC_BUILTIN_DTB="or1ksim" -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_IPV6 is not set -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_TMPFS=y -CONFIG_NETDEVICES=y -CONFIG_ETHOC=y -# CONFIG_WLAN is not set -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_HWMON is not set -# CONFIG_VGA_CONSOLE is not set -# CONFIG_USB_SUPPORT is not set diff --git a/board/qemu/or1k/readme.txt b/board/qemu/or1k/readme.txt deleted file mode 100644 index ed0359a0f50cb0b4c6cd968328cbc0fb3b9648e7..0000000000000000000000000000000000000000 --- a/board/qemu/or1k/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-or1k -kernel output/images/vmlinux -nographic # qemu_or1k_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/post-image.sh b/board/qemu/post-image.sh deleted file mode 100755 index fe46d0d4af1ad55ca668c967c599e0ae3a22a161..0000000000000000000000000000000000000000 --- a/board/qemu/post-image.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -QEMU_BOARD_DIR="$(dirname "$0")" -DEFCONFIG_NAME="$(basename "$2")" -README_FILES="${QEMU_BOARD_DIR}/*/readme.txt" -START_QEMU_SCRIPT="${BINARIES_DIR}/start-qemu.sh" - -if [[ "${DEFCONFIG_NAME}" =~ ^"qemu_*" ]]; then - # Not a Qemu defconfig, can't test. - exit 0 -fi - -# Search for "# qemu_*_defconfig" tag in all readme.txt files. -# Qemu command line on multilines using back slash are accepted. -# shellcheck disable=SC2086 # glob over each readme file -QEMU_CMD_LINE="$(sed -r ':a; /\\$/N; s/\\\n//; s/\t/ /; ta; /# '"${DEFCONFIG_NAME}"'$/!d; s/#.*//' ${README_FILES})" - -if [ -z "${QEMU_CMD_LINE}" ]; then - # No Qemu cmd line found, can't test. - exit 0 -fi - -# Remove output/images path since the script will be in -# the same directory as the kernel and the rootfs images. -QEMU_CMD_LINE="${QEMU_CMD_LINE//output\/images\//}" - -# Remove -serial stdio if present, keep it as default args -DEFAULT_ARGS="$(sed -r -e '/-serial stdio/!d; s/.*(-serial stdio).*/\1/' <<<"${QEMU_CMD_LINE}")" -QEMU_CMD_LINE="${QEMU_CMD_LINE//-serial stdio/}" - -# Remove any string before qemu-system-* -QEMU_CMD_LINE="$(sed -r -e 's/^.*(qemu-system-)/\1/' <<<"${QEMU_CMD_LINE}")" - -# Disable graphical output and redirect serial I/Os to console -case ${DEFCONFIG_NAME} in - (qemu_sh4eb_r2d_defconfig|qemu_sh4_r2d_defconfig) - # Special case for SH4 - SERIAL_ARGS="-serial stdio -display none" - ;; - (*) - SERIAL_ARGS="-nographic" - ;; -esac - -sed -e "s|@SERIAL_ARGS@|${SERIAL_ARGS}|g" \ - -e "s|@DEFAULT_ARGS@|${DEFAULT_ARGS}|g" \ - -e "s|@QEMU_CMD_LINE@|${QEMU_CMD_LINE}|g" \ - -e "s|@HOST_DIR@|${HOST_DIR}|g" \ - <"${QEMU_BOARD_DIR}/start-qemu.sh.in" \ - >"${START_QEMU_SCRIPT}" -chmod +x "${START_QEMU_SCRIPT}" diff --git a/board/qemu/ppc-bamboo/linux.fragment b/board/qemu/ppc-bamboo/linux.fragment deleted file mode 100644 index cc272d0541f00d03e1c20a89743984e28d2ae2f4..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-bamboo/linux.fragment +++ /dev/null @@ -1,6 +0,0 @@ -# Enable virtio (blk, rng and net devices) -CONFIG_VIRTIO=y -CONFIG_VIRTIO_PCI=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_NET=y diff --git a/board/qemu/ppc-bamboo/readme.txt b/board/qemu/ppc-bamboo/readme.txt deleted file mode 100644 index 53d1970698fca4f5acc58d8741ff8b55ac022b72..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-bamboo/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - -qemu-system-ppc -nographic -M bamboo -kernel output/images/vmlinux -net nic,model=virtio-net-pci -net user # qemu_ppc_bamboo_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/ppc-e500mc/linux.fragment b/board/qemu/ppc-e500mc/linux.fragment deleted file mode 100644 index 35a8dccf89227f95f594d3f5b9139da0e46ca5b6..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-e500mc/linux.fragment +++ /dev/null @@ -1,10 +0,0 @@ -# Enables generic PPC e500 base arch support for QEMU. -# The e500mc is a variant of the e500 arch. -CONFIG_PPC_QEMU_E500=y - -# Enable virtio (blk, rng and net devices) -CONFIG_VIRTIO=y -CONFIG_VIRTIO_PCI=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_NET=y diff --git a/board/qemu/ppc-e500mc/readme.txt b/board/qemu/ppc-e500mc/readme.txt deleted file mode 100644 index 76bad015d2d5c5fb1592ad87891e0e07b31f0b39..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-e500mc/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -M ppce500 -cpu e500mc -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -net nic,model=virtio-net-pci -net user -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc_e500mc_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/ppc-g3beige/linux.config b/board/qemu/ppc-g3beige/linux.config deleted file mode 100644 index f94488424339b6d574274284f829c365ba882b56..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-g3beige/linux.config +++ /dev/null @@ -1,28 +0,0 @@ -CONFIG_ALTIVEC=y -CONFIG_SYSVIPC=y -CONFIG_HIGHMEM=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_PCCARD=y -CONFIG_YENTA=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_ATA=y -CONFIG_PATA_MACIO=y -CONFIG_ADB=y -CONFIG_ADB_CUDA=y -CONFIG_ADB_PMU=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_8139CP=y -CONFIG_SERIAL_PMACZILOG=y -CONFIG_SERIAL_PMACZILOG_TTYS=y -CONFIG_SERIAL_PMACZILOG_CONSOLE=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_BOOTX_TEXT=y diff --git a/board/qemu/ppc-g3beige/readme.txt b/board/qemu/ppc-g3beige/readme.txt deleted file mode 100644 index e39579ade2274bed48ffc522212bf9ed206392ae..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-g3beige/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/sda" -serial stdio -net nic,model=rtl8139 -net user # qemu_ppc_g3beige_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/board/qemu/ppc-mac99/linux.fragment b/board/qemu/ppc-mac99/linux.fragment deleted file mode 100644 index b1975f8253f756d57cc7f6e28aa3af5152727e47..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-mac99/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_SERIAL_PMACZILOG=y -CONFIG_SERIAL_PMACZILOG_TTYS=y -CONFIG_SERIAL_PMACZILOG_CONSOLE=y diff --git a/board/qemu/ppc-mac99/readme.txt b/board/qemu/ppc-mac99/readme.txt deleted file mode 100644 index fb94a7837db26849cba0d60fe0075517c01976e8..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-mac99/readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -nographic -vga none -M mac99 -cpu g4 -m 1G -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -net nic,model=sungem -net user -append "root=/dev/sda" # qemu_ppc_mac99_defconfig diff --git a/board/qemu/ppc-mpc8544ds/linux.config b/board/qemu/ppc-mpc8544ds/linux.config deleted file mode 100644 index b36847c93dfa0a14242aa1439dc65792e70dbdb1..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-mpc8544ds/linux.config +++ /dev/null @@ -1,38 +0,0 @@ -CONFIG_PPC_85xx=y -CONFIG_PHYS_64BIT=y -CONFIG_SYSVIPC=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MPC8540_ADS=y -CONFIG_MPC85xx_DS=y -CONFIG_HIGHMEM=y -CONFIG_MATH_EMULATION=y -CONFIG_PCI=y -CONFIG_PCIEPORTBUS=y -CONFIG_PCI_MSI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_NETDEVICES=y -CONFIG_E1000=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=6 -CONFIG_SERIAL_8250_RUNTIME_UARTS=6 -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_DETECT_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_FSL=y -CONFIG_USB_OHCI_HCD=y -CONFIG_TMPFS=y diff --git a/board/qemu/ppc-mpc8544ds/readme.txt b/board/qemu/ppc-mpc8544ds/readme.txt deleted file mode 100644 index d34d64c336980ea0329fa8ae1702076bf956bb60..0000000000000000000000000000000000000000 --- a/board/qemu/ppc-mpc8544ds/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -M mpc8544ds -kernel output/images/vmlinux -serial stdio -net nic,model=e1000 -net user # qemu_ppc_mpc8544ds_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/ppc64-e5500/linux.fragment b/board/qemu/ppc64-e5500/linux.fragment deleted file mode 100644 index 071a55ccf735347dd15ee4fda0b389ec224940f9..0000000000000000000000000000000000000000 --- a/board/qemu/ppc64-e5500/linux.fragment +++ /dev/null @@ -1,10 +0,0 @@ -# Enables generic PPC e500 base arch support for QEMU. -# The e5500 is a variant of the e500 arch. -CONFIG_PPC_QEMU_E500=y - -# Enable virtio (blk, rng and net devices) -CONFIG_VIRTIO=y -CONFIG_VIRTIO_PCI=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_NET=y diff --git a/board/qemu/ppc64-e5500/readme.txt b/board/qemu/ppc64-e5500/readme.txt deleted file mode 100644 index 7c8c80af4458c1f7c792acedac21528382b7a117..0000000000000000000000000000000000000000 --- a/board/qemu/ppc64-e5500/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -net nic,model=virtio-net-pci -net user -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc64_e5500_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/ppc64-pseries/readme.txt b/board/qemu/ppc64-pseries/readme.txt deleted file mode 100644 index cbd3c6ca2b912601ec4223bd1988475da4914f6c..0000000000000000000000000000000000000000 --- a/board/qemu/ppc64-pseries/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses # qemu_ppc64_pseries_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/ppc64le-powernv8/readme.txt b/board/qemu/ppc64le-powernv8/readme.txt deleted file mode 100644 index b57c97464a8a856729d9b2257f9c44573d6fc74c..0000000000000000000000000000000000000000 --- a/board/qemu/ppc64le-powernv8/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - -qemu-system-ppc64 -M powernv9 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/nvme0n1" -device nvme,bus=pcie.3,addr=0x0,drive=drive0,serial=1234 -drive file=output/images/rootfs.ext2,if=none,id=drive0,format=raw,cache=none -device e1000e,netdev=net0,mac=C0:FF:EE:00:01:03,bus=pcie.1,addr=0x0 -netdev user,id=net0 -serial mon:stdio -nographic # qemu_ppc64le_powernv8_defconfig - -The login prompt will appear in the terminal window. diff --git a/board/qemu/ppc64le-pseries/readme.txt b/board/qemu/ppc64le-pseries/readme.txt deleted file mode 100644 index 3d5577aa32005badf5c835e07998991fe82af813..0000000000000000000000000000000000000000 --- a/board/qemu/ppc64le-pseries/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - -qemu-system-ppc64 -M pseries,x-vof=on -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses # qemu_ppc64le_pseries_defconfig - -The login prompt will appear in the terminal window. diff --git a/board/qemu/riscv32-virt/readme.txt b/board/qemu/riscv32-virt/readme.txt deleted file mode 100644 index 32b43335126fe5e43e7fc351c92f760190c81fb4..0000000000000000000000000000000000000000 --- a/board/qemu/riscv32-virt/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run Linux in emulation with: - - qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/riscv64-virt-efi/assemble-flash-images b/board/qemu/riscv64-virt-efi/assemble-flash-images deleted file mode 100755 index abcaa2c93bd06e99e205b42da698fdfd5afc3b18..0000000000000000000000000000000000000000 --- a/board/qemu/riscv64-virt-efi/assemble-flash-images +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh - -set -e - -BOARD_DIR="$(dirname "$0")" - -cp -f "${BOARD_DIR}"/grub.cfg "${BINARIES_DIR}"/efi-part/EFI/BOOT/grub.cfg - -# The QEMU riscv64 virt machine expects flash devices to be 32M. -truncate -s 32M "${BINARIES_DIR}"/RISCV_VIRT_CODE.fd -truncate -s 32M "${BINARIES_DIR}"/RISCV_VIRT_VARS.fd diff --git a/board/qemu/riscv64-virt-efi/genimage.cfg b/board/qemu/riscv64-virt-efi/genimage.cfg deleted file mode 100644 index 46950591e0a3d4c3fb14f81d71a6c2ccf245d564..0000000000000000000000000000000000000000 --- a/board/qemu/riscv64-virt-efi/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image efi-part.vfat { - vfat { - file EFI { - image = "efi-part/EFI" - } - - file Image { - image = "Image" - } - } - - size = 64M -} - -image disk.img { - hdimage { - partition-table-type = "gpt" - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = U - offset = 32K - bootable = true - } - - partition root { - # For partition-type-uuid value, see: - # https://uapi-group.org/specifications/specs/discoverable_partitions_specification/ - # SD_GPT_ROOT_RISCV64 - partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224 - image = "rootfs.ext2" - } -} diff --git a/board/qemu/riscv64-virt-efi/grub.cfg b/board/qemu/riscv64-virt-efi/grub.cfg deleted file mode 100644 index d99e19c4cd52721c10bbcce0feb7816357f3088c..0000000000000000000000000000000000000000 --- a/board/qemu/riscv64-virt-efi/grub.cfg +++ /dev/null @@ -1,6 +0,0 @@ -set default="0" -set timeout="5" - -menuentry "Buildroot" { - linux /Image root=PARTLABEL=root rootwait -} diff --git a/board/qemu/riscv64-virt-efi/readme.txt b/board/qemu/riscv64-virt-efi/readme.txt deleted file mode 100644 index 6b9651a011d70ebeec5f4fe0dec42776ab0ae15c..0000000000000000000000000000000000000000 --- a/board/qemu/riscv64-virt-efi/readme.txt +++ /dev/null @@ -1,36 +0,0 @@ -Intro -===== - -This is a RISC-V 64bit UEFI Linux boot demo in QEmu virt machine. - -Build -===== - - make qemu_riscv64_virt_efi_defconfig - make - -Emulation -========= - -Run the emulation with: - - qemu-system-riscv64 \ - -M virt,pflash0=pflash0,pflash1=pflash1,acpi=off \ - -smp 4 \ - -m 1024 \ - -nographic \ - -blockdev node-name=pflash0,driver=file,read-only=on,filename=output/images/RISCV_VIRT_CODE.fd \ - -blockdev node-name=pflash1,driver=file,filename=output/images/RISCV_VIRT_VARS.fd \ - \ - -drive file=output/images/disk.img,format=raw,id=hd0 \ - -device virtio-blk-device,drive=hd0 \ - \ - -netdev user,id=net0 \ - -device virtio-net-device,netdev=net0 # qemu_riscv64_virt_efi_defconfig - -Note: for information, qemu version >= 8.0.0 is needed for this UEFI -Linux demo. It introduced the two pflash memories (previous versions -had only one). The host-qemu package in Buildroot (enabled in this -defconfig) is sufficient to run this demo. In case another qemu is -used (for example, from the host OS), make sure to check the version -requirement. diff --git a/board/qemu/riscv64-virt/readme.txt b/board/qemu/riscv64-virt/readme.txt deleted file mode 100644 index 9e4cfc8c55463f78223a04a7006310ebbda958c5..0000000000000000000000000000000000000000 --- a/board/qemu/riscv64-virt/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run Linux in emulation with: - - qemu-system-riscv64 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv64_virt_defconfig - - qemu-system-riscv64 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv64,mmu=off # qemu_riscv64_nommu_virt_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/s390x/readme.txt b/board/qemu/s390x/readme.txt deleted file mode 100644 index 63e899c7607fab531f5b42b5910a26bd9d598829..0000000000000000000000000000000000000000 --- a/board/qemu/s390x/readme.txt +++ /dev/null @@ -1,8 +0,0 @@ -Run the emulation with: - - qemu-system-s390x -M s390-ccw-virtio -cpu max,zpci=on -m 4G -smp 2 \ - -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw \ - -append "rootwait root=/dev/vda net.ifnames=0 biosdevname=0" -display none -serial mon:stdio \ - -net nic,model=virtio -net user # qemu_s390x_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/sh4-r2d/linux.config b/board/qemu/sh4-r2d/linux.config deleted file mode 100644 index a3d654454901143c9ee388b1145618eba52a98e5..0000000000000000000000000000000000000000 --- a/board/qemu/sh4-r2d/linux.config +++ /dev/null @@ -1,38 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_CPU_SUBTYPE_SH7751R=y -CONFIG_MEMORY_START=0x0c000000 -CONFIG_FLATMEM_MANUAL=y -CONFIG_SH_RTS7751R2D=y -CONFIG_RTS7751R2D_PLUS=y -CONFIG_HEARTBEAT=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_PATA_PLATFORM=y -CONFIG_NETDEVICES=y -CONFIG_8139CP=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_SH_SCI=y -CONFIG_SERIAL_SH_SCI_CONSOLE=y -CONFIG_SPI=y -CONFIG_SPI_SH_SCI=y -CONFIG_MFD_SM501=y -CONFIG_FB=y -CONFIG_FB_SH_MOBILE_LCDC=y -CONFIG_FB_SH_MOBILE_HDMI=y -CONFIG_FB_SM501=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_LOGO=y -CONFIG_SOUND=y -CONFIG_SND_YMFPCI=y -CONFIG_SOUND_PRIME=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_R9701=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/sh4-r2d/readme.txt b/board/qemu/sh4-r2d/readme.txt deleted file mode 100644 index b0799e47a87163a4e6a1c9c55943353550929daf..0000000000000000000000000000000000000000 --- a/board/qemu/sh4-r2d/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4_r2d_defconfig - -The login prompt will appear in the terminal that started Qemu. -The graphical window is the framebuffer. diff --git a/board/qemu/sh4eb-r2d/linux.config b/board/qemu/sh4eb-r2d/linux.config deleted file mode 100644 index 6ead626c4101caedb7e40dd6ea79a0325827cf92..0000000000000000000000000000000000000000 --- a/board/qemu/sh4eb-r2d/linux.config +++ /dev/null @@ -1,38 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_CPU_SUBTYPE_SH7751R=y -CONFIG_MEMORY_START=0x0c000000 -CONFIG_FLATMEM_MANUAL=y -CONFIG_CPU_BIG_ENDIAN=y -CONFIG_SH_RTS7751R2D=y -CONFIG_RTS7751R2D_PLUS=y -CONFIG_HEARTBEAT=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_PATA_PLATFORM=y -CONFIG_NETDEVICES=y -CONFIG_8139CP=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_SH_SCI=y -CONFIG_SERIAL_SH_SCI_CONSOLE=y -CONFIG_SPI=y -CONFIG_SPI_SH_SCI=y -CONFIG_MFD_SM501=y -CONFIG_FB=y -CONFIG_FB_SH_MOBILE_LCDC=y -CONFIG_FB_SH_MOBILE_HDMI=y -CONFIG_FB_SM501=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_LOGO=y -CONFIG_SND_YMFPCI=y -CONFIG_SOUND_PRIME=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_R9701=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/sh4eb-r2d/readme.txt b/board/qemu/sh4eb-r2d/readme.txt deleted file mode 100644 index 9f3dd8b20b05b1f4c5e4b19c09972a2575909b1f..0000000000000000000000000000000000000000 --- a/board/qemu/sh4eb-r2d/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4eb_r2d_defconfig - -The login prompt will appear in the terminal that started Qemu. -The graphical window is the framebuffer. diff --git a/board/qemu/sparc-ss10/linux.config b/board/qemu/sparc-ss10/linux.config deleted file mode 100644 index cb8d01dc02f1c94fa863e19c7599fb509c6aceb0..0000000000000000000000000000000000000000 --- a/board/qemu/sparc-ss10/linux.config +++ /dev/null @@ -1,31 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_SUN_OPENPROMFS=m -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_SUNESP=y -CONFIG_NETDEVICES=y -CONFIG_SUNLANCE=y -# CONFIG_WLAN is not set -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_SUNKBD=y -CONFIG_MOUSE_SERIAL=y -CONFIG_SERIAL_SUNZILOG=y -CONFIG_SERIAL_SUNZILOG_CONSOLE=y -CONFIG_SERIAL_SUNSU=y -CONFIG_SERIAL_SUNSU_CONSOLE=y -CONFIG_SUN_OPENPROMIO=m -CONFIG_EXT4_FS=y -CONFIG_ISO9660_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/sparc-ss10/readme.txt b/board/qemu/sparc-ss10/readme.txt deleted file mode 100644 index d624b82d9f3364a2c2585e46518fea9a5699bb84..0000000000000000000000000000000000000000 --- a/board/qemu/sparc-ss10/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user # qemu_sparc_ss10_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/sparc64-sun4u/linux.config b/board/qemu/sparc64-sun4u/linux.config deleted file mode 100644 index 0e1e16879d2a678e210d3f4ce3f627b47e6a7726..0000000000000000000000000000000000000000 --- a/board/qemu/sparc64-sun4u/linux.config +++ /dev/null @@ -1,25 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ_IDLE=y -CONFIG_EMBEDDED=y -CONFIG_MODULES=y -CONFIG_PCI=y -CONFIG_SUN_OPENPROMFS=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_BLK_DEV_SD=y -CONFIG_ATA=y -CONFIG_PATA_CMD64X=y -CONFIG_NETDEVICES=y -CONFIG_E1000=y -CONFIG_SERIAL_SUNSU=y -CONFIG_SERIAL_SUNSU_CONSOLE=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_NLS=y -CONFIG_NLS_DEFAULT="utf-8" -CONFIG_MAGIC_SYSRQ=y diff --git a/board/qemu/sparc64-sun4u/readme.txt b/board/qemu/sparc64-sun4u/readme.txt deleted file mode 100644 index 17d8cbdf9b35679a636b5a8380eb7027dad0b604..0000000000000000000000000000000000000000 --- a/board/qemu/sparc64-sun4u/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=output/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user # qemu_sparc64_sun4u_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/qemu/start-qemu.sh.in b/board/qemu/start-qemu.sh.in deleted file mode 100644 index 38024b449e787f2bd241d75fd9a18c933488b6f9..0000000000000000000000000000000000000000 --- a/board/qemu/start-qemu.sh.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -BINARIES_DIR="${0%/*}/" -# shellcheck disable=SC2164 -cd "${BINARIES_DIR}" - -mode_serial=false -mode_sys_qemu=false -while [ "$1" ]; do - case "$1" in - --serial-only|serial-only) mode_serial=true; shift;; - --use-system-qemu) mode_sys_qemu=true; shift;; - --) shift; break;; - *) echo "unknown option: $1" >&2; exit 1;; - esac -done - -if ${mode_serial}; then - EXTRA_ARGS='@SERIAL_ARGS@' -else - EXTRA_ARGS='@DEFAULT_ARGS@' -fi - -if ! ${mode_sys_qemu}; then - export PATH="@HOST_DIR@/bin:${PATH}" -fi - -exec @QEMU_CMD_LINE@ ${EXTRA_ARGS} "$@" diff --git a/board/qemu/x86/linux.config b/board/qemu/x86/linux.config deleted file mode 100644 index a4da99ff43d6d3c840e86db53ece2698211a4da7..0000000000000000000000000000000000000000 --- a/board/qemu/x86/linux.config +++ /dev/null @@ -1,52 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_CGROUPS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_PCI=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_NE2K_PCI=y -CONFIG_8139CP=y -# CONFIG_WLAN is not set -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_DRM_QXL=y -CONFIG_DRM_BOCHS=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_GENERIC=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/board/qemu/x86/post-build.sh b/board/qemu/x86/post-build.sh deleted file mode 100755 index bf83a002c2fc4388a8398b6b219889a5dd48b61d..0000000000000000000000000000000000000000 --- a/board/qemu/x86/post-build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -u -set -e - -# Add a console on tty1 -if [ -e ${TARGET_DIR}/etc/inittab ]; then - grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ - sed -i '/GENERIC_SERIAL/a\ -tty1::respawn:/sbin/getty -L tty1 0 vt100 # QEMU graphical window' ${TARGET_DIR}/etc/inittab -fi diff --git a/board/qemu/x86/readme.txt b/board/qemu/x86/readme.txt deleted file mode 100644 index a1f232e2e457ded742f1238c0fe165c2e7af96ae..0000000000000000000000000000000000000000 --- a/board/qemu/x86/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user # qemu_x86_defconfig - -Optionally add -smp N to emulate a SMP system with N CPUs. - -The login prompt will appear in the graphical window. diff --git a/board/qemu/x86_64/linux.config b/board/qemu/x86_64/linux.config deleted file mode 100644 index e1d2ce01b004e895b3fd0223f7e471aff875374a..0000000000000000000000000000000000000000 --- a/board/qemu/x86_64/linux.config +++ /dev/null @@ -1,53 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_CGROUPS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_PCI=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_NE2K_PCI=y -CONFIG_8139CP=y -# CONFIG_WLAN is not set -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_DRM_QXL=y -CONFIG_DRM_BOCHS=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_GENERIC=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_UNWINDER_FRAME_POINTER=y diff --git a/board/qemu/x86_64/post-build.sh b/board/qemu/x86_64/post-build.sh deleted file mode 100755 index bf83a002c2fc4388a8398b6b219889a5dd48b61d..0000000000000000000000000000000000000000 --- a/board/qemu/x86_64/post-build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -u -set -e - -# Add a console on tty1 -if [ -e ${TARGET_DIR}/etc/inittab ]; then - grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ - sed -i '/GENERIC_SERIAL/a\ -tty1::respawn:/sbin/getty -L tty1 0 vt100 # QEMU graphical window' ${TARGET_DIR}/etc/inittab -fi diff --git a/board/qemu/x86_64/readme.txt b/board/qemu/x86_64/readme.txt deleted file mode 100644 index 2b2ae3be20f2ec1f8e20d7a082bdbba5ce675eda..0000000000000000000000000000000000000000 --- a/board/qemu/x86_64/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user # qemu_x86_64_defconfig - -Optionally add -smp N to emulate a SMP system with N CPUs. - -The login prompt will appear in the graphical window. diff --git a/board/qemu/xtensa-lx60/linux-nommu.config b/board/qemu/xtensa-lx60/linux-nommu.config deleted file mode 100644 index 8077645eec0d84f668da5cd8adfc07fab1358408..0000000000000000000000000000000000000000 --- a/board/qemu/xtensa-lx60/linux-nommu.config +++ /dev/null @@ -1,39 +0,0 @@ -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_XTENSA_VARIANT_CUSTOM=y -CONFIG_XTENSA_VARIANT_CUSTOM_NAME="dc233c" -# CONFIG_XTENSA_VARIANT_MMU is not set -CONFIG_XTENSA_UNALIGNED_USER=y -CONFIG_PREEMPT=y -CONFIG_MEMMAP_CACHEATTR=0x2cccccc7 -CONFIG_KERNEL_LOAD_ADDRESS=0x00003000 -# CONFIG_PCI is not set -CONFIG_XTENSA_PLATFORM_XTFPGA=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x04000000@0" -CONFIG_DEFAULT_MEM_START=0x00000000 -CONFIG_BINFMT_FLAT=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_IPV6 is not set -CONFIG_NETFILTER=y -CONFIG_DNS_RESOLVER=y -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_NETDEVICES=y -CONFIG_MARVELL_PHY=y -# CONFIG_WLAN is not set -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -CONFIG_SERIAL_8250_CONSOLE=y -# CONFIG_HWMON is not set -# CONFIG_VGA_CONSOLE is not set -CONFIG_TMPFS=y -CONFIG_FANOTIFY=y -CONFIG_PRINTK_TIME=y -# CONFIG_S32C1I_SELFTEST is not set diff --git a/board/qemu/xtensa-lx60/linux.config b/board/qemu/xtensa-lx60/linux.config deleted file mode 100644 index 625b86049f64889dbf8547cba4ffad61a6ff7d7e..0000000000000000000000000000000000000000 --- a/board/qemu/xtensa-lx60/linux.config +++ /dev/null @@ -1,36 +0,0 @@ -# CONFIG_SWAP is not set -# CONFIG_CROSS_MEMORY_ATTACH is not set -CONFIG_BLK_DEV_INITRD=y -CONFIG_XTENSA_VARIANT_DC233C=y -CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX=y -CONFIG_XTENSA_PLATFORM_XTFPGA=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS0,38400 memmap=0x04000000@0" -# CONFIG_COMPACTION is not set -# CONFIG_BOUNCE is not set -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_LRO is not set -# CONFIG_INET_DIAG is not set -# CONFIG_IPV6 is not set -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_NETDEVICES=y -# CONFIG_WLAN is not set -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -CONFIG_SERIAL_8250_CONSOLE=y -# CONFIG_HW_RANDOM is not set -# CONFIG_HWMON is not set -# CONFIG_VGA_CONSOLE is not set -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_LD_NO_RELAX=y -# CONFIG_S32C1I_SELFTEST is not set diff --git a/board/qemu/xtensa-lx60/readme.txt b/board/qemu/xtensa-lx60/readme.txt deleted file mode 100644 index 6f0e2710c0cb9c424753214c5d8e912d3bf82584..0000000000000000000000000000000000000000 --- a/board/qemu/xtensa-lx60/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-xtensa -M lx60 -cpu dc233c -monitor null -nographic -kernel output/images/Image.elf # qemu_xtensa_lx60_defconfig - - qemu-system-xtensa -M lx60 -cpu dc233c -monitor null -nographic -kernel output/images/Image.elf # qemu_xtensa_lx60_nommu_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/board/radxa/rock5b/boot.cmd b/board/radxa/rock5b/boot.cmd deleted file mode 100644 index 9a3e73e00366a08687262b65f7a75725889c9f59..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/boot.cmd +++ /dev/null @@ -1,3 +0,0 @@ -setenv bootargs root=/dev/mmcblk0p2 rw rootfstype=ext4 clkin_hz=(25000000) earlycon clk_ignore_unused earlyprintk console=ttyS2,1500000n8 rootwait -fatload mmc 1:1 ${loadaddr} image.itb -bootm ${loadaddr} diff --git a/board/radxa/rock5b/genimage.cfg b/board/radxa/rock5b/genimage.cfg deleted file mode 100644 index 2943232fc3553508bedb74df901bfe244e6e9cd9..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# SD card image for Radxa Rock 5b - -image boot.vfat { - vfat { - files = { - "image.itb", - "boot.scr" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - partition-table-type = "hybrid" - } - - partition uboot { - in-partition-table = "false" - image = "u-boot-rockchip.bin" - offset = 32K - } - - partition boot { - partition-type = "0xC" - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/radxa/rock5b/linux.fragment b/board/radxa/rock5b/linux.fragment deleted file mode 100644 index 28bb373ef2807c9e89d73e306046c037da82591b..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/linux.fragment +++ /dev/null @@ -1,5 +0,0 @@ -CONFIG_R8169=y -# CONFIG_ROCKCHIP_FIQ_DEBUGGER is not set -# Disable Rockchip specific WiFi drivers, as the kernel -# code cannot be build with GCC 12 due to several Werrors -# CONFIG_WL_ROCKCHIP is not set diff --git a/board/radxa/rock5b/patches/linux/0001-etherdevice-Adjust-ether_addr-prototypes-to-silence-.patch b/board/radxa/rock5b/patches/linux/0001-etherdevice-Adjust-ether_addr-prototypes-to-silence-.patch deleted file mode 100644 index 5632c5a6272bd605854414abc6156ef67e708674..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/patches/linux/0001-etherdevice-Adjust-ether_addr-prototypes-to-silence-.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 2618a0dae09ef37728dab89ff60418cbe25ae6bd Mon Sep 17 00:00:00 2001 -From: Kees Cook -Date: Sat, 12 Feb 2022 09:14:49 -0800 -Subject: etherdevice: Adjust ether_addr* prototypes to silence - -Wstringop-overead -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -With GCC 12, -Wstringop-overread was warning about an implicit cast from -char[6] to char[8]. However, the extra 2 bytes are always thrown away, -alignment doesn't matter, and the risk of hitting the edge of unallocated -memory has been accepted, so this prototype can just be converted to a -regular char *. Silences: - -net/core/dev.c: In function ‘bpf_prog_run_generic_xdp’: net/core/dev.c:4618:21: warning: ‘ether_addr_equal_64bits’ reading 8 bytes from a region of size 6 [-Wstringop-overread] - 4618 | orig_host = ether_addr_equal_64bits(eth->h_dest, > skb->dev->dev_addr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -net/core/dev.c:4618:21: note: referencing argument 1 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} -net/core/dev.c:4618:21: note: referencing argument 2 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} -In file included from net/core/dev.c:91: include/linux/etherdevice.h:375:20: note: in a call to function ‘ether_addr_equal_64bits’ - 375 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], - | ^~~~~~~~~~~~~~~~~~~~~~~ - -Reported-by: Marc Kleine-Budde -Tested-by: Marc Kleine-Budde -Link: https://lore.kernel.org/netdev/20220212090811.uuzk6d76agw2vv73@pengutronix.de -Cc: Jakub Kicinski -Cc: "David S. Miller" -Cc: netdev@vger.kernel.org -Signed-off-by: Kees Cook -Signed-off-by: David S. Miller -Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2618a0dae09ef37728dab89ff60418cbe25ae6bd -Signed-off-by: Kilian Zinnecker ---- - include/linux/etherdevice.h | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h -index 2ad71cc90b37d..92b10e67d5f87 100644 ---- a/include/linux/etherdevice.h -+++ b/include/linux/etherdevice.h -@@ -134,7 +134,7 @@ static inline bool is_multicast_ether_addr(const u8 *addr) - #endif - } - --static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) -+static inline bool is_multicast_ether_addr_64bits(const u8 *addr) - { - #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 - #ifdef __BIG_ENDIAN -@@ -372,8 +372,7 @@ static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) - * Please note that alignment of addr1 & addr2 are only guaranteed to be 16 bits. - */ - --static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], -- const u8 addr2[6+2]) -+static inline bool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2) - { - #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 - u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); --- -cgit - diff --git a/board/radxa/rock5b/patches/linux/0002-mm-page_alloc-fix-building-error-on-Werror-array-com.patch b/board/radxa/rock5b/patches/linux/0002-mm-page_alloc-fix-building-error-on-Werror-array-com.patch deleted file mode 100644 index 10de6c72d3f92bb51159c3a4060e604c40305a9c..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/patches/linux/0002-mm-page_alloc-fix-building-error-on-Werror-array-com.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ca831f29f8f25c97182e726429b38c0802200c8f Mon Sep 17 00:00:00 2001 -From: Xiongwei Song -Date: Fri, 14 Jan 2022 14:07:24 -0800 -Subject: mm: page_alloc: fix building error on -Werror=array-compare - -Arthur Marsh reported we would hit the error below when building kernel -with gcc-12: - - CC mm/page_alloc.o - mm/page_alloc.c: In function `mem_init_print_info': - mm/page_alloc.c:8173:27: error: comparison between two arrays [-Werror=array-compare] - 8173 | if (start <= pos && pos < end && size > adj) \ - | - -In C++20, the comparision between arrays should be warned. - -Link: https://lkml.kernel.org/r/20211125130928.32465-1-sxwjean@me.com -Signed-off-by: Xiongwei Song -Reported-by: Arthur Marsh -Signed-off-by: Andrew Morton -Signed-off-by: Linus Torvalds -Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca831f29f8f25c97182e726429b38c0802200c8f -Signed-off-by: Kilian Zinnecker ---- - mm/page_alloc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 806f317c2e7e2..c4ef450ac4428 100644 ---- a/mm/page_alloc.c -+++ b/mm/page_alloc.c -@@ -8228,7 +8228,7 @@ void __init mem_init_print_info(void) - */ - #define adj_init_size(start, end, size, pos, adj) \ - do { \ -- if (start <= pos && pos < end && size > adj) \ -+ if (&start[0] <= &pos[0] && &pos[0] < &end[0] && size > adj) \ - size -= adj; \ - } while (0) - --- -cgit - diff --git a/board/radxa/rock5b/patches/linux/linux.hash b/board/radxa/rock5b/patches/linux/linux.hash deleted file mode 100644 index 95ad749554f89af20ce1040a7882d9616d7f0aa5..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/patches/linux/linux.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 a5eca7b8f929a1918125e2e4fbd7ab4ea5b3910b5ae4547e81c794b47373ffb5 linux-52f51a2b5ba178f331af62260d2da86d7472c14b-br1.tar.gz diff --git a/board/radxa/rock5b/patches/uboot/uboot.hash b/board/radxa/rock5b/patches/uboot/uboot.hash deleted file mode 100644 index efd629bd2f9f5d21d4885238498202b0f28a47da..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/patches/uboot/uboot.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 12e921b466ae731cdbc355e6832b7f22bc90b01aeceef9886f98aaba7b394300 u-boot-2023.07.tar.bz2 diff --git a/board/radxa/rock5b/post-image.sh b/board/radxa/rock5b/post-image.sh deleted file mode 100755 index c706a5ee78726a1d5b0e4fc0b7136151ade3927e..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/post-image.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -set -e - -gzip -fk "${BINARIES_DIR}/Image" -cp board/radxa/rock5b/rock5b.its "${BINARIES_DIR}" -(cd "${BINARIES_DIR}" && mkimage -f rock5b.its image.itb) -support/scripts/genimage.sh -c board/radxa/rock5b/genimage.cfg diff --git a/board/radxa/rock5b/readme.txt b/board/radxa/rock5b/readme.txt deleted file mode 100644 index b3eb06851a739ad7e6d9900f8f89725ed21ee4f9..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/readme.txt +++ /dev/null @@ -1,102 +0,0 @@ -RADXA ROCK 5B -============== -https://wiki.radxa.com/Rock5/hardware/5b - -Build: -====== - $ make rock5b_defconfig - $ make - -Files created in output directory -================================= - -output/images -. -├── Image -├── Image.gz -├── boot.scr -├── boot.vfat -├── image.itb -├── rk3588-rock-5b.dtb -├── rk3588_bl31_v1.40.elf -├── rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin -├── rock5b.dts -├── rock5b.its -├── rootfs.ext2 -├── rootfs.ext4 -├── rootfs.tar -├── sdcard.img -├── u-boot-rockchip.bin -└── u-boot.bin - -Creating bootable SD card: -========================== - -Simply invoke (as root) - -sudo dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device. - -Booting: -======== - -Serial console: ---------------- -The Rock 5B has a 40-pin GPIO header. Its layout can be seen here: -https://wiki.radxa.com/Rock5/hardware/5b/gpio - -The Uart pins are as follows: - -pin 6: gnd -pin 8: tx -pin 10: rx - -Baudrate for this board is 1500000. - -Login: ------- -Enter 'root' as login user, and the prompt is ready. - -wiki link: ----------- -https://forum.radxa.com/c/rock5 - -Issues: -======= - -WiFi ----- -The custom Radxa kernel provides custom code to support WiFi. However, -that code does not compile with GCC 12, which is the current default -version in buildroot. Hence, the WiFi kernel drivers are disabled, until -the issues get fixed (if ever). If they are desperately needed, one may -apply the following workaround, as long as buildroot still supports GCC -version 11: - -1. Set GCC version 11, by adding the following line to -configs/rock5b_defconfig: - -BR2_GCC_VERSION_11_X=y - -2. Re-enable custom WiFi drivers by removing the following line from -board/radxa/rock5b/linux.fragment: - -# CONFIG_WL_ROCKCHIP is not set - -Rockchip FIQ Debugger ---------------------- -The custom kernel used for this board features an FIQ debugger, which -can be activated by typing "fiq" on the serial interface. As this can be -annoying if a user wants to type these charakters and it is not needed -for most users, this board support disables the FIQ debugger by default. -To re-enable the FIQ debugger follow the steps: - -1. In board/radxa/rock5b/rock5b.dts set the status property of the -fiq_debugger node to "okay" and set the status property of the uart2 -node to "disabled" - -2. Re-enable the fiq debugger module by removing the following line -from board/radxa/rock5b/linux.fragment: - -# CONFIG_ROCKCHIP_FIQ_DEBUGGER is not set diff --git a/board/radxa/rock5b/rock5b.dts b/board/radxa/rock5b/rock5b.dts deleted file mode 100644 index 71a4e42b5e3ee8e450a85b9939827854473b63fe..0000000000000000000000000000000000000000 --- a/board/radxa/rock5b/rock5b.dts +++ /dev/null @@ -1,12 +0,0 @@ -/dts-v1/; - -#include "rockchip/rk3588-rock-5b.dts" - -&fiq_debugger { - status = "disabled"; -}; - -&uart2 { - pinctrl-0 = <&uart2m0_xfer>; - status = "okay"; -}; diff --git a/board/radxa/rockpi-n8/extlinux.conf b/board/radxa/rockpi-n8/extlinux.conf deleted file mode 100644 index c323fe10efbc2a43d21de6121dc5b3c677892a61..0000000000000000000000000000000000000000 --- a/board/radxa/rockpi-n8/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label RK3288_ROCKPI_N8 linux - kernel /zImage - devicetree /rk3288-rock-pi-n8.dtb - append console=ttyS2,115200n8 root=/dev/mmcblk0p4 rw rootwait diff --git a/board/radxa/rockpi-n8/genimage.cfg b/board/radxa/rockpi-n8/genimage.cfg deleted file mode 100644 index bfcd92f590effbb28cc1fa000a333bed46fec416..0000000000000000000000000000000000000000 --- a/board/radxa/rockpi-n8/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "rk3288-rock-pi-n8.dtb", - "extlinux" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot-dtb.img" - offset = 8M - } - - partition boot { - partition-type-uuid = F - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 - image = "rootfs.ext4" - } -} diff --git a/board/radxa/rockpi-n8/post-build.sh b/board/radxa/rockpi-n8/post-build.sh deleted file mode 100755 index ba29375c05e862c25aec2704e066f5ce73f65392..0000000000000000000000000000000000000000 --- a/board/radxa/rockpi-n8/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/radxa/rockpi-n8/readme.txt b/board/radxa/rockpi-n8/readme.txt deleted file mode 100644 index ac83d5c8c67cc6d9d4d0de64fef084faf7c0ab4d..0000000000000000000000000000000000000000 --- a/board/radxa/rockpi-n8/readme.txt +++ /dev/null @@ -1,61 +0,0 @@ -RADXA ROCKPI-N8 -================ -https://wiki.radxa.com/RockpiN8 - -Build: -====== - $ make rock_pi_n8_defconfig - $ make - -Files created in output directory -================================= - -output/images -. -├── boot.vfat -├── extlinux -├── idbloader.img -├── rk3288-rock-pi-n8.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── u-boot.bin -├── u-boot-dtb.bin -├── u-boot-dtb.img -└── zImage - -Creating bootable SD card: -========================== - -Simply invoke (as root) - -sudo dd if=output/images/sdcard.img of=/dev/sdX && sync - -Where X is your SD card device. - -Booting: -======== - -Serial console: ---------------- -RockPi-N8 has a 40-pin GPIO header. The pin layout is as follows: - -pin 6: gnd -pin 8: tx -pin 10: rx - -Baudrate for this board is 115200. - -The boot order on rockpi-n8 is emmc, sd. If emmc contains a valid Image, the board -always boots from emmc. To boot from SD, erase emmc as per the guide: - -https://wiki.amarulasolutions.com/bsp/setup/rockchip/rk3399_emmc.html - -Login: ------- -Enter 'root' as login user, and the prompt is ready. - -wiki link: ----------- -https://wiki.amarulasolutions.com/bsp/rockchip/rk3288/rock-pi-n8.html diff --git a/board/raspberrypi/cmdline.txt b/board/raspberrypi/cmdline.txt deleted file mode 100644 index 155a54693bff3fac2e097b6f634b28544c21e56d..0000000000000000000000000000000000000000 --- a/board/raspberrypi/cmdline.txt +++ /dev/null @@ -1 +0,0 @@ -root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 diff --git a/board/raspberrypi/config_0w.txt b/board/raspberrypi/config_0w.txt deleted file mode 100644 index bc59d5fad2efe9a73ded456a0928ed2e371c2d8f..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_0w.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_3.txt b/board/raspberrypi/config_3.txt deleted file mode 100644 index bc59d5fad2efe9a73ded456a0928ed2e371c2d8f..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_3.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_3_64bit.txt b/board/raspberrypi/config_3_64bit.txt deleted file mode 100644 index 6672871125734f7c8f9453bdc6f40940bc842a0e..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_3_64bit.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=Image - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on - -# enable 64bits support -arm_64bit=1 diff --git a/board/raspberrypi/config_3_qt5we.txt b/board/raspberrypi/config_3_qt5we.txt deleted file mode 100644 index 752310b179587580951badedd316332cb448fb3b..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_3_qt5we.txt +++ /dev/null @@ -1,26 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=200 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt diff --git a/board/raspberrypi/config_4.txt b/board/raspberrypi/config_4.txt deleted file mode 100644 index 74a7b270cdf53b83aa8bac90c7c82fd7f0e6b509..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_4.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start4.elf -fixup_file=fixup4.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/config_4_64bit.txt b/board/raspberrypi/config_4_64bit.txt deleted file mode 100644 index a4ae327d2a2d7100663c9e694d8ecf7824aaa3bd..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_4_64bit.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start4.elf -fixup_file=fixup4.dat - -kernel=Image - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on - -# enable 64bits support -arm_64bit=1 diff --git a/board/raspberrypi/config_cm4io.txt b/board/raspberrypi/config_cm4io.txt deleted file mode 100644 index cf7e6df1a1aa17ebe405e74c410b67f898bb49c6..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_cm4io.txt +++ /dev/null @@ -1,33 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start4.elf -fixup_file=fixup4.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable RTC -dtparam=i2c_vc=on -dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi - -# enable dwc2 USB controller (USB 2.0) -dtoverlay=dwc2,dr_mode=host diff --git a/board/raspberrypi/config_cm4io_64bit.txt b/board/raspberrypi/config_cm4io_64bit.txt deleted file mode 100644 index 813f6eba7b89dbc35d658319694a88a341ef016a..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_cm4io_64bit.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start4.elf -fixup_file=fixup4.dat - -kernel=Image - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable RTC -dtparam=i2c_vc=on -dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi - -# enable dwc2 USB controller (USB 2.0) -dtoverlay=dwc2,dr_mode=host - -# enable 64bits support -arm_64bit=1 - diff --git a/board/raspberrypi/config_default.txt b/board/raspberrypi/config_default.txt deleted file mode 100644 index c09ecca1a99aec59324b2692aa2ed7d9457fc4a3..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_default.txt +++ /dev/null @@ -1,23 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 diff --git a/board/raspberrypi/config_zero2w.txt b/board/raspberrypi/config_zero2w.txt deleted file mode 100644 index 55095f64a7df4c10bb531434c958e3c44c9f1df5..0000000000000000000000000000000000000000 --- a/board/raspberrypi/config_zero2w.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 - -# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console -dtoverlay=miniuart-bt - -# enable autoprobing of Bluetooth driver without need of hciattach/btattach -dtparam=krnbt=on diff --git a/board/raspberrypi/genimage.cfg.in b/board/raspberrypi/genimage.cfg.in deleted file mode 100644 index fd38b86a0cfe40f5982904aab7b97ab10e4a51fc..0000000000000000000000000000000000000000 --- a/board/raspberrypi/genimage.cfg.in +++ /dev/null @@ -1,25 +0,0 @@ -image boot.vfat { - vfat { - files = { -#BOOT_FILES# - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/raspberrypi/post-build.sh b/board/raspberrypi/post-build.sh deleted file mode 100755 index 73026e59228c2941db94e266166553461d949089..0000000000000000000000000000000000000000 --- a/board/raspberrypi/post-build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -u -set -e - -# Add a console on tty1 -if [ -e ${TARGET_DIR}/etc/inittab ]; then - grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ - sed -i '/GENERIC_SERIAL/a\ -tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab -# systemd doesn't use /etc/inittab, enable getty.tty1.service instead -elif [ -d ${TARGET_DIR}/etc/systemd ]; then - mkdir -p "${TARGET_DIR}/etc/systemd/system/getty.target.wants" - ln -sf /lib/systemd/system/getty@.service \ - "${TARGET_DIR}/etc/systemd/system/getty.target.wants/getty@tty1.service" -fi diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh deleted file mode 100755 index 9b9eac972bacd7fc89e194d095ddde52216ed5e5..0000000000000000000000000000000000000000 --- a/board/raspberrypi/post-image.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -set -e - -BOARD_DIR="$(dirname $0)" -BOARD_NAME="$(basename ${BOARD_DIR})" -GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -# generate genimage from template if a board specific variant doesn't exists -if [ ! -e "${GENIMAGE_CFG}" ]; then - GENIMAGE_CFG="${BINARIES_DIR}/genimage.cfg" - FILES=() - - for i in "${BINARIES_DIR}"/*.dtb "${BINARIES_DIR}"/rpi-firmware/*; do - FILES+=( "${i#${BINARIES_DIR}/}" ) - done - - KERNEL=$(sed -n 's/^kernel=//p' "${BINARIES_DIR}/rpi-firmware/config.txt") - FILES+=( "${KERNEL}" ) - - BOOT_FILES=$(printf '\\t\\t\\t"%s",\\n' "${FILES[@]}") - sed "s|#BOOT_FILES#|${BOOT_FILES}|" "${BOARD_DIR}/genimage.cfg.in" \ - > "${GENIMAGE_CFG}" -fi - -# Pass an empty rootpath. genimage makes a full copy of the given rootpath to -# ${GENIMAGE_TMP}/root so passing TARGET_DIR would be a waste of time and disk -# space. We don't rely on genimage to build the rootfs image, just to insert a -# pre-built one in the disk image. - -trap 'rm -rf "${ROOTPATH_TMP}"' EXIT -ROOTPATH_TMP="$(mktemp -d)" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${ROOTPATH_TMP}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -exit $? diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt deleted file mode 100644 index 9202b5ff37a4c69c5da0e9ad5c5cb063994a9efa..0000000000000000000000000000000000000000 --- a/board/raspberrypi/readme.txt +++ /dev/null @@ -1,162 +0,0 @@ -Raspberry Pi - -Intro -===== - -These instructions apply to all models of the Raspberry Pi: - - the original models A and B, - - the "enhanced" models A+ and B+, - - the model B2 (aka Raspberry Pi 2) - - the model B3 (aka Raspberry Pi 3). - - the model B4 (aka Raspberry Pi 4). - - the model CM4 (aka Raspberry Pi Compute Module 4 and IO Board). - -How to build it -=============== - -Configure Buildroot -------------------- - -There are several Raspberry Pi defconfig files in Buildroot, one for -each major variant, which you should base your work on: - -For models A, B, A+ or B+: - - $ make raspberrypi_defconfig - -For model Zero (model A+ in smaller form factor): - - $ make raspberrypi0_defconfig - -or for model Zero W (model Zero with wireless LAN and Bluetooth): - - $ make raspberrypi0w_defconfig - -For model Zero 2 W (model B3 in smaller form factor): - - $ make raspberrypizero2w_defconfig - -For model 2 B: - - $ make raspberrypi2_defconfig - -For model 3 B and B+: - - $ make raspberrypi3_defconfig - -or for model 3 B and B+ (64 bit): - - $ make raspberrypi3_64_defconfig - -For model 4 B: - - $ make raspberrypi4_defconfig - -or for model 4 B (64 bit): - - $ make raspberrypi4_64_defconfig - -For model CM4 (on IO Board): - - $ make raspberrypicm4io_defconfig - -or for CM4 (on IO Board - 64 bit): - - $ make raspberrypicm4io_64_defconfig - -Build the rootfs ----------------- - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while, consider getting yourself a coffee ;-) ) - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- bcm2708-rpi-b.dtb [1] - +-- bcm2708-rpi-b-plus.dtb [1] - +-- bcm2708-rpi-cm.dtb [1] - +-- bcm2708-rpi-zero.dtb [1] - +-- bcm2708-rpi-zero-w.dtb [1] - +-- bcm2710-rpi-zero-2-w.dtb [1] - +-- bcm2709-rpi-2-b.dtb [1] - +-- bcm2710-rpi-3-b.dtb [1] - +-- bcm2710-rpi-3-b-plus.dtb [1] - +-- bcm2710-rpi-cm3.dtb [1] - +-- bcm2711-rpi-4-b.dtb [1] - +-- bcm2711-rpi-cm4.dtb [1] - +-- bcm2837-rpi-3-b.dtb [1] - +-- boot.vfat - +-- rootfs.ext4 - +-- rpi-firmware/ - | +-- bootcode.bin - | +-- cmdline.txt - | +-- config.txt - | +-- fixup.dat [1] - | +-- fixup4.dat [1] - | +-- start.elf [1] - | +-- start4.elf [1] - | `-- overlays/ [2] - +-- sdcard.img - +-- Image [1] - `-- zImage [1] - -[1] Not all of them will be present, depending on the RaspberryPi - model you are using. - -[2] Only for the Raspberry Pi 3/4 Models (overlay miniuart-bt is needed - to enable the RPi3 serial console otherwise occupied by the bluetooth - chip). Alternative would be to disable the serial console in cmdline.txt - and /etc/inittab. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the SDcard into your Raspberry Pi, and power it up. Your new system -should come up now and start two consoles: one on the serial port on -the P1 header, one on the HDMI output where you can login using a USB -keyboard. - -How to write to CM4 eMMC memory -=============================== - -For CM4 modules without eMMC memory see above for booting from SD card, -for CM4 modules with eMMC memory proceed as following: - -- fit jumper on IO Board header J2 to disable eMMC boot -- connect IO Board micro USB port (J11 USB slave) to your host linux system -- power up CM4/IO Board (lsusb command should show a '0a5c:2711 Broadcom Corp. - BCM2711 Boot' device) -- run 'sudo ./host/bin/rpiboot', output should look like the following: - Waiting for BCM2835/6/7/2711... - Loading embedded: bootcode4.bin - Sending bootcode.bin - Successful read 4 bytes - Waiting for BCM2835/6/7/2711... - Loading embedded: bootcode4.bin - Second stage boot server - Loading embedded: start4.elf - File read: start4.elf - Second stage boot server done - -- a USB mass storage device should show up (the CM4 eMMC memory), proceed - as described above to copy sdcard.img to it -- power down CM4/IO Board -- remove jumper on IO Board header J2 to re-enable eMMC boot -- power up CM4/IO Board diff --git a/board/raspberrypi0 b/board/raspberrypi0 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi0 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi0w b/board/raspberrypi0w deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi0w +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi2 b/board/raspberrypi2 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi2 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi3 b/board/raspberrypi3 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi3 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi3-64 b/board/raspberrypi3-64 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi3-64 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi4 b/board/raspberrypi4 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi4 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypi4-64 b/board/raspberrypi4-64 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypi4-64 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypicm4io b/board/raspberrypicm4io deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypicm4io +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypicm4io-64 b/board/raspberrypicm4io-64 deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypicm4io-64 +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/raspberrypizero2w b/board/raspberrypizero2w deleted file mode 120000 index fcdafc81edbd749ca3f41d67e52f2be0820b98c9..0000000000000000000000000000000000000000 --- a/board/raspberrypizero2w +++ /dev/null @@ -1 +0,0 @@ -raspberrypi \ No newline at end of file diff --git a/board/roseapplepi/genimage.cfg b/board/roseapplepi/genimage.cfg deleted file mode 100644 index 4c5a8de9020addc8d6fd6c71ee471c7c92fcde45..0000000000000000000000000000000000000000 --- a/board/roseapplepi/genimage.cfg +++ /dev/null @@ -1,45 +0,0 @@ -# Minimal SD card image for the Roseapple Pi -# -image boot.vfat { - vfat { - files = { - "uEnv.txt", - "uImage" - } - - file kernel.dtb { - image = "owl-s500-roseapplepi.dtb" - } - } - - size = 128M -} - -image sdcard.img { - hdimage { - } - - partition s500-bootloader { - in-partition-table = "no" - image = "s500-bootloader.bin" - offset = 0x200200 # 2MB + 512B - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 3M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/roseapplepi/linux.config b/board/roseapplepi/linux.config deleted file mode 100644 index 89e7c8917f1e9d26f2cc77b01973502593b054d1..0000000000000000000000000000000000000000 --- a/board/roseapplepi/linux.config +++ /dev/null @@ -1,70 +0,0 @@ -# CONFIG_SWAP is not set -# CONFIG_CROSS_MEMORY_ATTACH is not set -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -# CONFIG_CPU_ISOLATION is not set -# CONFIG_KALLSYMS is not set -# CONFIG_RSEQ is not set -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_ARCH_ACTIONS=y -CONFIG_SMP=y -CONFIG_ARM_PSCI=y -CONFIG_HIGHMEM=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_SUSPEND is not set -# CONFIG_STACKPROTECTOR is not set -# CONFIG_MQ_IOSCHED_KYBER is not set -# CONFIG_COREDUMP is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_DIAG is not set -# CONFIG_IPV6 is not set -# CONFIG_WIRELESS is not set -# CONFIG_ETHTOOL_NETLINK is not set -CONFIG_NETDEVICES=y -CONFIG_OWL_EMAC=y -CONFIG_REALTEK_PHY=y -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_ATC260X_ONKEY=y -# CONFIG_VT is not set -CONFIG_SERIAL_OWL=y -# CONFIG_HW_RANDOM is not set -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_OWL=y -CONFIG_PINCTRL=y -CONFIG_PINCTRL_OWL=y -CONFIG_PINCTRL_S500=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_ATC260X=y -CONFIG_MFD_ATC260X_I2C=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_ATC260X=y -# CONFIG_HID is not set -# CONFIG_USB_SUPPORT is not set -CONFIG_MMC=y -CONFIG_MMC_OWL=y -CONFIG_DMADEVICES=y -CONFIG_OWL_DMA=y -# CONFIG_VIRTIO_MENU is not set -# CONFIG_VHOST_MENU is not set -# CONFIG_IOMMU_SUPPORT is not set -CONFIG_EXT4_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -# CONFIG_MISC_FILESYSTEMS is not set -# CONFIG_NETWORK_FILESYSTEMS is not set -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set -# CONFIG_CRYPTO_HW is not set -# CONFIG_FTRACE is not set -# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch b/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch deleted file mode 100644 index ae19a490312aec76731676226e3982f058b939c1..0000000000000000000000000000000000000000 --- a/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch +++ /dev/null @@ -1,809 +0,0 @@ -From 9b2c282b348dfe966bbba967dc7a45ce817cce50 Mon Sep 17 00:00:00 2001 -From: Tom Rini -Date: Mon, 29 Feb 2016 11:34:15 -0500 -Subject: [PATCH] compiler*.h: sync include/linux/compiler*.h with Linux - 4.5-rc6 - -Copy these from Linux v4.5-rc6 tag. - -This is needed so that we can keep up with newer gcc versions. Note -that we don't have the uapi/ hierarchy from the kernel so continue to -use - -Signed-off-by: Tom Rini -Signed-off-by: Peter Korsgaard ---- - include/linux/compiler-gcc.h | 259 ++++++++++++++++++++++++++++++++--------- - include/linux/compiler-gcc3.h | 23 ---- - include/linux/compiler-gcc4.h | 88 -------------- - include/linux/compiler-gcc5.h | 65 ----------- - include/linux/compiler-intel.h | 5 + - include/linux/compiler.h | 178 ++++++++++++++++++++++++++-- - 6 files changed, 383 insertions(+), 235 deletions(-) - delete mode 100644 include/linux/compiler-gcc3.h - delete mode 100644 include/linux/compiler-gcc4.h - delete mode 100644 include/linux/compiler-gcc5.h - -diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h -index e057bd2a84..22ab246fee 100644 ---- a/include/linux/compiler-gcc.h -+++ b/include/linux/compiler-gcc.h -@@ -5,14 +5,28 @@ - /* - * Common definitions for all gcc versions go here. - */ --#define GCC_VERSION (__GNUC__ * 10000 \ -- + __GNUC_MINOR__ * 100 \ -- + __GNUC_PATCHLEVEL__) -- -+#define GCC_VERSION (__GNUC__ * 10000 \ -+ + __GNUC_MINOR__ * 100 \ -+ + __GNUC_PATCHLEVEL__) - - /* Optimization barrier */ -+ - /* The "volatile" is due to gcc bugs */ - #define barrier() __asm__ __volatile__("": : :"memory") -+/* -+ * This version is i.e. to prevent dead stores elimination on @ptr -+ * where gcc and llvm may behave differently when otherwise using -+ * normal barrier(): while gcc behavior gets along with a normal -+ * barrier(), llvm needs an explicit input variable to be assumed -+ * clobbered. The issue is as follows: while the inline asm might -+ * access any memory it wants, the compiler could have fit all of -+ * @ptr into memory registers instead, and since @ptr never escaped -+ * from that, it proofed that the inline asm wasn't touching any of -+ * it. This version works well with both compilers, i.e. we're telling -+ * the compiler that the inline asm absolutely may see the contents -+ * of @ptr. See also: https://llvm.org/bugs/show_bug.cgi?id=15495 -+ */ -+#define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory") - - /* - * This macro obfuscates arithmetic on a variable address so that gcc -@@ -32,58 +46,63 @@ - * the inline assembly constraint from =g to =r, in this particular - * case either is valid. - */ --#define RELOC_HIDE(ptr, off) \ -- ({ unsigned long __ptr; \ -- __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \ -- (typeof(ptr)) (__ptr + (off)); }) -+#define RELOC_HIDE(ptr, off) \ -+({ \ -+ unsigned long __ptr; \ -+ __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \ -+ (typeof(ptr)) (__ptr + (off)); \ -+}) - - /* Make the optimizer believe the variable can be manipulated arbitrarily. */ --#define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var)) -+#define OPTIMIZER_HIDE_VAR(var) \ -+ __asm__ ("" : "=r" (var) : "0" (var)) - - #ifdef __CHECKER__ --#define __must_be_array(arr) 0 -+#define __must_be_array(a) 0 - #else - /* &a[0] degrades to a pointer: a different type from an array */ --#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) -+#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) - #endif - - /* - * Force always-inline if the user requests it so via the .config, - * or if gcc is too old: - */ --#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \ -+#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \ - !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4) --# define inline inline __attribute__((always_inline)) notrace --# define __inline__ __inline__ __attribute__((always_inline)) notrace --# define __inline __inline __attribute__((always_inline)) notrace -+#define inline inline __attribute__((always_inline)) notrace -+#define __inline__ __inline__ __attribute__((always_inline)) notrace -+#define __inline __inline __attribute__((always_inline)) notrace - #else - /* A lot of inline functions can cause havoc with function tracing */ --# define inline inline notrace --# define __inline__ __inline__ notrace --# define __inline __inline notrace -+#define inline inline notrace -+#define __inline__ __inline__ notrace -+#define __inline __inline notrace - #endif - --#define __deprecated __attribute__((deprecated)) --#ifndef __packed --#define __packed __attribute__((packed)) --#endif --#ifndef __weak --#define __weak __attribute__((weak)) --#endif -+#define __always_inline inline __attribute__((always_inline)) -+#define noinline __attribute__((noinline)) -+ -+#define __deprecated __attribute__((deprecated)) -+#define __packed __attribute__((packed)) -+#define __weak __attribute__((weak)) -+#define __alias(symbol) __attribute__((alias(#symbol))) - - /* -- * it doesn't make sense on ARM (currently the only user of __naked) to trace -- * naked functions because then mcount is called without stack and frame pointer -- * being set up and there is no chance to restore the lr register to the value -- * before mcount was called. -+ * it doesn't make sense on ARM (currently the only user of __naked) -+ * to trace naked functions because then mcount is called without -+ * stack and frame pointer being set up and there is no chance to -+ * restore the lr register to the value before mcount was called. -+ * -+ * The asm() bodies of naked functions often depend on standard calling -+ * conventions, therefore they must be noinline and noclone. - * -- * The asm() bodies of naked functions often depend on standard calling conventions, -- * therefore they must be noinline and noclone. GCC 4.[56] currently fail to enforce -- * this, so we must do so ourselves. See GCC PR44290. -+ * GCC 4.[56] currently fail to enforce this, so we must do so ourselves. -+ * See GCC PR44290. - */ --#define __naked __attribute__((naked)) noinline __noclone notrace -+#define __naked __attribute__((naked)) noinline __noclone notrace - --#define __noreturn __attribute__((noreturn)) -+#define __noreturn __attribute__((noreturn)) - - /* - * From the GCC manual: -@@ -95,34 +114,170 @@ - * would be. - * [...] - */ --#ifndef __pure --#define __pure __attribute__((pure)) -+#define __pure __attribute__((pure)) -+#define __aligned(x) __attribute__((aligned(x))) -+#define __printf(a, b) __attribute__((format(printf, a, b))) -+#define __scanf(a, b) __attribute__((format(scanf, a, b))) -+#define __attribute_const__ __attribute__((__const__)) -+#define __maybe_unused __attribute__((unused)) -+#define __always_unused __attribute__((unused)) -+ -+/* gcc version specific checks */ -+ -+#if GCC_VERSION < 30200 -+# error Sorry, your compiler is too old - please upgrade it. -+#endif -+ -+#if GCC_VERSION < 30300 -+# define __used __attribute__((__unused__)) -+#else -+# define __used __attribute__((__used__)) -+#endif -+ -+#ifdef CONFIG_GCOV_KERNEL -+# if GCC_VERSION < 30400 -+# error "GCOV profiling support for gcc versions below 3.4 not included" -+# endif /* __GNUC_MINOR__ */ -+#endif /* CONFIG_GCOV_KERNEL */ -+ -+#if GCC_VERSION >= 30400 -+#define __must_check __attribute__((warn_unused_result)) -+#endif -+ -+#if GCC_VERSION >= 40000 -+ -+/* GCC 4.1.[01] miscompiles __weak */ -+#ifdef __KERNEL__ -+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101 -+# error Your version of gcc miscompiles the __weak directive -+# endif -+#endif -+ -+#define __used __attribute__((__used__)) -+#define __compiler_offsetof(a, b) \ -+ __builtin_offsetof(a, b) -+ -+#if GCC_VERSION >= 40100 && GCC_VERSION < 40600 -+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0) -+#endif -+ -+#if GCC_VERSION >= 40300 -+/* Mark functions as cold. gcc will assume any path leading to a call -+ * to them will be unlikely. This means a lot of manual unlikely()s -+ * are unnecessary now for any paths leading to the usual suspects -+ * like BUG(), printk(), panic() etc. [but let's keep them for now for -+ * older compilers] -+ * -+ * Early snapshots of gcc 4.3 don't support this and we can't detect this -+ * in the preprocessor, but we can live with this because they're unreleased. -+ * Maketime probing would be overkill here. -+ * -+ * gcc also has a __attribute__((__hot__)) to move hot functions into -+ * a special section, but I don't see any sense in this right now in -+ * the kernel context -+ */ -+#define __cold __attribute__((__cold__)) -+ -+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -+ -+#ifndef __CHECKER__ -+# define __compiletime_warning(message) __attribute__((warning(message))) -+# define __compiletime_error(message) __attribute__((error(message))) -+#endif /* __CHECKER__ */ -+#endif /* GCC_VERSION >= 40300 */ -+ -+#if GCC_VERSION >= 40500 -+/* -+ * Mark a position in code as unreachable. This can be used to -+ * suppress control flow warnings after asm blocks that transfer -+ * control elsewhere. -+ * -+ * Early snapshots of gcc 4.5 don't support this and we can't detect -+ * this in the preprocessor, but we can live with this because they're -+ * unreleased. Really, we need to have autoconf for the kernel. -+ */ -+#define unreachable() __builtin_unreachable() -+ -+/* Mark a function definition as prohibited from being cloned. */ -+#define __noclone __attribute__((__noclone__)) -+ -+#endif /* GCC_VERSION >= 40500 */ -+ -+#if GCC_VERSION >= 40600 -+/* -+ * When used with Link Time Optimization, gcc can optimize away C functions or -+ * variables which are referenced only from assembly code. __visible tells the -+ * optimizer that something else uses this function or variable, thus preventing -+ * this. -+ */ -+#define __visible __attribute__((externally_visible)) - #endif --#ifndef __aligned --#define __aligned(x) __attribute__((aligned(x))) -+ -+ -+#if GCC_VERSION >= 40900 && !defined(__CHECKER__) -+/* -+ * __assume_aligned(n, k): Tell the optimizer that the returned -+ * pointer can be assumed to be k modulo n. The second argument is -+ * optional (default 0), so we use a variadic macro to make the -+ * shorthand. -+ * -+ * Beware: Do not apply this to functions which may return -+ * ERR_PTRs. Also, it is probably unwise to apply it to functions -+ * returning extra information in the low bits (but in that case the -+ * compiler should see some alignment anyway, when the return value is -+ * massaged by 'flags = ptr & 3; ptr &= ~3;'). -+ */ -+#define __assume_aligned(a, ...) __attribute__((__assume_aligned__(a, ## __VA_ARGS__))) - #endif --#define __printf(a, b) __attribute__((format(printf, a, b))) --#define __scanf(a, b) __attribute__((format(scanf, a, b))) --#define noinline __attribute__((noinline)) --#define __attribute_const__ __attribute__((__const__)) --#define __maybe_unused __attribute__((unused)) --#define __always_unused __attribute__((unused)) - --#define __gcc_header(x) #x --#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h) --#define gcc_header(x) _gcc_header(x) --#include gcc_header(__GNUC__) -+/* -+ * GCC 'asm goto' miscompiles certain code sequences: -+ * -+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -+ * -+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -+ * -+ * (asm goto is automatically volatile - the naming reflects this.) -+ */ -+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -+ -+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP -+#if GCC_VERSION >= 40400 -+#define __HAVE_BUILTIN_BSWAP32__ -+#define __HAVE_BUILTIN_BSWAP64__ -+#endif -+#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600) -+#define __HAVE_BUILTIN_BSWAP16__ -+#endif -+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -+ -+#if GCC_VERSION >= 50000 -+#define KASAN_ABI_VERSION 4 -+#elif GCC_VERSION >= 40902 -+#define KASAN_ABI_VERSION 3 -+#endif -+ -+#if GCC_VERSION >= 40902 -+/* -+ * Tell the compiler that address safety instrumentation (KASAN) -+ * should not be applied to that function. -+ * Conflicts with inlining: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368 -+ */ -+#define __no_sanitize_address __attribute__((no_sanitize_address)) -+#endif -+ -+#endif /* gcc version >= 40000 specific checks */ - - #if !defined(__noclone) - #define __noclone /* not needed */ - #endif - -+#if !defined(__no_sanitize_address) -+#define __no_sanitize_address -+#endif -+ - /* - * A trick to suppress uninitialized variable warning without generating any - * code - */ - #define uninitialized_var(x) x = x -- --#ifndef __always_inline --#define __always_inline inline __attribute__((always_inline)) --#endif -diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h -deleted file mode 100644 -index 7d89febe4d..0000000000 ---- a/include/linux/compiler-gcc3.h -+++ /dev/null -@@ -1,23 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --#if GCC_VERSION < 30200 --# error Sorry, your compiler is too old - please upgrade it. --#endif -- --#if GCC_VERSION >= 30300 --# define __used __attribute__((__used__)) --#else --# define __used __attribute__((__unused__)) --#endif -- --#if GCC_VERSION >= 30400 --#define __must_check __attribute__((warn_unused_result)) --#endif -- --#ifdef CONFIG_GCOV_KERNEL --# if GCC_VERSION < 30400 --# error "GCOV profiling support for gcc versions below 3.4 not included" --# endif /* __GNUC_MINOR__ */ --#endif /* CONFIG_GCOV_KERNEL */ -diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h -deleted file mode 100644 -index 2507fd2a1e..0000000000 ---- a/include/linux/compiler-gcc4.h -+++ /dev/null -@@ -1,88 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --/* GCC 4.1.[01] miscompiles __weak */ --#ifdef __KERNEL__ --# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101 --# error Your version of gcc miscompiles the __weak directive --# endif --#endif -- --#define __used __attribute__((__used__)) --#define __must_check __attribute__((warn_unused_result)) --#define __compiler_offsetof(a,b) __builtin_offsetof(a,b) -- --#if GCC_VERSION >= 40100 && GCC_VERSION < 40600 --# define __compiletime_object_size(obj) __builtin_object_size(obj, 0) --#endif -- --#if GCC_VERSION >= 40300 --/* Mark functions as cold. gcc will assume any path leading to a call -- to them will be unlikely. This means a lot of manual unlikely()s -- are unnecessary now for any paths leading to the usual suspects -- like BUG(), printk(), panic() etc. [but let's keep them for now for -- older compilers] -- -- Early snapshots of gcc 4.3 don't support this and we can't detect this -- in the preprocessor, but we can live with this because they're unreleased. -- Maketime probing would be overkill here. -- -- gcc also has a __attribute__((__hot__)) to move hot functions into -- a special section, but I don't see any sense in this right now in -- the kernel context */ --#define __cold __attribute__((__cold__)) -- --#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -- --#ifndef __CHECKER__ --# define __compiletime_warning(message) __attribute__((warning(message))) --# define __compiletime_error(message) __attribute__((error(message))) --#endif /* __CHECKER__ */ --#endif /* GCC_VERSION >= 40300 */ -- --#if GCC_VERSION >= 40500 --/* -- * Mark a position in code as unreachable. This can be used to -- * suppress control flow warnings after asm blocks that transfer -- * control elsewhere. -- * -- * Early snapshots of gcc 4.5 don't support this and we can't detect -- * this in the preprocessor, but we can live with this because they're -- * unreleased. Really, we need to have autoconf for the kernel. -- */ --#define unreachable() __builtin_unreachable() -- --/* Mark a function definition as prohibited from being cloned. */ --#define __noclone __attribute__((__noclone__)) -- --#endif /* GCC_VERSION >= 40500 */ -- --#if GCC_VERSION >= 40600 --/* -- * Tell the optimizer that something else uses this function or variable. -- */ --#define __visible __attribute__((externally_visible)) --#endif -- --/* -- * GCC 'asm goto' miscompiles certain code sequences: -- * -- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -- * -- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -- * Fixed in GCC 4.8.2 and later versions. -- * -- * (asm goto is automatically volatile - the naming reflects this.) -- */ --#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -- --#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP --#if GCC_VERSION >= 40400 --#define __HAVE_BUILTIN_BSWAP32__ --#define __HAVE_BUILTIN_BSWAP64__ --#endif --#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600) --#define __HAVE_BUILTIN_BSWAP16__ --#endif --#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h -deleted file mode 100644 -index c8c5659525..0000000000 ---- a/include/linux/compiler-gcc5.h -+++ /dev/null -@@ -1,65 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --#define __used __attribute__((__used__)) --#define __must_check __attribute__((warn_unused_result)) --#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) -- --/* Mark functions as cold. gcc will assume any path leading to a call -- to them will be unlikely. This means a lot of manual unlikely()s -- are unnecessary now for any paths leading to the usual suspects -- like BUG(), printk(), panic() etc. [but let's keep them for now for -- older compilers] -- -- Early snapshots of gcc 4.3 don't support this and we can't detect this -- in the preprocessor, but we can live with this because they're unreleased. -- Maketime probing would be overkill here. -- -- gcc also has a __attribute__((__hot__)) to move hot functions into -- a special section, but I don't see any sense in this right now in -- the kernel context */ --#define __cold __attribute__((__cold__)) -- --#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -- --#ifndef __CHECKER__ --# define __compiletime_warning(message) __attribute__((warning(message))) --# define __compiletime_error(message) __attribute__((error(message))) --#endif /* __CHECKER__ */ -- --/* -- * Mark a position in code as unreachable. This can be used to -- * suppress control flow warnings after asm blocks that transfer -- * control elsewhere. -- * -- * Early snapshots of gcc 4.5 don't support this and we can't detect -- * this in the preprocessor, but we can live with this because they're -- * unreleased. Really, we need to have autoconf for the kernel. -- */ --#define unreachable() __builtin_unreachable() -- --/* Mark a function definition as prohibited from being cloned. */ --#define __noclone __attribute__((__noclone__)) -- --/* -- * Tell the optimizer that something else uses this function or variable. -- */ --#define __visible __attribute__((externally_visible)) -- --/* -- * GCC 'asm goto' miscompiles certain code sequences: -- * -- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -- * -- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -- * -- * (asm goto is automatically volatile - the naming reflects this.) -- */ --#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -- --#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP --#define __HAVE_BUILTIN_BSWAP32__ --#define __HAVE_BUILTIN_BSWAP64__ --#define __HAVE_BUILTIN_BSWAP16__ --#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h -index ba147a1727..d4c71132d0 100644 ---- a/include/linux/compiler-intel.h -+++ b/include/linux/compiler-intel.h -@@ -13,9 +13,14 @@ - /* Intel ECC compiler doesn't support gcc specific asm stmts. - * It uses intrinsics to do the equivalent things. - */ -+#undef barrier -+#undef barrier_data - #undef RELOC_HIDE - #undef OPTIMIZER_HIDE_VAR - -+#define barrier() __memory_barrier() -+#define barrier_data(ptr) barrier() -+ - #define RELOC_HIDE(ptr, off) \ - ({ unsigned long __ptr; \ - __ptr = (unsigned long) (ptr); \ -diff --git a/include/linux/compiler.h b/include/linux/compiler.h -index d5ad7b1118..020ad16a04 100644 ---- a/include/linux/compiler.h -+++ b/include/linux/compiler.h -@@ -17,6 +17,7 @@ - # define __release(x) __context__(x,-1) - # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) - # define __percpu __attribute__((noderef, address_space(3))) -+# define __pmem __attribute__((noderef, address_space(5))) - #ifdef CONFIG_SPARSE_RCU_POINTER - # define __rcu __attribute__((noderef, address_space(4))) - #else -@@ -42,6 +43,7 @@ extern void __chk_io_ptr(const volatile void __iomem *); - # define __cond_lock(x,c) (c) - # define __percpu - # define __rcu -+# define __pmem - #endif - - /* Indirect macros required for expanded argument pasting, eg. __LINE__. */ -@@ -54,7 +56,11 @@ extern void __chk_io_ptr(const volatile void __iomem *); - #include - #endif - -+#if defined(CC_USING_HOTPATCH) && !defined(__CHECKER__) -+#define notrace __attribute__((hotpatch(0,0))) -+#else - #define notrace __attribute__((no_instrument_function)) -+#endif - - /* Intel compiler defines __GNUC__. So we will overwrite implementations - * coming from above header files here -@@ -138,7 +144,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - */ - #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) - #define __trace_if(cond) \ -- if (__builtin_constant_p((cond)) ? !!(cond) : \ -+ if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ - ({ \ - int ______r; \ - static struct ftrace_branch_data \ -@@ -165,6 +171,10 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - # define barrier() __memory_barrier() - #endif - -+#ifndef barrier_data -+# define barrier_data(ptr) barrier() -+#endif -+ - /* Unreachable code */ - #ifndef unreachable - # define unreachable() do { } while (1) -@@ -186,6 +196,126 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - # define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __LINE__) - #endif - -+#include -+ -+#define __READ_ONCE_SIZE \ -+({ \ -+ switch (size) { \ -+ case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \ -+ case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \ -+ case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \ -+ case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \ -+ default: \ -+ barrier(); \ -+ __builtin_memcpy((void *)res, (const void *)p, size); \ -+ barrier(); \ -+ } \ -+}) -+ -+static __always_inline -+void __read_once_size(const volatile void *p, void *res, int size) -+{ -+ __READ_ONCE_SIZE; -+} -+ -+#ifdef CONFIG_KASAN -+/* -+ * This function is not 'inline' because __no_sanitize_address confilcts -+ * with inlining. Attempt to inline it may cause a build failure. -+ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67368 -+ * '__maybe_unused' allows us to avoid defined-but-not-used warnings. -+ */ -+static __no_sanitize_address __maybe_unused -+void __read_once_size_nocheck(const volatile void *p, void *res, int size) -+{ -+ __READ_ONCE_SIZE; -+} -+#else -+static __always_inline -+void __read_once_size_nocheck(const volatile void *p, void *res, int size) -+{ -+ __READ_ONCE_SIZE; -+} -+#endif -+ -+static __always_inline void __write_once_size(volatile void *p, void *res, int size) -+{ -+ switch (size) { -+ case 1: *(volatile __u8 *)p = *(__u8 *)res; break; -+ case 2: *(volatile __u16 *)p = *(__u16 *)res; break; -+ case 4: *(volatile __u32 *)p = *(__u32 *)res; break; -+ case 8: *(volatile __u64 *)p = *(__u64 *)res; break; -+ default: -+ barrier(); -+ __builtin_memcpy((void *)p, (const void *)res, size); -+ barrier(); -+ } -+} -+ -+/* -+ * Prevent the compiler from merging or refetching reads or writes. The -+ * compiler is also forbidden from reordering successive instances of -+ * READ_ONCE, WRITE_ONCE and ACCESS_ONCE (see below), but only when the -+ * compiler is aware of some particular ordering. One way to make the -+ * compiler aware of ordering is to put the two invocations of READ_ONCE, -+ * WRITE_ONCE or ACCESS_ONCE() in different C statements. -+ * -+ * In contrast to ACCESS_ONCE these two macros will also work on aggregate -+ * data types like structs or unions. If the size of the accessed data -+ * type exceeds the word size of the machine (e.g., 32 bits or 64 bits) -+ * READ_ONCE() and WRITE_ONCE() will fall back to memcpy and print a -+ * compile-time warning. -+ * -+ * Their two major use cases are: (1) Mediating communication between -+ * process-level code and irq/NMI handlers, all running on the same CPU, -+ * and (2) Ensuring that the compiler does not fold, spindle, or otherwise -+ * mutilate accesses that either do not require ordering or that interact -+ * with an explicit memory barrier or atomic instruction that provides the -+ * required ordering. -+ */ -+ -+#define __READ_ONCE(x, check) \ -+({ \ -+ union { typeof(x) __val; char __c[1]; } __u; \ -+ if (check) \ -+ __read_once_size(&(x), __u.__c, sizeof(x)); \ -+ else \ -+ __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ -+ __u.__val; \ -+}) -+#define READ_ONCE(x) __READ_ONCE(x, 1) -+ -+/* -+ * Use READ_ONCE_NOCHECK() instead of READ_ONCE() if you need -+ * to hide memory access from KASAN. -+ */ -+#define READ_ONCE_NOCHECK(x) __READ_ONCE(x, 0) -+ -+#define WRITE_ONCE(x, val) \ -+({ \ -+ union { typeof(x) __val; char __c[1]; } __u = \ -+ { .__val = (__force typeof(x)) (val) }; \ -+ __write_once_size(&(x), __u.__c, sizeof(x)); \ -+ __u.__val; \ -+}) -+ -+/** -+ * smp_cond_acquire() - Spin wait for cond with ACQUIRE ordering -+ * @cond: boolean expression to wait for -+ * -+ * Equivalent to using smp_load_acquire() on the condition variable but employs -+ * the control dependency of the wait to reduce the barrier on many platforms. -+ * -+ * The control dependency provides a LOAD->STORE order, the additional RMB -+ * provides LOAD->LOAD order, together they provide LOAD->{LOAD,STORE} order, -+ * aka. ACQUIRE. -+ */ -+#define smp_cond_acquire(cond) do { \ -+ while (!(cond)) \ -+ cpu_relax(); \ -+ smp_rmb(); /* ctrl + rmb := acquire */ \ -+} while (0) -+ - #endif /* __KERNEL__ */ - - #endif /* __ASSEMBLY__ */ -@@ -304,6 +434,14 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - #define __visible - #endif - -+/* -+ * Assume alignment of return value. -+ */ -+#ifndef __assume_aligned -+#define __assume_aligned(a, ...) -+#endif -+ -+ - /* Are two types/vars the same type (ignoring qualifiers)? */ - #ifndef __same_type - # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) -@@ -311,7 +449,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - - /* Is this type a native word size -- useful for atomic operations */ - #ifndef __native_word --# define __native_word(t) (sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long)) -+# define __native_word(t) (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long)) - #endif - - /* Compile time object size, -1 for unknown */ -@@ -373,12 +511,38 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); - * to make the compiler aware of ordering is to put the two invocations of - * ACCESS_ONCE() in different C statements. - * -- * This macro does absolutely -nothing- to prevent the CPU from reordering, -- * merging, or refetching absolutely anything at any time. Its main intended -- * use is to mediate communication between process-level code and irq/NMI -- * handlers, all running on the same CPU. -+ * ACCESS_ONCE will only work on scalar types. For union types, ACCESS_ONCE -+ * on a union member will work as long as the size of the member matches the -+ * size of the union and the size is smaller than word size. -+ * -+ * The major use cases of ACCESS_ONCE used to be (1) Mediating communication -+ * between process-level code and irq/NMI handlers, all running on the same CPU, -+ * and (2) Ensuring that the compiler does not fold, spindle, or otherwise -+ * mutilate accesses that either do not require ordering or that interact -+ * with an explicit memory barrier or atomic instruction that provides the -+ * required ordering. -+ * -+ * If possible use READ_ONCE()/WRITE_ONCE() instead. -+ */ -+#define __ACCESS_ONCE(x) ({ \ -+ __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \ -+ (volatile typeof(x) *)&(x); }) -+#define ACCESS_ONCE(x) (*__ACCESS_ONCE(x)) -+ -+/** -+ * lockless_dereference() - safely load a pointer for later dereference -+ * @p: The pointer to load -+ * -+ * Similar to rcu_dereference(), but for situations where the pointed-to -+ * object's lifetime is managed by something other than RCU. That -+ * "something other" might be reference counting or simple immortality. - */ --#define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) -+#define lockless_dereference(p) \ -+({ \ -+ typeof(p) _________p1 = READ_ONCE(p); \ -+ smp_read_barrier_depends(); /* Dependency order vs. p above. */ \ -+ (_________p1); \ -+}) - - /* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ - #ifdef CONFIG_KPROBES --- -2.11.0 - diff --git a/board/roseapplepi/post-build.sh b/board/roseapplepi/post-build.sh deleted file mode 100755 index ffdd19138c7f0167e859667aa397cb4a9e6b468d..0000000000000000000000000000000000000000 --- a/board/roseapplepi/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt diff --git a/board/roseapplepi/uEnv.txt b/board/roseapplepi/uEnv.txt deleted file mode 100644 index 339eb8aa0a342390139770e489e27f579c0e2559..0000000000000000000000000000000000000000 --- a/board/roseapplepi/uEnv.txt +++ /dev/null @@ -1,3 +0,0 @@ -# no ramdisk -ramdisk_addr_r=- -bootargs=console=ttyOWL2,115200 root=/dev/mmcblk0p2 rootwait clk_ignore_unused diff --git a/board/seeed/stm32mp157c-odyssey/genimage.cfg b/board/seeed/stm32mp157c-odyssey/genimage.cfg deleted file mode 100644 index 4c18a2eb0401cb6ac79dfec8ee50ac2ae7d6075d..0000000000000000000000000000000000000000 --- a/board/seeed/stm32mp157c-odyssey/genimage.cfg +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition fsbl1 { - image = "tf-a-stm32mp157c-odyssey.stm32" - } - - partition fsbl2 { - image = "tf-a-stm32mp157c-odyssey.stm32" - } - - partition ssbl { - image = "u-boot.stm32" - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/board/seeed/stm32mp157c-odyssey/linux.config b/board/seeed/stm32mp157c-odyssey/linux.config deleted file mode 100644 index 878a0c39f127e3b21ae8f32040badf9b6cff3246..0000000000000000000000000000000000000000 --- a/board/seeed/stm32mp157c-odyssey/linux.config +++ /dev/null @@ -1,182 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_USELIB=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=16 -CONFIG_BLK_DEV_INITRD=y -CONFIG_ARCH_STM32=y -CONFIG_ARM_THUMBEE=y -# CONFIG_CACHE_L2X0 is not set -CONFIG_ARM_ERRATA_430973=y -CONFIG_ARM_ERRATA_720789=y -CONFIG_ARM_ERRATA_754322=y -CONFIG_ARM_ERRATA_754327=y -CONFIG_ARM_ERRATA_764369=y -CONFIG_ARM_ERRATA_775420=y -CONFIG_ARM_ERRATA_798181=y -CONFIG_SMP=y -CONFIG_MCPM=y -CONFIG_HIGHMEM=y -CONFIG_FORCE_MAX_ZONEORDER=12 -CONFIG_SECCOMP=y -# CONFIG_ATAGS is not set -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_ARM_CRYPTO=y -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODVERSIONS=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_CMDLINE_PARTITION=y -CONFIG_CMA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_CAN=y -CONFIG_CAN_M_CAN=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=128 -CONFIG_SIMPLE_PM_BUS=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_STM32_FMC2=y -CONFIG_MTD_SPI_NOR=y -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -CONFIG_MTD_UBI=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_SRAM=y -CONFIG_EEPROM_AT24=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_KS8851=y -CONFIG_SMSC911X=y -CONFIG_STMMAC_ETH=y -CONFIG_DWMAC_DWC_QOS_ETH=y -CONFIG_MDIO_BITBANG=y -CONFIG_INPUT_JOYDEV=y -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_EDT_FT5X06=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_STPMIC1_ONKEY=y -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_HW_RANDOM=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX=y -CONFIG_I2C_STM32F7=y -CONFIG_SPI=y -CONFIG_SPI_STM32=y -CONFIG_SPI_STM32_QSPI=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_PINCTRL_STMFX=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_GPIO=y -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_WATCHDOG=y -CONFIG_STPMIC1_WATCHDOG=y -CONFIG_MFD_STM32_LPTIMER=y -CONFIG_MFD_STPMIC1=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_STM32_VREFBUF=y -CONFIG_REGULATOR_STM32_PWR=y -CONFIG_REGULATOR_STPMIC1=y -CONFIG_DRM=y -CONFIG_DRM_STM=y -CONFIG_DRM_STM_DSI=y -CONFIG_DRM_PANEL_ORISETECH_OTM8009A=y -CONFIG_DRM_SII902X=y -CONFIG_BACKLIGHT_LCD_SUPPORT=y -# CONFIG_LCD_CLASS_DEVICE is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -# CONFIG_BACKLIGHT_GENERIC is not set -CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_USB=y -CONFIG_USB_OTG=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_DWC2=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_ISP1760=y -CONFIG_USB_HSIC_USB3503=y -CONFIG_USB_GPIO_VBUS=y -CONFIG_USB_ISP1301=y -CONFIG_USB_ULPI=y -CONFIG_TYPEC=y -CONFIG_TYPEC_STUSB=y -CONFIG_MMC=y -CONFIG_MMC_BLOCK_MINORS=16 -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_DW=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_PWM=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_HWSPINLOCK=y -CONFIG_HWSPINLOCK_STM32=y -CONFIG_STM32_IPCC=y -CONFIG_REMOTEPROC=y -CONFIG_STM32_RPROC=y -CONFIG_RPMSG_VIRTIO=y -CONFIG_RPMSG_TTY=y -CONFIG_IIO=y -CONFIG_IIO_SW_TRIGGER=y -CONFIG_SD_ADC_MODULATOR=y -CONFIG_STM32_ADC_CORE=y -CONFIG_STM32_ADC=y -CONFIG_STM32_ADC_TEMP=y -CONFIG_STM32_DFSDM_ADC=y -CONFIG_STM32_LPTIMER_CNT=y -CONFIG_STM32_DAC=y -CONFIG_IIO_HRTIMER_TRIGGER=y -CONFIG_IIO_STM32_LPTIMER_TRIGGER=y -CONFIG_PWM=y -CONFIG_PWM_STM32=y -CONFIG_PWM_STM32_LP=y -CONFIG_PHY_STM32_USBPHYC=y -CONFIG_NVMEM_STM32_ROMEM=y -CONFIG_EXT4_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_PRINTK_TIME=y diff --git a/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf b/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index b5795415eb1dd8a902a960b05de38ce4313fb774..0000000000000000000000000000000000000000 --- a/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32mp157c-odyssey-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157c-odyssey.dtb - append root=/dev/mmcblk0p4 rootwait diff --git a/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch b/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch deleted file mode 100644 index ab2dc5dea86a5142fc800a2d7c0e2630f486ca78..0000000000000000000000000000000000000000 --- a/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 0171b07373cc8c2815ca5fa79a7308fdefa54ca4 Mon Sep 17 00:00:00 2001 -From: Grzegorz Szymaszek -Date: Sat, 10 Apr 2021 21:35:21 +0200 -Subject: [PATCH] ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The microSD card detect pin is physically connected to the MPU pin PI3. -The Device Tree configuration of the card detect pin was wrong—it was -set to pin PB7 instead. If such configuration was used, the kernel would -hang on “Waiting for root device” when booting from a microSD card. - -Signed-off-by: Grzegorz Szymaszek -Signed-off-by: Alexandre Torgue -Backported from: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/stm32mp157c-odyssey.dts?id=0171b07373cc8c2815ca5fa79a7308fdefa54ca4 ---- - arch/arm/boot/dts/stm32mp157c-odyssey.dts | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts -index a7ffec8f1516..be1dd5e9e744 100644 ---- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts -+++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts -@@ -64,7 +64,7 @@ &sdmmc1 { - pinctrl-0 = <&sdmmc1_b4_pins_a>; - pinctrl-1 = <&sdmmc1_b4_od_pins_a>; - pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; -- cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; -+ cd-gpios = <&gpioi 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - disable-wp; - st,neg-edge; - bus-width = <4>; --- -2.30.2 - diff --git a/board/seeed/stm32mp157c-odyssey/readme.txt b/board/seeed/stm32mp157c-odyssey/readme.txt deleted file mode 100644 index 09328673933c1bd50d3b9011778b8919bdfa7051..0000000000000000000000000000000000000000 --- a/board/seeed/stm32mp157c-odyssey/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -STM32MP157C-Odyssey - -Intro -===== - -This configuration supports the STM32MP157C-Odyssey platform: - - https://wiki.seeedstudio.com/ODYSSEY-STM32MP157C/ - -How to build -============ - - $ make stm32mp157c_odyssey_defconfig - $ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Insert the microSD card in connector J21. - - (2) Connect to the UART connector J24 (located next the the DC jack - J24 and the battery connector J20) and run your serial communication - program on /dev/ttyACM0. - - (3) Plug a USB-C cable in J6 or a center-positive 12V jack into J17 - to power-up the board. - - (4) The system will start, with the console on UART. diff --git a/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch b/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch deleted file mode 100644 index c9d5d71ca14e633adc08477a7b7366f5b2db4d1a..0000000000000000000000000000000000000000 --- a/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 018921ee79d3f30893614b3b2b63b588d8544f73 Mon Sep 17 00:00:00 2001 -From: Peter Robinson -Date: Thu, 30 Jan 2020 09:37:15 +0000 -Subject: [PATCH] Remove redundant YYLOC global declaration - -Same as the upstream fix for building dtc with gcc 10. - -Signed-off-by: Peter Robinson -Signed-off-by: Peter Korsgaard ---- - scripts/dtc/dtc-lexer.l | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l -index fd825ebba6..24af549977 100644 ---- a/scripts/dtc/dtc-lexer.l -+++ b/scripts/dtc/dtc-lexer.l -@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n - #include "srcpos.h" - #include "dtc-parser.tab.h" - --YYLTYPE yylloc; - extern bool treesource_error; - - /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ --- -2.20.1 - diff --git a/board/sheevaplug/readme.txt b/board/sheevaplug/readme.txt deleted file mode 100644 index e0ed2684c9759f8f0c797f59a523d7d09ec0d08d..0000000000000000000000000000000000000000 --- a/board/sheevaplug/readme.txt +++ /dev/null @@ -1,36 +0,0 @@ -Sheevaplug -========== - -Once the build process is finished you will have the following files -in the output/images/ directory: - -- u-boot.kwb -- uImage.kirkwood-sheevaplug -- rootfs.jffs2 - -Copy these to a TFTP server, connect ethernet and mini-USB cable and -power up the board. Stop the board in U-Boot and update U-Boot by -executing: - -setenv serverip -setenv bootfile -bootp -nand erase 0x0 0x80000 -nand write $fileaddr 0x0 0x80000 -reset - -Once the new U-Boot boots up, stop it again and update Linux kernel -and rootfs by: - -setenv serverip -setenv bootfile -bootp -nand erase.part kernel -nand write $fileaddr kernel 0x400000 - -setenv bootfile -bootp -nand erase.part rootfs -nand write $fileaddr rootfs $filesize - -reset diff --git a/board/sifive/hifive-unleashed/boot.cmd b/board/sifive/hifive-unleashed/boot.cmd deleted file mode 100644 index 7b5137d22c16ade4e30e4cb36a067a8589e2b8be..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/boot.cmd +++ /dev/null @@ -1,4 +0,0 @@ -setenv bootargs earlycon=sbi root=/dev/mmcblk0p3 rootwait -load mmc 0:3 ${kernel_addr_r} boot/Image -load mmc 0:3 ${fdt_addr_r} boot/hifive-unleashed-a00.dtb -booti ${kernel_addr_r} - ${fdt_addr_r} diff --git a/board/sifive/hifive-unleashed/genimage_sdcard.cfg b/board/sifive/hifive-unleashed/genimage_sdcard.cfg deleted file mode 100644 index 99e3525a8cf4cfe2abc84200becab0a38b4142d1..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/genimage_sdcard.cfg +++ /dev/null @@ -1,24 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition u-boot-spl { - image = "u-boot-spl.bin" - offset = 17K - partition-type-uuid = 5b193300-fc78-40cd-8002-e86c45580b47 - } - - partition u-boot { - image = "u-boot.itb" - offset = 1041K - partition-type-uuid = 2e54b353-1271-4842-806f-e436d6af6985 - } - - partition rootfs { - image = "rootfs.ext4" - offset = 4076K - partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4 - bootable = true - } -} diff --git a/board/sifive/hifive-unleashed/genimage_spi-nor.cfg b/board/sifive/hifive-unleashed/genimage_spi-nor.cfg deleted file mode 100644 index 14b7bb1e1c9b04f3080ef4d46f1a4ad37d31d7be..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/genimage_spi-nor.cfg +++ /dev/null @@ -1,19 +0,0 @@ -image spi-nor.img { - size = 32M - - hdimage { - partition-table-type = "gpt" - } - - partition u-boot-spl { - image = "u-boot-spl.bin" - offset = 20K - partition-type-uuid = 5b193300-fc78-40cd-8002-e86c45580b47 - } - - partition u-boot { - image = "u-boot.itb" - offset = 1044K - partition-type-uuid = 2e54b353-1271-4842-806f-e436d6af6985 - } -} diff --git a/board/sifive/hifive-unleashed/linux.config.fragment b/board/sifive/hifive-unleashed/linux.config.fragment deleted file mode 100644 index 385a961dd443e1035e160961cf49a07e7bcf179f..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/linux.config.fragment +++ /dev/null @@ -1,10 +0,0 @@ -CONFIG_HZ_100=y -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_SIFIVE=y -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_SPI_NOR=y -CONFIG_PWM=y -CONFIG_PWM_SIFIVE=y diff --git a/board/sifive/hifive-unleashed/post-build.sh b/board/sifive/hifive-unleashed/post-build.sh deleted file mode 100755 index b418120652d499bcf95d402cc8c63ea4415102eb..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/post-build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr diff --git a/board/sifive/hifive-unleashed/readme.txt b/board/sifive/hifive-unleashed/readme.txt deleted file mode 100644 index e9ccb26fa6193d76326c8af1a019090b3b407122..0000000000000000000000000000000000000000 --- a/board/sifive/hifive-unleashed/readme.txt +++ /dev/null @@ -1,132 +0,0 @@ -SiFive HiFive Unleashed -======================= - -This file describes how to use the pre-defined Buildroot -configuration for the SiFive HiFive Unleashed board. - -Further information about the HiFive Unleashed board can be found -at https://www.sifive.com/boards/hifive-unleashed - -Building -======== - -Configure Buildroot using the default board configuration: - - $ make hifive_unleashed_defconfig - -Customise the build as necessary: - - $ make menuconfig - -Start the build: - - $ make - -Result of the build -=================== - -Once the build has finished you will have the following files: - - output/images/ - +-- boot.scr - +-- fw_dynamic.bin - +-- fw_dynamic.elf - +-- fw_jump.bin - +-- fw_jump.elf - +-- hifive-unleashed-a00.dtb - +-- Image - +-- rootfs.cpio - +-- rootfs.ext2 - +-- rootfs.ext4 - +-- rootfs.tar - +-- sdcard.img - +-- u-boot.bin - +-- u-boot.itb - +-- u-boot-spl.bin - - -Creating a bootable SD card with genimage -========================================= - -By default Buildroot builds a SD card image for you. All you need to do -is dd the image to your SD card, which can be done with the following -command on your development host: - - $ sudo dd if=output/images/sdcard.img of=/dev/sdb bs=4096 - -The above example command assumes the SD card is accessed via a USB card -reader and shows up as /dev/sdb on the host. Adjust it accordingly per -your actual setup. - -Booting the SD card on the board -================================ - -Make sure that the all DIP switches are set to the off position for -default boot mode (MSEL mode = 1011), insert the SD card and power -up the board. - -Connect the USB cable and open minicom (/dev/ttyUSB1, 115200, 8N1). - -See the 'SiFive HiFive Unleashed Getting Started Guide' for -more details (https://www.sifive.com/documentation). - -You will get a warning reported by fdisk when you examine the SD card. -This is because the genimage_sdcard.cfg file doesn't specify the SD card -size (as people will naturally have different sized cards), so the -secondary GPT header is placed after the rootfs rather than at the end -of the disk where it is expected to be. - -You will see something like this at boot time: - -[ 0.989458] mmc0: host does not support reading read-only switch, assuming write-enable -[ 0.996772] mmc0: new SDHC card on SPI -[ 1.001634] mmcblk0: mmc0:0000 SD8GB 7.28 GiB -[ 1.038079] GPT:Primary header thinks Alt. header is not at the end of the disk. -[ 1.044759] GPT:52389 != 15264767 -[ 1.048051] GPT:Alternate GPT header not at the end of the disk. -[ 1.054015] GPT:52389 != 15264767 -[ 1.057323] GPT: Use GNU Parted to correct GPT errors. -[ 1.062479] mmcblk0: p1 p2 p3 - - -Creating a bootable SPI flash with genimage -=========================================== - -Adjust Buildroot configuration by: - - $ make menuconfig - -Change "System configuration" -> "Extra arguments passed to custom scripts" -value to "-c board/sifive/hifive-unleashed/genimage_spi-nor.cfg", save the -configuration and build. This creates a output/images/spi-nor.img that can -be programmed to the on-board SPI flash. - -Boot the board from the SD card prepared above, stop the U-Boot auto boot, -and type the following commands to program the whole SPI flash: - - => tftp 82000000 output/images/spi-nor.img - => sf probe - => sf update 82000000 0 2000000 - -Booting the SPI flash on the board -================================== - -Make sure that the all DIP switches are set to the off position for -default boot mode (MSEL mode = 0110) to boot from SPI flash. - -Testing under QEMU -================== - -The SD card image can be tested using QEMU: - -$ qemu-system-riscv64 -M sifive_u,msel=11 -smp 5 -m 8G \ - -display none -serial stdio -nic user \ - -bios output/images/u-boot-spl.bin \ - -drive file=output/images/sdcard.img,if=sd - -The SPI flash image can be tested with a slightly different command: - -$ qemu-system-riscv64 -M sifive_u,msel=6 -smp 5 -m 8G \ - -display none -serial stdio -nic user \ - -bios output/images/u-boot-spl.bin \ - -drive file=output/images/spi-nor.img,if=mtd diff --git a/board/sipeed/lichee_rv/genimage.cfg b/board/sipeed/lichee_rv/genimage.cfg deleted file mode 100644 index d5df41203df3af1eb767615eb1d74f0b538021fe..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv/genimage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Minimal SD card image for the sipeed Lichee RV - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = false - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - bootable = "true" - offset = 1M - } -} diff --git a/board/sipeed/lichee_rv/overlay/boot/extlinux/extlinux.conf b/board/sipeed/lichee_rv/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 91b2298628b2318ef7116f338d881c156f692ad9..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - # use devicetree from u-boot - append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait diff --git a/board/sipeed/lichee_rv/readme.txt b/board/sipeed/lichee_rv/readme.txt deleted file mode 100644 index 24e814185118318a3408ac190e05eed750c9ffe0..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv/readme.txt +++ /dev/null @@ -1,26 +0,0 @@ -Lichee RV -=============== - -Lichee RV - Nezha CM is a compute module with modular design, equipped -with Allwinner D1 chip (based on T-Head XuanTie C906 core), 512MB DDR3 RAM. -It can boot from TF card or SD-NAND, uses two sets of M.2 b key 67 pin -connectors to route all IO, making it convient for wide use and easy to replace. - -How to build -============ - -$ make sipeed_lichee_rv_defconfig -$ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Connect a TTL UART to the debug connector, insert the microSD card and -plug in a USB-C cable to the PWR connector to boot the system. diff --git a/board/sipeed/lichee_rv_dock/genimage.cfg b/board/sipeed/lichee_rv_dock/genimage.cfg deleted file mode 100644 index 38078f0ae3f122211fcd3e7dc3231ddecd49c519..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv_dock/genimage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Minimal SD card image for the sipeed Lichee RV dock - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = false - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - bootable = "true" - offset = 1M - } -} diff --git a/board/sipeed/lichee_rv_dock/linux.fragment b/board/sipeed/lichee_rv_dock/linux.fragment deleted file mode 100644 index 10016889ab871ff08b8ba1dd379b8cd7f139b7d9..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv_dock/linux.fragment +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_BT=y -CONFIG_BT_HCIUART=m -CONFIG_BT_HCIUART_SERDEV=y -CONFIG_BT_HCIUART_3WIRE=y -CONFIG_BT_HCIUART_RTL=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_SERIAL_DEV_CTRL_TTYPORT=y diff --git a/board/sipeed/lichee_rv_dock/overlay/etc/network/interfaces b/board/sipeed/lichee_rv_dock/overlay/etc/network/interfaces deleted file mode 100644 index 89e7d74aff7c1d261e5d4c4fbc85079ee6b3f30c..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv_dock/overlay/etc/network/interfaces +++ /dev/null @@ -1,6 +0,0 @@ -auto lo -iface lo inet loopback - -auto wlan0 -iface wlan0 inet dhcp -wpa-conf /etc/wpa_supplicant.conf diff --git a/board/sipeed/lichee_rv_dock/overlay/etc/wpa_supplicant.conf b/board/sipeed/lichee_rv_dock/overlay/etc/wpa_supplicant.conf deleted file mode 100644 index b43292b0a7f696f864f91419638417211cf3ddf7..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv_dock/overlay/etc/wpa_supplicant.conf +++ /dev/null @@ -1,8 +0,0 @@ -ap_scan=1 - -network={ - ssid="YOURSSID" - scan_ssid=1 - key_mgmt=WPA-PSK - psk="YOURPASSWD" -} diff --git a/board/sipeed/lichee_rv_dock/readme.txt b/board/sipeed/lichee_rv_dock/readme.txt deleted file mode 100644 index 048ba64d26e664500d5b84d97bc177ed815abb46..0000000000000000000000000000000000000000 --- a/board/sipeed/lichee_rv_dock/readme.txt +++ /dev/null @@ -1,45 +0,0 @@ -Lichee RV dock -=============== - -Lichee RV Dock is a RISC-V Linux development kits with high integration, small -size and affordable price designed for opensource developer. It's equipped with -HDMI interface and it supports many screen by its screen convert board. It's -also equipped with many peripherals, including a UAB-A port, 2.4G Wifi-BT module, -an analog microphone and a speaker jack interface. - -How to build -============ - -$ make sipeed_lichee_rv_dock_defconfig -$ make - -Wifi -========== - -Edit board/sipeed/lichee_rv_dock/overlay/etc/wpa_supplicant.conf or -/etc/wpa_supplicant.conf once connected to the board: - -* Replace YOURSSID with your AP ssid -* Replace YOURPASSWD with your AP password - -Bluetooth -========== - -To make the device discoverable and pairable, once connected to the board: - -* bluetoothctl power on -* bluetoothctl discoverable yes -* bluetoothctl pairable yes - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Connect a TTL UART to the debug connector, insert the microSD card and -plug in a USB-C cable to the PWR connector to boot the system. diff --git a/board/sipeed/licheepi_nano/genimage.cfg b/board/sipeed/licheepi_nano/genimage.cfg deleted file mode 100644 index 5e398eeb210f3dbfbe78e837300f3dc05b87c341..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_nano/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -flash w25q128 { - pebsize = 65536 - numpebs = 256 - minimum-io-unit-size = 1 - sub-page-size = 1 - vid-header-offset = 64 -} - -image flash.bin { - flash {} - flashtype = w25q128 - - partition uboot { - image = "u-boot-sunxi-with-spl.bin" - size = 512K - } - - partition dtb { - image = "suniv-f1c100s-licheepi-nano.dtb" - size = 64K - } - - partition zimage { - image = "zImage" - size = 5M - } - - partition rootfs { - image = "rootfs.jffs2" - size = 0 - } -} - diff --git a/board/sipeed/licheepi_nano/linux.fragment b/board/sipeed/licheepi_nano/linux.fragment deleted file mode 100644 index af68f2816757669284248390f66c3123a63543bb..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_nano/linux.fragment +++ /dev/null @@ -1,11 +0,0 @@ -# CONFIG_NET is not set -# CONFIG_DRM is not set -# CONFIG_CMA is not set -# CONFIG_ARCH_MULTI_V7 is not set -CONFIG_UEVENT_HELPER=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_SPI_NOR=y -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_JFFS2_FS=y diff --git a/board/sipeed/licheepi_nano/readme.txt b/board/sipeed/licheepi_nano/readme.txt deleted file mode 100644 index 1f1f8ef17db0657bace5b9bfd64eab22224508bf..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_nano/readme.txt +++ /dev/null @@ -1,84 +0,0 @@ -Intro -===== - -This directory contains a buildroot configuration for building a -LicheePi Nano image which can be flashed into the board. - -This frees the MMC port which can be used for an additional SD -card of for a WiFi adapter. - -How to build it -=============== - -Configure Buildroot -------------------- - - $ make sipeed_licheepi_nano_defconfig - -Build the rootfs ----------------- - -Note: you will need to have access to the network, since Buildroot -will download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while, consider getting yourself a coffee ;-) ) - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- flash.bin - +-- rootfs.jffs2 - +-- rootfs.tar - +-- suniv-f1c100s-licheepi-nano.dtb - +-- u-boot.bin - +-- u-boot-sunxi-with-spl.bin - `-- zImage - -How to flash -============ - -Once the build process is finished you will have an image called -"flash.bin" in the output/images/ directory. It contains the -bootloader, the device tree, the kernel and the root file system. - -The device can be flashed when it is in special mode called "FEL -mode". There are multiple ways to enter this mode described here: -https://linux-sunxi.org/FEL#Entering_FEL_mode - -One way is to write one file from sunxi-tools to a SD card with: - - $ sudo dd if=./output/build/host-sunxi-tools-*/bin/fel-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 - -Once the SD card is burned, insert it into your LicheePi Nano board, -and plug the USB cable. A new USB device should be visible with -lsusb: - - 1f3a:efe8 Allwinner Technology sunxi SoC OTG connector in FEL/flashing mode - -The image can be flashed with: - - $ sudo ./output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin - -Once this completes, remove the SD card and power the board. Your -new system should come up now and start a console on the UART0 -serial port. - -Note -==== - -Some standard kernel features are disabled using the fragment in -order to reduce the size. They can be enabled again if other -features are disabled instead. - -For U-Boot, the upstream repository is preferred and the system -boots, but loading the image from the flash takes a long time. It -is much faster when using the branch "licheepi-nano-v2020.01" of -this fork: -https://github.com/florpor/u-boot diff --git a/board/sipeed/licheepi_nano/uboot.fragment b/board/sipeed/licheepi_nano/uboot.fragment deleted file mode 100644 index 39f2bfe742dc9144a6da02437719c5c4331266b7..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_nano/uboot.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_USE_BOOTARGS=y -CONFIG_BOOTARGS="console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=spi0.0:512k(uboot)ro,64k(dtb),5M(kernel)ro,-(rootfs)" -CONFIG_BOOTCOMMAND="sf probe 0 50000000; sf read 0x80C00000 0x80000 0x4000; sf read 0x80008000 0x90000 0x500000; bootz 0x80008000 - 0x80C00000" diff --git a/board/sipeed/licheepi_zero/boot.cmd b/board/sipeed/licheepi_zero/boot.cmd deleted file mode 100644 index 383b3473ed061b61ca095a89f760e3e6b502992f..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_zero/boot.cmd +++ /dev/null @@ -1,4 +0,0 @@ -setenv bootargs console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw -load mmc 0:1 0x41000000 zImage -load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb -bootz 0x41000000 - 0x41800000 diff --git a/board/sipeed/licheepi_zero/genimage.cfg b/board/sipeed/licheepi_zero/genimage.cfg deleted file mode 100644 index 8dcb2e708e56b042bacfca022fcb119ed2afeb91..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_zero/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-v3s-licheepi-zero-dock.dtb", - "sun8i-v3s-licheepi-zero.dtb", - "boot.scr" - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8K - size = 504K # 512KB - 8KB - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 0 - } -} diff --git a/board/sipeed/licheepi_zero/readme.txt b/board/sipeed/licheepi_zero/readme.txt deleted file mode 100644 index 2f122125b7e8d1c6657954868f01d3bfe637bc09..0000000000000000000000000000000000000000 --- a/board/sipeed/licheepi_zero/readme.txt +++ /dev/null @@ -1,62 +0,0 @@ -Intro -===== - -This directory contains a buildroot configuration for building a -LicheePi Zero. - -How to build it -=============== - -Configure Buildroot -------------------- - - $ make sipeed_licheepi_zero_defconfig - -Build the rootfs ----------------- - -Note: you will need to have access to the network, since Buildroot -will download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while, consider getting yourself a coffee ;-) ) - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- boot.scr - +-- boot.vfat - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- rootfs.tar - +-- sdcard.img - +-- sun8i-v3s-licheepi-zero-dock.dtb - +-- sun8i-v3s-licheepi-zero.dtb - +-- u-boot.bin - +-- u-boot-sunxi-with-spl.bin - `-- zImage - -How to write the SD card -======================== - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Alternatively, you can use the Etcher graphical tool to burn the image -to the SD card safely and on any platform: - -https://etcher.io/ - -Once the SD card is burned, insert it into your LicheePi Zero board, -and power it up. Your new system should come up now and start a -console on the UART0 serial port. diff --git a/board/sipeed/maix-bit/linux-cpio.config b/board/sipeed/maix-bit/linux-cpio.config deleted file mode 100644 index de2f8fd074f3431e4cefbd249042eab116fd057a..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-bit/linux-cpio.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="sipeed_maix_bit" diff --git a/board/sipeed/maix-bit/readme.txt b/board/sipeed/maix-bit/readme.txt deleted file mode 100644 index 7cc53bca67cf34aa8ecefd8f04892b2ae331e966..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-bit/readme.txt +++ /dev/null @@ -1,316 +0,0 @@ -Sipeed MAIX-Bit Board -===================== - -The Sipeed MAXI-Bit board is a dual-core RISC-V 64-bits board based on the -Canaan Kendryte K210 SoC. - -Prerequisite ------------- - -In order to use the kflash utility to program this board, the user must have -access to the board USB serial device file. The simplest way to do this is to -add your user to the same group as this device file. Assume the device file is -/dev/ttyUSB0, first identify the device group name. In most cases, it is -either "dialout" or "uucp". Also verify that read-write access is enabled for -the group: - -``` -$ ls -l /dev/ttyUSB0 -crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0 -``` - -Then add yourself to that group (dialout in this example): - -``` -$ sudo usermod -a -G dialout $(whoami) -``` - -To enable the above, it is sometimes necessary to logout and login again. - -Buildroot Configuration ------------------------ - -Two buildroot configuration files are provided: - -(1) Direct Linux Kernel Boot - -This is defined by the sipeed_maix_bit_defconfig configuration. This -configuration allows building a bootable kernel image with a built-in initramfs -root file system (the board SD card is not used). The built kernel image can be -flashed directly to the board ROM for direct booting. No boot loader is -required. - -(2) U-Boot SD-Card Boot - -The sipeed_maix_bit_sdcard_defconfig configuration allows building a kernel -image with the root file system on the board SD card. U-Boot is used as the -boot loader. - -Both configuration files will also compile and install the kflash and -pyserial-miniterm host utilities to program bootable image files to the board -and open a serial terminal console. - -Direct Linux Kernel Boot -------------------------- - -Using the sipeed_maix_bit_defconfig configuration, the bootable kernel binary -image is built as follows. - -``` -$ make sipeed_maix_bit_defconfig -$ make -``` - -The bootable binary image is the output/images/loader.bin file. This image file -can be written to the board boot ROM using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin -``` - -Once the kernel image file is fully programmed, a terminal console is open and -the board can be rebooted by pressing the reset button on the board (if it does -not reboot automatically). - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 14:30:02 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX BiT -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 5996K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 530K init, 66K bss, 2196K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008188] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018250] pid_max: default: 4096 minimum: 301 -[ 0.022860] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029972] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040244] rcu: Hierarchical SRCU implementation. -[ 0.045121] smp: Bringing up secondary CPUs ... -[ 0.050225] smp: Brought up 1 node, 2 CPUs -[ 0.054355] devtmpfs: initialized -[ 0.071168] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.080240] pinctrl core: initialized pinctrl subsystem -[ 0.119221] clocksource: Switched to clocksource clint_clocksource -[ 0.131498] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.176943] k210-sysctl 50440000.syscon: K210 system controller -[ 0.193558] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.201526] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.211611] i2c_dev: i2c /dev entries driver -[ 0.221375] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.233591] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.242529] printk: console [ttySIF0] enabled -[ 0.242529] printk: console [ttySIF0] enabled -[ 0.251165] printk: bootconsole [sifive0] disabled -[ 0.251165] printk: bootconsole [sifive0] disabled -[ 0.274348] Freeing unused kernel image (initmem) memory: 524K -[ 0.279504] This architecture does not have kernel memory protection. -[ 0.285908] Run /init as init process - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -To open a terminal console without re-flashing the board, the pyserial-miniterm -host tool can be used. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` - -The options "--raw" and "--eol=LF" are added here to avoid a double carriage -return each time a command is entered. - - -U-Boot SD-Card Boot -------------------- - -The build procedure is similar to the direct Linux kernel boot case. - -``` -$ make sipeed_maix_bit_sdcard_defconfig -$ make -``` - -The build process will generate two files under the output/images directory. - -* sdcard.img: The image file for the SD card filesystem. This image has 2 - partitions. The first partition is a vfat partition containing the kernel - uImage and the board device tree binary. The second partition is the root - filesystem with busybox installed. The second partition is formatted using - ext2 (rev1). - -* uboot.bin: U-Boot bootable binary to load and boot the kernel from the SD - card. - -The SD card can be prepared by writing the sdcard.img file, as follows. - -``` -$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M -$ sync -$ eject /dev/sdX -``` - -Where /dev/sdX is the device file name of the SD card. Once completed, the SD -card can be inserted into the board and the U-Boot binary image written to the -board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/u-boot.bin -``` - -The above command will program U-Boot image to the board boot ROM and open a -terminal console once the u-boot.bin file is fully programmed. Reboot into the -newly programmed environment by pressing the board reset button. - -The output will be similar to the following. - -``` -U-Boot 2022.04 (May 24 2022 - 17:08:34 +0900) - -DRAM: 8 MiB -Core: 34 devices, 17 uclasses, devicetree: separate -WDT: Not starting watchdog@50400000 -MMC: spi@53000000:slot@0: 0 -Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB -*** Warning - bad CRC, using default environment - -In: serial@38000000 -Out: serial@38000000 -Err: serial@38000000 -Hit any key to stop autoboot: 0 -1668562 bytes read in 933 ms (1.7 MiB/s) -10468 bytes read in 11 ms (928.7 KiB/s) -## Booting kernel from Legacy Image at 80060000 ... - Image Name: Linux - Image Type: RISC-V Linux Kernel Image (uncompressed) - Data Size: 1668498 Bytes = 1.6 MiB - Load Address: 80000000 - Entry Point: 80000000 - Verifying Checksum ... OK -## Flattened Device Tree blob at 80400000 - Booting using the fdt blob at 0x80400000 - Loading Kernel Image - Loading Device Tree to 00000000803fa000, end 00000000803ff8e3 ... OK - -Starting kernel ... - -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-1056-gc356b62332) 10.3.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue May 24 06:45:04 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX BiT -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: base ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15648 r0 d29408 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 6204K/8192K available (1134K kernel code, 150K rwdata, 239K rodata, 100K init, 68K bss, 1988K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008194] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018257] pid_max: default: 4096 minimum: 301 -[ 0.022869] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029982] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040424] rcu: Hierarchical SRCU implementation. -[ 0.045397] smp: Bringing up secondary CPUs ... -[ 0.050518] smp: Brought up 1 node, 2 CPUs -[ 0.054676] devtmpfs: initialized -[ 0.072365] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.081396] pinctrl core: initialized pinctrl subsystem -[ 0.123762] clocksource: Switched to clocksource clint_clocksource -[ 0.136796] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.181768] k210-sysctl 50440000.syscon: K210 system controller -[ 0.198397] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.207373] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.218270] spi spi1.0: setup: ignoring unsupported mode bits a00 -[ 0.224786] i2c_dev: i2c /dev entries driver -[ 0.235984] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.249172] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.258078] printk: console [ttySIF0] enabled -[ 0.258078] printk: console [ttySIF0] enabled -[ 0.266707] printk: bootconsole [sifive0] disabled -[ 0.266707] printk: bootconsole [sifive0] disabled -[ 0.307910] mmc_spi spi3.0: SD/MMC host mmc0, no WP, no poweroff, cd polling -[ 0.319869] Waiting for root device /dev/mmcblk0p2... -[ 0.345016] mmc0: host does not support reading read-only switch, assuming write-enable -[ 0.352330] mmc0: new SDHC card on SPI -[ 0.359338] mmcblk0: mmc0:0000 SA16G 14.5 GiB -[ 0.367589] random: fast init done -[ 0.371533] mmcblk0: p1 p2 -[ 0.391794] random: get_random_bytes called from 0x0000000080095ae8 with crng_init=1 -[ 0.393388] VFS: Mounted root (ext2 filesystem) readonly on device 179:2. -[ 0.411377] devtmpfs: mounted -[ 0.413922] Freeing unused kernel image (initmem) memory: 96K -[ 0.419344] This architecture does not have kernel memory protection. -[ 0.425777] Run /sbin/init as init process -[ 0.718314] random: crng init done -[ 0.799903] init (1): drop_caches: 3 - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -Of note is that the kernel mounts the SD card as read-only by default to avoid -corruptions of the ext2 root file system when the board is powered down. This -is recommended as this board does not support clean shutdown or halt. - -Similarly to the initramfs build case, a console can be open without -re-flashing the board using the host tool pyserial-miniterm. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` diff --git a/board/sipeed/maix-dock/linux-cpio.config b/board/sipeed/maix-dock/linux-cpio.config deleted file mode 100644 index b1ca3166f852d2f2d67cea685adf3037b15ed712..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-dock/linux-cpio.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="sipeed_maix_dock" diff --git a/board/sipeed/maix-dock/readme.txt b/board/sipeed/maix-dock/readme.txt deleted file mode 100644 index 5971f6e50bca23f7ac40605fe00aa72364197b5c..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-dock/readme.txt +++ /dev/null @@ -1,321 +0,0 @@ -Sipeed MAIX-Dock Board -====================== - -The Sipeed MAXI-Dock board is a dual-core RISC-V 64-bits board based on the -Canaan Kendryte K210 SoC. - -Prerequisite ------------- - -In order to use the kflash utility to program this board, the user must have -access to the board USB serial device file. The simplest way to do this is to -add your user to the same group as this device file. Assume the device file is -/dev/ttyUSB0, first identify the device group name. In most cases, it is -either "dialout" or "uucp". Also verify that read-write access is enabled for -the group: - -``` -$ ls -l /dev/ttyUSB0 -crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0 -``` - -Then add yourself to that group (dialout in this example): - -``` -$ sudo usermod -a -G dialout $(whoami) -``` - -To enable the above, it is sometimes necessary to logout and login again. - -Buildroot Configuration ------------------------ - -Two buildroot configuration files are provided: - -(1) Direct Linux Kernel Boot - -This is defined by the sipeed_maix_dock_defconfig configuration. This -configuration allows building a bootable kernel image with a built-in initramfs -root file system (the board SD card is not used). The built kernel image can be -flashed directly to the board ROM for direct booting. No boot loader is -required. - -(2) U-Boot SD-Card Boot - -The sipeed_maix_dock_sdcard_defconfig configuration allows building a kernel -image with the root file system on the board SD card. U-Boot is used as the -boot loader. - -Note: U-Boot does not natively support the Sipeed MAIX-Dock board. However, the -board and device tree differences with the Sipeed MAIX-Bit board are small -enough for U-Boot to work. - -Both configuration files will also compile the pyserial-miniterm host tool open -a serial terminal console for the board. - -Direct Linux Kernel Boot -------------------------- - -Using the sipeed_maix_dock_defconfig configuration, the bootable kernel binary -image is built as follows. - -``` -$ make sipeed_maix_dock_defconfig -$ make -``` - -Both configuration files will also compile and install the kflash and -pyserial-miniterm host utilities to program bootable image files to the board -and open a serial terminal console. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin -``` - -Once the kernel image file is fully programmed, a terminal console is open and -the board can be rebooted by pressing the reset button on the board (if it does -not reboot automatically). - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 15:47:42 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX Dock -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 5980K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 546K init, 66K bss, 2212K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008187] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018250] pid_max: default: 4096 minimum: 301 -[ 0.022859] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029971] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040238] rcu: Hierarchical SRCU implementation. -[ 0.045110] smp: Bringing up secondary CPUs ... -[ 0.050215] smp: Brought up 1 node, 2 CPUs -[ 0.054345] devtmpfs: initialized -[ 0.071112] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.080182] pinctrl core: initialized pinctrl subsystem -[ 0.120689] clocksource: Switched to clocksource clint_clocksource -[ 0.133165] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.181750] k210-sysctl 50440000.syscon: K210 system controller -[ 0.198612] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.206644] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.216569] i2c_dev: i2c /dev entries driver -[ 0.225905] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.238866] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.247778] printk: console [ttySIF0] enabled -[ 0.247778] printk: console [ttySIF0] enabled -[ 0.256459] printk: bootconsole [sifive0] disabled -[ 0.256459] printk: bootconsole [sifive0] disabled -[ 0.268225] panel@0 enforce active low on chipselect handle -[ 0.285238] Freeing unused kernel image (initmem) memory: 540K -[ 0.290372] This architecture does not have kernel memory protection. -[ 0.296807] Run /init as init process - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -To open a terminal console without re-flashing the board, the pyserial-miniterm -host tool can be used. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` - -The options "--raw" and "--eol=LF" are added here to avoid a double carriage -return each time a command is entered. - - -U-Boot SD-Card Boot -------------------- - -The build procedure is similar to the built-in initramfs case. - -``` -$ make sipeed_maix_dock_sdcard_defconfig -$ make -``` - -The build process will generate two files under the output/images directory. - -* sdcard.img: The image file for the SD card filesystem. This image has 2 - partitions. The first partition is a vfat partition containing the kernel - uImage and the board device tree binary. The second partition is the root - filesystem with busybox installed. The second partition is formatted using - ext2 (rev1). - -* uboot.bin: U-Boot bootable binary to load and boot the kernel from the SD - card. - -The SD card can be prepared by writing the sdcard.img file, as follows. - -``` -$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M -$ sync -$ eject /dev/sdX -``` - -Where /dev/sdX is the device file name of the SD card. Once completed, the SD -card can be inserted into the board and the U-Boot binary image written to the -board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/u-boot.bin -``` - -The above command will program U-Boot image to the board boot ROM and open a -terminal console once the u-boot.bin file is fully programmed. Reboot into the -newly programmed environment by pressing the board reset button if it does not -reboot automatically. - -The output will be similar to the following. - -``` -U-Boot 2022.04 (Apr 21 2022 - 15:59:50 +0900) - -DRAM: 8 MiB -Core: 34 devices, 17 uclasses, devicetree: separate -WDT: Not starting watchdog@50400000 -MMC: spi@53000000:slot@0: 0 -Loading Environment from SPIFlash... SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB -*** Warning - bad CRC, using default environment - -In: serial@38000000 -Out: serial@38000000 -Err: serial@38000000 -Hit any key to stop autoboot: 0 -1717730 bytes read in 957 ms (1.7 MiB/s) -10382 bytes read in 11 ms (920.9 KiB/s) -## Booting kernel from Legacy Image at 80060000 ... - Image Name: Linux - Image Type: RISC-V Linux Kernel Image (uncompressed) - Data Size: 1717666 Bytes = 1.6 MiB - Load Address: 80000000 - Entry Point: 80000000 - Verifying Checksum ... OK -## Flattened Device Tree blob at 80400000 - Booting using the fdt blob at 0x80400000 - Loading Kernel Image - Loading Device Tree to 00000000803fa000, end 00000000803ff88d ... OK - -Starting kernel ... - -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #1 SMP Thu Apr 21 16:00:03 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX Dock -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15392 r0 d29664 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 6156K/8192K available (1180K kernel code, 151K rwdata, 239K rodata, 102K init, 69K bss, 2036K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008196] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018256] pid_max: default: 4096 minimum: 301 -[ 0.022876] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029980] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040401] rcu: Hierarchical SRCU implementation. -[ 0.045379] smp: Bringing up secondary CPUs ... -[ 0.050494] smp: Brought up 1 node, 2 CPUs -[ 0.054656] devtmpfs: initialized -[ 0.072338] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.081415] pinctrl core: initialized pinctrl subsystem -[ 0.123902] clocksource: Switched to clocksource clint_clocksource -[ 0.136898] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.182570] k210-sysctl 50440000.syscon: K210 system controller -[ 0.198158] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.207473] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.219724] i2c_dev: i2c /dev entries driver -[ 0.230080] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.243091] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.252034] printk: console [ttySIF0] enabled -[ 0.252034] printk: console [ttySIF0] enabled -[ 0.260656] printk: bootconsole [sifive0] disabled -[ 0.260656] printk: bootconsole [sifive0] disabled -[ 0.272546] panel@0 enforce active low on chipselect handle -[ 0.308098] mmc_spi spi3.0: SD/MMC host mmc0, no WP, no poweroff, cd polling -[ 0.320197] Waiting for root device /dev/mmcblk0p2... -[ 0.344667] mmc0: host does not support reading read-only switch, assuming write-enable -[ 0.352020] mmc0: new SDHC card on SPI -[ 0.358566] mmcblk0: mmc0:0000 SA16G 14.5 GiB -[ 0.366866] random: fast init done -[ 0.371439] mmcblk0: p1 p2 -[ 0.391314] random: get_random_bytes called from 0x000000008009b7d2 with crng_init=1 -[ 0.400977] VFS: Mounted root (ext2 filesystem) readonly on device 179:2. -[ 0.410966] devtmpfs: mounted -[ 0.413521] Freeing unused kernel image (initmem) memory: 96K -[ 0.418944] This architecture does not have kernel memory protection. -[ 0.425370] Run /sbin/init as init process -[ 0.633502] random: crng init done - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -Of note is that the kernel mounts the SD card as read-only by default to avoid -corruptions of the ext2 root file system when the board is powered down. This -is recommended as this board does not support clean shutdown or halt. - -Similarly to the initramfs build case, a console can be open without -re-flashing the board using the host tool pyserial-miniterm. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` diff --git a/board/sipeed/maix-go/linux-cpio.config b/board/sipeed/maix-go/linux-cpio.config deleted file mode 100644 index ea8c30e266bb132afd240d59c0f602a552dcb970..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-go/linux-cpio.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="sipeed_maix_go" diff --git a/board/sipeed/maix-go/readme.txt b/board/sipeed/maix-go/readme.txt deleted file mode 100644 index 9f930fb6ac4aefc19ac0a37120f4ded8b136b08b..0000000000000000000000000000000000000000 --- a/board/sipeed/maix-go/readme.txt +++ /dev/null @@ -1,320 +0,0 @@ -Sipeed MAIX-Go Board -==================== - -The Sipeed MAXI-Go board is a dual-core RISC-V 64-bits board based on the -Canaan Kendryte K210 SoC. - -Prerequisite ------------- - -In order to use the kflash utility to program this board, the user must have -access to the board USB serial device file. The simplest way to do this is to -add your user to the same group as this device file. Assume the device file is -/dev/ttyUSB0, first identify the device group name. In most cases, it is -either "dialout" or "uucp". Also verify that read-write access is enabled for -the group: - -``` -$ ls -l /dev/ttyUSB0 -crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0 -``` - -Then add yourself to that group (dialout in this example): - -``` -$ sudo usermod -a -G dialout $(whoami) -``` - -To enable the above, it is sometimes necessary to logout and login again. - -Buildroot Configuration ------------------------ - -Two buildroot configuration files are provided: - -(1) Direct Linux Kernel Boot - -This is defined by the sipeed_maix_go_defconfig configuration. This -configuration allows building a bootable kernel image with a built-in initramfs -root file system (the board SD card is not used). The built kernel image can be -flashed directly to the board ROM for direct booting. No boot loader is -required. - -(2) U-Boot SD-Card Boot - -The sipeed_maix_go_sdcard_defconfig configuration allows building a kernel -image with the root file system on the board SD card. U-Boot is used as the -boot loader. - -Note: U-Boot does not natively support the Sipeed MAIX-Go board. However, the -board and device tree differences with the Sipeed MAIX-bit board are small -enough for U-Boot to work. - -Both configuration files will also compile and install the kflash and -pyserial-miniterm host utilities to program bootable image files to the board -and open a serial terminal console. - -Direct Linux Kernel Boot -------------------------- - -Using the sipeed_maix_go_defconfig configuration, the bootable kernel binary -image is built as follows. - -``` -$ make sipeed_maix_go_defconfig -$ make -``` - -The bootable binary image is the output/images/loader.bin file. This image file -can be written to the board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin -``` - -Once the kernel image file is fully programmed, a terminal console is open and -the board can be rebooted by pressing the reset button on the board (if it does -not reboot automatically). - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.17.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 16:09:24 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX GO -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 5980K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 546K init, 66K bss, 2212K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008193] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018250] pid_max: default: 4096 minimum: 301 -[ 0.022862] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029971] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040239] rcu: Hierarchical SRCU implementation. -[ 0.045118] smp: Bringing up secondary CPUs ... -[ 0.050204] smp: Brought up 1 node, 2 CPUs -[ 0.054336] devtmpfs: initialized -[ 0.071519] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.080591] pinctrl core: initialized pinctrl subsystem -[ 0.121163] clocksource: Switched to clocksource clint_clocksource -[ 0.133221] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.180960] k210-sysctl 50440000.syscon: K210 system controller -[ 0.196811] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.204879] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.214087] i2c_dev: i2c /dev entries driver -[ 0.222736] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.236173] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.245104] printk: console [ttySIF0] enabled -[ 0.245104] printk: console [ttySIF0] enabled -[ 0.253726] printk: bootconsole [sifive0] disabled -[ 0.253726] printk: bootconsole [sifive0] disabled -[ 0.265588] panel@0 enforce active low on chipselect handle -[ 0.282358] Freeing unused kernel image (initmem) memory: 540K -[ 0.287492] This architecture does not have kernel memory protection. -[ 0.293926] Run /init as init process - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -To open a terminal console without re-flashing the board, the pyserial-miniterm -host tool can be used. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` - -The options "--raw" and "--eol=LF" are added here to avoid a double carriage -return each time a command is entered. - - -U-Boot SD-Card Boot -------------------- - -The build procedure is similar to the built-in initramfs case. - -``` -$ make sipeed_maix_go_sdcard_defconfig -$ make -``` - -The build process will generate two files under the output/images directory. - -* sdcard.img: The image file for the SD card filesystem. This image has 2 - partitions. The first partition is a vfat partition containing the kernel - uImage and the board device tree binary. The second partition is the root - filesystem with busybox installed. The second partition is formatted using - ext2 (rev1). - -* uboot.bin: U-Boot bootable binary to load and boot the kernel from the SD - card. - -The SD card can be prepared by writing the sdcard.img file, as follows. - -``` -$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M -$ sync -$ eject /dev/sdX -``` - -Where /dev/sdX is the device file name of the SD card. Once completed, the SD -card can be inserted into the board and the U-Boot binary image written to the -board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/u-boot.bin -``` - -The above command will program U-Boot image to the board boot ROM and open a -terminal console once the u-boot.bin file is fully programmed. Reboot into the -newly programmed environment by pressing the board reset button. - -The output will be similar to the following. - -``` -U-Boot 2022.04 (Apr 21 2022 - 16:28:58 +0900) - -DRAM: 8 MiB -Core: 34 devices, 17 uclasses, devicetree: separate -WDT: Not starting watchdog@50400000 -MMC: spi@53000000:slot@0: 0 -Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB -*** Warning - bad CRC, using default environment - -In: serial@38000000 -Out: serial@38000000 -Err: serial@38000000 -Hit any key to stop autoboot: 0 -1717730 bytes read in 956 ms (1.7 MiB/s) -10502 bytes read in 11 ms (931.6 KiB/s) -## Booting kernel from Legacy Image at 80060000 ... - Image Name: Linux - Image Type: RISC-V Linux Kernel Image (uncompressed) - Data Size: 1717666 Bytes = 1.6 MiB - Load Address: 80000000 - Entry Point: 80000000 - Verifying Checksum ... OK -## Flattened Device Tree blob at 80400000 - Booting using the fdt blob at 0x80400000 - Loading Kernel Image - Loading Device Tree to 00000000803fa000, end 00000000803ff905 ... OK - -Starting kernel ... - -[ 0.000000] Linux version 5.17.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #1 SMP Thu Apr 21 16:29:10 JST 2022 -[ 0.000000] Machine model: SiPeed MAIX GO -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15392 r0 d29664 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 6156K/8192K available (1180K kernel code, 151K rwdata, 239K rodata, 102K init, 69K bss, 2036K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008201] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018256] pid_max: default: 4096 minimum: 301 -[ 0.022875] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029983] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040405] rcu: Hierarchical SRCU implementation. -[ 0.045387] smp: Bringing up secondary CPUs ... -[ 0.050501] smp: Brought up 1 node, 2 CPUs -[ 0.054662] devtmpfs: initialized -[ 0.072840] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.081918] pinctrl core: initialized pinctrl subsystem -[ 0.124601] clocksource: Switched to clocksource clint_clocksource -[ 0.137869] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.183507] k210-sysctl 50440000.syscon: K210 system controller -[ 0.199987] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.209219] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.221062] i2c_dev: i2c /dev entries driver -[ 0.232254] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.245342] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.254281] printk: console [ttySIF0] enabled -[ 0.254281] printk: console [ttySIF0] enabled -[ 0.262908] printk: bootconsole [sifive0] disabled -[ 0.262908] printk: bootconsole [sifive0] disabled -[ 0.274939] panel@0 enforce active low on chipselect handle -[ 0.308760] mmc_spi spi3.0: SD/MMC host mmc0, no WP, no poweroff, cd polling -[ 0.321220] Waiting for root device /dev/mmcblk0p2... -[ 0.344805] mmc0: host does not support reading read-only switch, assuming write-enable -[ 0.352142] mmc0: new SDHC card on SPI -[ 0.358622] mmcblk0: mmc0:0000 SA16G 14.5 GiB -[ 0.366636] random: fast init done -[ 0.371323] mmcblk0: p1 p2 -[ 0.392887] random: get_random_bytes called from 0x000000008009b7d2 with crng_init=1 -[ 0.394338] VFS: Mounted root (ext2 filesystem) readonly on device 179:2. -[ 0.411277] devtmpfs: mounted -[ 0.413836] Freeing unused kernel image (initmem) memory: 96K -[ 0.419267] This architecture does not have kernel memory protection. -[ 0.425683] Run /sbin/init as init process -[ 0.594251] random: crng init done - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -Of note is that the kernel mounts the SD card as read-only by default to avoid -corruptions of the ext2 root file system when the board is powered down. This -is recommended as this board does not support clean shutdown or halt. - -Similarly to the initramfs build case, a console can be open without -re-flashing the board using the host tool pyserial-miniterm. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` diff --git a/board/sipeed/maixduino/linux-cpio.config b/board/sipeed/maixduino/linux-cpio.config deleted file mode 100644 index 049a2550c5fe0e0327d9bd981cedd7ab83593a86..0000000000000000000000000000000000000000 --- a/board/sipeed/maixduino/linux-cpio.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y -CONFIG_SOC_CANAAN_K210_DTB_SOURCE="sipeed_maixduino" diff --git a/board/sipeed/maixduino/readme.txt b/board/sipeed/maixduino/readme.txt deleted file mode 100644 index 53a9e5c2ac6d6ca60d75a1ff02f0f0ce4c9600e1..0000000000000000000000000000000000000000 --- a/board/sipeed/maixduino/readme.txt +++ /dev/null @@ -1,292 +0,0 @@ -Sipeed MAIXDUINO Board -====================== - -The Sipeed MAIXDUINO board is a dual-core RISC-V 64-bits board based on the -Canaan Kendryte K210 SoC. This board has the same form factor as the Arduino -UNO board. - -Prerequisite ------------- - -In order to use the kflash utility to program this board, the user must have -access to the board USB serial device file. The simplest way to do this is to -add your user to the same group as this device file. Assume the device file is -/dev/ttyUSB0, first identify the device group name. In most cases, it is -either "dialout" or "uucp". Also verify that read-write access is enabled for -the group: - -``` -$ ls -l /dev/ttyUSB0 -crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0 -``` - -Then add yourself to that group (dialout in this example): - -``` -$ sudo usermod -a -G dialout $(whoami) -``` - -To enable the above, it is sometimes necessary to logout and login again. - -Buildroot Configuration ------------------------ - -Two buildroot configurations are provided: - -(1) Direct Linux Kernel Boot - -This is defined by the sipeed_maixduino_defconfig configuration. This -configuration allows building a bootable kernel image with a built-in initramfs -root file system (the board SD card is not used). The built kernel image can be -flashed directly to the board ROM for direct booting. No boot loader is -required. - -(2) U-Boot SD-Card Boot - -The sipeed_maixduino_sdcard_defconfig configuration allows building a kernel -image with the root file system on the board SD card. U-Boot is used as the -boot loader. - -Note: U-Boot does not natively support the Sipeed MAIXDUINO board. However, the -board and device tree differences with the Sipeed MAIX-bit board are small -enough for U-Boot to work. - -Both configuration files will also compile and install the kflash and -pyserial-miniterm host utilities to program bootable image files to the board -and open a serial terminal console. - -Direct Linux Kernel Boot ------------------------- - -Using the sipeed_maixduino_defconfig configuration, the bootable kernel binary -image is built as follows. - -``` -$ make sipeed_maixduino_defconfig -$ make -``` - -The bootable binary image is the output/images/loader.bin file. This image file -can be written to the board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin -``` - -Once the kernel image file is fully programmed, a terminal console is open and -the board can be rebooted by pressing the reset button on the board (if it does -not reboot automatically). - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 15:16:00 JST 2022 -[ 0.000000] Machine model: SiPeed MAIXDUINO -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 6000K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 530K init, 66K bss, 2192K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008183] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018249] pid_max: default: 4096 minimum: 301 -[ 0.022860] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029971] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040242] rcu: Hierarchical SRCU implementation. -[ 0.045124] smp: Bringing up secondary CPUs ... -[ 0.050217] smp: Brought up 1 node, 2 CPUs -[ 0.054346] devtmpfs: initialized -[ 0.070924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.079996] pinctrl core: initialized pinctrl subsystem -[ 0.119893] clocksource: Switched to clocksource clint_clocksource -[ 0.131992] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.179099] k210-sysctl 50440000.syscon: K210 system controller -[ 0.194904] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.203108] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.213867] i2c_dev: i2c /dev entries driver -[ 0.223397] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.235632] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.244585] printk: console [ttySIF0] enabled -[ 0.244585] printk: console [ttySIF0] enabled -[ 0.253190] printk: bootconsole [sifive0] disabled -[ 0.253190] printk: bootconsole [sifive0] disabled -[ 0.264820] panel@0 enforce active low on chipselect handle -[ 0.281482] Freeing unused kernel image (initmem) memory: 524K -[ 0.286621] This architecture does not have kernel memory protection. -[ 0.293047] Run /init as init process - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -To open a terminal console without re-flashing the board, the pyserial-miniterm -host tool can be used. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` - -The options "--raw" and "--eol=LF" are added here to avoid a double carriage -return each time a command is entered. - - -U-Boot SD-Card Boot -------------------- - -The build procedure is similar to the built-in initramfs case. - -``` -$ make sipeed_maixduino_sdcard_defconfig -$ make -``` - -The build process will generate two files under the output/images directory. - -* sdcard.img: The image file for the SD card filesystem. This image has 2 - partitions. The first partition is a vfat partition containing the kernel - uImage and the board device tree binary. The second partition is the root - filesystem with busybox installed. The second partition is formatted using - ext2 (rev1). - -* uboot.bin: U-Boot bootable binary to load and boot the kernel from the SD - card. - -The SD card can be prepared by writing the sdcard.img file, as follows. - -``` -$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M -$ sync -$ eject /dev/sdX -``` - -Where /dev/sdX is the device file name of the SD card. Once completed, the SD -card can be inserted into the board and the U-Boot binary image written to the -board boot flash using the kflash utility. - -``` -$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/u-boot.bin -``` - -The above command will program U-Boot image to the board boot ROM and open a -terminal console once the u-boot.bin file is fully programmed. Reboot into the -newly programmed environment by pressing the board reset button. - -The output will be similar to the following. - -``` -[ 0.000000] Linux version 5.18.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #1 SMP Thu Apr 21 15:30:18 JST 2022 -[ 0.000000] Machine model: SiPeed MAIXDUINO -[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8') -[ 0.000000] printk: bootconsole [sifive0] enabled -[ 0.000000] Zone ranges: -[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Normal empty -[ 0.000000] Movable zone start for each node -[ 0.000000] Early memory node ranges -[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff] -[ 0.000000] riscv: ISA extensions acdfim -[ 0.000000] riscv: ELF capabilities acdfim -[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0 -[ 0.000000] percpu: Embedded 11 pages/cpu s15392 r0 d29664 u45056 -[ 0.000000] percpu: wasting 10 pages per chunk -[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020 -[ 0.000000] Kernel command line: earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro -[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear) -[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off -[ 0.000000] Memory: 6156K/8192K available (1180K kernel code, 151K rwdata, 239K rodata, 102K init, 69K bss, 2036K reserved, 0K cma-reserved) -[ 0.000000] rcu: Hierarchical RCU implementation. -[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. -[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 -[ 0.000000] riscv-intc: 64 local interrupts mapped -[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts. -[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz -[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz -[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns -[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns -[ 0.008191] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200) -[ 0.018255] pid_max: default: 4096 minimum: 301 -[ 0.022876] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.029982] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) -[ 0.040417] rcu: Hierarchical SRCU implementation. -[ 0.045397] smp: Bringing up secondary CPUs ... -[ 0.050513] smp: Brought up 1 node, 2 CPUs -[ 0.054680] devtmpfs: initialized -[ 0.072127] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns -[ 0.081205] pinctrl core: initialized pinctrl subsystem -[ 0.125074] clocksource: Switched to clocksource clint_clocksource -[ 0.138311] workingset: timestamp_bits=62 max_order=11 bucket_order=0 -[ 0.183471] k210-sysctl 50440000.syscon: K210 system controller -[ 0.199873] k210-rst 50440000.syscon:reset-controller: K210 reset controller -[ 0.208858] cacheinfo: Unable to detect cache hierarchy for CPU 0 -[ 0.221586] i2c_dev: i2c /dev entries driver -[ 0.232786] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller -[ 0.246572] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0 -[ 0.255508] printk: console [ttySIF0] enabled -[ 0.255508] printk: console [ttySIF0] enabled -[ 0.264137] printk: bootconsole [sifive0] disabled -[ 0.264137] printk: bootconsole [sifive0] disabled -[ 0.275560] panel@0 enforce active low on chipselect handle -[ 0.313245] mmc_spi spi3.0: SD/MMC host mmc0, no WP, no poweroff, cd polling -[ 0.322845] Waiting for root device /dev/mmcblk0p2... -[ 0.345869] mmc0: host does not support reading read-only switch, assuming write-enable -[ 0.353221] mmc0: new SDHC card on SPI -[ 0.360233] mmcblk0: mmc0:0000 SA16G 14.5 GiB -[ 0.368350] random: fast init done -[ 0.372926] mmcblk0: p1 p2 -[ 0.391887] random: get_random_bytes called from 0x000000008009b7d2 with crng_init=1 -[ 0.400427] VFS: Mounted root (ext2 filesystem) readonly on device 179:2. -[ 0.410128] devtmpfs: mounted -[ 0.412628] Freeing unused kernel image (initmem) memory: 96K -[ 0.418137] This architecture does not have kernel memory protection. -[ 0.424530] Run /sbin/init as init process -[ 0.563384] random: crng init done - __ _ - / / (_) ____ _ _ __ __ - / / | || _ \ | | | |\ \/ / - / /___| || | | || |_| | > < - /_____/|_||_| |_| \____|/_/\_\ - 64-bits RISC-V Kendryte K210 NOMMU - -/ # -``` - -Of note is that the kernel mounts the SD card as read-only by default to avoid -corruptions of the ext2 root file system when the board is powered down. This -is recommended as this board does not support clean shutdown or halt. - -Similarly to the initramfs build case, a console can be open without -re-flashing the board using the host tool pyserial-miniterm. - -``` -$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200 -``` diff --git a/board/solidrun/clearfog/extlinux.conf b/board/solidrun/clearfog/extlinux.conf deleted file mode 100644 index f35974e3efa37ffa8c0381c87d8160d7e8991f8a..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Clearfog Linux - kernel /boot/zImage - devicetree /boot/armada-388-clearfog-base.dtb - append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait diff --git a/board/solidrun/clearfog/genimage.cfg b/board/solidrun/clearfog/genimage.cfg deleted file mode 100644 index 8963619cc5287181aa8508f7f127300b9c14ce6e..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-spl.kwb" - offset = 512 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - offset = 1M - } -} diff --git a/board/solidrun/clearfog/linux.fragment b/board/solidrun/clearfog/linux.fragment deleted file mode 100644 index b7ed5b00d623e2093bc62a5469386b01ba57adac..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog/linux.fragment +++ /dev/null @@ -1 +0,0 @@ -CONFIG_SENSORS_MCP3021=y diff --git a/board/solidrun/clearfog/post-build.sh b/board/solidrun/clearfog/post-build.sh deleted file mode 100755 index 1f5ff6a6113d36a16efd373c2ead786e4df03ebd..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/solidrun/clearfog/readme.txt b/board/solidrun/clearfog/readme.txt deleted file mode 100644 index 60bf95329cde1a3be87c125a8e33dd9197977035..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog/readme.txt +++ /dev/null @@ -1,61 +0,0 @@ -********************** -SolidRun Clearfog Base -********************** - -This file documents Buildroot's support for the Clearfog Base by Solid Run. - -Vendor's documentation: -https://wiki.solid-run.com/doku.php?id=products:a38x:documents - -Warning for eMMC variant of the MicroSoM -======================================== - -If you bought a MicroSoM version that includes an on-board eMMC flash, the -built-in microSD card slot *WILL NOT WORK*. The Internet says that you have to -upload the first bootloader via UART. This manual does not cover these steps; -only MicroSoMs without the eMMC are supported. - -Build -===== - -Start with the default Buildroot's configuration for Clearfog: - - make solidrun_clearfog_defconfig - -Build all components: - - make - -The results of the build are available in ./output/images. - -Create a bootable SD card -========================= - -To determine the device associated to the SD card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a microSD card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ conv=fdatasync - -*** WARNING! The dd command will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/solidrun/clearfog/genimage.cfg. - -Boot the Clearfog board -======================= - -Here's how to boot the board: - -- Set up the DIP switches for microSD boot. The correct values are: - 1: off, 2: off, 3: ON, 4: ON, 5: ON. In this scheme, switch #1" is closer to - the ethernet ports and #5 is closer to the microSD card, "ON" means towards - the SOM, and "off" means towards the SFP cage. -- Connect to the board's console over the microUSB port. -- Insert the SD card into the slot on the board (pins up). -- Power up the board. diff --git a/board/solidrun/clearfog_gt_8k/extlinux.conf b/board/solidrun/clearfog_gt_8k/extlinux.conf deleted file mode 100644 index aae0c0d5fb51008132a5057e2362223b2ed39d4e..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Clearfog GT-8K Linux - kernel /boot/Image - devicetree /boot/armada-8040-clearfog-gt-8k.dtb - append console=ttyS0,115200n8 root=/dev/mmcblk1p1 rootwait diff --git a/board/solidrun/clearfog_gt_8k/genimage.cfg b/board/solidrun/clearfog_gt_8k/genimage.cfg deleted file mode 120000 index 0cc2754ff6c581d64ed24ba2c10a4b597ed31078..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/genimage.cfg +++ /dev/null @@ -1 +0,0 @@ -../macchiatobin/genimage.cfg \ No newline at end of file diff --git a/board/solidrun/clearfog_gt_8k/linux-extras.config b/board/solidrun/clearfog_gt_8k/linux-extras.config deleted file mode 100644 index 24f4f554255503eb86d1801367102e475d6386c1..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/linux-extras.config +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_MARVELL_PHY=y -CONFIG_SFP=y -CONFIG_IPV6=y -CONFIG_BRIDGE=y -CONFIG_NET_DSA=y -CONFIG_NET_DSA_MV88E6XXX=y diff --git a/board/solidrun/clearfog_gt_8k/post-build-mainline.sh b/board/solidrun/clearfog_gt_8k/post-build-mainline.sh deleted file mode 120000 index a8c9a52437f2066aaa5dd1c68a66baf0c9694524..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/post-build-mainline.sh +++ /dev/null @@ -1 +0,0 @@ -../macchiatobin/post-build-mainline.sh \ No newline at end of file diff --git a/board/solidrun/clearfog_gt_8k/readme.txt b/board/solidrun/clearfog_gt_8k/readme.txt deleted file mode 100644 index 1648ffa38dc3baae92b2c1ef3ea5ee2d1e56b485..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/readme.txt +++ /dev/null @@ -1,61 +0,0 @@ -Intro -===== - -The default configuration described below will allow you to start -experimenting with the buildroot environment for the SolidRun Clearfog GT-8K -based on the Marvell Armada 8040 SoC. - -This default configuration will bring up the board and allow shell command -line access through the serial console. - -How to build -============ - - $ make solidrun_clearfog_gt_8k_defconfig - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image file named -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M conv=fsync - -How to boot the board -===================== - -The Clearfog GT-8K can be setup to load the bootloader from different sources -including eMMC, SPI flash, and SD-card. - -To select boot from SD-card the DIP switches in SW6 (at the bottom of the -board) should be configured as follows: - - SW6: 11010 - -Insert the micro SDcard in the Cleargfog GT-8K and power it up. - -Serial console -============== - -The serial console is accessible at the J27 pins header (TTL UART) with the -following pinout (pin #1 is marked with triangle on the PCB): - - pin #1: Ground - pin #2: Armada 8040 Rx - pin #3: Armada 8040 Tx - -Enable the switch (yellow) Ethernet ports -========================================= - -To enable the Clearfog GT-8K internal switch port make sure to load the -'mv88e6xxx' kernel module, and up the switch up-link port (eth2 by default): - - modprobe mv88e6xxx - ifconfig eth2 up - -Then you can configure each switch port separately. These port are named -'lan1' to 'lan4' by default. 'lan1' is closest to the USB port, while 'lan4' -is closest to the blue Ethernet port. diff --git a/board/solidrun/clearfog_gt_8k/uboot-fragment.config b/board/solidrun/clearfog_gt_8k/uboot-fragment.config deleted file mode 120000 index 996c4aa6b6fbfc811e6194ec6ef44f90e4991173..0000000000000000000000000000000000000000 --- a/board/solidrun/clearfog_gt_8k/uboot-fragment.config +++ /dev/null @@ -1 +0,0 @@ -../macchiatobin/uboot-fragment.config \ No newline at end of file diff --git a/board/solidrun/macchiatobin/extlinux.conf b/board/solidrun/macchiatobin/extlinux.conf deleted file mode 100644 index 1008af1af07830f1b8d67c44bfae022fa8677324..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label Macchiatobin Linux - kernel /boot/Image - devicetree /boot/armada-8040-mcbin.dtb - append console=ttyS0,115200n8 root=/dev/mmcblk1p1 rootwait diff --git a/board/solidrun/macchiatobin/genimage.cfg b/board/solidrun/macchiatobin/genimage.cfg deleted file mode 100644 index 378e2082e6842c9fb8c9f41cfe1ad02f8854101b..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot { - in-partition-table = "no" - image = "flash-image.bin" - offset = 2M - } - - partition rootfs { - partition-type = 0x83 - offset = 34M - image = "rootfs.ext4" - } -} diff --git a/board/solidrun/macchiatobin/linux-extras.config b/board/solidrun/macchiatobin/linux-extras.config deleted file mode 100644 index 29fd630626646de39992b3f4617d362b2196cd4e..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/linux-extras.config +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_MARVELL_PHY=y -CONFIG_MARVELL_10G_PHY=y -CONFIG_SFP=y diff --git a/board/solidrun/macchiatobin/post-build-mainline.sh b/board/solidrun/macchiatobin/post-build-mainline.sh deleted file mode 100755 index 1f5ff6a6113d36a16efd373c2ead786e4df03ebd..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/post-build-mainline.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/solidrun/macchiatobin/post-build.sh b/board/solidrun/macchiatobin/post-build.sh deleted file mode 100755 index 9c1b5b883c1efae59260c8b9cd144457e6fa9c62..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/post-build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D ${BOARD_DIR}/uEnv-example.txt ${TARGET_DIR}/boot/uEnv-example.txt diff --git a/board/solidrun/macchiatobin/readme.txt b/board/solidrun/macchiatobin/readme.txt deleted file mode 100644 index ef5a6cba6bdfddf8ab7113dc4c0d10c6d2a727e3..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/readme.txt +++ /dev/null @@ -1,79 +0,0 @@ -Intro -===== - -This default configuration will allow you to start experimenting with -the buildroot environment for the MacchiatoBin board based on the -Marvell Armada 8040 SoC. Documentation for the board hardware and -software is available on the wiki at: http://wiki.macchiatobin.net - -This default configuration will bring up the board and allow access -through the serial console. - -How to build -============ - -Default configuration provides the following BSP versions: - - Linux v5.10.5 - - U-Boot v2020.10 - - ATF v2.4 - -To build images run the following commands: - - $ make solidrun_macchiatobin_defconfig - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image -called "sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M conv=fsync - $ sudo sync - -How to boot the board -===================== - -The MacchiatoBin board can be setup to load the bootloader from -different sources including eMMC, SPI flash, and SD-card. - -On Rev 1.2 board to select boot from SD-card the DIP switches -SW1 and SW2 should be configured as follows: - -SW2: 01110 -SW1: 1xxxx - -The upcoming Rev 1.3 board will have a single pins header J1 instead -of the SW1/2 DIP switches. To boot from SD-card the setting of J1 -jumpers should match the DIP switches of Rev v1.2 board -from left to right: - -J1: 011101xxxx - -Insert the micro SDcard in the MacchiatoBin board and power it up. -The serial console is accessible at the micro-USB Type-B connector -marked CON9. The serial line settings are 115200 8N1. - -U-Boot environment -================== - -By default current configuration provides U-Boot that keeps environment -in SD/eMMC. However, if needed, u-boot-fragment.config can be tweaked -so that U-Boot will keep environment in SPI flash. On the first boot -SPI flash may be empty or it may contain a stale environment that -prevents proper boot. Then the following commands can be used -to boot the board: - -=> ext4load mmc 1:1 0x01700000 /boot/uEnv-example.txt -=> env import -t 0x01700000 $filesize -=> boot - -The example environment from uEnv-example.txt can be written to -SPI flash using the following commands: - -=> env default -f -a -=> ext4load mmc 1:1 0x01700000 /boot/uEnv-example.txt -=> env import -t 0x01700000 $filesize -=> saveenv diff --git a/board/solidrun/macchiatobin/uEnv-example.txt b/board/solidrun/macchiatobin/uEnv-example.txt deleted file mode 100644 index 1967e2badd8658adfd691071ad5c663d866e557f..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/uEnv-example.txt +++ /dev/null @@ -1,7 +0,0 @@ -bootargs=console=ttyS0,115200 root=/dev/mmcblk1p1 rw rootwait -fdt_addr=0x1000000 -fdt_high=0xffffffffffffffff -fdt_name=boot/armada-8040-mcbin.dtb -kernel_addr=0x2000000 -image_name=boot/Image -bootcmd=mmc dev 1; ext4load mmc 1:1 $kernel_addr $image_name; ext4load mmc 1:1 $fdt_addr $fdt_name; booti $kernel_addr - $fdt_addr diff --git a/board/solidrun/macchiatobin/uboot-fragment.config b/board/solidrun/macchiatobin/uboot-fragment.config deleted file mode 100644 index 717a0942477a3193695ca2681e1bafad333d6a5b..0000000000000000000000000000000000000000 --- a/board/solidrun/macchiatobin/uboot-fragment.config +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_ENV_IS_IN_MMC=y -# CONFIG_ENV_IS_IN_SPI_FLASH is not set diff --git a/board/solidrun/mx6cubox/readme.txt b/board/solidrun/mx6cubox/readme.txt deleted file mode 100644 index 630ab6c75e6b52172cdb0704700ebcfa7881db1a..0000000000000000000000000000000000000000 --- a/board/solidrun/mx6cubox/readme.txt +++ /dev/null @@ -1,18 +0,0 @@ -Solidrun's MX6 Cubox/Hummingboard - -https://www.solid-run.com/freescale-imx6-family/hummingboard/ - -https://www.solid-run.com/freescale-imx6-family/cubox-i/ - -To build a minimal support for these boards: - - $ make mx6cubox_defconfig - $ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on an SD card: - -dd if=output/images/sdcard.img of=/dev/ - -For details about the medium image layout, see the definition in -board/solidrun/mx6cubox/genimage.cfg. diff --git a/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf b/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index d011066357423976fb2311ae2beef6bdb9634007..0000000000000000000000000000000000000000 --- a/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -Label imx6qdl-cubox Buildroot - kernel ../zImage - fdtdir ../ - append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/board/spike/riscv64/linux.fragment b/board/spike/riscv64/linux.fragment deleted file mode 100644 index b443b0ab364fa3eb6a5c05f5edb07edbd6b0ada1..0000000000000000000000000000000000000000 --- a/board/spike/riscv64/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_RISCV_SBI_V01=y -CONFIG_HVC_RISCV_SBI=y -CONFIG_SERIAL_EARLYCON_RISCV_SBI=y diff --git a/board/spike/riscv64/readme.txt b/board/spike/riscv64/readme.txt deleted file mode 100644 index 5ad7df46dfbe13ba8d383c21892ade6fa492329b..0000000000000000000000000000000000000000 --- a/board/spike/riscv64/readme.txt +++ /dev/null @@ -1,39 +0,0 @@ -Linux on Spike RISC-V ISA simulator -=================================== - -This configuration provides a minimal working setup to run a Linux -kernel in the Spike RISC-V ISA simulator. - -The Spike ISA simulator can be an interresting alternative to Qemu, in -some specific cases. For example: simulating new instructions (see [1]), -simulating riscv-openocd/gdb debug sessions (see [2], [3]), or -generating an accurate per-instruction log of execution (see -riscv-isa-sim spike -l option)... - -To run Buildroot Linux in Spike, use the commands: - - make spike_riscv64_defconfig - make - ./board/spike/riscv64/start.sh - -The boot is made with the standard RISC-V OpenSBI boot loader. In -order to keep the simulation simple, the rootfs is passed as an initrd -ramfs. - -Note: at the time of this writing, Spike v1.1.0 and OpenSBI v1.0 does -not support console input emulation for 32bit RISC-V systems. A 32bit -Linux system can boot and reach the login, but it's not possible to -login. See [4]. - - -[1]. -https://github.com/riscv-software-src/riscv-isa-sim/tree/v1.1.0#simulating-a-new-instruction - -[2]. -https://github.com/riscv-software-src/riscv-isa-sim/tree/v1.1.0#debugging-with-gdb - -[3]. -https://github.com/riscv/riscv-openocd - -[4]. -https://github.com/riscv-software-src/opensbi/blob/v1.0/lib/utils/sys/htif.c#L127 diff --git a/board/spike/riscv64/start.sh b/board/spike/riscv64/start.sh deleted file mode 100755 index 6fbbced806939a22cf987800207c0de8d3c95600..0000000000000000000000000000000000000000 --- a/board/spike/riscv64/start.sh +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh - -SCRIPT_DIR="$(dirname "$0")" -BR_BASEDIR="$(readlink -e "${SCRIPT_DIR}/../../..")" - -# spike uses dtc at runtime startup, so make sure buildroot host -# directory is in the PATH -export PATH="${BR_BASEDIR}/output/host/usr/bin:$PATH" - -# Use Buildroot host spike by default, but allow the caller to -# redefine another spike binary -: "${SPIKE:=spike}" - -exec "${SPIKE}" \ - --initrd "${BR_BASEDIR}"/output/images/rootfs.cpio \ - "${@}" \ - "${BR_BASEDIR}"/output/images/fw_payload.elf diff --git a/board/stmicroelectronics/common/stm32f4xx/busybox.fragment b/board/stmicroelectronics/common/stm32f4xx/busybox.fragment deleted file mode 100644 index d0bf2cb99dbbbcf3db4ae69350343f54a534ca74..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/common/stm32f4xx/busybox.fragment +++ /dev/null @@ -1,21 +0,0 @@ -# CONFIG_FEATURE_HWIB is not set -# CONFIG_HOSTNAME is not set -# CONFIG_DNSDOMAINNAME is not set -# CONFIG_FEATURE_HTTPD_PORT_DEFAULT is not set -# CONFIG_IFCONFIG is not set -# CONFIG_FEATURE_IFCONFIG_HW is not set -# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set -# CONFIG_IFUP is not set -# CONFIG_IFDOWN is not set -# CONFIG_IP is not set -# CONFIG_IPADDR is not set -# CONFIG_IPLINK is not set -# CONFIG_IPROUTE is not set -# CONFIG_NC is not set -# CONFIG_NETSTAT is not set -# CONFIG_PING is not set -# CONFIG_ROUTE is not set -# CONFIG_TC is not set -# CONFIG_TELNET is not set -# CONFIG_WGET is not set -# CONFIG_UDHCPC is not set diff --git a/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh b/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh deleted file mode 100755 index 4fcce6150071929ab83c03551808132205532d91..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Busybox is built without network support -sed -i '/hostname/d' ${TARGET_DIR}/etc/inittab - -# Kernel is built without devpts support -sed -i '/^devpts/d' ${TARGET_DIR}/etc/fstab diff --git a/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template b/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template deleted file mode 100644 index c2affd98ea846a832641123edd74d91619925dbf..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - partition-table-type = "gpt" - } - - partition fsbl1 { - image = "%ATFBIN%" - } - - partition fsbl2 { - image = "%ATFBIN%" - } - - partition fip { - image = "fip.bin" - size = 2M - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/board/stmicroelectronics/common/stm32mp157/post-image.sh b/board/stmicroelectronics/common/stm32mp157/post-image.sh deleted file mode 100755 index 0cf52f4564d6b6ebfddb36dac20fc72f6ea47bbd..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/common/stm32mp157/post-image.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -eu - -# -# atf_image extracts the ATF binary image from DTB_FILE_NAME that appears in -# BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES in ${BR_CONFIG}, -# then prints the corresponding file name for the genimage -# configuration file -# -atf_image() -{ - ATF_VARIABLES="$(sed -n 's/^BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="\([^\"]*\)"$/\1/p' ${BR2_CONFIG})" - # make sure DTB_FILE_NAME is set - printf '%s\n' "${ATF_VARIABLES}" | grep -Eq 'DTB_FILE_NAME=[0-9A-Za-z_\-]*' - # extract the value - DTB_FILE_NAME="$(printf '%s\n' "${ATF_VARIABLES}" | sed 's/.*DTB_FILE_NAME=\([a-zA-Z0-9_\-]*\)\.dtb.*/\1/')" - echo "tf-a-${DTB_FILE_NAME}.stm32" -} - -main() -{ - ATFBIN="$(atf_image)" - GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)" - - sed -e "s/%ATFBIN%/${ATFBIN}/" \ - board/stmicroelectronics/common/stm32mp157/genimage.cfg.template > ${GENIMAGE_CFG} - - support/scripts/genimage.sh -c ${GENIMAGE_CFG} - - rm -f ${GENIMAGE_CFG} - - exit $? -} - -main $@ diff --git a/board/stmicroelectronics/stm32f429-disco/flash.sh b/board/stmicroelectronics/stm32f429-disco/flash.sh deleted file mode 100755 index 3e2bf121d348cc1866d4475646448a5c39556784..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f429-disco/flash.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 -BOARD_NAME=${2:-stm32f429discovery} - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR BOARD_NAME" - echo "" - echo "Arguments:" - echo " OUTPUT_DIR The Buildroot output directory." - echo " BOARD_NAME One of the available boards among:" - echo " stm32f429discovery, stm32f429disc1" - exit 1 -fi - -${OUTPUT_DIR}/host/bin/openocd -f board/${BOARD_NAME}.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429i-disco.bin 0x08000000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429-disco.dtb 0x08004000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x0800C000" \ - -c "reset run" \ - -c "shutdown" diff --git a/board/stmicroelectronics/stm32f429-disco/linux.config b/board/stmicroelectronics/stm32f429-disco/linux.config deleted file mode 100644 index 02d9c2d1e094f15a99b6a64bb3ee6adf2f0db661..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f429-disco/linux.config +++ /dev/null @@ -1,116 +0,0 @@ -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_KERNEL_XZ=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_LOG_BUF_SHIFT=12 -CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=10 -CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" -# CONFIG_RD_GZIP is not set -# CONFIG_RD_BZIP2 is not set -# CONFIG_RD_LZMA is not set -# CONFIG_RD_XZ is not set -# CONFIG_RD_LZO is not set -# CONFIG_RD_LZ4 is not set -# CONFIG_RD_ZSTD is not set -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -# CONFIG_MULTIUSER is not set -# CONFIG_SYSFS_SYSCALL is not set -# CONFIG_FHANDLE is not set -CONFIG_POSIX_TIMERS=y -CONFIG_BUG=y -# CONFIG_BASE_FULL is not set -# CONFIG_FUTEX is not set -# CONFIG_EPOLL is not set -# CONFIG_SIGNALFD is not set -# CONFIG_TIMERFD is not set -# CONFIG_EVENTFD is not set -# CONFIG_AIO is not set -# CONFIG_IO_URING is not set -# CONFIG_ADVISE_SYSCALLS is not set -# CONFIG_MEMBARRIER is not set -# CONFIG_KALLSYMS is not set -CONFIG_KCMP=y -# CONFIG_RSEQ is not set -CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y -# CONFIG_SLAB_MERGE_DEFAULT is not set -# CONFIG_MMU is not set -CONFIG_ARCH_STM32=y -# CONFIG_MACH_STM32F469 is not set -# CONFIG_MACH_STM32F746 is not set -# CONFIG_MACH_STM32F769 is not set -# CONFIG_MACH_STM32H743 is not set -CONFIG_CPU_V7M_NUM_IRQ=240 -# CONFIG_ARM_DMA_MEM_BUFFERABLE is not set -CONFIG_SET_MEM_PARAM=y -CONFIG_DRAM_BASE=0x90000000 -CONFIG_DRAM_SIZE=0x00800000 -CONFIG_HZ_1000=y -# CONFIG_ATAGS is not set -CONFIG_XIP_KERNEL=y -CONFIG_XIP_PHYS_ADDR=0x0800C000 -CONFIG_XIP_DEFLATED_DATA=y -# CONFIG_SUSPEND is not set -# CONFIG_STACKPROTECTOR is not set -# CONFIG_COMPAT_32BIT_TIME is not set -# CONFIG_GCC_PLUGINS is not set -# CONFIG_BLOCK is not set -CONFIG_BINFMT_FLAT=y -CONFIG_BINFMT_SHARED_FLAT=y -# CONFIG_COREDUMP is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -# CONFIG_STANDALONE is not set -# CONFIG_PREVENT_FIRMWARE_BUILD is not set -# CONFIG_FW_LOADER is not set -# CONFIG_ALLOW_DEV_COREDUMP is not set -CONFIG_EEPROM_93CX6=y -# CONFIG_INPUT is not set -# CONFIG_VT is not set -# CONFIG_UNIX98_PTYS is not set -# CONFIG_LEGACY_PTYS is not set -# CONFIG_LDISC_AUTOLOAD is not set -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -# CONFIG_DEVMEM is not set -# CONFIG_HWMON is not set -CONFIG_WATCHDOG=y -CONFIG_MFD_STM32_TIMERS=y -# CONFIG_USB_SUPPORT is not set -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_SYNC_FILE=y -# CONFIG_VIRTIO_MENU is not set -# CONFIG_VHOST_MENU is not set -# CONFIG_FILE_LOCKING is not set -# CONFIG_DNOTIFY is not set -# CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_SYSCTL is not set -CONFIG_CONFIGFS_FS=y -# CONFIG_MISC_FILESYSTEMS is not set -CONFIG_NLS=y -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 -CONFIG_CONSOLE_LOGLEVEL_QUIET=15 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 -# CONFIG_SYMBOLIC_ERRNAME is not set -CONFIG_DEBUG_INFO=y -# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set -CONFIG_DEBUG_FS=y -# CONFIG_DEBUG_MISC is not set -# CONFIG_SCHED_DEBUG is not set -# CONFIG_RCU_TRACE is not set -# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/board/stmicroelectronics/stm32f429-disco/readme.txt b/board/stmicroelectronics/stm32f429-disco/readme.txt deleted file mode 100644 index f512cb2e9069a95a03ceb846b0d0fac1345216e7..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f429-disco/readme.txt +++ /dev/null @@ -1,37 +0,0 @@ -STM32F429 Discovery -=================== - -This tutorial describes how to use the predefined Buildroot -configuration for the STM32F429 Discovery evaluation platform. - -Supported HW ------------- - - - STM32F429I-DISCO evaluation board - - STM32F429I-DISC1 evaluation board - -Building --------- - - make stm32f429_disco_defconfig - make - -Wire the UART -------------- - -Use a USB to TTL adapter, and connect: - - - RX to PA9 - - TX to PA10 - - GND to one of the GND available on the board - -The UART is configured at 115200. - -Flashing --------- - - ./board/stmicroelectronics/stm32f429-disco/flash.sh output/ \ - {stm32f429discovery|stm32f429disc1} - -It will flash the minimal bootloader, the Device Tree Blob, and the -kernel image which includes the root filesystem as initramfs. diff --git a/board/stmicroelectronics/stm32f469-disco/extlinux.conf b/board/stmicroelectronics/stm32f469-disco/extlinux.conf deleted file mode 100644 index 1c2db4383ba558e694a903bded119218fc76e4da..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32f469-disco-buildroot - kernel /zImage - devicetree /stm32f469-disco.dtb - append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel diff --git a/board/stmicroelectronics/stm32f469-disco/flash_sd.sh b/board/stmicroelectronics/stm32f469-disco/flash_sd.sh deleted file mode 100755 index 984d2b25997cbcf39fb830fded97800da3d48c2d..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/flash_sd.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - exit 1 -fi - -${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \ - -c "reset run" \ - -c "shutdown" diff --git a/board/stmicroelectronics/stm32f469-disco/flash_xip.sh b/board/stmicroelectronics/stm32f469-disco/flash_xip.sh deleted file mode 100755 index da27cd327cedfbea93af78cf56224681e9febb69..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/flash_xip.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 - -if ! test -d "${OUTPUT_DIR}"; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - exit 1 -fi - -${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469i-disco.bin 0x08000000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x0800C000" \ - -c "reset run" \ - -c "shutdown" diff --git a/board/stmicroelectronics/stm32f469-disco/genimage.cfg b/board/stmicroelectronics/stm32f469-disco/genimage.cfg deleted file mode 100644 index 517ead7751e6aea429527b42410ae868db476748..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "stm32f469-disco.dtb", - "extlinux" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 32M - } -} diff --git a/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment b/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment deleted file mode 100644 index e5d39bf04a1b473ad431c22f2910e86170542fe4..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment +++ /dev/null @@ -1,7 +0,0 @@ -# CONFIG_XIP_KERNEL is not set -CONFIG_DRM=y -CONFIG_DRM_STM=y -CONFIG_DRM_STM_DSI=y -CONFIG_DRM_PANEL_ORISETECH_OTM8009A=y -CONFIG_FB=y -CONFIG_BACKLIGHT_CLASS_DEVICE=y diff --git a/board/stmicroelectronics/stm32f469-disco/linux-xip.config b/board/stmicroelectronics/stm32f469-disco/linux-xip.config deleted file mode 100644 index 01a94eb9d1b52d88a3d27183022922d399f4f50b..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/linux-xip.config +++ /dev/null @@ -1,120 +0,0 @@ -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_KERNEL_XZ=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_LOG_BUF_SHIFT=12 -CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=10 -CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" -# CONFIG_RD_GZIP is not set -# CONFIG_RD_BZIP2 is not set -# CONFIG_RD_LZMA is not set -# CONFIG_RD_XZ is not set -# CONFIG_RD_LZO is not set -# CONFIG_RD_LZ4 is not set -# CONFIG_RD_ZSTD is not set -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -# CONFIG_MULTIUSER is not set -# CONFIG_SYSFS_SYSCALL is not set -# CONFIG_FHANDLE is not set -CONFIG_POSIX_TIMERS=y -# CONFIG_BUG is not set -# CONFIG_BASE_FULL is not set -# CONFIG_FUTEX is not set -# CONFIG_EPOLL is not set -# CONFIG_SIGNALFD is not set -# CONFIG_TIMERFD is not set -# CONFIG_EVENTFD is not set -# CONFIG_AIO is not set -# CONFIG_IO_URING is not set -# CONFIG_ADVISE_SYSCALLS is not set -# CONFIG_MEMBARRIER is not set -# CONFIG_KALLSYMS is not set -CONFIG_KCMP=y -# CONFIG_RSEQ is not set -CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y -# CONFIG_SLAB_MERGE_DEFAULT is not set -# CONFIG_MMU is not set -CONFIG_ARCH_STM32=y -# CONFIG_MACH_STM32F429 is not set -# CONFIG_MACH_STM32F746 is not set -# CONFIG_MACH_STM32F769 is not set -# CONFIG_MACH_STM32H743 is not set -CONFIG_CPU_V7M_NUM_IRQ=240 -# CONFIG_ARM_DMA_MEM_BUFFERABLE is not set -CONFIG_SET_MEM_PARAM=y -CONFIG_DRAM_BASE=0x00000000 -CONFIG_DRAM_SIZE=0x00800000 -CONFIG_HZ_1000=y -# CONFIG_ATAGS is not set -CONFIG_XIP_KERNEL=y -CONFIG_XIP_PHYS_ADDR=0x0800C000 -CONFIG_XIP_DEFLATED_DATA=y -# CONFIG_SUSPEND is not set -# CONFIG_STACKPROTECTOR is not set -# CONFIG_COMPAT_32BIT_TIME is not set -# CONFIG_GCC_PLUGINS is not set -# CONFIG_BLOCK is not set -CONFIG_BINFMT_FLAT=y -CONFIG_BINFMT_SHARED_FLAT=y -# CONFIG_COREDUMP is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -# CONFIG_STANDALONE is not set -# CONFIG_PREVENT_FIRMWARE_BUILD is not set -# CONFIG_FW_LOADER is not set -# CONFIG_ALLOW_DEV_COREDUMP is not set -CONFIG_EEPROM_93CX6=y -# CONFIG_INPUT is not set -# CONFIG_VT is not set -# CONFIG_UNIX98_PTYS is not set -# CONFIG_LEGACY_PTYS is not set -# CONFIG_LDISC_AUTOLOAD is not set -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -# CONFIG_DEVMEM is not set -# CONFIG_HWMON is not set -CONFIG_WATCHDOG=y -CONFIG_MFD_STM32_TIMERS=y -# CONFIG_USB_SUPPORT is not set -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_SYNC_FILE=y -# CONFIG_VIRTIO_MENU is not set -# CONFIG_VHOST_MENU is not set -CONFIG_IIO=y -CONFIG_IIO_BUFFER=y -CONFIG_IIO_TRIGGERED_BUFFER=y -CONFIG_IIO_STM32_TIMER_TRIGGER=y -# CONFIG_FILE_LOCKING is not set -# CONFIG_DNOTIFY is not set -# CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_SYSCTL is not set -CONFIG_CONFIGFS_FS=y -# CONFIG_MISC_FILESYSTEMS is not set -CONFIG_NLS=y -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 -CONFIG_CONSOLE_LOGLEVEL_QUIET=15 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 -# CONFIG_SYMBOLIC_ERRNAME is not set -CONFIG_DEBUG_INFO=y -# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set -CONFIG_DEBUG_FS=y -# CONFIG_DEBUG_MISC is not set -# CONFIG_SCHED_DEBUG is not set -# CONFIG_RCU_TRACE is not set -# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/board/stmicroelectronics/stm32f469-disco/post-build.sh b/board/stmicroelectronics/stm32f469-disco/post-build.sh deleted file mode 100755 index ec20fca7d96427d960082c8d882acc4bd3a2bd41..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname $0)" - -install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/board/stmicroelectronics/stm32f469-disco/readme.txt b/board/stmicroelectronics/stm32f469-disco/readme.txt deleted file mode 100644 index 99d26ccb66fbd827f06c5fba403ea18c8bf04fa7..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/readme.txt +++ /dev/null @@ -1,45 +0,0 @@ -STM32F469 Discovery -=================== - -This tutorial describes how to use the predefined Buildroot -configuration for the STM32F469 Discovery evaluation platform. - -Building --------- - - make stm32f469_disco_sd_defconfig - make - -Flashing --------- - - ./board/stmicroelectronics/stm32f469-disco/flash_sd.sh output/ - -It will flash the U-boot bootloader. - -Creating SD card ----------------- - -Buildroot prepares an"sdcard.img" image in the output/images/ directory, -ready to be dumped on a SD card. Launch the following command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout and its content, see the -definition in board/stmicroelectronics/stm32f469-disco/genimage.cfg. - -Framebuffer ------------ -After Linux boots, /dev/fb0 will be accessible. You can control the -brightness of the display after enabling the framebuffer by running the -following commands: - - # echo 0 0 > /sys/class/graphics/fb0/pan - # echo 255 >/sys/class/backlight/40016c00.dsi.0/brightness - -The brightness ranges from 0 to 255, as you can see running the -command: - - # cat /sys/class/backlight/40016c00.dsi.0/max_brightness diff --git a/board/stmicroelectronics/stm32f469-disco/readme_xip.txt b/board/stmicroelectronics/stm32f469-disco/readme_xip.txt deleted file mode 100644 index 7c20c2d015a6d3212ca06d462df2025c3b15a785..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f469-disco/readme_xip.txt +++ /dev/null @@ -1,24 +0,0 @@ -STM32F469 Discovery -=================== - -This tutorial describes how to use the predefined Buildroot -configuration for the STM32F469 Discovery evaluation platform. - -Internal flash memory stores simple afboot-stm32 bootloader, device tree and -in place (XIP) kernel with built-in initramfs. No external flash or SD card -is needed. - -Kernel is based on tinyconfig. - -Building --------- - - make stm32f469_disco_xip_defconfig - make - -Flashing --------- - - ./board/stmicroelectronics/stm32f469-disco/flash_xip.sh output/ - -It will flash binary to internal flash memory. diff --git a/board/stmicroelectronics/stm32f769-disco/extlinux.conf b/board/stmicroelectronics/stm32f769-disco/extlinux.conf deleted file mode 100644 index 48483a01fc4e0ea66e288fd982ba25e715d31a79..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32f769-disco-buildroot - kernel /zImage - devicetree /stm32f769-disco.dtb - append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel diff --git a/board/stmicroelectronics/stm32f769-disco/flash_sd.sh b/board/stmicroelectronics/stm32f769-disco/flash_sd.sh deleted file mode 100755 index 0ff3ae7dbfb312a1b6f4deaa1df0e5d4d99dc541..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/flash_sd.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - exit 1 -fi - -"${OUTPUT_DIR}"/host/bin/openocd -f board/stm32f769i-disco.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \ - -c "reset run" \ - -c "shutdown" diff --git a/board/stmicroelectronics/stm32f769-disco/genimage.cfg b/board/stmicroelectronics/stm32f769-disco/genimage.cfg deleted file mode 100644 index 41f9da51248980268a7af0e251ee971a6bb3313a..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "stm32f769-disco.dtb", - "extlinux" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 32M - } -} diff --git a/board/stmicroelectronics/stm32f769-disco/linux-sd.fragment b/board/stmicroelectronics/stm32f769-disco/linux-sd.fragment deleted file mode 100644 index 846229d0d468a6399293c8815710c2b1471b8a16..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/linux-sd.fragment +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_XIP_KERNEL is not set diff --git a/board/stmicroelectronics/stm32f769-disco/post-build.sh b/board/stmicroelectronics/stm32f769-disco/post-build.sh deleted file mode 100755 index c8cca3de8c9b2e02997d3d2368510684f33e9c20..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/post-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname "$0")" - -# Kernel is built without devpts support -sed -i '/^devpts/d' "${TARGET_DIR}"/etc/fstab - -install -m 0644 -D "${BOARD_DIR}"/extlinux.conf "${BINARIES_DIR}"/extlinux/extlinux.conf diff --git a/board/stmicroelectronics/stm32f769-disco/readme.txt b/board/stmicroelectronics/stm32f769-disco/readme.txt deleted file mode 100644 index 8f4f79a86138eefcc653bc1eb38f48f4fef7e02f..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32f769-disco/readme.txt +++ /dev/null @@ -1,32 +0,0 @@ -STM32F769 Discovery -=================== - -This tutorial describes how to use the predefined Buildroot -configuration for the STM32F769 Discovery evaluation platform. - -Building --------- - - make stm32f769_disco_sd_defconfig - make - -Flashing --------- - - ./board/stmicroelectronics/stm32f769-disco/flash_sd.sh output/ - -It will flash the U-boot bootloader. - -Creating SD card ----------------- - -Buildroot prepares an"sdcard.img" image in the output/images/ directory, -ready to be dumped on a SD card. Launch the following command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout and its content, see the -definition in board/stmicroelectronics/stm32f769-disco/genimage.cfg. - diff --git a/board/stmicroelectronics/stm32mp157a-dk1/linux.config b/board/stmicroelectronics/stm32mp157a-dk1/linux.config deleted file mode 100644 index 95c834e431979ae1649e65da402d67fcbf013302..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157a-dk1/linux.config +++ /dev/null @@ -1,182 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_USELIB=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=16 -CONFIG_BLK_DEV_INITRD=y -CONFIG_ARCH_STM32=y -CONFIG_ARM_THUMBEE=y -# CONFIG_CACHE_L2X0 is not set -CONFIG_ARM_ERRATA_430973=y -CONFIG_ARM_ERRATA_720789=y -CONFIG_ARM_ERRATA_754322=y -CONFIG_ARM_ERRATA_754327=y -CONFIG_ARM_ERRATA_764369=y -CONFIG_ARM_ERRATA_775420=y -CONFIG_ARM_ERRATA_798181=y -CONFIG_SMP=y -CONFIG_MCPM=y -CONFIG_HIGHMEM=y -CONFIG_FORCE_MAX_ZONEORDER=12 -CONFIG_SECCOMP=y -# CONFIG_ATAGS is not set -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_ARM_CRYPTO=y -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODVERSIONS=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_CMDLINE_PARTITION=y -CONFIG_CMA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_CAN=y -CONFIG_CAN_M_CAN=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=128 -CONFIG_SIMPLE_PM_BUS=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_STM32_FMC2=y -CONFIG_MTD_SPI_NOR=y -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -CONFIG_MTD_UBI=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_SRAM=y -CONFIG_EEPROM_AT24=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_KS8851=y -CONFIG_SMSC911X=y -CONFIG_STMMAC_ETH=y -CONFIG_DWMAC_DWC_QOS_ETH=y -CONFIG_MDIO_BITBANG=y -CONFIG_INPUT_JOYDEV=y -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_EDT_FT5X06=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_STPMIC1_ONKEY=y -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_HW_RANDOM=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX=y -CONFIG_I2C_STM32F7=y -CONFIG_SPI=y -CONFIG_SPI_STM32=y -CONFIG_SPI_STM32_QSPI=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_PINCTRL_STMFX=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_GPIO=y -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_WATCHDOG=y -CONFIG_STPMIC1_WATCHDOG=y -CONFIG_MFD_STM32_LPTIMER=y -CONFIG_MFD_STPMIC1=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_STM32_VREFBUF=y -CONFIG_REGULATOR_STM32_PWR=y -CONFIG_REGULATOR_STPMIC1=y -CONFIG_DRM=y -CONFIG_DRM_STM=y -CONFIG_DRM_STM_DSI=y -# CONFIG_DRM_PANEL_ORISETECH_OTM8009A is not set -# CONFIG_DRM_SII902X is not set -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set -# CONFIG_LCD_CLASS_DEVICE is not set -# CONFIG_BACKLIGHT_CLASS_DEVICE is not set -# CONFIG_BACKLIGHT_GENERIC is not set -# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_USB=y -CONFIG_USB_OTG=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_DWC2=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_ISP1760=y -CONFIG_USB_HSIC_USB3503=y -CONFIG_USB_GPIO_VBUS=y -CONFIG_USB_ISP1301=y -CONFIG_USB_ULPI=y -CONFIG_TYPEC=y -CONFIG_TYPEC_STUSB=y -CONFIG_MMC=y -CONFIG_MMC_BLOCK_MINORS=16 -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_DW=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_PWM=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_HWSPINLOCK=y -CONFIG_HWSPINLOCK_STM32=y -CONFIG_STM32_IPCC=y -CONFIG_REMOTEPROC=y -CONFIG_STM32_RPROC=y -CONFIG_RPMSG_VIRTIO=y -CONFIG_RPMSG_TTY=y -CONFIG_IIO=y -CONFIG_IIO_SW_TRIGGER=y -CONFIG_SD_ADC_MODULATOR=y -CONFIG_STM32_ADC_CORE=y -CONFIG_STM32_ADC=y -CONFIG_STM32_ADC_TEMP=y -CONFIG_STM32_DFSDM_ADC=y -CONFIG_STM32_LPTIMER_CNT=y -CONFIG_STM32_DAC=y -CONFIG_IIO_HRTIMER_TRIGGER=y -CONFIG_IIO_STM32_LPTIMER_TRIGGER=y -CONFIG_PWM=y -CONFIG_PWM_STM32=y -CONFIG_PWM_STM32_LP=y -CONFIG_PHY_STM32_USBPHYC=y -CONFIG_NVMEM_STM32_ROMEM=y -CONFIG_EXT4_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_PRINTK_TIME=y diff --git a/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf b/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 437e80fdeb6afa3ec7f18bf8a16bb55cd88c53ec..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32mp157a-dk1-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157a-dk1.dtb - append root=/dev/mmcblk0p4 rootwait diff --git a/board/stmicroelectronics/stm32mp157a-dk1/readme.txt b/board/stmicroelectronics/stm32mp157a-dk1/readme.txt deleted file mode 100644 index 060f71d5dcec1b33279611c22fe6a7c9c01268de..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157a-dk1/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -STM32MP157A Discovery Kit v1 - -Intro -===== - -This configuration supports the STM32MP157 Discovery Kit 1 (DK1) -platform: - - https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html - -How to build -============ - - $ make stm32mp157a_dk1_defconfig - $ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Insert the microSD card in connector CN15 - - (2) Plug a micro-USB cable in connector CN11 and run your serial - communication program on /dev/ttyACM0. - - (3) Plug a USB-C cable in CN6 to power-up the board. - - (4) The system will start, with the console on UART, but also visible - on the screen. diff --git a/board/stmicroelectronics/stm32mp157c-dk2/linux.config b/board/stmicroelectronics/stm32mp157c-dk2/linux.config deleted file mode 100644 index 878a0c39f127e3b21ae8f32040badf9b6cff3246..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157c-dk2/linux.config +++ /dev/null @@ -1,182 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_USELIB=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=16 -CONFIG_BLK_DEV_INITRD=y -CONFIG_ARCH_STM32=y -CONFIG_ARM_THUMBEE=y -# CONFIG_CACHE_L2X0 is not set -CONFIG_ARM_ERRATA_430973=y -CONFIG_ARM_ERRATA_720789=y -CONFIG_ARM_ERRATA_754322=y -CONFIG_ARM_ERRATA_754327=y -CONFIG_ARM_ERRATA_764369=y -CONFIG_ARM_ERRATA_775420=y -CONFIG_ARM_ERRATA_798181=y -CONFIG_SMP=y -CONFIG_MCPM=y -CONFIG_HIGHMEM=y -CONFIG_FORCE_MAX_ZONEORDER=12 -CONFIG_SECCOMP=y -# CONFIG_ATAGS is not set -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_ARM_CRYPTO=y -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODVERSIONS=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_CMDLINE_PARTITION=y -CONFIG_CMA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_CAN=y -CONFIG_CAN_M_CAN=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=128 -CONFIG_SIMPLE_PM_BUS=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_NAND=y -CONFIG_MTD_NAND_STM32_FMC2=y -CONFIG_MTD_SPI_NOR=y -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -CONFIG_MTD_UBI=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_SRAM=y -CONFIG_EEPROM_AT24=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_KS8851=y -CONFIG_SMSC911X=y -CONFIG_STMMAC_ETH=y -CONFIG_DWMAC_DWC_QOS_ETH=y -CONFIG_MDIO_BITBANG=y -CONFIG_INPUT_JOYDEV=y -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_EDT_FT5X06=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_STPMIC1_ONKEY=y -CONFIG_SERIAL_STM32=y -CONFIG_SERIAL_STM32_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_HW_RANDOM=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX=y -CONFIG_I2C_STM32F7=y -CONFIG_SPI=y -CONFIG_SPI_STM32=y -CONFIG_SPI_STM32_QSPI=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_PINCTRL_STMFX=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_GPIO=y -CONFIG_POWER_RESET_GPIO_RESTART=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_WATCHDOG=y -CONFIG_STPMIC1_WATCHDOG=y -CONFIG_MFD_STM32_LPTIMER=y -CONFIG_MFD_STPMIC1=y -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_STM32_VREFBUF=y -CONFIG_REGULATOR_STM32_PWR=y -CONFIG_REGULATOR_STPMIC1=y -CONFIG_DRM=y -CONFIG_DRM_STM=y -CONFIG_DRM_STM_DSI=y -CONFIG_DRM_PANEL_ORISETECH_OTM8009A=y -CONFIG_DRM_SII902X=y -CONFIG_BACKLIGHT_LCD_SUPPORT=y -# CONFIG_LCD_CLASS_DEVICE is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -# CONFIG_BACKLIGHT_GENERIC is not set -CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_DYNAMIC_MINORS=y -CONFIG_USB=y -CONFIG_USB_OTG=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_DWC2=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_ISP1760=y -CONFIG_USB_HSIC_USB3503=y -CONFIG_USB_GPIO_VBUS=y -CONFIG_USB_ISP1301=y -CONFIG_USB_ULPI=y -CONFIG_TYPEC=y -CONFIG_TYPEC_STUSB=y -CONFIG_MMC=y -CONFIG_MMC_BLOCK_MINORS=16 -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_DW=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_PWM=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_STM32=y -CONFIG_DMADEVICES=y -CONFIG_STM32_DMA=y -CONFIG_STM32_DMAMUX=y -CONFIG_STM32_MDMA=y -CONFIG_HWSPINLOCK=y -CONFIG_HWSPINLOCK_STM32=y -CONFIG_STM32_IPCC=y -CONFIG_REMOTEPROC=y -CONFIG_STM32_RPROC=y -CONFIG_RPMSG_VIRTIO=y -CONFIG_RPMSG_TTY=y -CONFIG_IIO=y -CONFIG_IIO_SW_TRIGGER=y -CONFIG_SD_ADC_MODULATOR=y -CONFIG_STM32_ADC_CORE=y -CONFIG_STM32_ADC=y -CONFIG_STM32_ADC_TEMP=y -CONFIG_STM32_DFSDM_ADC=y -CONFIG_STM32_LPTIMER_CNT=y -CONFIG_STM32_DAC=y -CONFIG_IIO_HRTIMER_TRIGGER=y -CONFIG_IIO_STM32_LPTIMER_TRIGGER=y -CONFIG_PWM=y -CONFIG_PWM_STM32=y -CONFIG_PWM_STM32_LP=y -CONFIG_PHY_STM32_USBPHYC=y -CONFIG_NVMEM_STM32_ROMEM=y -CONFIG_EXT4_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_PRINTK_TIME=y diff --git a/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf b/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 5b7f56ee7744cbb130ee59a4cc04d57cfbb7ef82..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label stm32mp157c-dk2-buildroot - kernel /boot/zImage - devicetree /boot/stm32mp157c-dk2.dtb - append root=/dev/mmcblk0p4 rootwait diff --git a/board/stmicroelectronics/stm32mp157c-dk2/readme.txt b/board/stmicroelectronics/stm32mp157c-dk2/readme.txt deleted file mode 100644 index 8edc3e8bbb614abc8a027404695b3ffc9e7eb14b..0000000000000000000000000000000000000000 --- a/board/stmicroelectronics/stm32mp157c-dk2/readme.txt +++ /dev/null @@ -1,38 +0,0 @@ -STM32MP157C Discovery Kit v2 - -Intro -===== - -This configuration supports the STM32MP157C Discovery Kit 2 (DK2) -platform: - - https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html - -How to build -============ - - $ make stm32mp157c_dk2_defconfig - $ make - -How to write the microSD card -============================= - -Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an microSD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Boot the board -============== - - (1) Insert the microSD card in connector CN15 - - (2) Plug a micro-USB cable in connector CN11 and run your serial - communication program on /dev/ttyACM0. - - (3) Plug a USB-C cable in CN6 to power-up the board. - - (4) The system will start, with the console on UART, but also visible - on the screen. diff --git a/board/synopsys/axs10x/post-build.sh b/board/synopsys/axs10x/post-build.sh deleted file mode 100755 index f23c8a99b81f39b6491557af4e387ae2710dd00c..0000000000000000000000000000000000000000 --- a/board/synopsys/axs10x/post-build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -u -set -e - -# Add a console on tty0 -if [ -e ${TARGET_DIR}/etc/inittab ]; then - grep -qE '^tty0::' ${TARGET_DIR}/etc/inittab || \ - sed -i '/GENERIC_SERIAL/a\ -tty0::respawn:/sbin/getty 115200 tty0' ${TARGET_DIR}/etc/inittab -fi diff --git a/board/synopsys/axs10x/uboot-fragment.config b/board/synopsys/axs10x/uboot-fragment.config deleted file mode 100644 index 92fe20f463ac93b0361505ec10012e4855d87535..0000000000000000000000000000000000000000 --- a/board/synopsys/axs10x/uboot-fragment.config +++ /dev/null @@ -1 +0,0 @@ -CONFIG_SYS_MALLOC_F_LEN=0x0500 diff --git a/board/synopsys/hsdk/genimage.cfg b/board/synopsys/hsdk/genimage.cfg deleted file mode 100644 index b5d702d553ca339f0f79e02ac14200c4fa2ccde1..0000000000000000000000000000000000000000 --- a/board/synopsys/hsdk/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage" - } - - file uboot.env { - image = "uboot-env.bin" - } - } - - size = 20M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/synopsys/hsdk/linux.fragment b/board/synopsys/hsdk/linux.fragment deleted file mode 100644 index aaca08e015b6890f6ce5b1b49b5f127f82e3021b..0000000000000000000000000000000000000000 --- a/board/synopsys/hsdk/linux.fragment +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_INITRAMFS_SOURCE="" -CONFIG_ARC_UBOOT_SUPPORT=y -CONFIG_USB=y diff --git a/board/synopsys/hsdk/readme.txt b/board/synopsys/hsdk/readme.txt deleted file mode 100644 index f4c65011116c61278dfa49625ca94e6b32ff8edb..0000000000000000000000000000000000000000 --- a/board/synopsys/hsdk/readme.txt +++ /dev/null @@ -1,33 +0,0 @@ -Synopsys, Inc. -ARC HS Development Kit (HSDK) - -https://embarc.org/platforms.html - -How to build it -=============== - -Select the default configuration for the target: -$ make snps_archs38_hsdk_defconfig - -Optional: modify the configuration: -$ make menuconfig - -Build: -$ make - -Result of the build -=================== -output/images/ -├── boot.vfat -├── rootfs.ext2 -├── sdcard.img -├── u-boot -├── u-boot.bin -├── uboot-env.bin -└── uImage - -To copy the image file to the sdcard use dd: -$ dd if=output/images/sdcard.img of=/dev/XXX - -2018, Evgeniy Didin - diff --git a/board/synopsys/hsdk/uboot.env.txt b/board/synopsys/hsdk/uboot.env.txt deleted file mode 100644 index 216f0c9043556800d033d1591a158a0e922d73d6..0000000000000000000000000000000000000000 --- a/board/synopsys/hsdk/uboot.env.txt +++ /dev/null @@ -1,9 +0,0 @@ -baudrate=115200 -bootargs=root=/dev/mmcblk0p2 rootwait -bootcmd=fatload mmc 0:1; bootm -bootdelay=2 -bootfile=uImage -loadaddr=0x82000000 -stderr=serial0@f0005000 -stdin=serial0@f0005000 -stdout=serial0@f0005000 diff --git a/board/synopsys/nsim/readme.txt b/board/synopsys/nsim/readme.txt deleted file mode 100644 index cc89cf87ac6f3ea6349d4c6e8ef18b792ccfe492..0000000000000000000000000000000000000000 --- a/board/synopsys/nsim/readme.txt +++ /dev/null @@ -1,43 +0,0 @@ -How to build it -=============== - -Configure build for the selected nSIM target. For instance, for -ARC700 nSIM target use the following defauilt configuration: -$ make snps_arc700_nsim_defconfig - -Optionally modify the configuration: -$ make menuconfig - -Build: -$ make - -How to use it -============= - -Resulting image can be booted using ARC nSIM instruction set simulator. -Free version of nSIM is available for download: -- https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi -It provides nsimdrv binary for Linux that can be used stand-alone -or with GDB. - -To run ARC700 image use the following command: -$ nsimdrv \ - -prop=nsim_mem-dev=uart0,kind=dwuart,base=0xf0000000,irq=24 \ - -prop=icache=32768,64,2,0 \ - -prop=dcache=32768,64,4,0 \ - -prop=nsim_isa_enable_timer_0=1 \ - -prop=nsim_isa_enable_timer_1=1 \ - -prop=nsim_isa_host_timer=1 \ - -prop=nsim_mmu=3 \ - -prop=nsim_isa_family=a700 \ - -prop=nsim_isa_atomic_option=1 \ - -prop=nsim_isa_dpfp=none \ - -prop=nsim_isa_shift_option=2 \ - -prop=nsim_isa_swap_option=1 \ - -prop=nsim_isa_bitscan_option=1 \ - -prop=nsim_isa_sat=1 \ - -prop=nsim_isa_mpy32=1 \ - -prop=isa_counters=1 \ - -prop=nsim_isa_pct_counters=8 \ - -prop=nsim_isa_pct_size=48 \ - output/images/vmlinux diff --git a/board/technexion/imx6ulpico/readme.txt b/board/technexion/imx6ulpico/readme.txt deleted file mode 100644 index 7eab3f6b86fc6094a7063c37056de83ec959f6fb..0000000000000000000000000000000000000000 --- a/board/technexion/imx6ulpico/readme.txt +++ /dev/null @@ -1,70 +0,0 @@ -***************************** -Technexion i.MX6UL Pico board -***************************** - -This file documents the Buildroot support for the Technexion i.MX6UL Pico board. - -Build -===== - -First, configure Buildroot for the i.MX6UL Pico board: - - make imx6ulpico_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx6ul-pico-hobbit.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot.imx - - zImage - -Create a bootable SD card -========================= - -In the U-Boot prompt lauch: - -=> ums 0 mmc 0 - -This will mount the eMMC content in the host PC as a mass storage device. - -To determine the device associated to the eMMC card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on the eMMC card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the card content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX6UL Pico board -========================= - -To boot your newly created system: -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Using Wifi -========== - -# modprobe brcmfmac -# iwconfig wlan0 essid ACCESSPOINTNAME -# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf -(enter the wifi password and press enter) -# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf & -# udhcpc -i wlan0 -# ping buildroot.org - -Enjoy! diff --git a/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf b/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 24ed485c3c53bffb23ce70b0751ff93af200d243..0000000000000000000000000000000000000000 --- a/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -Label imx6ul-pico-buildroot - kernel ../zImage - fdtdir ../ - append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt b/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt deleted file mode 100644 index 4716c7ef2db8d1a9aa42111f7061cf26d146da66..0000000000000000000000000000000000000000 --- a/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt +++ /dev/null @@ -1,102 +0,0 @@ -# Sample NVRAM for BCM94339 WLCSP with eTR,iPA, and eLNA. -sromrev=11 -boardrev=0x1100 -boardtype=0x06c9 -boardflags=0x10081401 -boardflags2=0x00000000 -boardflags3=0x08001188 -#boardnum=57410 -macaddr=00:90:4c:c5:12:38 -ccode=0 -regrev=0 -antswitch=0 -pdgain2g=7 -pdgain5g=7 -tworangetssi2g=0 -tworangetssi5g=0 -vendid=0x14e4 -devid=0x43ae -manfid=0x2d0 -#prodid=0x052e -nocrc=1 -otpimagesize=502 -xtalfreq=37400 -extpagain2g=2 -pdetrange2g=2 -extpagain5g=2 -pdetrange5g=2 -rxgains2gelnagaina0=2 -rxgains2gtrisoa0=6 -rxgains2gtrelnabypa0=1 -rxgains5gelnagaina0=4 -rxgains5gtrisoa0=4 -rxgains5gtrelnabypa0=1 -rxchain=1 -txchain=1 -aa2g=1 -aa5g=1 -tssipos5g=0 -tssipos2g=0 -pa2ga0=0xFF47,0x17B5,0xFD2B -pa2gccka0=0xFF5F,0x1B46,0xFCCC -pa5ga0=0xff54,0x16ec,0xfd45,0xff52,0x16a1,0xfd4d,0xff46,0x15b7,0xfd5a,0xff56,0x156d,0xfd79 -pa5gbw40a0=0xff59,0x17ca,0xfd30,0xff42,0x163d,0xfd4b,0xff31,0x152e,0xfd55,0xff60,0x16d8,0xfd54 -pa5gbw80a0=0xff56,0x1740,0xfd3f,0xff50,0x1738,0xfd3d,0xff4d,0x16b4,0xfd42,0xff58,0x1634,0xfd60 -# Default Target Power for 2G -- 17dBm(11)/14dBm(54)/13dBm(MCS7)/12dBm(MCS8)/12dBm(MCS9) -maxp2ga0=74 -maxp5ga0=74,74,74,74 -cckbw202gpo=0x0000 -cckbw20ul2gpo=0x0000 -mcsbw202gpo=0xaa888888 -mcsbw402gpo=0xaa888888 -dot11agofdmhrbw202gpo=0x6666 -ofdmlrbw202gpo=0x0066 -tssifloor2g=500 -# Default Target Power for 5G -- 14dBm(54)/13dBm(MCS7)/12dBm(MCS8)/12dBm(MCS9) -mcsbw205glpo=0xaa866666 -mcsbw405glpo=0xaa866666 -mcsbw805glpo=0xaa866666 -mcsbw205gmpo=0xaa866666 -mcsbw405gmpo=0xaa866666 -mcsbw805gmpo=0xaa866666 -mcsbw205ghpo=0xaa866666 -mcsbw405ghpo=0xaa866666 -mcsbw805ghpo=0xaa866666 -mcslr5glpo=0x0000 -mcslr5gmpo=0x0000 -mcslr5ghpo=0x0000 -sb20in40hrpo=0x0 -sb20in80and160hr5glpo=0x0 -sb40and80hr5glpo=0x0 -sb20in80and160hr5gmpo=0x0 -sb40and80hr5gmpo=0x0 -sb20in80and160hr5ghpo=0x0 -sb40and80hr5ghpo=0x0 -sb20in40lrpo=0x0 -sb20in80and160lr5glpo=0x0 -sb40and80lr5glpo=0x0 -sb20in80and160lr5gmpo=0x0 -sb40and80lr5gmpo=0x0 -sb20in80and160lr5ghpo=0x0 -sb40and80lr5ghpo=0x0 -dot11agduphrpo=0x0 -dot11agduplrpo=0x0 -phycal_tempdelta=25 -cckdigfilttype=2 -swctrlmap_5g=0x00080008,0x00500010,0x00100008,0x000000,0x078 -swctrlmap_2g=0x00010001,0x00220002,0x00020001,0x042202,0x1ff -swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000 -swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000 -# -#GPIO 0 for SDIO HW OOB interruption -#muxenab=0x10 -#sd_gpout=0 -#sd_oobonly=1 -# -rssicorrnorm_c0=-2,0 -rssicorrnorm5g_c0=3,5,2,3,4,2,2,3,1,2,3,1 -## ED threshold level to address the new ETSI requirement - 10/31/2013 -ed_thresh2g=-77 -ed_thresh5g=-77 -# -paparambwver=1 diff --git a/board/technexion/imx7dpico/readme.txt b/board/technexion/imx7dpico/readme.txt deleted file mode 100644 index 53197d458d306f4ea506fc9cf056dfe1e3b56bd1..0000000000000000000000000000000000000000 --- a/board/technexion/imx7dpico/readme.txt +++ /dev/null @@ -1,124 +0,0 @@ -**************************** -Technexion i.MX7D Pico board -**************************** - -This file documents the Buildroot support for the Technexion i.MX7D Pico board. - -Build -===== - -First, configure Buildroot for the i.MX7D Pico board: - - make imx7dpico_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx7d-pico.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-dtb.img - - SPL - - zImage - -Flash U-Boot and SPL -===== - -Note: This method is convenient for development purposes. -If the eMMC has already a U-Boot flashed with DFU support then -the user can go to step 2 below in order to update U-Boot. - -Put pico board in USB download mode (refer to the PICO-iMX7D Quick Start Guide -page 3) - -Connect a USB to serial adapter between the host PC and pico. - -Connect a USB cable between the OTG pico port and the host PC. - -Note: Some computers may be a bit strict with USB current draw and will -shut down their ports if the draw is too high. The solution for that is -to use an externally powered USB hub between the board and the host computer. - -Open a terminal program such as minicom. - -Copy SPL and u-boot-dtb.img to the imx_usb_loader folder. - -Load the SPL binary via USB: - -$ sudo ./imx_usb SPL - -Load the u-boot-dtb.img binary via USB: - -$ sudo ./imx_usb u-boot-dtb.img - -Then U-Boot starts and its messages appear in the console program. - -Use the default environment variables: - -=> env default -f -a -=> saveenv - -Run the DFU agent so we can flash the new images using dfu-util tool: - -=> dfu 0 mmc 0 - -Flash SPL and u-boot-dtb.img into the eMMC running the following commands on a PC: - -$ sudo dfu-util -D SPL -a spl - -$ sudo dfu-util -D u-boot-dtb.img -a u-boot - -Remove power from the pico board. - -Put pico board into normal boot mode. - -Power up the board and the new updated U-Boot should boot from eMMC. - -Flash the eMMC -============== - -In the U-Boot prompt lauch: - -=> ums 0 mmc 0 - -This will mount the eMMC content in the host PC as a mass storage device. - -To determine the device associated to the eMMC card have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on the eMMC card. Launch the following -command as root: - - dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the eMMC content. Use with care! *** - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX7D Pico board -========================== - -To boot your newly created system: -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Using Wifi -========== - -# modprobe brcmfmac -# iwconfig wlan0 essid ACCESSPOINTNAME -# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf -(enter the wifi password and press enter) -# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf & -# udhcpc -i wlan0 -# ping buildroot.org - -Enjoy! diff --git a/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf b/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 4824aff079f510d8fd6a715ca6dc7761ece007eb..0000000000000000000000000000000000000000 --- a/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -Label imx7d-pico-buildroot - kernel /boot/zImage - devicetree /boot/imx7d-pico-pi.dtb - append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} \ No newline at end of file diff --git a/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt b/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt deleted file mode 100644 index 1ddd929504827dfd7591092eaab9b8260b98de12..0000000000000000000000000000000000000000 --- a/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt +++ /dev/null @@ -1,99 +0,0 @@ -#AP6335_NVRAM_V1.5_03112014 -NVRAMRev=$Rev: 410316 $ -sromrev=11 -boardrev=0x1203 -boardtype=0x06c5 -boardflags=0x00000c01 -boardflags2=0x00002000 -boardflags3=0x101188 -macaddr=00:90:4c:c5:12:38 -ccode=0 -regrev=0 -antswitch=0 -pdgain2g=7 -pdgain5g=7 -tworangetssi2g=0 -tworangetssi5g=0 -femctrl=7 -pcieingress_war=15 -vendid=0x14e4 -devid=0x43ae -manfid=0x2d0 -nocrc=1 -otpimagesize=502 -xtalfreq=37400 -extpagain2g=2 -pdetrange2g=2 -extpagain5g=2 -pdetrange5g=2 -rxgains2gelnagaina0=0 -rxgains2gtrisoa0=7 -rxgains2gtrelnabypa0=0 -rxgains5gelnagaina0=0 -rxgains5gtrisoa0=11 -rxgains5gtrelnabypa0=0 -rxchain=1 -txchain=1 -aa2g=1 -aa5g=1 -tssipos5g=0 -tssipos2g=0 -pa2ga0=-161,6269,-723 -pa2gccka0=-116,7568,-852 -pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D -pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D -pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D -pdoffset40ma0=0 -pdoffset80ma0=0 -pdoffsetcckma0=0 -maxp2ga0=75 -maxp5ga0=64,64,72,72 -cckbw202gpo=0x0000 -cckbw20ul2gpo=0x0 -mcsbw202gpo=0x99445533 -mcsbw402gpo=0x99775533 -dot11agofdmhrbw202gpo=0x2233 -ofdmlrbw202gpo=0x0000 -tssifloor2g=500 -mcsbw205glpo=0x66333330 -mcsbw405glpo=0x66665530 -mcsbw805glpo=0xAA555530 -mcsbw1605glpo=0x99555530 -mcsbw205gmpo=0x99BB5530 -mcsbw405gmpo=0x99BB5530 -mcsbw805gmpo=0xEE555530 -mcsbw1605gmpo=0x99555530 -mcsbw205ghpo=0x99995530 -mcsbw405ghpo=0x99BB5530 -mcsbw805ghpo=0xEE555530 -mcsbw1605ghpo=0x99555530 -mcslr5glpo=0x0000 -mcslr5gmpo=0x0000 -mcslr5ghpo=0x0000 -sb20in40hrrpo=0x0 -sb20in80and160hr5glpo=0x0 -sb40and80hr5glpo=0x0 -sb20in80and160hr5gmpo=0x0 -sb40and80hr5gmpo=0x0 -sb20in80and160hr5ghpo=0x0 -sb40and80hr5ghpo=0x0 -sb20in40lrpo=0x0 -sb20in80and160lr5glpo=0x0 -sb40and80lr5glpo=0x0 -sb20in80and160lr5gmpo=0x0 -sb40and80lr5gmpo=0x0 -sb20in80and160lr5ghpo=0x0 -sb40and80lr5ghpo=0x0 -dot11agduphrpo=0x0 -dot11agduplrpo=0x0 -phycal_tempdelta=25 -cckdigfilttype=2 -pacalidx2g=65 -dacrate2g=160 -swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038 -swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff -swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000 -swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000 -rssicorrnorm_c0=3,3 -rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2 -muxenab=0x10 diff --git a/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch b/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch deleted file mode 100644 index 90e808cc8e597e7530241567e2698f7f986e77bc..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 078cbf942c86d77775a26d83fc87ca244de02d4c Mon Sep 17 00:00:00 2001 -From: Govindraj Raja -Date: Fri, 5 May 2023 09:09:36 -0500 -Subject: [PATCH] fix(build): allow lower address access with gcc-12 - -With gcc-12 any lower address access can trigger a warning/error -this would be useful in other parts of system but in TF-A -there are various reasons to access to the lower address ranges, -example using mmio_read_*/writes_* - -So setup to allow access to lower addresses while using gcc-12 - -Change-Id: Id1b4012b13bc6876d83b90a347fee12478a1921d -Signed-off-by: Govindraj Raja -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/dea23e245fb890c6c06eff7d1aed8fffa981fc05 -Signed-off-by: Julien Olivain ---- - Makefile | 4 ++++ - make_helpers/build_macros.mk | 12 ++++++++++++ - 2 files changed, 16 insertions(+) - -diff --git a/Makefile b/Makefile -index dccf0121d..edd7f5886 100644 ---- a/Makefile -+++ b/Makefile -@@ -385,6 +385,10 @@ ifeq ($(findstring clang,$(notdir $(CC))),) - WARNINGS += -Wunused-but-set-variable -Wmaybe-uninitialized \ - -Wpacked-bitfield-compat -Wshift-overflow=2 \ - -Wlogical-op -+ -+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 -+TF_CFLAGS += $(call cc_option, --param=min-pagesize=0) -+ - else - # using clang - WARNINGS += -Wshift-overflow -Wshift-sign-overflow \ -diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk -index 12aaee684..3a54bf67c 100644 ---- a/make_helpers/build_macros.mk -+++ b/make_helpers/build_macros.mk -@@ -86,6 +86,18 @@ define assert_numerics - $(foreach num,$1,$(eval $(call assert_numeric,$(num)))) - endef - -+# Convenience function to check for a given linker option. An call to -+# $(call ld_option, --no-XYZ) will return --no-XYZ if supported by the linker -+define ld_option -+ $(shell if $(LD) $(1) -v >/dev/null 2>&1; then echo $(1); fi ) -+endef -+ -+# Convenience function to check for a given compiler option. A call to -+# $(call cc_option, --no-XYZ) will return --no-XYZ if supported by the compiler -+define cc_option -+ $(shell if $(CC) $(1) -c -x c /dev/null -o /dev/null >/dev/null 2>&1; then echo $(1); fi ) -+endef -+ - # CREATE_SEQ is a recursive function to create sequence of numbers from 1 to - # $(2) and assign the sequence to $(1) - define CREATE_SEQ --- -2.41.0 - diff --git a/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch b/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch deleted file mode 100644 index d989bdb06beb63d0b074076581fdf619a2a7661a..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mmpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch +++ /dev/null @@ -1,62 +0,0 @@ -From cc14748257e07ed5b2caf5194c4c333a8d09a1f4 Mon Sep 17 00:00:00 2001 -From: Marco Felsch -Date: Wed, 9 Nov 2022 12:59:09 +0100 -Subject: [PATCH] feat(build): add support for new binutils versions - -Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces -of a new warning when linking the bl*.elf in the form: - - ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack - ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker - ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions - ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions - -These new warnings are enbaled by default to secure elf binaries: - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 - -Fix it in a similar way to what the Linux kernel does, see: -https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers@google.com/ - -Following the reasoning there, we set "-z noexecstack" for all linkers -(although LLVM's LLD defaults to it) and optional add ---no-warn-rwx-segments since this a ld.bfd related. - -Signed-off-by: Marco Felsch -Signed-off-by: Robert Schwebel -Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c -Signed-off-by: Julien Olivain ---- - Makefile | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/Makefile b/Makefile -index edd7f5886..4c0e1473e 100644 ---- a/Makefile -+++ b/Makefile -@@ -418,6 +418,8 @@ endif - - GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) - -+TF_LDFLAGS += -z noexecstack -+ - # LD = armlink - ifneq ($(findstring armlink,$(notdir $(LD))),) - TF_LDFLAGS += --diag_error=warning --lto_level=O1 -@@ -445,6 +447,12 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) - # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other - else - TF_LDFLAGS += --fatal-warnings -O1 -+ -+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we -+# are not loaded by a elf loader. -+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) -+TF_LDFLAGS += -O1 -+ - TF_LDFLAGS += --gc-sections - # ld.lld doesn't recognize the errata flags, - # therefore don't add those in that case --- -2.41.0 - diff --git a/board/technexion/imx8mmpico/readme.txt b/board/technexion/imx8mmpico/readme.txt deleted file mode 100644 index 56a8c9bdfee835601f63572565f17af8b958683b..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mmpico/readme.txt +++ /dev/null @@ -1,100 +0,0 @@ -********************************* -Technexion i.MX8M Mini Pico board -********************************* - -This file documents the Buildroot support for the Technexion i.MX8M -Mini Pico board. The Pico i.MX8M Mini system-on-module [1] is present -in development kits like the Pico Pi i.MX8M Mini [2]. - -Build -===== - -First, configure Buildroot for the i.MX8M Mini Pico board: - - make imx8mmpico_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - Image - - imx8-boot-sd.bin - - imx8mm-pico-pi.dtb - - imx8mm-pico-pi-ili9881c.dtb - - imx8mm-pico-pi-sn65dsi84-hj070na.dtb - - lpddr4_pmu_train_fw.bin - - rootfs.ext2 - - rootfs.ext4 - - sdcard.img - - u-boot.imx - -Flashing sdcard.img on the eMMC -=============================== - -i.MX8M Mini Pico board does not have a SD card slot. The storage is an -eMMC. An easy way to flash the eMMC is to use the u-boot ums -command. The boards are sold pre-flashed with such a u-boot. It is -assumed here that the board has already a working u-boot on eMMC and -jumpers are set to boot on eMMC. See [3]. - -Jumper configuration for eMMC boot: -J1: jumper on pins 4 and 6. -J2: jumper on pins 2 and 4. - -In case the board was flashed with a wrong u-boot, or the eMMC is -erased, u-boot can be loaded by USB Serial Download boot mode, using -imx-usb-loader. See [3]. - -For flashing: -- Plug the micro USB cable from the Debug USB Port, to your computer -- Plug the USB Type C to your computer, this will power up the board - -In the U-Boot prompt launch: - -=> ums 0 mmc ${mmcdev} - -This will mount the eMMC content in the host PC as a mass storage device. -Note: the ${mmcdev} id may change from one uboot version to another. The -actual id can be confirmed by running commands "mmc rescan" then -"mmc list", to find the eMMC entry. Finally it's possible to enter -directly the mmc device id, for example: "ums 0 mmc 2". - -To determine the device associated to the eMMC card have a look in the -/proc/partitions file: - - cat /proc/partitions - -If your system automatically mount some device partitions, make sure -to unmount them. - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on the eMMC. Launch the following -command as root: - - dd bs=1M if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the eMMC content. Use with care! *** - -This operation can take several minutes, depending on the image -size. When tested, a 10MB/s transfer rate was observed. Note: the -blocksize "bs=1M" parameter gives better transfer performances. - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX8M Mini Pico board -=============================== - -To boot your newly created system: -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board, with USB Type C connector. - -Enjoy! - -[1]. https://www.technexion.com/products/system-on-modules/pico/pico-compute-modules/detail/PICO-IMX8M-MINI -[2]. https://www.technexion.com/products/system-on-modules/evk/pico-pi-imx8m-mini/ -[3]. https://developer.technexion.com/docs/recover-to-factory-settings-pico-imx8m-mini diff --git a/board/technexion/imx8mpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch b/board/technexion/imx8mpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch deleted file mode 100644 index 90e808cc8e597e7530241567e2698f7f986e77bc..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mpico/patches/arm-trusted-firmware/0001-fix-build-allow-lower-address-access-with-gcc-12.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 078cbf942c86d77775a26d83fc87ca244de02d4c Mon Sep 17 00:00:00 2001 -From: Govindraj Raja -Date: Fri, 5 May 2023 09:09:36 -0500 -Subject: [PATCH] fix(build): allow lower address access with gcc-12 - -With gcc-12 any lower address access can trigger a warning/error -this would be useful in other parts of system but in TF-A -there are various reasons to access to the lower address ranges, -example using mmio_read_*/writes_* - -So setup to allow access to lower addresses while using gcc-12 - -Change-Id: Id1b4012b13bc6876d83b90a347fee12478a1921d -Signed-off-by: Govindraj Raja -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/dea23e245fb890c6c06eff7d1aed8fffa981fc05 -Signed-off-by: Julien Olivain ---- - Makefile | 4 ++++ - make_helpers/build_macros.mk | 12 ++++++++++++ - 2 files changed, 16 insertions(+) - -diff --git a/Makefile b/Makefile -index dccf0121d..edd7f5886 100644 ---- a/Makefile -+++ b/Makefile -@@ -385,6 +385,10 @@ ifeq ($(findstring clang,$(notdir $(CC))),) - WARNINGS += -Wunused-but-set-variable -Wmaybe-uninitialized \ - -Wpacked-bitfield-compat -Wshift-overflow=2 \ - -Wlogical-op -+ -+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 -+TF_CFLAGS += $(call cc_option, --param=min-pagesize=0) -+ - else - # using clang - WARNINGS += -Wshift-overflow -Wshift-sign-overflow \ -diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk -index 12aaee684..3a54bf67c 100644 ---- a/make_helpers/build_macros.mk -+++ b/make_helpers/build_macros.mk -@@ -86,6 +86,18 @@ define assert_numerics - $(foreach num,$1,$(eval $(call assert_numeric,$(num)))) - endef - -+# Convenience function to check for a given linker option. An call to -+# $(call ld_option, --no-XYZ) will return --no-XYZ if supported by the linker -+define ld_option -+ $(shell if $(LD) $(1) -v >/dev/null 2>&1; then echo $(1); fi ) -+endef -+ -+# Convenience function to check for a given compiler option. A call to -+# $(call cc_option, --no-XYZ) will return --no-XYZ if supported by the compiler -+define cc_option -+ $(shell if $(CC) $(1) -c -x c /dev/null -o /dev/null >/dev/null 2>&1; then echo $(1); fi ) -+endef -+ - # CREATE_SEQ is a recursive function to create sequence of numbers from 1 to - # $(2) and assign the sequence to $(1) - define CREATE_SEQ --- -2.41.0 - diff --git a/board/technexion/imx8mpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch b/board/technexion/imx8mpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch deleted file mode 100644 index d989bdb06beb63d0b074076581fdf619a2a7661a..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mpico/patches/arm-trusted-firmware/0002-feat-build-add-support-for-new-binutils-versions.patch +++ /dev/null @@ -1,62 +0,0 @@ -From cc14748257e07ed5b2caf5194c4c333a8d09a1f4 Mon Sep 17 00:00:00 2001 -From: Marco Felsch -Date: Wed, 9 Nov 2022 12:59:09 +0100 -Subject: [PATCH] feat(build): add support for new binutils versions - -Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces -of a new warning when linking the bl*.elf in the form: - - ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack - ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker - ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions - ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions - -These new warnings are enbaled by default to secure elf binaries: - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 - -Fix it in a similar way to what the Linux kernel does, see: -https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers@google.com/ - -Following the reasoning there, we set "-z noexecstack" for all linkers -(although LLVM's LLD defaults to it) and optional add ---no-warn-rwx-segments since this a ld.bfd related. - -Signed-off-by: Marco Felsch -Signed-off-by: Robert Schwebel -Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c -Signed-off-by: Julien Olivain ---- - Makefile | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/Makefile b/Makefile -index edd7f5886..4c0e1473e 100644 ---- a/Makefile -+++ b/Makefile -@@ -418,6 +418,8 @@ endif - - GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) - -+TF_LDFLAGS += -z noexecstack -+ - # LD = armlink - ifneq ($(findstring armlink,$(notdir $(LD))),) - TF_LDFLAGS += --diag_error=warning --lto_level=O1 -@@ -445,6 +447,12 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) - # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other - else - TF_LDFLAGS += --fatal-warnings -O1 -+ -+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we -+# are not loaded by a elf loader. -+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) -+TF_LDFLAGS += -O1 -+ - TF_LDFLAGS += --gc-sections - # ld.lld doesn't recognize the errata flags, - # therefore don't add those in that case --- -2.41.0 - diff --git a/board/technexion/imx8mpico/readme.txt b/board/technexion/imx8mpico/readme.txt deleted file mode 100644 index c20bfc0f448c6db749ee16b50be8e8da895ddb65..0000000000000000000000000000000000000000 --- a/board/technexion/imx8mpico/readme.txt +++ /dev/null @@ -1,99 +0,0 @@ -**************************** -Technexion i.MX8M Pico board -**************************** - -This file documents the Buildroot support for the Technexion i.MX8M -Pico board. The Pico i.MX8M system-on-module [1] is present in -development kits like the Pico Pi i.MX8M [2]. - -Build -===== - -First, configure Buildroot for the i.MX8M Pico board: - - make imx8mpico_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - bl31.bin - - boot.vfat - - Image - - imx8-boot-sd.bin - - lpddr4_pmu_train_fw.bin - - pico-8m-dcss-ili9881c.dtb - - pico-8m.dtb - - rootfs.ext4 - - sdcard.img - - signed_hdmi_imx8m.bin - - u-boot.imx - -Flashing sdcard.img on the eMMC -=============================== - -i.MX8M Pico board does not have a SD card slot. The storage is an -eMMC. An easy way to flash the eMMC is to use the u-boot ums -command. The boards are sold pre-flashed with such a u-boot. It is -assumed here that the board has already a working u-boot on eMMC and -jumpers are set to boot on eMMC. See [3]. - -Jumper configuration for eMMC boot: -J1: jumper on pins 4 and 6. -J2: jumper on pins 2 and 4. - -In case the board was flashed with a wrong u-boot, or the eMMC is -erased, u-boot can be loaded by USB Serial Download boot mode, using -imx-usb-loader. See [3]. - -For flashing: -- Plug the micro USB cable from the Debug USB Port, to your computer -- Plug the USB Type C to your computer, this will power up the board - -In the U-Boot prompt launch: - -=> ums 0 mmc ${mmcdev} - -This will mount the eMMC content in the host PC as a mass storage device. -Note: the ${mmcdev} id may change from one uboot version to another. The -actual id can be confirmed by running commands "mmc rescan" then -"mmc list", to find the eMMC entry. Finally it's possible to enter -directly the mmc device id, for example: "ums 0 mmc 2". - -To determine the device associated to the eMMC card have a look in the -/proc/partitions file: - - cat /proc/partitions - -If your system automatically mount some device partitions, make sure -to unmount them. - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on the eMMC. Launch the following -command as root: - - dd bs=1M if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the eMMC content. Use with care! *** - -This operation can take several minutes, depending on the image -size. When tested, a 10MB/s transfer rate was observed. Note: the -blocksize "bs=1M" parameter gives better transfer performances. - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template. - -Boot the i.MX8M Pico board -========================== - -To boot your newly created system: -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board, with USB Type C connector. - -Enjoy! - -[1]. https://www.technexion.com/products/system-on-modules/pico/pico-compute-modules/detail/PICO-IMX8M -[2]. https://www.technexion.com/products/system-on-modules/evk/pico-pi-imx8m/ -[3]. https://developer.technexion.com/docs/pico-evaluation-kit-boot-mode-settings#picoimx8m-and-picoimx8mmini diff --git a/board/technologic/ts4900/genimage.cfg b/board/technologic/ts4900/genimage.cfg deleted file mode 100644 index 7e580eb27b59c9dc0b1905be5706b53716e4ffed..0000000000000000000000000000000000000000 --- a/board/technologic/ts4900/genimage.cfg +++ /dev/null @@ -1,10 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 256M - } -} diff --git a/board/technologic/ts4900/post-image.sh b/board/technologic/ts4900/post-image.sh deleted file mode 100755 index cb966d883bfeca585d2e2aa7926c6db4103fce30..0000000000000000000000000000000000000000 --- a/board/technologic/ts4900/post-image.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2015-2016 Savoir-Faire Linux -# Post image generation script. - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG=$BOARD_DIR/genimage.cfg -GENIMAGE_TMP=$BUILD_DIR/.genimage_tmp - -rm -rf $GENIMAGE_TMP - -${HOST_DIR}/bin/genimage \ - --config ${GENIMAGE_CFG} \ - --rootpath $TARGET_DIR \ - --tmppath $GENIMAGE_TMP \ - --inputpath $BINARIES_DIR \ - --outputpath $BINARIES_DIR diff --git a/board/technologic/ts4900/readme.txt b/board/technologic/ts4900/readme.txt deleted file mode 100644 index 121e6397495abe4cab87bbba6f9d89444dd673a1..0000000000000000000000000000000000000000 --- a/board/technologic/ts4900/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ -Technologic Systems TS-4900 -=========================== - -This document explains how to set up a basic Buildroot system for the -Technologic Systems TS-4900 System on Module. - -The TS-4900 is a TS-SOCKET macrocontroller board based on the -Freescale i.MX6 Single or Quad Core ARM Cortex-A9 CPU clocked at -1GHz. The TS-4900 features Gigabit Ethernet, SATA II Port, PCI Express -Bus, high speed USB host and device (OTG), and microSD card. -More details on the board here: - https://docs.embeddedTS.com/TS-4900 - -The TS-4900 is not currently supported by mainline Linux, so a -Technologic Systems Linux is used based on Linux 4.1. -The default U-boot configuration flashed scans the SD card to find the -0x83 partition type, corresponding to the rootfs. Then it will load -both uImage and dts from the /boot directory. -To build the default configuration you only have to: - - $ make ts4900_defconfig - $ make - -The output looks like: -output/images/ -├── imx6q-ts4900.dtb -├── rootfs.ext2 -├── rootfs.tar -├── sdcard.img -└── uImage - -Since both the uImage and the dts are contained in the /boot -directory, the provided post-image script generates an image file -containing only one partition for the rootfs: - - $ fdisk output/images/sdcard.img - Device Boot Start End Blocks Id System -output/images/sdcard.img1 1 524288 262144 83 Linux - -This image can be directly written to an SD card. - - $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 - -In order to test the image on TS-4900 board, a TS baseboard, such as -the TS-9xxx series, is needed to provide power, console header, RJ45 -connector etc. - -The bootloader comes pre-flashed on the board on an SPI flash. Since -updating the bootloader is risky and not trivial, it is not included -in the Buildroot defconfig. Refer to -https://docs.embeddedTS.com/TS-4900#U-Boot for details on which -U-Boot config to use and how to flash it. diff --git a/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg b/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg deleted file mode 100644 index 64f8187733a7f6573af7ee1e5589a8e4c04027d0..0000000000000000000000000000000000000000 --- a/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg +++ /dev/null @@ -1,9 +0,0 @@ -SERIAL 1 115200 -CONSOLE 0 - -DEFAULT linux - -LABEL linux - SAY Now booting the kernel from SYSLINUX... - LINUX /boot/bzImage - APPEND console=ttyS1,115200n8 root=/dev/sda1 rootfstype=ext4 rw diff --git a/board/technologic/ts5500/linux-4.14.config b/board/technologic/ts5500/linux-4.14.config deleted file mode 100644 index eb81596e258f787819939aaeda8659d449f8509b..0000000000000000000000000000000000000000 --- a/board/technologic/ts5500/linux-4.14.config +++ /dev/null @@ -1,111 +0,0 @@ -# CONFIG_CROSS_MEMORY_ATTACH is not set -CONFIG_PARTITION_ADVANCED=y -# CONFIG_X86_EXTENDED_PLATFORM is not set -CONFIG_MELAN=y -CONFIG_X86_GENERIC=y -CONFIG_X86_REBOOTFIXUPS=y -CONFIG_NOHIGHMEM=y -# CONFIG_COMPACTION is not set -# CONFIG_BOUNCE is not set -# CONFIG_RELOCATABLE is not set -# CONFIG_SUSPEND is not set -# CONFIG_ACPI is not set -CONFIG_CPU_IDLE=y -CONFIG_TS5500=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_DIAG is not set -# CONFIG_IPV6 is not set -# CONFIG_WIRELESS is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -# CONFIG_BLK_DEV is not set -CONFIG_BLK_DEV_SD=y -# CONFIG_SCSI_LOWLEVEL is not set -CONFIG_ATA=y -# CONFIG_ATA_VERBOSE_ERROR is not set -# CONFIG_SATA_PMP is not set -CONFIG_ATA_GENERIC=y -CONFIG_PATA_LEGACY=y -CONFIG_NETDEVICES=y -# CONFIG_NET_CORE is not set -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_NET_VENDOR_ADAPTEC is not set -# CONFIG_NET_VENDOR_ALTEON is not set -# CONFIG_NET_VENDOR_AMD is not set -# CONFIG_NET_VENDOR_ARC is not set -# CONFIG_NET_VENDOR_ATHEROS is not set -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_BROCADE is not set -# CONFIG_NET_VENDOR_CHELSIO is not set -# CONFIG_NET_VENDOR_CISCO is not set -CONFIG_NET_TULIP=y -CONFIG_DM9102=y -# CONFIG_NET_VENDOR_DLINK is not set -# CONFIG_NET_VENDOR_EMULEX is not set -# CONFIG_NET_VENDOR_EXAR is not set -# CONFIG_NET_VENDOR_HP is not set -# CONFIG_NET_VENDOR_INTEL is not set -# CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MELLANOX is not set -# CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MYRI is not set -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_NVIDIA is not set -# CONFIG_NET_VENDOR_OKI is not set -# CONFIG_NET_PACKET_ENGINE is not set -# CONFIG_NET_VENDOR_QLOGIC is not set -# CONFIG_NET_VENDOR_REALTEK is not set -# CONFIG_NET_VENDOR_RDC is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SILAN is not set -# CONFIG_NET_VENDOR_SIS is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -# CONFIG_NET_VENDOR_SUN is not set -# CONFIG_NET_VENDOR_TEHUTI is not set -# CONFIG_NET_VENDOR_TI is not set -# CONFIG_NET_VENDOR_VIA is not set -# CONFIG_NET_VENDOR_WIZNET is not set -CONFIG_PHYLIB=y -CONFIG_DAVICOM_PHY=y -# CONFIG_WLAN is not set -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -CONFIG_SERIAL_8250_CONSOLE=y -# CONFIG_HW_RANDOM is not set -CONFIG_GPIOLIB=y -CONFIG_GPIO_TS5500=y -CONFIG_SENSORS_MAX197=y -CONFIG_WATCHDOG=y -CONFIG_SC520_WDT=y -CONFIG_USB=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_SERIAL=y -CONFIG_USB_SERIAL_FTDI_SIO=y -CONFIG_USB_SERIAL_PL2303=y -# CONFIG_X86_PLATFORM_DEVICES is not set -# CONFIG_IOMMU_SUPPORT is not set -# CONFIG_DMIID is not set -CONFIG_EXT4_FS=y -# CONFIG_DNOTIFY is not set -# CONFIG_INOTIFY_USER is not set -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -# CONFIG_MISC_FILESYSTEMS is not set -# CONFIG_NETWORK_FILESYSTEMS is not set -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_ISO8859_15=y -CONFIG_NLS_UTF8=y -# CONFIG_VIRTUALIZATION is not set -CONFIG_XZ_DEC=y diff --git a/board/technologic/ts5500/readme.txt b/board/technologic/ts5500/readme.txt deleted file mode 100644 index 1fe384faae9dd0049bc73ae6cc7a10439ceaefe2..0000000000000000000000000000000000000000 --- a/board/technologic/ts5500/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ -Technologic Systems TS-5x00 SBCs -================================ - -This document explains how to set up a basic Buildroot system for the -Technologic Systems TS-5x00 serie of x86-based Single Board Computers. - -TS-5x00 Single Board Computers are based on the AMD Elan520 processor. For more -information please have a look at https://docs.embeddedTS.com/Documentation_Home#AMD - -The kernel configuration works for any AMD Elan520-based SBCs, but the support -is enhanced for the TS-5500 and TS-5400 models (on-board devices registration -and additional sysfs attributes under /sys/devices/platform/). - -To build the default configuration you only have to: - - $ make ts5500_defconfig - $ make - -You will need a Compact Flash card of sufficient size and the first or only -partition configured as Linux type, with the bootable flag. - -You can transfer the system on the partition then optionally resize it with: - - # dd if=output/images/rootfs.ext4 of=/dev/sdX1 - # resize2fs /dev/sdX1 - -Or you can just extract the root filesystem to the partition with: - - # mount /dev/sdX1 /mnt - # tar -pxf output/images/rootfs.tar -C /mnt - # umount /mnt - -To install the bootloader, you will need to copy the MBR: - - # cat output/images/syslinux/mbr.bin > /dev/sdX - -Then install SYSLINUX in the mounted partition: - - # mount /dev/sdX1 /mnt - # output/host/sbin/extlinux --install /mnt/boot/syslinux - # umount /mnt - -IMPORTANT: In order for the board to boot the Compact Flash with a recent -config, the BIOS must use Logical Block Addressing (LBA). You can do it by -choosing "Ide 0: AUTOCONFIG, LBA" under "IDE DRIVE GEOMETRY" in the "Basic CMOS -Configuration" screen. Also, don't forget to set the 'active' (or 'bootable') -flag on partition 1. For details about the CMOS setup, please see: -https://docs.embeddedts.com/TS-5500#System_BIOS_Setup_Screens - -Connect a terminal program to the rs232 connector marked "COM2" -with baudrate set to 115200, insert the Compact Flash card into the socket, -power up the board, and enjoy. diff --git a/board/technologic/ts7680/genimage.cfg b/board/technologic/ts7680/genimage.cfg deleted file mode 100644 index 58a63edd1aed425d2b329a41a6c3875648dbf218..0000000000000000000000000000000000000000 --- a/board/technologic/ts7680/genimage.cfg +++ /dev/null @@ -1,14 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition unused { - size = 512 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 256M - } -} diff --git a/board/technologic/ts7680/readme.txt b/board/technologic/ts7680/readme.txt deleted file mode 100644 index 3f703330bf95045a4ff31f97e5341e3f999fc617..0000000000000000000000000000000000000000 --- a/board/technologic/ts7680/readme.txt +++ /dev/null @@ -1,50 +0,0 @@ -Technologic Systems TS-7680 SBC -=============================== - -This document explains how to set up a basic Buildroot system for -the Technologic Systems TS-7680 Single Board Computer. - -The TS-7680 SBC is based on the Freescale i.MX286 ARM ARM926EJ-S -running at 454MHz. The TS-7680 features are 10/100 Ethernet ports, -Wi-Fi, microSD card, eMMC, NOR Flash, USB host port, CAN ports, -relays and ADC/DAC. More details on the board here: -https://docs.embeddedTS.com/TS-7680 - -The TS-7680 uses a 4.9 Linux kernel provided by Technologic Systems. - -To build the default configuration you only have to run: - - $ make ts7680_defconfig - $ make - -The output looks like: -output/images -├── imx28-ts7680.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -└── uImage - -The provided genimage configuration generates an image file containing -two partitions. The first one is unused, but mandatory as the -TS-7680 built-in bootloader loads the Linux uImage from the /boot -directory in the second partition. The second partition contains the -rootfs with the Linux uImage into the /boot directory. - - $ fdisk output/images/sdcard.img - output/images/sdcard.img1 1 1 1 512B 0 Empty - output/images/sdcard.img2 2 524289 524288 256M 83 Linux - -This image can be directly written to an SD card. - - $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 - -To boot with Buildroot, insert this SD card on the board, make sure -the SD jumper is present and the U-Boot jumper is not. - -The bootloader comes pre-flashed on the board on an SPI flash. Since -updating the bootloader is risky and not trivial, it is not included -in the Buildroot defconfig. Refer to -https://docs.embeddedts.com/TS-7680#U-Boot for details on -which U-Boot config to use and how to flash it. diff --git a/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc b/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc deleted file mode 100644 index fed2b0b45dbb97ab2b0494298ee04ff78b7cd87a..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -global.bootm.oftree="/boot/socfpga_cyclone5_de0_nano_soc.dtb" -global.bootm.image="/boot/zImage" - -#bootargs-ip - -global.linux.bootargs.dyn.root="root=/dev/mmcblk0p3 rw rootwait" diff --git a/board/terasic/de10nano_cyclone5/barebox-env/init/automount b/board/terasic/de10nano_cyclone5/barebox-env/init/automount deleted file mode 100644 index 4092ecbaec3d5233bf14b335d3e57f370d08f590..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/barebox-env/init/automount +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# SD card slot, first partition -mkdir -p /mnt/mmcblk0p2 -automount -d /mnt/mmcblk0p2 'mount /dev/mmc0.1 /mnt/mmcblk0p2' diff --git a/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default b/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default deleted file mode 100644 index 61f529d69a33094e0b5d1971945afcb9b6e9ec49..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default +++ /dev/null @@ -1 +0,0 @@ -mmc diff --git a/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console b/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console deleted file mode 100644 index 476b1fbe49c28f4bf3c48943555fb259ae975bb4..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console +++ /dev/null @@ -1 +0,0 @@ -console=ttyS0,115200 diff --git a/board/terasic/de10nano_cyclone5/genimage.cfg b/board/terasic/de10nano_cyclone5/genimage.cfg deleted file mode 100644 index 815e4a1bf3fdbd041657291c981c705fd86a9613..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/genimage.cfg +++ /dev/null @@ -1,43 +0,0 @@ -image boot.vfat { - vfat { - file zImage { - image = "zImage" - } - - file socfpga_cyclone5_de0_nano_soc.dtb { - image = "socfpga_cyclone5_de0_nano_soc.dtb" - } - - file barebox.bin { - image = "barebox-socfpga-de10_nano.img" - } - - file barebox.env { - image = "barebox-env" - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition spl { - partition-type = 0xa2 - image = "barebox-socfpga-de10_nano-xload.img" - size = 1M - } - - partition boot { - partition-type = 0xc - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/board/terasic/de10nano_cyclone5/readme.txt b/board/terasic/de10nano_cyclone5/readme.txt deleted file mode 100644 index f9d8fc756a0ae15988a3d868e5b857ec85c3ccf2..0000000000000000000000000000000000000000 --- a/board/terasic/de10nano_cyclone5/readme.txt +++ /dev/null @@ -1,41 +0,0 @@ -Terasic DE10 Nano Development Board - -Intro -===== - -More information about this board can be found here: -https://rocketboards.org/foswiki/Documentation/DE10NanoDevelopmentBoard - -Build -===== - -First, load socrates config for buildroot - - make terasic_de10nano_cyclone5_defconfig - -Build everything - - make - -Following files will be generated in output/images - -. -├── barebox-env -├── barebox-socfpga-de10_nano.img -├── barebox-socfpga-de10_nano-xload.img -├── boot.vfat -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -├── socfpga_cyclone5_de0_nano_soc.dtb -└── zImage - -Creating bootable SD card -========================= - -Simply invoke - -dd if=output/images/sdcard.img of=/dev/sdX - -Where X is your SD card device (not partition) diff --git a/board/ti/am574x-idk/extlinux.conf b/board/ti/am574x-idk/extlinux.conf deleted file mode 100644 index 29e0ecfa14217f1bf21a2729a58cfbd41f3e6272..0000000000000000000000000000000000000000 --- a/board/ti/am574x-idk/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label am5749-idk-buildroot - kernel /zImage - fdtdir / - append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait diff --git a/board/ti/am574x-idk/genimage.cfg b/board/ti/am574x-idk/genimage.cfg deleted file mode 100644 index 02a9ffe01315374b3b7e6a04487c339fbeca8bd5..0000000000000000000000000000000000000000 --- a/board/ti/am574x-idk/genimage.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "zImage", - "am574x-idk.dtb", - "extlinux" - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 1G - } -} diff --git a/board/ti/am574x-idk/post-build.sh b/board/ti/am574x-idk/post-build.sh deleted file mode 100755 index 5dcdb352eb3b29adec4119cc0e358495e4e089a6..0000000000000000000000000000000000000000 --- a/board/ti/am574x-idk/post-build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -BOARD_DIR="$(dirname "$0")" - -install -m 0644 -D "${BOARD_DIR}"/extlinux.conf "${BINARIES_DIR}"/extlinux/extlinux.conf diff --git a/board/ti/am574x-idk/readme.txt b/board/ti/am574x-idk/readme.txt deleted file mode 100644 index 4869984cf1c7ac53283bbfdc1a1f3247815e678e..0000000000000000000000000000000000000000 --- a/board/ti/am574x-idk/readme.txt +++ /dev/null @@ -1,28 +0,0 @@ -Texas Instuments AM574x IDK Test and Development Board - -Description -=========== - -This configuration will build a basic image for the TI AM574x IDK -board: https://www.ti.com/tool/TMDSIDK574 - -How to build it -=============== - -Configure Buildroot: - - $ make am574x_idk_defconfig - -Compile everything and build the USB flash drive image: - - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/board/ti/am62x-sk/genimage.cfg b/board/ti/am62x-sk/genimage.cfg deleted file mode 100644 index 26304fe98f99449f099e3a32a30763ba03e52590..0000000000000000000000000000000000000000 --- a/board/ti/am62x-sk/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "tiboot3.bin", - "tispl.bin", - "u-boot.img", - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/ti/am62x-sk/readme.txt b/board/ti/am62x-sk/readme.txt deleted file mode 100644 index 5af1c59c2d7e7594c3b583bcef153349c9c189af..0000000000000000000000000000000000000000 --- a/board/ti/am62x-sk/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Texas Instuments SK-AM62 Test and Development Board - -Description -=========== - -This configuration will build a complete image for the TI SK-AM62 -board: https://www.ti.com/tool/SK-AM62. - -How to Build -============ - -Select the default configuration for the target: - -$ make ti_am62x_sk_defconfig - -Optional: modify the configuration: - -$ make menuconfig - -Build: - -$ make - -To copy the resultimg output image file to an SD card use dd: - -$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M - -How to Run -========== - -Insert the SD card into the SK-AM62 board, and power it up through the -USB Type-C connector. The system should come up. You can use a -micro-USB cable to connect to the connector labeled UART to -communicate with the board. diff --git a/board/ti/am64x-sk/genimage.cfg b/board/ti/am64x-sk/genimage.cfg deleted file mode 100644 index 26304fe98f99449f099e3a32a30763ba03e52590..0000000000000000000000000000000000000000 --- a/board/ti/am64x-sk/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "tiboot3.bin", - "tispl.bin", - "u-boot.img", - } - } - - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/ti/am64x-sk/readme.txt b/board/ti/am64x-sk/readme.txt deleted file mode 100644 index 5ddbb836ed77e279a955ba58b536bc288fab7c56..0000000000000000000000000000000000000000 --- a/board/ti/am64x-sk/readme.txt +++ /dev/null @@ -1,34 +0,0 @@ -Texas Instuments SK-AM64 Test and Development Board - -Description -=========== - -This configuration will build a complete image for the TI SK-AM64 -board: https://www.ti.com/tool/SK-AM64. - -How to Build -============ - -Select the default configuration for the target: - -$ make am64x_sk_defconfig - -Optional: modify the configuration: - -$ make menuconfig - -Build: - -$ make - -To copy the resultimg output image file to an SD card use dd: - -$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M - -How to Run -========== - -Insert the SD card into the SK-AM62 board, and power it up through the -USB Type-C connector. The system should come up. You can use a -micro-USB cable to connect to the connector labeled DEBUG CONSOLE to -communicate with the board. diff --git a/board/toradex/apalis-imx6/genimage.cfg b/board/toradex/apalis-imx6/genimage.cfg deleted file mode 100644 index a277decaa80604da8e0cb7728f4ecfee82b3e720..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/genimage.cfg +++ /dev/null @@ -1,15 +0,0 @@ -# Minimal SD card image for the Toradex Apalis i.MX6 COM -# -# It does not need a boot section for a bootloader since it is booted -# from its internal flash memory (eMMC). - -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 512M - } -} diff --git a/board/toradex/apalis-imx6/patches/linux-headers/linux-headers.hash b/board/toradex/apalis-imx6/patches/linux-headers/linux-headers.hash deleted file mode 120000 index 5808d92afe89015ae416e941adf041644162d996..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/patches/linux-headers/linux-headers.hash +++ /dev/null @@ -1 +0,0 @@ -../linux/linux.hash \ No newline at end of file diff --git a/board/toradex/apalis-imx6/patches/linux/linux.hash b/board/toradex/apalis-imx6/patches/linux/linux.hash deleted file mode 100644 index 1138ec3b9349d9ebc972cf928dbc2ae6e8cd4a87..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/patches/linux/linux.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 9c69a1c283db6ee8042cc6f013a159473f257e71751887312c7dd2902f01bec8 linux-d899927728beca8357a5b4120b690cb3c1d80844-br1.tar.gz diff --git a/board/toradex/apalis-imx6/patches/uboot/uboot.hash b/board/toradex/apalis-imx6/patches/uboot/uboot.hash deleted file mode 100644 index a81a7d8d4abbc4e352283129a7d6f1909af11467..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/patches/uboot/uboot.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 9a540b08ccb7e8a0252f86d0bad5d676d0964725a7f2a06d798225c2a3024878 uboot-30a1208727729dae22cb42f9ba9ba17efe5e6f77-br1.tar.gz diff --git a/board/toradex/apalis-imx6/post-image.sh b/board/toradex/apalis-imx6/post-image.sh deleted file mode 100755 index 2b49f9d3d094118732ccbe16956cf2cf4c820d5e..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/post-image.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -GENIMAGE_CFG="$(dirname $0)/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -# copy the uEnv.txt to the output/images directory -cp board/toradex/apalis-imx6/uEnv.txt $BINARIES_DIR/uEnv.txt - -rm -rf "${GENIMAGE_TMP}" - -# generate rootfs.img -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -RET=${?} -exit ${RET} diff --git a/board/toradex/apalis-imx6/readme.txt b/board/toradex/apalis-imx6/readme.txt deleted file mode 100644 index feddad641c1466a7555b6bc0e8fd2e8641fce71c..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/readme.txt +++ /dev/null @@ -1,53 +0,0 @@ -Toradex Apalis i.MX6 Computer on Module - -Intro -===== - -The Apalis iMX6 is a small form-factor Computer on Module that comes -in both quad core and dual core versions based on Freescale i.MX6Q and -Freescale i.MX6D SoCs respectively. The Cortex A9 quad core and dual -core CPU peaks at 1 GHz for commercial temperature variant, while the -industrial temperature variant has a peak frequency of 800 MHz. - -https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6 - -It supports two carrier boards: - -Apalis Evaluation Board -https://www.toradex.com/products/carrier-boards/apalis-evaluation-board - -Ixora Carrier Board -https://www.toradex.com/products/carrier-boards/ixora-carrier-board - -How to build it -=============== - -Configure Buildroot: - - $ make toradex_apalis_imx6_defconfig - -Compile everything and build the rootfs image: - - $ make - -How to boot the image -===================== - -The board only boots from its internal flash memory eMMC, so the -bootloader image should be copied to it, following the procedures -described in Toradex website. - -http://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules - -Buildroot prepares a "sdcard.img" in output/images/ with the kernel -image, device tree and a root filesystem, ready to be dumped on an SD -card. - - $ dd if=output/images/sdcard.img of=/dev/sdX bs=1M - -To boot from the SD card, you should change the U-Boot -environment. Since U-Boot is running from internal eMMC, you will need -to access its command line prompt and manually set the necessary -variables to boot from the external SD card. For convenience, you can -use uEnv.txt provided in output/images/ as a reference to create the -necessary U-Boot variables to boot from the SD card. diff --git a/board/toradex/apalis-imx6/uEnv.txt b/board/toradex/apalis-imx6/uEnv.txt deleted file mode 100644 index 96ab80cfb6fac98ddac9be4f20ea234f56858a6a..0000000000000000000000000000000000000000 --- a/board/toradex/apalis-imx6/uEnv.txt +++ /dev/null @@ -1,6 +0,0 @@ -boot_file=zImage -fdt_file=imx6q-apalis_v1_0-ixora.dtb -sdargs=ip=off root=/dev/mmcblk1p1 rw,noatime rootfstype=ext4 rootwait -sddtbload=ext2load mmc 2:1 ${fdt_addr_r} boot/${fdt_file} -sdkernelload=ext2load mmc 2:1 ${kernel_addr_r} boot/${boot_file} -bootcmd=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card...; run sddtbload; run sdkernelload; bootz ${kernel_addr_r} - ${fdt_addr_r} diff --git a/board/udoo/common/boot.scr.txt b/board/udoo/common/boot.scr.txt deleted file mode 100644 index 7a7d756c3c71ea92673f1d49b27ad4fe937fefa5..0000000000000000000000000000000000000000 --- a/board/udoo/common/boot.scr.txt +++ /dev/null @@ -1,7 +0,0 @@ -setenv finduuid "part uuid mmc 1:1 uuid" -run finduuid -run findfdt -setenv bootargs "console=${console} root=PARTUUID=${uuid} rootwait rootfstype=ext4" -load mmc 1:1 ${fdt_addr} boot/${fdtfile} -load mmc 1:1 ${loadaddr} boot/zImage -bootz ${loadaddr} - ${fdt_addr} diff --git a/board/udoo/common/post-build.sh b/board/udoo/common/post-build.sh deleted file mode 100755 index d3f612f8118a85f59b046cf8160c3af94acef462..0000000000000000000000000000000000000000 --- a/board/udoo/common/post-build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr diff --git a/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch b/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch deleted file mode 100644 index d151a40d6e2e35984dafbcd02988fbc4a385f1b7..0000000000000000000000000000000000000000 --- a/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch +++ /dev/null @@ -1,26 +0,0 @@ -[PATCH] ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang - -Currently the kernel hangs when USB Host1 is enabled due to the lack of -support for controlling the USB hub clock and GPIO reset line. - -Peter Chen has made several attempts to fix this problem, but his series -has not been applied yet, so better disable USB host1 for now to avoid -the kernel hang. - -Signed-off-by: Fabio Estevam ---- - -diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi -index 828dd20cd27d..c9e122865312 100644 ---- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi -+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi -@@ -292,7 +292,8 @@ &usbh1 { - pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks IMX6QDL_CLK_CKO>; -- status = "okay"; -+ /* currently USB support causes a kernel hang. Disable it for now */ -+ status = "disabled"; - }; - - &usbotg { diff --git a/board/udoo/mx6qdl/readme.txt b/board/udoo/mx6qdl/readme.txt deleted file mode 100644 index a7ca98cc8a1db420da05f6d0b892eaa85ac56422..0000000000000000000000000000000000000000 --- a/board/udoo/mx6qdl/readme.txt +++ /dev/null @@ -1,17 +0,0 @@ -Udoo MX6Q/DL board - -For information about MX6 Udoo boards: -http://www.udoo.org/ - -To build a minimal support for these boards: - - $ make mx6udoo_defconfig - $ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on a micro SD card: - -dd if=output/images/sdcard.img of=/dev/ - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl. diff --git a/board/udoo/neo/readme.txt b/board/udoo/neo/readme.txt deleted file mode 100644 index 94ebcc12f2fce5be58299712fcd45d5ab8286e28..0000000000000000000000000000000000000000 --- a/board/udoo/neo/readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -MX6X Udoo Neo board - -http://www.udoo.org/udoo-neo/ - -To build a minimal support for these boards: - - $ make mx6sx_udoo_neo_defconfig - $ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on an SD card: - -dd if=output/images/sdcard.img of=/dev/ - -For details about the medium image layout, see the definition in -board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl. diff --git a/board/uevm5432/genimage.cfg b/board/uevm5432/genimage.cfg deleted file mode 100644 index dfe388227ec53962c44b90f2700822a56231195a..0000000000000000000000000000000000000000 --- a/board/uevm5432/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img" - } - } - - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/board/uevm5432/readme.txt b/board/uevm5432/readme.txt deleted file mode 100644 index 4569fbd84ef434f88388bb3278a61bfc9fb633be..0000000000000000000000000000000000000000 --- a/board/uevm5432/readme.txt +++ /dev/null @@ -1,40 +0,0 @@ -OMAP5432 uEVM -============= - -This file documents the Buildroot support for the OMAP5432 uEVM[1], a -single-board computer development platform based on the Texas Instruments -OMAP5432 system on a chip (SoC). - -How to build -============ - - $ make uevm5432_defconfig - $ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - $ sync - -Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX instead -depending on setup). - -To boot from SD card, set the SYSBOOT switches S1 of your OMAP5432 uEVM to the -following position: - - ON x x - x x - 1 2 3 4 - -Insert the micro SDcard in your OMAP5432 uEVM, and power it up with the POWER -ON push button switch S3. The console is on the micro USB Debug UART, with -serial settings 115200 8N1. Refer also to the quick start guide[2]. - -[1]: https://svtronics.com/5432 -[2]: https://www.ti.com/lit/ug/swcu131/swcu131.pdf diff --git a/board/versal/genimage.cfg b/board/versal/genimage.cfg deleted file mode 100644 index d994d3a2bfbd42ec3fa62f8a63b5c1ae45624b32..0000000000000000000000000000000000000000 --- a/board/versal/genimage.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.bin", - "system.dtb", - "Image" - } - file extlinux/extlinux.conf { - image = extlinux.conf - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/versal/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch b/board/versal/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch deleted file mode 120000 index 8ad996914b4d912562f401890cb0422eac601285..0000000000000000000000000000000000000000 --- a/board/versal/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch +++ /dev/null @@ -1 +0,0 @@ -../../../../boot/arm-trusted-firmware/v2.8/0001-feat-build-add-support-for-new-binutils-versions.patch \ No newline at end of file diff --git a/board/versal/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch b/board/versal/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch deleted file mode 120000 index fecdee544930cad00ec2eddbfdd9eb90fedd1b7a..0000000000000000000000000000000000000000 --- a/board/versal/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch +++ /dev/null @@ -1 +0,0 @@ -../../../../boot/arm-trusted-firmware/v2.8/0002-build-tools-avoid-unnecessary-link.patch \ No newline at end of file diff --git a/board/versal/post-build.sh b/board/versal/post-build.sh deleted file mode 100755 index faa75a0de33728dbf2421712ccfbdbce2113c692..0000000000000000000000000000000000000000 --- a/board/versal/post-build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# genimage will need to find the extlinux.conf -# in the binaries directory - -CONSOLE="$2" -ROOT="$3" - -mkdir -p "${BINARIES_DIR}" -cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf" - label linux - kernel /Image - devicetree /system.dtb - append console=${CONSOLE} root=/dev/${ROOT} rw rootwait - __HEADER_EOF diff --git a/board/versal/post-image.sh b/board/versal/post-image.sh deleted file mode 100755 index 22367d5028ba85e7bb4ae4bef12dbb586c0b067d..0000000000000000000000000000000000000000 --- a/board/versal/post-image.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# By default U-Boot loads DTB from a file named "system.dtb", so -# let's use a symlink with that name that points to the *first* -# devicetree listed in the config. - -FIRST_DT=$(sed -nr \ - -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="(xilinx/)?([-_/[:alnum:]\\.]*).*"$|\2|p' \ - "${BR2_CONFIG}") - -[ -z "${FIRST_DT}" ] || ln -fs "${FIRST_DT}.dtb" "${BINARIES_DIR}/system.dtb" - -BOARD_DIR="$(dirname "$0")" - -mkdir -p "${BINARIES_DIR}" -cat <<-__HEADER_EOF > "${BINARIES_DIR}/bootgen.bif" - the_ROM_image: - { - image { - { type=bootimage, file=${BINARIES_DIR}/vpl_gen_fixed.pdi } - { type=bootloader, file=${BINARIES_DIR}/plm.elf } - { core=psm, file=${BINARIES_DIR}/psmfw.elf } - } - image { - id = 0x1c000000, name=apu_subsystem - { type=raw, load=0x00001000, file=${BINARIES_DIR}/u-boot.dtb } - { core=a72-0, exception_level=el-3, trustzone, file=${BINARIES_DIR}/bl31.elf } - { core=a72-0, exception_level=el-2, file=${BINARIES_DIR}/u-boot.elf } - } - } - __HEADER_EOF - -"${HOST_DIR}/bin/bootgen" -arch versal -image "${BINARIES_DIR}/bootgen.bif" -o "${BINARIES_DIR}/boot.bin" -w on -support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" diff --git a/board/versal/readme.txt b/board/versal/readme.txt deleted file mode 100644 index 9f234be620113b156a3559e738bb5137eb4f7ed2..0000000000000000000000000000000000000000 --- a/board/versal/readme.txt +++ /dev/null @@ -1,54 +0,0 @@ -****************************************** -Xilinx VCK190 board - Versal -****************************************** - -This document describes the Buildroot support for the VCK190 -board by Xilinx, based on Versal. It has been tested with the -VCK190 production board. - -Evaluation board features can be found here with the link below. - -VCK190: -https://www.xilinx.com/products/boards-and-kits/vck190.html - - -How to build it -=============== - -Configure Buildroot: - - $ make versal_vck190_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- boot.bin - +-- boot.vfat - +-- Image - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- system.dtb -> versal-vck190-rev1.1.dtb - `-- versal-vck190-rev1.1.dtb - -How to write the SD card -======================== - -WARNING! This will destroy all the card content. Use with care! - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to an SD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the SD. - -Eject the SD card, insert it in the board, and power it up. diff --git a/board/visionfive/genimage.cfg b/board/visionfive/genimage.cfg deleted file mode 100644 index 433387c901ceede093230ca3e5abb4189d70aaab..0000000000000000000000000000000000000000 --- a/board/visionfive/genimage.cfg +++ /dev/null @@ -1,21 +0,0 @@ -# Minimal SD card image for the Starfive VisionFive board - -image sdcard.img { - hdimage { - } - - # u-boot is hard coded to look at 3rd partition - partition dummy1 { - size = 512 - } - - partition dummy2 { - size = 512 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - bootable = "true" - } -} diff --git a/board/visionfive/overlay/boot/extlinux/extlinux.conf b/board/visionfive/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 44ac6f79448a1c86a78f2ce891d801bf75b8a277..0000000000000000000000000000000000000000 --- a/board/visionfive/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - devicetree /boot/jh7100-starfive-visionfive-v1.dtb - append console=ttyS0,115200 root=/dev/mmcblk0p3 diff --git a/board/visionfive/overlay/boot/uEnv.txt b/board/visionfive/overlay/boot/uEnv.txt deleted file mode 100644 index b831d2d230560b571dbe4365c2bc9f6874e8cfe5..0000000000000000000000000000000000000000 --- a/board/visionfive/overlay/boot/uEnv.txt +++ /dev/null @@ -1,15 +0,0 @@ -fdt_high=0xffffffffffffffff -initrd_high=0xffffffffffffffff - -scriptaddr=0x88100000 -script_offset_f=0x1fff000 -script_size_f=0x1000 - -kernel_addr_r=0x84000000 -kernel_comp_addr_r=0x90000000 -kernel_comp_size=0x10000000 - -fdt_addr_r=0x88000000 -ramdisk_addr_r=0x88300000 - -bootcmd=devnum=0; run mmc_boot diff --git a/board/visionfive/readme.txt b/board/visionfive/readme.txt deleted file mode 100644 index 7aefa2416736b934e7861a84c5429bde9c729f71..0000000000000000000000000000000000000000 --- a/board/visionfive/readme.txt +++ /dev/null @@ -1,32 +0,0 @@ -Starfive VisionFive -=================== - -The VisionFive is a low-cost RISC-V 64-bit based platform, powered by a -Starfive JH7100 processor. - -https://doc-en.rvspace.org/Doc_Center/visionfive.html - -How to build -============ - -$ make visionfive_defconfig -$ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Preparing the board -=================== - -Connect a TTL UART cable to pin 6 (GND), 8 (TX) and 10 (RX). - -Insert your SD card. - -Power-up the board using an USB-C cable. diff --git a/board/visionfive2/genimage.cfg b/board/visionfive2/genimage.cfg deleted file mode 100644 index c221b49c7b7a1a66d683c8263f8f502995f2c3c6..0000000000000000000000000000000000000000 --- a/board/visionfive2/genimage.cfg +++ /dev/null @@ -1,21 +0,0 @@ -# Minimal SD card image for the Starfive VisionFive2 board - -image sdcard.img { - hdimage { - } - - # u-boot is hard coded to look at 3rd partition - partition dummy1 { - size = 512 - } - - partition dummy2 { - size = 512 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - bootable = "true" - } -} diff --git a/board/visionfive2/overlay/boot/extlinux/extlinux.conf b/board/visionfive2/overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index 6e2c5660d6c6163e5424ca05bc0f5396addd353a..0000000000000000000000000000000000000000 --- a/board/visionfive2/overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - devicetree /boot/jh7110-visionfive-v2.dtb - append console=ttyS0,115200 root=/dev/mmcblk1p3 diff --git a/board/visionfive2/readme.txt b/board/visionfive2/readme.txt deleted file mode 100644 index 1924cbc12b72077f2f91e3573959d35ed8c8f1b0..0000000000000000000000000000000000000000 --- a/board/visionfive2/readme.txt +++ /dev/null @@ -1,32 +0,0 @@ -Starfive VisionFive2 -==================== - -The VisionFive2 is a low-cost RISC-V 64-bit based platform, powered by a -Starfive JH7110 processor. - -https://doc-en.rvspace.org/Doc_Center/visionfive_2.html - -How to build -============ - -$ make visionfive2_defconfig -$ make - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Preparing the board -=================== - -Connect a TTL UART cable to pin 6 (GND), 8 (TX) and 10 (RX). - -Insert your SD card. - -Power-up the board using an USB-C cable. diff --git a/board/wandboard/readme.txt b/board/wandboard/readme.txt deleted file mode 100644 index adc4e5c1922827fdb3f754039c0de2f65d9feb45..0000000000000000000000000000000000000000 --- a/board/wandboard/readme.txt +++ /dev/null @@ -1,14 +0,0 @@ -Wandboard - -http://www.wandboard.org - -To build a minimal support for this board: - - $ make wandboard_defconfig - $ make - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped on an SD card. - -For details about the medium image layout, see the definition in -board/wandboard/genimage.cfg. diff --git a/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf b/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf deleted file mode 100644 index e3b90660c0e4a7369576fd5cc12d93696f66429a..0000000000000000000000000000000000000000 --- a/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -Label imx6qdl-wandboard Buildroot - kernel ../zImage - fdtdir ../ - append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/board/warp7/readme.txt b/board/warp7/readme.txt deleted file mode 100644 index aff7a601e582d01b187e7e44303ee1f596a00062..0000000000000000000000000000000000000000 --- a/board/warp7/readme.txt +++ /dev/null @@ -1,118 +0,0 @@ -***************** -Warp i.MX7S board -***************** - -This file documents the Buildroot support for the Warp i.MX7S board. - -Build -===== - -First, configure Buildroot for the Warp i.MX7S board: - - make warp7_defconfig - -Build all components: - - make - -You will find in output/images/ the following files: - - imx7s-warp.dtb - - rootfs.ext4 - - rootfs.tar - - sdcard.img - - u-boot-dtb.imx - - zImage - -Flash the eMMC image -==================== - -In the U-Boot prompt lauch: - -=> ums 0 mmc 0 - -This will mount the eMMC content in the host PC as a mass storage device. - -To determine the device associated to the eMMC have a look in the -/proc/partitions file: - - cat /proc/partitions - -Buildroot prepares a bootable "sdcard.img" image in the output/images/ -directory, ready to be dumped into the eMMC. Launch the following -command: - -sudo dd if=output/images/sdcard.img of=/dev/ - -*** WARNING! This will destroy all the eMMC content. Use it with care! *** - -For details about the medium image layout, see the definition in -board/warp7/genimage.cfg. - -How to recover from a bad eMMC image -==================================== - -In case a bad U-Boot has been flashed to the eMMC and the board no -longer boots, it is possible to recover using the imx_usb_loader utility. - -Put the warp7 board in USB download mode by removing the CPU board -from the base board then putting switch 2 in the upper position. - -Connect a USB to serial adapter between the host PC and warp7 serial -USB port, and also a USB cable between the OTG warp7 port and the host -PC. - -Copy u-boot-dtb.imx to the imx_usb_loader folder. - -Load u-boot-dtb.imx via USB: - -$ sudo ./imx_usb u-boot-dtb.imx - -Then U-Boot should start and its messages will appear in the console program. - -Open a terminal program such as minicom. - -Use the default environment variables: - -=> env default -f -a -=> saveenv - -Run the DFU command: -=> dfu 0 mmc 0 - -Transfer u-boot-dtb.imx that will be flashed into the eMMC: - -$ sudo dfu-util -D u-boot-dtb.imx -a boot - -Then on the U-Boot prompt the following message should be seen after a -successful upgrade: - -#DOWNLOAD ... OK -Ctrl+C to exit ... - -=> ums 0 mmc 0 - -sudo dd if=output/images/sdcard.img of=/dev/ - -Put warp7 back in eMMC boot mode by placing switch 2 in the lower position -and reboot the board. - -Boot the Warp i.MX7S board -========================== - -To boot your newly created system: -- put a micro USB cable into the Debug USB Port and connect using a terminal - emulator at 115200 bps, 8n1; -- power on the board. - -Using Wifi -========== - -# modprobe brcmfmac -# iwconfig wlan0 essid ACCESSPOINTNAME -# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf -(enter the wifi password and press enter) -# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf & -# udhcpc -i wlan0 -# ping buildroot.org - -Enjoy! diff --git a/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt b/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt deleted file mode 100644 index a1dc2035297de01678920f403f94fdec7aa6dd85..0000000000000000000000000000000000000000 --- a/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt +++ /dev/null @@ -1,42 +0,0 @@ -# 2.4 GHz, 20 MHz BW mode -manfid=0x2d0 -prodid=0x0726 -vendid=0x14e4 -devid=0x43e2 -boardtype=0x0726 -boardrev=0x1202 -boardnum=22 -macaddr=00:90:4c:c5:12:38 -sromrev=11 -boardflags=0x00404201 -boardflags3=0x08000000 -xtalfreq=37400 -nocrc=1 -ag0=0 -aa2g=1 -ccode=ALL -#pa0itssit=0x20 -extpagain2g=0 -pa2ga0=-168,7161,-820 -AvVmid_c0=0x0,0xc8 -cckpwroffset0=5 -maxp2ga0=90 -#txpwrbckof=6 -cckbw202gpo=0 -legofdmbw202gpo=0x66111111 -mcsbw202gpo=0x77711111 -propbw202gpo=0xdd -ofdmdigfilttype=18 -ofdmdigfilttypebe=18 -papdmode=1 -papdvalidtest=1 -pacalidx2g=48 -papdepsoffset=-22 -papdendidx=58 -il0macaddr=00:90:4c:c5:12:38 -wl0id=0x431b -#muxenab=0x10 -#BT COEX deferral limit setting -#btc_params 8 45000 -#btc_params 10 20000 -#spurconfig=0x3 diff --git a/board/zynq/extlinux.conf b/board/zynq/extlinux.conf deleted file mode 100644 index 3c2ab4f46a37ce392855465fbc69e534d1eac662..0000000000000000000000000000000000000000 --- a/board/zynq/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /uImage - devicetree /system.dtb - append console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait diff --git a/board/zynq/genimage.cfg b/board/zynq/genimage.cfg deleted file mode 100644 index 78eb9275dd3c9b1571f4fa5bd24a65bbd2d9162c..0000000000000000000000000000000000000000 --- a/board/zynq/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.bin", - "u-boot.img", - "system.dtb", - "uImage" - } - - file extlinux/extlinux.conf { - image = extlinux.conf - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/zynq/post-build.sh b/board/zynq/post-build.sh deleted file mode 100755 index 810fe9987945389eb623ecc7fa7ce6abd4f06f51..0000000000000000000000000000000000000000 --- a/board/zynq/post-build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# genimage will need to find the extlinux.conf -# in the binaries directory - -BOARD_DIR="$(dirname "$0")" - -install -m 0644 -D "${BOARD_DIR}/extlinux.conf" "${BINARIES_DIR}/extlinux.conf" diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh deleted file mode 100755 index 192354b5bea412b37c19007366fff5939b9ce127..0000000000000000000000000000000000000000 --- a/board/zynq/post-image.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# By default U-Boot loads DTB from a file named "system.dtb", so -# let's use a symlink with that name that points to the *first* -# devicetree listed in the config. - -FIRST_DT=$(sed -n \ - 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \ - "${BR2_CONFIG}") - -[ -z "${FIRST_DT}" ] || ln -fs "${FIRST_DT}.dtb" "${BINARIES_DIR}/system.dtb" - -BOARD_DIR="$(dirname "$0")" - -support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" diff --git a/board/zynq/readme.txt b/board/zynq/readme.txt deleted file mode 100644 index b2a4cefedd090c0e56be0be27d26bbab45dc4310..0000000000000000000000000000000000000000 --- a/board/zynq/readme.txt +++ /dev/null @@ -1,87 +0,0 @@ -This is the Buildroot support for Zynq boards. Zynq boards are available from -Xilinx and some third party vendors, but the build procedure is very similar. - -Currently, four boards are natively supported by Buildroot: - - Xilinx ZC702 board (zynq_zc702_defconfig) - - Xilinx ZC706 board (zynq_zc706_defconfig) - - Avnet ZedBoard (zynq_zed_defconfig) - - Avnet MicroZed (zynq_microzed_defconfig) - -Steps to create a working system for a Zynq board: - -1) Configuration (do one of the following) - make zynq_zc702_defconfig (ZC702) - make zynq_zc706_defconfig (ZC706) - make zynq_zed_defconfig (Zedboard) - make zynq_microzed_defconfig (MicroZed) -2) make -3) All needed files will be available in the output/images directory. - The sdcard.img file is a complete bootable image ready to be written - on the boot medium. To install it, simply copy the image to an SD - card: - - # dd if=output/images/sdcard.img of=/dev/sdX - - Where 'sdX' is the device node of the uSD. -4) boot your board - -You can alter the booting procedure by creating a file uEnv.txt -in the root of the SD card. It is a plain text file in format -= one per line: - -kernel_image=myimage -modeboot=myboot -myboot=... - -References: - - ZC702 information including schematics, reference designs, and manuals are - available from - https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html - - - ZC706 information including schematics, reference designs, and manuals are - available from - http://www.xilinx.com/products/boards-and-kits/ek-z7-zc706-g.html. - - - Zedboard/Microzed information including schematics, reference designs, and - manuals are available from http://www.zedboard.org . - -Support for other boards: - -If you want to build a system for other boards based on the same SoC -(for ex. Digilent Zybo board), and the board is already supported by -the upstream kernel and U-Boot, you simply need to change the -following Buildroot options: - - - Kernel Device Tree file name (BR2_LINUX_KERNEL_INTREE_DTS_NAME) - - U-Boot (BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=") - -Custom ps7_init_gpl.c/h support: - -To generate a working boot.bin image, ps7_init_gpl.c/h are required in -the U-Boot source tree. Without those files, boot.bin will be built -successfully but it will not be functional at all. Those files are -output from the Xilinx tools, but for convenience, U-Boot includes the -default ps7_init_gpl.c/h of popular boards. Those files may need to be -updated for any programmable logic customizations which impact -ps7_init (clock/pin setup & mapping/AXI bridge setup/etc). See -board/xilinx/zynq/ directory of U-Boot for natively supported ps7_init -files. If the ps7_init files for your board are not found in U-Boot, -you need to add them by yourself. - -1) Start with a defconfig supported by Buildroot (e.g. Zedboard) - make zynq_zed_defconfig - -2) make uboot-menuconfig - Visit the following menu and enable CONFIG_ZYNQ_CUSTOM_INIT. - - ARM architecture ---> - [*] Use custom ps7_init provided by Xilinx tool - -3) Copy ps7_init_gpl.c/h generated by the Xilinx tools into - output/build/uboot-xilinx-/board/xilinx/zynq/custom_hw_platform/ - -4) make - -Note: The files in step 3 will need to be re-copied after cleaning the -output directory and at this time, there is no way to save them as -part of the buildroot configuration, except as a U-Boot patch. diff --git a/board/zynqmp/genimage.cfg b/board/zynqmp/genimage.cfg deleted file mode 100644 index 20d8352c080ccabafd8d6fb99522db532b9b44cc..0000000000000000000000000000000000000000 --- a/board/zynqmp/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.bin", - "u-boot.itb", - "system.dtb", - "Image" - } - file extlinux/extlinux.conf { - image = extlinux.conf - } - } - - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/board/zynqmp/kria/kd240/kd240.sh b/board/zynqmp/kria/kd240/kd240.sh deleted file mode 100755 index 2203536a5294d3b3fca06afcf0f29c9d38bcd17d..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kd240/kd240.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# This is a temporary work around for generating kd240 u-boot.itb. -# The problem is there is no way to currently configure u-boot to apply -# the carrier board dtb overlay during build, so all kd240 carrier board -# drivers are missing. -# This will be removed when u-boot can build the kd240 u-boot.itb natively. - -UBOOT_DIR="$4" - -fdtoverlay -o "${UBOOT_DIR}/fit-dtb.blob" \ - -i "${UBOOT_DIR}/arch/arm/dts/zynqmp-smk-k24-revA.dtb" \ - "${UBOOT_DIR}/arch/arm/dts/zynqmp-sck-kd-g-revA.dtbo" - -"${UBOOT_DIR}/tools/mkimage" -E -f "${UBOOT_DIR}/u-boot.its" \ - -B 0x8 "${BINARIES_DIR}/u-boot.itb" diff --git a/board/zynqmp/kria/kd240/patches/uboot/0001-arm64-zynqmp-Fix-k24-psu_init_gpl.c-clocking.patch b/board/zynqmp/kria/kd240/patches/uboot/0001-arm64-zynqmp-Fix-k24-psu_init_gpl.c-clocking.patch deleted file mode 100644 index f088b90f5263439209a70707c2cc6899b9f8597e..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kd240/patches/uboot/0001-arm64-zynqmp-Fix-k24-psu_init_gpl.c-clocking.patch +++ /dev/null @@ -1,401 +0,0 @@ -From f8cba630d3fccd901164dec7bd9b60442bab8995 Mon Sep 17 00:00:00 2001 -From: Neal Frager -Date: Wed, 13 Dec 2023 12:53:29 +0000 -Subject: [PATCH] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking - -This patch corrects the k24 som clocking configuration such that the serdes -clocks are correctly enabled and the usb0 is configured to use the psgtr -refclk2 for usb3 mode. - -This patch also corrects the configuration of mio pins mio76 and mio77 -which should be configured as gpio pins. - -Signed-off-by: Neal Frager -Upstream: https://patchwork.ozlabs.org/project/uboot/patch/20231213134007.2818069-1-neal.frager@amd.com/ ---- - .../zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c | 266 +++++++++++++----- - 1 file changed, 200 insertions(+), 66 deletions(-) - -diff --git a/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c -index 45102302dc..4c904c6c81 100644 ---- a/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c -+++ b/board/xilinx/zynqmp/zynqmp-sm-k24-revA/psu_init_gpl.c -@@ -72,6 +72,18 @@ static void dpll_prog(int div2, int ddr_pll_fbdiv, int d_lock_dly, - Xil_Out32(((0xFD1A0000U) + 0x0000002C), pll_ctrl_regval); - } - -+static int serdes_illcalib(u32 lane3_protocol, u32 lane3_rate, -+ u32 lane2_protocol, u32 lane2_rate, -+ u32 lane1_protocol, u32 lane1_rate, -+ u32 lane0_protocol, u32 lane0_rate) -+{ -+ Xil_Out32(0xFD409914, 0xF3); -+ Xil_Out32(0xFD409940, 0xF3); -+ Xil_Out32(0xFD409990, 0x20); -+ Xil_Out32(0xFD409924, 0x37); -+ return 1; -+} -+ - static unsigned long psu_pll_init_data(void) - { - psu_mask_write(0xFF5E0034, 0xFE7FEDEFU, 0x7E4B0C62U); -@@ -490,20 +502,20 @@ static unsigned long psu_mio_init_data(void) - psu_mask_write(0xFF18008C, 0x000000FEU, 0x00000000U); - psu_mask_write(0xFF180090, 0x000000FEU, 0x000000C0U); - psu_mask_write(0xFF180094, 0x000000FEU, 0x000000C0U); -- psu_mask_write(0xFF180098, 0x000000FEU, 0x00000000U); -- psu_mask_write(0xFF18009C, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800A0, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800A4, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800A8, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800AC, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800B0, 0x000000FEU, 0x00000000U); -- psu_mask_write(0xFF1800B4, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800B8, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800BC, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800C0, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800C4, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800C8, 0x000000FEU, 0x00000010U); -- psu_mask_write(0xFF1800CC, 0x000000FEU, 0x00000010U); -+ psu_mask_write(0xFF180098, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF18009C, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800A0, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800A4, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800A8, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800AC, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800B0, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800B4, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800B8, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800BC, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800C0, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800C4, 0x000000FEU, 0x00000002U); -+ psu_mask_write(0xFF1800C8, 0x000000FEU, 0x00000080U); -+ psu_mask_write(0xFF1800CC, 0x000000FEU, 0x00000080U); - psu_mask_write(0xFF1800D0, 0x000000FEU, 0x00000004U); - psu_mask_write(0xFF1800D4, 0x000000FEU, 0x00000004U); - psu_mask_write(0xFF1800D8, 0x000000FEU, 0x00000004U); -@@ -528,8 +540,8 @@ static unsigned long psu_mio_init_data(void) - psu_mask_write(0xFF180124, 0x000000FEU, 0x00000002U); - psu_mask_write(0xFF180128, 0x000000FEU, 0x00000002U); - psu_mask_write(0xFF18012C, 0x000000FEU, 0x00000002U); -- psu_mask_write(0xFF180130, 0x000000FEU, 0x000000C0U); -- psu_mask_write(0xFF180134, 0x000000FEU, 0x000000C0U); -+ psu_mask_write(0xFF180130, 0x000000FEU, 0x00000000U); -+ psu_mask_write(0xFF180134, 0x000000FEU, 0x00000000U); - psu_mask_write(0xFF180204, 0xFFFFFFFFU, 0x50000000U); - psu_mask_write(0xFF180208, 0xFFFFFFFFU, 0x00B02020U); - psu_mask_write(0xFF18020C, 0x00003FFFU, 0x00000FC0U); -@@ -539,18 +551,18 @@ static unsigned long psu_mio_init_data(void) - psu_mask_write(0xFF180144, 0x03FFFFFFU, 0x03FFFFFFU); - psu_mask_write(0xFF180148, 0x03FFFFFFU, 0x03FFFFFFU); - psu_mask_write(0xFF18014C, 0x03FFFFFFU, 0x03FFFFFFU); -- psu_mask_write(0xFF180154, 0x03FFFFFFU, 0x00080814U); -+ psu_mask_write(0xFF180154, 0x03FFFFFFU, 0x00FC0814U); - psu_mask_write(0xFF180158, 0x03FFFFFFU, 0x03FFFFFFU); - psu_mask_write(0xFF18015C, 0x03FFFFFFU, 0x00000000U); -- psu_mask_write(0xFF180160, 0x03FFFFFFU, 0x03FFFFFFU); -- psu_mask_write(0xFF180164, 0x03FFFFFFU, 0x03FFFFFFU); -- psu_mask_write(0xFF180168, 0x03FFFFFFU, 0x03F7F7EBU); -- psu_mask_write(0xFF180170, 0x03FFFFFFU, 0x00FC000BU); -+ psu_mask_write(0xFF180160, 0x0387FFFFU, 0x0387FFFFU); -+ psu_mask_write(0xFF180164, 0x03FFFFFFU, 0x03FFF87FU); -+ psu_mask_write(0xFF180168, 0x03FFFFFFU, 0x0303F7EBU); -+ psu_mask_write(0xFF180170, 0x03FFFFFFU, 0x0004400BU); - psu_mask_write(0xFF180174, 0x03FFFFFFU, 0x03FFFFFFU); - psu_mask_write(0xFF180178, 0x03FFFFFFU, 0x00000000U); -- psu_mask_write(0xFF18017C, 0x0357FFFFU, 0x0357FFFFU); -- psu_mask_write(0xFF180180, 0x03FFFFFFU, 0x0357FFFFU); -- psu_mask_write(0xFF180184, 0x03FFFFFFU, 0x0303FFF4U); -+ psu_mask_write(0xFF18017C, 0x03FFFFFFU, 0x03FFFFFFU); -+ psu_mask_write(0xFF180180, 0x03FFFFFFU, 0x03FFFFFFU); -+ psu_mask_write(0xFF180184, 0x03FFFFFFU, 0x03FBBFF4U); - psu_mask_write(0xFF180200, 0x0000000FU, 0x00000000U); - - return 1; -@@ -569,21 +581,16 @@ static unsigned long psu_peripherals_init_data(void) - psu_mask_write(0xFD1A0100, 0x0001807CU, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x001A0000U, 0x00000000U); - psu_mask_write(0xFF5E023C, 0x0093C018U, 0x00000000U); -- psu_mask_write(0xFF5E0230, 0x00000008U, 0x00000000U); -+ psu_mask_write(0xFF5E0230, 0x00000002U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00000001U, 0x00000000U); - psu_mask_write(0xFF180390, 0x00000004U, 0x00000004U); - psu_mask_write(0xFF5E023C, 0x00000400U, 0x00000000U); -- psu_mask_write(0xFF5E0238, 0x00000040U, 0x00000000U); -- psu_mask_write(0xFF180310, 0x00008000U, 0x00000000U); -- psu_mask_write(0xFF180320, 0x33840000U, 0x02840000U); -- psu_mask_write(0xFF18031C, 0x7FFE0000U, 0x64500000U); -- psu_mask_write(0xFF180358, 0x00000008U, 0x00000008U); -- psu_mask_write(0xFF180324, 0x03C00000U, 0x00000000U); -+ psu_mask_write(0xFF5E0238, 0x00000080U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00000400U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00000010U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U); -- psu_mask_write(0xFF5E0238, 0x00000004U, 0x00000000U); -+ psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U); - psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U); - psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU); - psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U); -@@ -591,40 +598,26 @@ static unsigned long psu_peripherals_init_data(void) - psu_mask_write(0xFFA60040, 0x80000000U, 0x80000000U); - psu_mask_write(0xFF260020, 0xFFFFFFFFU, 0x05F5DD18U); - psu_mask_write(0xFF260000, 0x00000001U, 0x00000001U); -- psu_mask_write(0xFF5E0250, 0x00000F0FU, 0x00000202U); -+ psu_mask_write(0xFF0A0284, 0x03FFFFFFU, 0x01000000U); -+ psu_mask_write(0xFF0A0288, 0x03FFFFFFU, 0x01000000U); -+ psu_mask_write(0xFF0A0014, 0x03FF03FFU, 0x02FF0100U); - - mask_delay(1); -- psu_mask_write(0xFF5E0250, 0x00000F0FU, 0x00000002U); -+ psu_mask_write(0xFF0A0014, 0x03FF03FFU, 0x02FF0000U); - - mask_delay(5); -- psu_mask_write(0xFF5E0250, 0x00000F0FU, 0x00000202U); -+ psu_mask_write(0xFF0A0014, 0x03FF03FFU, 0x02FF0100U); - - return 1; - } - - static unsigned long psu_serdes_init_data(void) - { -- psu_mask_write(0xFD410000, 0x0000001FU, 0x00000009U); -- psu_mask_write(0xFD410004, 0x0000001FU, 0x00000009U); - psu_mask_write(0xFD410008, 0x0000001FU, 0x00000008U); -- psu_mask_write(0xFD402860, 0x00000080U, 0x00000080U); -- psu_mask_write(0xFD402864, 0x00000081U, 0x00000001U); -- psu_mask_write(0xFD402868, 0x00000082U, 0x00000002U); -+ psu_mask_write(0xFD402868, 0x00000080U, 0x00000080U); - psu_mask_write(0xFD40A094, 0x00000010U, 0x00000010U); - psu_mask_write(0xFD40A368, 0x000000FFU, 0x00000038U); - psu_mask_write(0xFD40A36C, 0x00000007U, 0x00000003U); -- psu_mask_write(0xFD402368, 0x000000FFU, 0x00000058U); -- psu_mask_write(0xFD40236C, 0x00000007U, 0x00000003U); -- psu_mask_write(0xFD406368, 0x000000FFU, 0x00000058U); -- psu_mask_write(0xFD40636C, 0x00000007U, 0x00000003U); -- psu_mask_write(0xFD402370, 0x000000FFU, 0x0000007CU); -- psu_mask_write(0xFD402374, 0x000000FFU, 0x00000033U); -- psu_mask_write(0xFD402378, 0x000000FFU, 0x00000002U); -- psu_mask_write(0xFD40237C, 0x00000033U, 0x00000030U); -- psu_mask_write(0xFD406370, 0x000000FFU, 0x0000007CU); -- psu_mask_write(0xFD406374, 0x000000FFU, 0x00000033U); -- psu_mask_write(0xFD406378, 0x000000FFU, 0x00000002U); -- psu_mask_write(0xFD40637C, 0x00000033U, 0x00000030U); - psu_mask_write(0xFD40A370, 0x000000FFU, 0x000000F4U); - psu_mask_write(0xFD40A374, 0x000000FFU, 0x00000031U); - psu_mask_write(0xFD40A378, 0x000000FFU, 0x00000002U); -@@ -678,18 +671,8 @@ static unsigned long psu_serdes_init_data(void) - psu_mask_write(0xFD409978, 0x00000010U, 0x00000010U); - psu_mask_write(0xFD40D978, 0x00000010U, 0x00000010U); - -- serdes_illcalib(0, 0, 3, 0, 4, 0, 4, 0); -- psu_mask_write(0xFD410010, 0x00000077U, 0x00000044U); -+ serdes_illcalib(0, 0, 3, 0, 0, 0, 0, 0); - psu_mask_write(0xFD410014, 0x00000007U, 0x00000003U); -- psu_mask_write(0xFD400CB4, 0x00000037U, 0x00000037U); -- psu_mask_write(0xFD404CB4, 0x00000037U, 0x00000037U); -- psu_mask_write(0xFD4001D8, 0x00000001U, 0x00000001U); -- psu_mask_write(0xFD4041D8, 0x00000001U, 0x00000001U); -- psu_mask_write(0xFD404CC0, 0x0000001FU, 0x00000000U); -- psu_mask_write(0xFD400CC0, 0x0000001FU, 0x00000000U); -- psu_mask_write(0xFD404048, 0x000000FFU, 0x00000000U); -- psu_mask_write(0xFD400048, 0x000000FFU, 0x00000000U); -- - return 1; - } - -@@ -699,7 +682,7 @@ static unsigned long psu_resetout_init_data(void) - psu_mask_write(0xFF9D0080, 0x00000001U, 0x00000001U); - psu_mask_write(0xFF9D007C, 0x00000001U, 0x00000000U); - psu_mask_write(0xFF5E023C, 0x00000140U, 0x00000000U); -- psu_mask_write(0xFF5E0230, 0x00000008U, 0x00000000U); -+ psu_mask_write(0xFF5E0230, 0x00000002U, 0x00000000U); - psu_mask_write(0xFD1A0100, 0x00010000U, 0x00000000U); - psu_mask_write(0xFD4A0200, 0x00000002U, 0x00000000U); - psu_mask_write(0xFD4A0238, 0x0000000FU, 0x00000000U); -@@ -708,7 +691,6 @@ static unsigned long psu_resetout_init_data(void) - psu_mask_write(0xFE20C11C, 0x00000600U, 0x00000600U); - psu_mask_write(0xFE20C12C, 0x00004000U, 0x00004000U); - psu_mask_write(0xFD480064, 0x00000200U, 0x00000200U); -- mask_poll(0xFD4063E4, 0x00000010U); - mask_poll(0xFD40A3E4, 0x00000010U); - - return 1; -@@ -717,7 +699,7 @@ static unsigned long psu_resetout_init_data(void) - static unsigned long psu_resetin_init_data(void) - { - psu_mask_write(0xFF5E023C, 0x00000540U, 0x00000540U); -- psu_mask_write(0xFF5E0230, 0x00000008U, 0x00000008U); -+ psu_mask_write(0xFF5E0230, 0x00000002U, 0x00000002U); - psu_mask_write(0xFD4A0238, 0x0000000FU, 0x0000000AU); - psu_mask_write(0xFD4A0200, 0x00000002U, 0x00000002U); - psu_mask_write(0xFD1A0100, 0x00010000U, 0x00010000U); -@@ -1034,6 +1016,157 @@ static unsigned long psu_ddr_phybringup_data(void) - return 1; - } - -+static int serdes_enb_coarse_saturation(void) -+{ -+ Xil_Out32(0xFD402094, 0x00000010); -+ Xil_Out32(0xFD406094, 0x00000010); -+ Xil_Out32(0xFD40A094, 0x00000010); -+ Xil_Out32(0xFD40E094, 0x00000010); -+ return 1; -+} -+ -+static int serdes_fixcal_code(void) -+{ -+ int maskstatus = 1; -+ unsigned int rdata = 0; -+ unsigned int match_pmos_code[23]; -+ unsigned int match_nmos_code[23]; -+ unsigned int match_ical_code[7]; -+ unsigned int match_rcal_code[7]; -+ unsigned int p_code = 0; -+ unsigned int n_code = 0; -+ unsigned int i_code = 0; -+ unsigned int r_code = 0; -+ unsigned int repeat_count = 0; -+ unsigned int L3_TM_CALIB_DIG20 = 0; -+ unsigned int L3_TM_CALIB_DIG19 = 0; -+ unsigned int L3_TM_CALIB_DIG18 = 0; -+ unsigned int L3_TM_CALIB_DIG16 = 0; -+ unsigned int L3_TM_CALIB_DIG15 = 0; -+ unsigned int L3_TM_CALIB_DIG14 = 0; -+ int i = 0; -+ -+ rdata = Xil_In32(0xFD40289C); -+ rdata = rdata & ~0x03; -+ rdata = rdata | 0x1; -+ Xil_Out32(0xFD40289C, rdata); -+ int count = 0; -+ do { -+ if (count == 1100000) -+ break; -+ rdata = Xil_In32(0xFD402B1C); -+ count++; -+ } while ((rdata & 0x0000000E) != 0x0000000E); -+ -+ for (i = 0; i < 23; i++) { -+ match_pmos_code[i] = 0; -+ match_nmos_code[i] = 0; -+ } -+ for (i = 0; i < 7; i++) { -+ match_ical_code[i] = 0; -+ match_rcal_code[i] = 0; -+ } -+ -+ do { -+ Xil_Out32(0xFD410010, 0x00000000); -+ Xil_Out32(0xFD410014, 0x00000000); -+ -+ Xil_Out32(0xFD410010, 0x00000001); -+ Xil_Out32(0xFD410014, 0x00000000); -+ -+ maskstatus = mask_poll(0xFD40EF14, 0x2); -+ if (maskstatus == 0) { -+ xil_printf("#SERDES initialization timed out\n\r"); -+ return maskstatus; -+ } -+ -+ p_code = mask_read(0xFD40EF18, 0xFFFFFFFF); -+ n_code = mask_read(0xFD40EF1C, 0xFFFFFFFF); -+ ; -+ i_code = mask_read(0xFD40EF24, 0xFFFFFFFF); -+ r_code = mask_read(0xFD40EF28, 0xFFFFFFFF); -+ ; -+ -+ if (p_code >= 0x26 && p_code <= 0x3C) -+ match_pmos_code[p_code - 0x26] += 1; -+ -+ if (n_code >= 0x26 && n_code <= 0x3C) -+ match_nmos_code[n_code - 0x26] += 1; -+ -+ if (i_code >= 0xC && i_code <= 0x12) -+ match_ical_code[i_code - 0xC] += 1; -+ -+ if (r_code >= 0x6 && r_code <= 0xC) -+ match_rcal_code[r_code - 0x6] += 1; -+ -+ } while (repeat_count++ < 10); -+ -+ for (i = 0; i < 23; i++) { -+ if (match_pmos_code[i] >= match_pmos_code[0]) { -+ match_pmos_code[0] = match_pmos_code[i]; -+ p_code = 0x26 + i; -+ } -+ if (match_nmos_code[i] >= match_nmos_code[0]) { -+ match_nmos_code[0] = match_nmos_code[i]; -+ n_code = 0x26 + i; -+ } -+ } -+ -+ for (i = 0; i < 7; i++) { -+ if (match_ical_code[i] >= match_ical_code[0]) { -+ match_ical_code[0] = match_ical_code[i]; -+ i_code = 0xC + i; -+ } -+ if (match_rcal_code[i] >= match_rcal_code[0]) { -+ match_rcal_code[0] = match_rcal_code[i]; -+ r_code = 0x6 + i; -+ } -+ } -+ -+ L3_TM_CALIB_DIG20 = mask_read(0xFD40EC50, 0xFFFFFFF0); -+ L3_TM_CALIB_DIG20 = L3_TM_CALIB_DIG20 | 0x8 | ((p_code >> 2) & 0x7); -+ -+ L3_TM_CALIB_DIG19 = mask_read(0xFD40EC4C, 0xFFFFFF18); -+ L3_TM_CALIB_DIG19 = L3_TM_CALIB_DIG19 | ((p_code & 0x3) << 6) -+ | 0x20 | 0x4 | ((n_code >> 3) & 0x3); -+ -+ L3_TM_CALIB_DIG18 = mask_read(0xFD40EC48, 0xFFFFFF0F); -+ L3_TM_CALIB_DIG18 = L3_TM_CALIB_DIG18 | ((n_code & 0x7) << 5) | 0x10; -+ -+ L3_TM_CALIB_DIG16 = mask_read(0xFD40EC40, 0xFFFFFFF8); -+ L3_TM_CALIB_DIG16 = L3_TM_CALIB_DIG16 | ((r_code >> 1) & 0x7); -+ -+ L3_TM_CALIB_DIG15 = mask_read(0xFD40EC3C, 0xFFFFFF30); -+ L3_TM_CALIB_DIG15 = L3_TM_CALIB_DIG15 | ((r_code & 0x1) << 7) -+ | 0x40 | 0x8 | ((i_code >> 1) & 0x7); -+ -+ L3_TM_CALIB_DIG14 = mask_read(0xFD40EC38, 0xFFFFFF3F); -+ L3_TM_CALIB_DIG14 = L3_TM_CALIB_DIG14 | ((i_code & 0x1) << 7) | 0x40; -+ -+ Xil_Out32(0xFD40EC50, L3_TM_CALIB_DIG20); -+ Xil_Out32(0xFD40EC4C, L3_TM_CALIB_DIG19); -+ Xil_Out32(0xFD40EC48, L3_TM_CALIB_DIG18); -+ Xil_Out32(0xFD40EC40, L3_TM_CALIB_DIG16); -+ Xil_Out32(0xFD40EC3C, L3_TM_CALIB_DIG15); -+ Xil_Out32(0xFD40EC38, L3_TM_CALIB_DIG14); -+ return maskstatus; -+} -+ -+static int init_serdes(void) -+{ -+ int status = 1; -+ -+ status &= psu_resetin_init_data(); -+ -+ status &= serdes_fixcal_code(); -+ status &= serdes_enb_coarse_saturation(); -+ -+ status &= psu_serdes_init_data(); -+ status &= psu_resetout_init_data(); -+ -+ return status; -+} -+ - static void init_peripheral(void) - { - psu_mask_write(0xFD5F0018, 0x8000001FU, 0x8000001FU); -@@ -1050,6 +1183,7 @@ int psu_init(void) - status &= psu_ddr_init_data(); - status &= psu_ddr_phybringup_data(); - status &= psu_peripherals_init_data(); -+ status &= init_serdes(); - init_peripheral(); - - status &= psu_afi_config(); --- -2.25.1 - diff --git a/board/zynqmp/kria/kd240/patches/uboot/0002-arm64-zynqmp-Add-output-enable-pins-to-SOMs.patch b/board/zynqmp/kria/kd240/patches/uboot/0002-arm64-zynqmp-Add-output-enable-pins-to-SOMs.patch deleted file mode 100644 index 5566dae8916a51921448d292cd362e6b2b3c7cc0..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kd240/patches/uboot/0002-arm64-zynqmp-Add-output-enable-pins-to-SOMs.patch +++ /dev/null @@ -1,79 +0,0 @@ -From bf35bdac2adfa7c65c2992d8dedcc24585561732 Mon Sep 17 00:00:00 2001 -From: Neal Frager -Date: Wed, 13 Dec 2023 13:11:42 +0000 -Subject: [PATCH] arm64: zynqmp: Add output-enable pins to SOMs - -Now that the zynqmp pinctrl driver supports the tri-state registers, make -sure that the pins requiring output-enable are configured appropriately for -SOMs. - -Without it, all tristate setting for MIOs, which are not related to SOM -itself, are using default configuration which is not correct setting. -It means SDs, USBs, ethernet, etc. are not working properly. - -In past it was fixed through calling tristate configuration via bootcmd: -usb_init=mw 0xFF180208 2020 -kv260_gem3=mw 0xFF18020C 0xFC0 && gpio toggle gpio@ff0a000038 && \ - gpio toggle gpio@ff0a000038 - -Signed-off-by: Neal Frager -Upstream: https://patchwork.ozlabs.org/project/uboot/patch/20231213134052.2818879-1-neal.frager@amd.com/ ---- - arch/arm/dts/zynqmp-sck-kd-g-revA.dts | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dts b/arch/arm/dts/zynqmp-sck-kd-g-revA.dts -index 56f3128528..12865392a3 100644 ---- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dts -+++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dts -@@ -175,6 +175,7 @@ - conf-tx { - pins = "MIO36"; - bias-disable; -+ output-enable; - }; - - mux { -@@ -226,6 +227,7 @@ - conf-bootstrap { - pins = "MIO44", "MIO49"; - bias-disable; -+ output-enable; - low-power-disable; - }; - -@@ -233,6 +235,7 @@ - pins = "MIO38", "MIO39", "MIO40", - "MIO41", "MIO42", "MIO43"; - bias-disable; -+ output-enable; - low-power-enable; - }; - -@@ -241,6 +244,7 @@ - slew-rate = ; - power-source = ; - bias-disable; -+ output-enable; - }; - - mux-mdio { -@@ -271,6 +275,7 @@ - pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", - "MIO60", "MIO61", "MIO62", "MIO63"; - bias-disable; -+ output-enable; - drive-strength = <4>; - slew-rate = ; - }; -@@ -298,6 +303,7 @@ - pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71", - "MIO72", "MIO73", "MIO74", "MIO75"; - bias-disable; -+ output-enable; - drive-strength = <4>; - slew-rate = ; - }; --- -2.25.1 - diff --git a/board/zynqmp/kria/kd240/pm_cfg_obj.c b/board/zynqmp/kria/kd240/pm_cfg_obj.c deleted file mode 100644 index 13061ddcb3341dcdec668477cf5057abf216c701..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kd240/pm_cfg_obj.c +++ /dev/null @@ -1,494 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 35, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SPI_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_CAN_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - - /* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 10, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif diff --git a/board/zynqmp/kria/kr260/kr260.sh b/board/zynqmp/kria/kr260/kr260.sh deleted file mode 100755 index ac49fa5ee4e5691c8a75cb8315a7c45d19890561..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kr260/kr260.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# This is a temporary work around for generating kr260 u-boot.itb. -# The problem is there is no way to currently configure u-boot to apply -# the carrier board dtb overlay during build, so all kr260 carrier board -# drivers are missing. -# This will be removed when u-boot can build the kr260 u-boot.itb natively. - -UBOOT_DIR="$4" - -fdtoverlay -o "${UBOOT_DIR}/fit-dtb.blob" \ - -i "${UBOOT_DIR}/arch/arm/dts/zynqmp-smk-k26-revA.dtb" \ - "${UBOOT_DIR}/arch/arm/dts/zynqmp-sck-kr-g-revB.dtbo" - -"${UBOOT_DIR}/tools/mkimage" -E -f "${UBOOT_DIR}/u-boot.its" \ - -B 0x8 "${BINARIES_DIR}/u-boot.itb" diff --git a/board/zynqmp/kria/kr260/pm_cfg_obj.c b/board/zynqmp/kria/kr260/pm_cfg_obj.c deleted file mode 100644 index 9692a30d37076455bf9ebd6cbd55a904bf07cc60..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kr260/pm_cfg_obj.c +++ /dev/null @@ -1,496 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 35, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SPI_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - -/* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 10, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - PM_CONFIG_GPO1_MIO_PIN_35_MAP | - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif - diff --git a/board/zynqmp/kria/kv260/kv260.sh b/board/zynqmp/kria/kv260/kv260.sh deleted file mode 100755 index dc92c51d43ee412aaccdb14e1ebad3ee4c538f32..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kv260/kv260.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# This is a temporary work around for generating kv260 u-boot.itb. -# The problem is there is no way to currently configure u-boot to apply -# the carrier board dtb overlay during build, so all kv260 carrier board -# drivers are missing. -# This will be removed when u-boot can build the kv260 u-boot.itb natively. - -UBOOT_DIR="$4" - -fdtoverlay -o "${UBOOT_DIR}/fit-dtb.blob" \ - -i "${UBOOT_DIR}/arch/arm/dts/zynqmp-smk-k26-revA.dtb" \ - "${UBOOT_DIR}/arch/arm/dts/zynqmp-sck-kv-g-revB.dtbo" - -"${UBOOT_DIR}/tools/mkimage" -E -f "${UBOOT_DIR}/u-boot.its" \ - -B 0x8 "${BINARIES_DIR}/u-boot.itb" diff --git a/board/zynqmp/kria/kv260/pm_cfg_obj.c b/board/zynqmp/kria/kv260/pm_cfg_obj.c deleted file mode 100644 index fc6c4024c63909369d04e4544f8a0e7af8d92f1c..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/kv260/pm_cfg_obj.c +++ /dev/null @@ -1,497 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 34, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SPI_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SD_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - -/* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 11, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_SD_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - PM_CONFIG_GPO1_MIO_PIN_35_MAP | - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif - diff --git a/board/zynqmp/kria/readme.txt b/board/zynqmp/kria/readme.txt deleted file mode 100644 index 96009804b30ac9c3be838d9fe6ba7c371994108f..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/readme.txt +++ /dev/null @@ -1,116 +0,0 @@ -************************************************** -Xilinx Kria SOM Starter Kits - ZynqMP SoC -************************************************** - -This document describes the Buildroot support for the Kria KD240, -KR260 and KV260 starter kits by Xilinx, based on Kria SOM including the -Zynq UltraScale+ MPSoC (aka ZynqMP). It has been tested with -the KD240, KR260 and KV260 production boards. - -Evaluation board features can be found here with the links below. - -KD240: -https://www.xilinx.com/products/som/kria/kd240-drives-starter-kit.html - -KR260: -https://www.xilinx.com/products/som/kria/kr260-robotics-starter-kit.html - -KV260: -https://www.xilinx.com/products/som/kria/kv260-vision-starter-kit.html - -How to build it -=============== - -Configure Buildroot: (use the command for the specific board) - - $ make zynqmp_kria_kd240_defconfig - $ make zynqmp_kria_kr260_defconfig - $ make zynqmp_kria_kv260_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- atf-uboot.ub - +-- bl31.bin - +-- boot.bin - +-- boot.vfat - +-- Image - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- system.dtb -> smk-k26-revA-sck-kv-g-revB.dtb - +-- u-boot.itb - `-- smk-k26-revA-sck-kv-g-revB.dtb - -How to write the SD card -======================== - -WARNING! This will destroy all the card content. Use with care! - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to an SD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the SD. - -Eject the SD card, insert it in the board, and power it up. - -How to write boot.bin and u-boot.itb to QSPI boot flash -======================================================= - -The Kria SOMs are preconfigured to boot initially from QSPI. -This makes these boards different from other ZynqMP boards -in that the boot.bin and u-boot.itb files need to be flashed -into the QSPI boot flash such that U-Boot can then load all -of the remaining images from the SD card. - -In addition, the Kria Starter Kits QSPI comes pre-flashed with -a utility designed to make updating the QSPI flash memory -easier. - -Instructions for using these utilities to update the files -in QSPI flash can be found on the wiki link below. - -https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/1641152513/Kria+K26+SOM#Boot-Firmware-Updates - -Additionally, it is possible to use u-boot for updating the -QSPI with new boot.bin and u-boot.itb images with the u-boot -commands below. - -KV260 Flashing Instructions: -Flashing u-boot.itb: - $ sf probe - $ fatload mmc 1 0x1000000 u-boot.itb - $ sf erase 0xf80000 +$filesize - $ sf write 0x1000000 0xf80000 $filesize - -Flashing boot.bin: - $ sf probe - $ fatload mmc 1 0x1000000 boot.bin - $ sf erase 0x200000 +$filesize - $ sf write 0x1000000 0x200000 $filesize - -KD240 / KR260 Flashing Instructions: -Flashing u-boot.itb: - $ sf probe - $ fatload usb 0 0x1000000 u-boot.itb - $ sf erase 0xf80000 +$filesize - $ sf write 0x1000000 0xf80000 $filesize - -Flashing boot.bin: - $ sf probe - $ fatload usb 0 0x1000000 boot.bin - $ sf erase 0x200000 +$filesize - $ sf write 0x1000000 0x200000 $filesize - -It is possible to boot the Buildroot generated SD card image without -updating the QSPI boot.bin image, so this is an optional step. diff --git a/board/zynqmp/kria/uboot.fragment b/board/zynqmp/kria/uboot.fragment deleted file mode 100644 index d8efc230a0755f08e6a2903b41286e0aeac8dce6..0000000000000000000000000000000000000000 --- a/board/zynqmp/kria/uboot.fragment +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_SYS_SPI_U_BOOT_OFFS=0xF80000 -CONFIG_MULTI_DTB_FIT=y -CONFIG_DTB_RESELECT=y -CONFIG_DMA=y -CONFIG_XILINX_DPDMA=y -CONFIG_PHY=y -CONFIG_PHY_XILINX_ZYNQMP=y -CONFIG_PINCTRL=y -CONFIG_PINCONF=y -CONFIG_VIDEO_ZYNQMP_DPSUB=y -CONFIG_SF_DEFAULT_SPEED=40000000 diff --git a/board/zynqmp/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch b/board/zynqmp/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch deleted file mode 120000 index 8ad996914b4d912562f401890cb0422eac601285..0000000000000000000000000000000000000000 --- a/board/zynqmp/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch +++ /dev/null @@ -1 +0,0 @@ -../../../../boot/arm-trusted-firmware/v2.8/0001-feat-build-add-support-for-new-binutils-versions.patch \ No newline at end of file diff --git a/board/zynqmp/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch b/board/zynqmp/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch deleted file mode 120000 index fecdee544930cad00ec2eddbfdd9eb90fedd1b7a..0000000000000000000000000000000000000000 --- a/board/zynqmp/patches/arm-trusted-firmware/0002-build-tools-avoid-unnecessary-link.patch +++ /dev/null @@ -1 +0,0 @@ -../../../../boot/arm-trusted-firmware/v2.8/0002-build-tools-avoid-unnecessary-link.patch \ No newline at end of file diff --git a/board/zynqmp/post-build.sh b/board/zynqmp/post-build.sh deleted file mode 100755 index 747991e3f1da8ceee1350d00d9cc87798bd7825e..0000000000000000000000000000000000000000 --- a/board/zynqmp/post-build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# genimage will need to find the extlinux.conf -# in the binaries directory - -CONSOLE="$2" -ROOT="$3" - -mkdir -p "${BINARIES_DIR}" -cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf" - label linux - kernel /Image - devicetree /system.dtb - append console="${CONSOLE}" root="/dev/${ROOT}" rw rootwait - __HEADER_EOF diff --git a/board/zynqmp/post-image.sh b/board/zynqmp/post-image.sh deleted file mode 100755 index f44b66342d4be5b4cd3a0237a1705b768287a62d..0000000000000000000000000000000000000000 --- a/board/zynqmp/post-image.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# By default U-Boot loads DTB from a file named "system.dtb", so -# let's use a symlink with that name that points to the *first* -# devicetree listed in the config. - -FIRST_DT=$(sed -nr \ - -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="(xilinx/)?([-_/[:alnum:]\\.]*).*"$|\2|p' \ - "${BR2_CONFIG}") - -[ -z "${FIRST_DT}" ] || ln -fs "${FIRST_DT}.dtb" "${BINARIES_DIR}/system.dtb" - -BOARD_DIR="$(dirname "$0")" - -support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" diff --git a/board/zynqmp/readme.txt b/board/zynqmp/readme.txt deleted file mode 100644 index 3a8a9b03ac2e2cd2d097af29fb18d913d21197e1..0000000000000000000000000000000000000000 --- a/board/zynqmp/readme.txt +++ /dev/null @@ -1,66 +0,0 @@ -*************************************************** -Xilinx ZCU102 / ZCU104 / ZCU106 boards - ZynqMP SoC -*************************************************** - -This document describes the Buildroot support for the ZCU102, ZCU104 -and ZCU106 boards by Xilinx, based on the Zynq UltraScale+ MPSoC (aka -ZynqMP). It has been tested with the ZCU102 and ZCU106 production -boards. - -Evaluation board features can be found here with the links below. - -ZCU102: -https://www.xilinx.com/products/boards-and-kits/zcu102.html - -ZCU104: -https://www.xilinx.com/products/boards-and-kits/zcu104.html - -ZCU106: -https://www.xilinx.com/products/boards-and-kits/zcu106.html - - -How to build it -=============== - -Configure Buildroot: (use the command for the specific board) - - $ make zynqmp_zcu102_defconfig - $ make zynqmp_zcu104_defconfig - $ make zynqmp_zcu106_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- atf-uboot.ub - +-- bl31.bin - +-- boot.bin - +-- boot.vfat - +-- Image - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- system.dtb -> zynqmp-zcu106-revA.dtb - +-- u-boot.itb - `-- zynqmp-zcu106-revA.dtb - -How to write the SD card -======================== - -WARNING! This will destroy all the card content. Use with care! - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to an SD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the SD. - -Eject the SD card, insert it in the board, and power it up. diff --git a/board/zynqmp/zcu102/pm_cfg_obj.c b/board/zynqmp/zcu102/pm_cfg_obj.c deleted file mode 100644 index 04bfb16e35c8c3661b4db45f011f4324ce6cce00..0000000000000000000000000000000000000000 --- a/board/zynqmp/zcu102/pm_cfg_obj.c +++ /dev/null @@ -1,522 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 38, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SATA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SD_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_CAN_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PCIE, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - -/* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 12, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_SD_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - PM_CONFIG_GPO1_BIT_2_MASK | - PM_CONFIG_GPO1_MIO_PIN_34_MAP | - PM_CONFIG_GPO1_MIO_PIN_35_MAP | - PM_CONFIG_GPO1_MIO_PIN_36_MAP | - PM_CONFIG_GPO1_MIO_PIN_37_MAP | - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif - diff --git a/board/zynqmp/zcu104/pm_cfg_obj.c b/board/zynqmp/zcu104/pm_cfg_obj.c deleted file mode 100644 index bd0b59cfc29a11f18fbdea38d5e996675337d0db..0000000000000000000000000000000000000000 --- a/board/zynqmp/zcu104/pm_cfg_obj.c +++ /dev/null @@ -1,503 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 36, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SATA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SD_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_CAN_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - - /* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 11, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_SD_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif diff --git a/board/zynqmp/zcu106/pm_cfg_obj.c b/board/zynqmp/zcu106/pm_cfg_obj.c deleted file mode 100644 index 54a1afa902e784e30d797d973c953cef4dc82417..0000000000000000000000000000000000000000 --- a/board/zynqmp/zcu106/pm_cfg_obj.c +++ /dev/null @@ -1,521 +0,0 @@ -/****************************************************************************** -* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. -* SPDX-License-Identifier: MIT -******************************************************************************/ - -#include "xil_types.h" -#include "pm_defs.h" - -#define PM_CONFIG_MASTER_SECTION_ID 0x101U -#define PM_CONFIG_SLAVE_SECTION_ID 0x102U -#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U -#define PM_CONFIG_POWER_SECTION_ID 0x104U -#define PM_CONFIG_RESET_SECTION_ID 0x105U -#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U -#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U -#define PM_CONFIG_GPO_SECTION_ID 0x108U - -#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U -#define PM_MASTER_USING_SLAVE_MASK 0x2U - -#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) -#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) -#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) -#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) - -#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) -#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) -#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) -#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) - -#define SUSPEND_TIMEOUT 0xFFFFFFFFU - -#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U - - -#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 -#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 -#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 - - - -#if defined (__ICCARM__) -#pragma language=save -#pragma language=extended -#endif -#if defined (__GNUC__) - const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = -#elif defined (__ICCARM__) -#pragma location = ".sys_cfg_data" -__root const u32 XPm_ConfigObject[] = -#endif -{ - /**********************************************************************/ - /* HEADER */ - 2, /* Number of remaining words in the header */ - 8, /* Number of sections included in config object */ - PM_CONFIG_OBJECT_TYPE_BASE, /* Type of config object as base */ - /**********************************************************************/ - /* MASTER SECTION */ - PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ - 3U, /* No. of Masters*/ - - NODE_APU, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_0, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ - - NODE_RPU_1, /* Master Node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ - SUSPEND_TIMEOUT, /* Suspend timeout */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ - - - /**********************************************************************/ - /* SLAVE SECTION */ - - - PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ - 38, /* Number of slaves */ - - NODE_OCM_BANK_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_OCM_BANK_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_0_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_0_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_TCM_1_A, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TCM_1_B, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_L2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU_PP_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_USB_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_2, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_TTC_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SATA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ETH_3, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_UART_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_0, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_I2C_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_SD_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DP, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GDMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_ADMA, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_QSPI, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPIO, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_CAN_1, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_EXTERN, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_DDR, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_IPI_APU, - 0U, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_0, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ - - NODE_IPI_RPU_1, - 0U, - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_GPU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_RTC, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_VCU, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - NODE_PL, - PM_SLAVE_FLAG_IS_SHAREABLE, - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ - - - /**********************************************************************/ - /* PREALLOC SECTION */ - - PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ - 3U, /* No. of Masters*/ - -/* Prealloc for psu_cortexa53_0 */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, - 12, - NODE_DDR, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_L2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_2, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_OCM_BANK_3, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_I2C_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_SD_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_QSPI, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_PL, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_APU, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_0 */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - 3, - NODE_TCM_0_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_0_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_0, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - /* Prealloc for psu_cortexr5_1 */ - PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - 3, - NODE_TCM_1_A, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_TCM_1_B, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - NODE_IPI_RPU_1, - PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ - PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ - - - - /**********************************************************************/ - /* POWER SECTION */ - - PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ - 4U, /* Number of power nodes */ - - NODE_APU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_RPU, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_FPD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - NODE_PLD, /* Power node ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ - - - /**********************************************************************/ - /* RESET SECTION */ - - PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ - 120U, /* Number of resets */ - - XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_SYSMON, 0, - XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, - XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, - - /**********************************************************************/ - /* SET CONFIG SECTION */ - PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ - 0U, /* Permissions to load base config object */ - 0U, /* Permissions to load overlay config object */ - - /**********************************************************************/ - /* SHUTDOWN SECTION */ - - PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ - PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ - - /**********************************************************************/ - /* GPO SECTION */ - PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ - PM_CONFIG_GPO1_MIO_PIN_34_MAP | - PM_CONFIG_GPO1_MIO_PIN_35_MAP | - PM_CONFIG_GPO1_MIO_PIN_36_MAP | - PM_CONFIG_GPO1_MIO_PIN_37_MAP | - 0, /* State of GPO pins */ -}; -#if defined (__ICCARM__) -#pragma language=restore -#endif - diff --git a/configs/aarch64_efi_defconfig b/configs/aarch64_efi_defconfig deleted file mode 100644 index 443113e47b93a61ff76303816d6e41e2eaeb4145..0000000000000000000000000000000000000000 --- a/configs/aarch64_efi_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_aarch64=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -## Required tools to create bootable media -BR2_PACKAGE_HOST_GENIMAGE=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_ARM64_EFI=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="200M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aarch64-efi/post-image.sh support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/aarch64-efi/genimage-efi.cfg" - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.4" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Host tools for genimage -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_acqua_a5_256mb_defconfig b/configs/acmesystems_acqua_a5_256mb_defconfig deleted file mode 100644 index ef5773419497837f86c83277958965d313070a83..0000000000000000000000000000000000000000 --- a/configs/acmesystems_acqua_a5_256mb_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.12" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-256m" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_acqua_a5_512mb_defconfig b/configs/acmesystems_acqua_a5_512mb_defconfig deleted file mode 100644 index a69e2a2251fc6b67d25e650bf1ec74bb6eb63ec5..0000000000000000000000000000000000000000 --- a/configs/acmesystems_acqua_a5_512mb_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.12" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-512m" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_aria_g25_128mb_defconfig b/configs/acmesystems_aria_g25_128mb_defconfig deleted file mode 100644 index c428e318d21940ee8e89dd77355bdc9e04865d47..0000000000000000000000000000000000000000 --- a/configs/acmesystems_aria_g25_128mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-128m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_aria_g25_256mb_defconfig b/configs/acmesystems_aria_g25_256mb_defconfig deleted file mode 100644 index 83f7625dc70788a93595a09f512c7603fd354770..0000000000000000000000000000000000000000 --- a/configs/acmesystems_aria_g25_256mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-256m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_arietta_g25_128mb_defconfig b/configs/acmesystems_arietta_g25_128mb_defconfig deleted file mode 100644 index b882b2bdb265a8368cf95a656ffad049ebda7fc9..0000000000000000000000000000000000000000 --- a/configs/acmesystems_arietta_g25_128mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/acmesystems_arietta_g25_256mb_defconfig b/configs/acmesystems_arietta_g25_256mb_defconfig deleted file mode 100644 index 10501d462cbe68c1bc7c308bb06842c604756b34..0000000000000000000000000000000000000000 --- a/configs/acmesystems_arietta_g25_256mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/am574x_idk_defconfig b/configs/am574x_idk_defconfig deleted file mode 100644 index bbae73dff4be02c3a6be598da3459f89bbdc24f3..0000000000000000000000000000000000000000 --- a/configs/am574x_idk_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a15=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am574x-idk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am574x-idk/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am574x-idk/genimage.cfg" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/amarula_vyasa_rk3288_defconfig b/configs/amarula_vyasa_rk3288_defconfig deleted file mode 100644 index 79765372254b7016da8a1cfd2bf0b7ac73044da8..0000000000000000000000000000000000000000 --- a/configs/amarula_vyasa_rk3288_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="vyasa-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.2" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-vyasa" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/amarula/vyasa/linux_gmac.fragment" - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="vyasa-rk3288" -BR2_TARGET_GENERIC_ISSUE="Welcome to VYASA RK3288!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="512M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/amarula/vyasa/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/amarula/vyasa/post-build.sh" diff --git a/configs/andes_ae350_45_defconfig b/configs/andes_ae350_45_defconfig deleted file mode 100644 index fd8b7db0e74bc9cc17c8c237c1ac7951d8572ba6..0000000000000000000000000000000000000000 --- a/configs/andes_ae350_45_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -BR2_riscv=y -BR2_RISCV_ISA_RVC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y -BR2_GLOBAL_PATCH_DIR="board/andes/ae350/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_OVERLAY="board/andes/ae350/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/andes/ae350/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/andes/ae350/genimage_sdcard.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,andestech,linux,v6.0.y_ae350-ax45mp)/linux-v6.0.y_ae350-ax45mp.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="ae350_ax45mp" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="andes/ae350_ax45mp" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y -BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,22f38ee6c658a660083aa45c4ec6c72f66a17260)/opensbi-22f38ee6c658a660083aa45c4ec6c72f66a17260.tar.gz" -BR2_TARGET_OPENSBI_PLAT="andes/ae350" -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,u-boot,u-boot,a5dfa3b8a0f7ad555495bad1386613d2de4ba619)/u-boot-a5dfa3b8a0f7ad555495bad1386613d2de4ba619.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ae350_rv64_spl_xip" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/andes/ae350/uboot.config.fragment" -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_OPENSBI=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/arcturus_ucls1012a_defconfig b/configs/arcturus_ucls1012a_defconfig deleted file mode 100644 index 124cc3ff94d75cec51609f1ceb7dae64abc227ca..0000000000000000000000000000000000000000 --- a/configs/arcturus_ucls1012a_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_aarch64=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# System settings -BR2_TARGET_GENERIC_HOSTNAME="ucls1012a" -BR2_TARGET_GENERIC_ISSUE="Welcome to uCLS1012A-SOM" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/arcturus/aarch64-ucls1012a/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/arcturus/aarch64-ucls1012a/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-kernel,v.22.06)/linux-v.22.06.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="ucls1012a" -BR2_LINUX_KERNEL_IMAGEGZ=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="arcturus/arc-ucls1012a" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y - -# U-boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-uboot,v.22.06)/uboot-v.22.06.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="UCLS1012A_QSPI128" - -# Tools -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/arcturus_ucp1020_defconfig b/configs/arcturus_ucp1020_defconfig deleted file mode 100644 index 8b90f44750d01aa204e27da7de76a9741e4dd984..0000000000000000000000000000000000000000 --- a/configs/arcturus_ucp1020_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_8548=y - -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y - -# System settings -BR2_TARGET_GENERIC_HOSTNAME="UCP1020" -BR2_TARGET_GENERIC_ISSUE="Welcome to Arcturus uCP1020 System on Module" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCP1020-kernel,v20190618)/linux-v20190618.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="ucp1020" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="ucp1020" - -# Filesystem -BR2_TARGET_ROOTFS_JFFS2=y - -# U-boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCP1020-uboot,v20190618)/uboot-v20190618.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="UCP1020" diff --git a/configs/arm_foundationv8_defconfig b/configs/arm_foundationv8_defconfig deleted file mode 100644 index 102fe8fd09b9e8f1a63f5f06b3bf69b9b25a78c8..0000000000000000000000000000000000000000 --- a/configs/arm_foundationv8_defconfig +++ /dev/null @@ -1,19 +0,0 @@ -BR2_aarch64=y -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.13" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8-gicv3-psci" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_BOOT_WRAPPER_AARCH64=y -BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="arm/foundation-v8-gicv3-psci" -BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw" -BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI=y -BR2_TARGET_BOOT_WRAPPER_AARCH64_GICV3=y diff --git a/configs/armadeus_apf27_defconfig b/configs/armadeus_apf27_defconfig deleted file mode 100644 index 457a14b02dd128c344c8eb5d9219aee563bf563b..0000000000000000000000000000000000000000 --- a/configs/armadeus_apf27_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="apf27" -BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 -BR2_TARGET_ROOTFS_UBI=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12.4" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf27/linux-4.12.config" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev" - -# U-boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.09" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="apf27" diff --git a/configs/armadeus_apf28_defconfig b/configs/armadeus_apf28_defconfig deleted file mode 100644 index 01e14e6618879ff87c59299b59de93cffbaa3c33..0000000000000000000000000000000000000000 --- a/configs/armadeus_apf28_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="apf28" -BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.289" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-apf28dev" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=4227 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 diff --git a/configs/armadeus_apf51_defconfig b/configs/armadeus_apf51_defconfig deleted file mode 100644 index aa7c2f84aef9ec5b7d2ed1204f31b8b0fd0af602..0000000000000000000000000000000000000000 --- a/configs/armadeus_apf51_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="apf51" -BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.291" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf51/linux-4.4.config" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x90008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-apf51dev" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=135301 -BR2_TARGET_ROOTFS_UBI=y diff --git a/configs/aspeed_ast2500evb_defconfig b/configs/aspeed_ast2500evb_defconfig deleted file mode 100644 index 8db5a39a135e2baae276872f3420e63ccc276fc4..0000000000000000000000000000000000000000 --- a/configs/aspeed_ast2500evb_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# Architecture -BR2_arm=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="aspeed-evb" -BR2_TARGET_GENERIC_ISSUE="Aspeed EVB" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_XZ=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aspeed/common/post-image.sh" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.7" -BR2_LINUX_KERNEL_DEFCONFIG="aspeed_g5" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/aspeed/ast2500-evb/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="aspeed-ast2500-evb" -BR2_LINUX_KERNEL_XZ=y - -# Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="evb-ast2500" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=ast2500-evb" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/aspeed/ast2500-evb/uboot.fragment" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_GENIMAGE=y - -# Target tools -BR2_PACKAGE_MTD=y diff --git a/configs/aspeed_ast2600evb_defconfig b/configs/aspeed_ast2600evb_defconfig deleted file mode 100644 index 04239566c8383b0be7cead424cbd2b7c08351541..0000000000000000000000000000000000000000 --- a/configs/aspeed_ast2600evb_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4D16=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="aspeed-evb" -BR2_TARGET_GENERIC_ISSUE="Aspeed EVB" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_XZ=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aspeed/common/post-image.sh" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.7" -BR2_LINUX_KERNEL_DEFCONFIG="aspeed_g5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="aspeed-ast2600-evb" - -# Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/openbmc/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="f2b82fa4ba17ed8091fe76c284220006645a293b" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="evb-ast2600" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=ast2600a1-evb" - -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_GENIMAGE=y - -# Target tools -BR2_PACKAGE_MTD=y diff --git a/configs/asus_tinker-s_rk3288_defconfig b/configs/asus_tinker-s_rk3288_defconfig deleted file mode 100644 index de03336cbb5efaa320d555e624f8d5f6fff0906e..0000000000000000000000000000000000000000 --- a/configs/asus_tinker-s_rk3288_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="tinker-s-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.72" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-tinker-s" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="tinker-rk3288-s" -BR2_TARGET_GENERIC_ISSUE="Welcome to TINKER S RK3288!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="512M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/asus/tinker/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/asus/tinker-s/post-build.sh" diff --git a/configs/asus_tinker_rk3288_defconfig b/configs/asus_tinker_rk3288_defconfig deleted file mode 100644 index b3e4502a4576d8912b12808bbfe43c76fe91d554..0000000000000000000000000000000000000000 --- a/configs/asus_tinker_rk3288_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="tinker-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-tinker" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="tinker-rk3288" -BR2_TARGET_GENERIC_ISSUE="Welcome to TINKER RK3288!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="512M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/asus/tinker/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/asus/tinker/post-build.sh" diff --git a/configs/at91sam9260eknf_defconfig b/configs/at91sam9260eknf_defconfig deleted file mode 100644 index b795ad6effcb2bafc3b525f0edde1e429028d0b8..0000000000000000000000000000000000000000 --- a/configs/at91sam9260eknf_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9g20dfc_defconfig b/configs/at91sam9g20dfc_defconfig deleted file mode 100644 index 46626d857a0892b1afd443c21f520681bc5a238c..0000000000000000000000000000000000000000 --- a/configs/at91sam9g20dfc_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek" - -# Filesystem -BR2_TARGET_ROOTFS_TAR=y -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=512 -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f800 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9g20eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9g20ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9g45m10ek_defconfig b/configs/at91sam9g45m10ek_defconfig deleted file mode 100644 index bf0771bc1496747ff49e4220ed6faf6431f136dd..0000000000000000000000000000000000000000 --- a/configs/at91sam9g45m10ek_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9m10g45ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9m10g45eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9m10g45ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9rlek_defconfig b/configs/at91sam9rlek_defconfig deleted file mode 100644 index 5c0fdc59935cf9474b7f07ff2f86d9bb853e8d12..0000000000000000000000000000000000000000 --- a/configs/at91sam9rlek_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9rlek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9rleknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9rlek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9x5ek_defconfig b/configs/at91sam9x5ek_defconfig deleted file mode 100644 index 70e2d94826f1c80defcbb0c7b586000eed364f43..0000000000000000000000000000000000000000 --- a/configs/at91sam9x5ek_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -BR2_arm=y -BR2_arm926t=y -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig deleted file mode 100644 index 824aa8b1f7f39d764b41330a1ed9a25207573255..0000000000000000000000000000000000000000 --- a/configs/at91sam9x5ek_dev_defconfig +++ /dev/null @@ -1,95 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/at91sam9x5ek_mmc_defconfig b/configs/at91sam9x5ek_mmc_defconfig deleted file mode 100644 index 79a300a81b365ac49114ad4f70c7c1862f270f82..0000000000000000000000000000000000000000 --- a/configs/at91sam9x5ek_mmc_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig deleted file mode 100644 index 3b2016b97044657953aa7f4fafb2a1c41626cb5e..0000000000000000000000000000000000000000 --- a/configs/at91sam9x5ek_mmc_dev_defconfig +++ /dev/null @@ -1,104 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig deleted file mode 100644 index 85ff29771a8a167393b659c33507ffa1b71280cd..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ /dev/null @@ -1,83 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_som1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_som1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_RNG_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_som1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_som1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_defconfig b/configs/atmel_sama5d2_xplained_mmc_defconfig deleted file mode 100644 index 5b638126062f2a771cda703e22492df1ba88cf3a..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d2_xplained_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/configs/atmel_sama5d2_xplained_mmc_dev_defconfig deleted file mode 100644 index 4ee7fca35f91b86bd5c1a597e86c589e3a22cd10..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,101 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d3_xplained_defconfig b/configs/atmel_sama5d3_xplained_defconfig deleted file mode 100644 index 7ef45db4698608f3bd780c46cb8fc8ac8c29e98c..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d3_xplained_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/atmel_sama5d3_xplained_dev_defconfig b/configs/atmel_sama5d3_xplained_dev_defconfig deleted file mode 100644 index ef09df3fce85122e5fe14795a5a9d89e68d7bb36..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d3_xplained_dev_defconfig +++ /dev/null @@ -1,95 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/atmel_sama5d3_xplained_mmc_defconfig b/configs/atmel_sama5d3_xplained_mmc_defconfig deleted file mode 100644 index 1b7d26988719a49b1987578ce773d82bebe00d5c..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d3_xplained_mmc_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/configs/atmel_sama5d3_xplained_mmc_dev_defconfig deleted file mode 100644 index f5aa3e382fe0bbfb1dadc29004aa945dd184330b..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,100 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d3xek_defconfig b/configs/atmel_sama5d3xek_defconfig deleted file mode 100644 index f71e84bf0fcf2132b113ca0a1443d690099d66bf..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d3xek_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_5.8)/linux-linux4sam_5.8.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sama5d31ek sama5d33ek sama5d34ek sama5d35ek sama5d36ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.10.3)/at91bootstrap3-v3.10.3.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3xeknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_5.8)/u-boot-at91-linux4sam_5.8.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3xek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_SPL=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/atmel_sama5d4_xplained_defconfig b/configs/atmel_sama5d4_xplained_defconfig deleted file mode 100644 index c0b606bc9a15219d3804976b2081354c2000e47b..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d4_xplained_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/atmel_sama5d4_xplained_dev_defconfig b/configs/atmel_sama5d4_xplained_dev_defconfig deleted file mode 100644 index ca51ef5b5f5279cfd0e5d35498578f4343f0cbc2..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d4_xplained_dev_defconfig +++ /dev/null @@ -1,99 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/configs/atmel_sama5d4_xplained_mmc_defconfig b/configs/atmel_sama5d4_xplained_mmc_defconfig deleted file mode 100644 index ff010732059d35b26a2e7a75e5e9aa712d8a7af4..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d4_xplained_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/configs/atmel_sama5d4_xplained_mmc_dev_defconfig deleted file mode 100644 index e8d126c7b0ef1ae92b8761ee0f770e62f1a07010..0000000000000000000000000000000000000000 --- a/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,101 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig deleted file mode 100644 index 536899583cfbf38bcf1a485210abca5ca6033d71..0000000000000000000000000000000000000000 --- a/configs/avenger96_defconfig +++ /dev/null @@ -1,53 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y - -# System configuration -BR2_GLOBAL_PATCH_DIR="board/arrow/avenger96/patches" -BR2_ROOTFS_OVERLAY="board/arrow/avenger96/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dhcor-avenger96" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.6" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-avenger96.dtb E=0 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_DTB=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/avnet_rzboard_v2l_defconfig b/configs/avnet_rzboard_v2l_defconfig deleted file mode 100644 index 285aef39bcf179793392ed94ba9612389d5e57f4..0000000000000000000000000000000000000000 --- a/configs/avnet_rzboard_v2l_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a55=y -BR2_KERNEL_HEADERS_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="rzboard_v2l" -BR2_TARGET_GENERIC_ISSUE="Welcome to the AVNET RZBoard V2L" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/avnet/rzboard_v2l/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Avnet/renesas-linux-cip.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="c197622df526c82ae9e3674e06b4092dac33eafa" -BR2_LINUX_KERNEL_DEFCONFIG="rzboard" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="renesas/rzboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/bananapi_m2_berry_defconfig b/configs/bananapi_m2_berry_defconfig deleted file mode 100644 index 200257ac0d5c162445e2331b2ead00b195925fd7..0000000000000000000000000000000000000000 --- a/configs/bananapi_m2_berry_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Berry" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-berry/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-berry/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-v40-bananapi-m2-berry" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/bananapi_m2_ultra_defconfig b/configs/bananapi_m2_ultra_defconfig deleted file mode 100644 index 6b2ba13e41e187e02cbc29f233bb8fa3a1829a80..0000000000000000000000000000000000000000 --- a/configs/bananapi_m2_ultra_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/bananapi/bananapi-m2-ultra/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.57" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-r40-bananapi-m2-ultra" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/bananapi_m2_zero_defconfig b/configs/bananapi_m2_zero_defconfig deleted file mode 100644 index e5c89fce40f79e0570b4eca8abf6ba3ec8f547f4..0000000000000000000000000000000000000000 --- a/configs/bananapi_m2_zero_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Bananapi M2 Zero" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-zero/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.11" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-bananapi-m2-zero" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="bananapi_m2_zero" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-zero/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/bananapro_defconfig b/configs/bananapro_defconfig deleted file mode 100644 index dbebdf3e3712286b4cfdc0c6e8399b443231de4f..0000000000000000000000000000000000000000 --- a/configs/bananapro_defconfig +++ /dev/null @@ -1,73 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_GLOBAL_PATCH_DIR="board/lemaker/bananapro/patches" -BR2_ARM_EABIHF=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="bananapro" -BR2_TARGET_GENERIC_ISSUE="Welcome to Banana Pro!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_OVERLAY="board/lemaker/bananapro/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/lemaker/bananapro/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lemaker/bananapro/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.7" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lemaker/bananapro/linux-wifi.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-bananapro" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Bananapro" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Wifi firmware for brcm43362 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# Audio -BR2_PACKAGE_ALSA_UTILS=y -# BR2_PACKAGE_ALSA_UTILS_ALSAMIXER is not set -BR2_PACKAGE_ALSA_UTILS_AMIXER=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# Wireless packages -BR2_PACKAGE_IW=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# Host tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/beagleboardx15_defconfig b/configs/beagleboardx15_defconfig deleted file mode 100644 index 039a07b11e35dfa35f160aa825bdc417b9c29811..0000000000000000000000000000000000000000 --- a/configs/beagleboardx15_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a15=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboardx15/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.11" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig deleted file mode 100644 index e2d67019b10bc964cab2bde9d58e75fc0c877f97..0000000000000000000000000000000000000000 --- a/configs/beaglebone_defconfig +++ /dev/null @@ -1,53 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,6.1.46-ti-r13)/linux-6.1.46-ti-r13.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bb.org" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/beaglebone_qt5_defconfig b/configs/beaglebone_qt5_defconfig deleted file mode 100644 index 0038acfcfdb6d1d687b353a8886de7b4e7f4606b..0000000000000000000000000000000000000000 --- a/configs/beaglebone_qt5_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beaglebone/linux-sgx.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FBV=y -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_EXAMPLES=y -BR2_PACKAGE_QT5BASE_EGLFS=y -BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs" -BR2_PACKAGE_QT5QUICKCONTROLS=y -BR2_PACKAGE_TI_SGX_DEMOS=y -BR2_PACKAGE_TI_SGX_KM=y -BR2_PACKAGE_TI_SGX_UM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="250M" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/beagleboneai_defconfig b/configs/beagleboneai_defconfig deleted file mode 100644 index 586a75317e5db4e5c31dd4537bcf56b5787883a5..0000000000000000000000000000000000000000 --- a/configs/beagleboneai_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a15=y -BR2_GLOBAL_PATCH_DIR="board/beagleboneai/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboneai/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboneai/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.79" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am5729-beagleboneai" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/beaglev_defconfig b/configs/beaglev_defconfig deleted file mode 100644 index 9984b8b74e4dc8d05e8e67e14b9483fa22f4df6c..0000000000000000000000000000000000000000 --- a/configs/beaglev_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_riscv=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# tag buildroot-20210609 of the 5.13 branch (esmil_starlight) -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,83dba1f25dfc118cacec991c31a7a4cfa7405c89)/linux-83dba1f25dfc118cacec991c31a7a4cfa7405c89.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="starlight" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_BEAGLEV_DDRINIT=y -BR2_TARGET_BEAGLEV_SECONDBOOT=y -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y -# upstream opensbi master branch -BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,79f9b4220ffa7f74356054be25d450d7958bf16c)/opensbi-79f9b4220ffa7f74356054be25d450d7958bf16c.tar.gz" -BR2_TARGET_OPENSBI_PLAT="generic" -# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y -BR2_TARGET_OPENSBI_FW_FDT_PATH=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# HEAD of the starfive-tech:Fedora_VIC_7100_2021.04 branch -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,64ead5b83959da8eb87b6963843addf5942e6ed4)/uboot-64ead5b83959da8eb87b6963843addf5942e6ed4.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_JH71XX_TOOLS=y -BR2_GLOBAL_PATCH_DIR="board/beaglev/patches" diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig deleted file mode 100644 index d4682d6b7ceb81a44f0bb4263848cbd1f4a428d0..0000000000000000000000000000000000000000 --- a/configs/beelink_gs1_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_ARM_FPU_VFPV4=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Beelink GS1" -# MDEV is required to autoload the ethernet driver module -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" - -# Kernel Linux headers same as kernel, 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/broadcom_northstar_defconfig b/configs/broadcom_northstar_defconfig deleted file mode 100644 index bbd368ac79880f7213a6b36e27d13d6dea09cb03..0000000000000000000000000000000000000000 --- a/configs/broadcom_northstar_defconfig +++ /dev/null @@ -1,17 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/broadcom/northstar/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.9" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/broadcom/northstar/linux.config" -BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm4708-smartrg-sr400ac broadcom/bcm47094-luxul-xwr-3150-v1" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_PACKAGE_HOST_FIRMWARE_UTILS=y -BR2_PACKAGE_HOST_LZMA_ALONE=y diff --git a/configs/canaan_kd233_defconfig b/configs/canaan_kd233_defconfig deleted file mode 100644 index 672fee57a1853921d487a6133f8cc0f4fbbced3b..0000000000000000000000000000000000000000 --- a/configs/canaan_kd233_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# Binary format -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/kd233/linux-cpio.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" - -# Packages -BR2_PACKAGE_HOST_PYTHON_KFLASH=y -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/chromebook_elm_defconfig b/configs/chromebook_elm_defconfig deleted file mode 100644 index 827d92963148a220686b880d73a3ba164a498cbb..0000000000000000000000000000000000000000 --- a/configs/chromebook_elm_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72_a53=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel (5.10 series) -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10" - -# Build Kernel with a Custom config. -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/chromebook/elm/linux.config" - -# DTS support -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="mediatek/mt8173-elm" - -# Package Firmware for WiFi chip. -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y - -# Scripts to generate final images. -BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/elm/sign.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/mksd.sh" - -# Supporting host tools to build / sign FIT Image. -BR2_PACKAGE_HOST_PARTED=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_VBOOT_UTILS=y diff --git a/configs/chromebook_snow_defconfig b/configs/chromebook_snow_defconfig deleted file mode 100644 index bcb94b716b24a4e3c18e1da91c23b1793a733d5f..0000000000000000000000000000000000000000 --- a/configs/chromebook_snow_defconfig +++ /dev/null @@ -1,23 +0,0 @@ -BR2_arm=y -BR2_cortex_a15=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y -BR2_TARGET_GENERIC_GETTY_PORT="tty1" -BR2_TARGET_GENERIC_GETTY_TERM="linux" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/snow/sign.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/mksd.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15" -BR2_LINUX_KERNEL_PATCH="board/chromebook/snow/linux-4.15-dts-tpm.patch" -BR2_LINUX_KERNEL_DEFCONFIG="exynos" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/chromebook/snow/linux-4.15.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="exynos5250-snow" -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_PARTED=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_VBOOT_UTILS=y diff --git a/configs/ci20_defconfig b/configs/ci20_defconfig deleted file mode 100644 index 7e119376e1531fc31f71517574821b2ec6c106d7..0000000000000000000000000000000000000000 --- a/configs/ci20_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# architecture -BR2_mipsel=y -BR2_mips_xburst=y -# BR2_MIPS_SOFT_FLOAT is not set -BR2_KERNEL_HEADERS_AS_KERNEL=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttyS4" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ci20/genimage.cfg" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.254" -BR2_LINUX_KERNEL_DEFCONFIG="ci20" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# u-boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ci20_mmc" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/ci20/uboot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="32768" - -# host -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/cubieboard2_defconfig b/configs/cubieboard2_defconfig deleted file mode 100644 index 18337fac725b52e88b2bd8dd92b0ab34b981ea60..0000000000000000000000000000000000000000 --- a/configs/cubieboard2_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-cubieboard2" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Cubieboard2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/cubietech/cubieboard2/boot.cmd" - -# System -BR2_TARGET_GENERIC_HOSTNAME="Cubieboard2" -BR2_TARGET_GENERIC_ISSUE="Welcome to Cubieboard2!" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard2/post-image.sh" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig deleted file mode 100644 index d8a51c7ab116f1a246bc727f9adce29e89238d8b..0000000000000000000000000000000000000000 --- a/configs/engicam_imx6qdl_icore_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10 imx6q-icore-ofcap12" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg" diff --git a/configs/engicam_imx6qdl_icore_qt5_defconfig b/configs/engicam_imx6qdl_icore_qt5_defconfig deleted file mode 100644 index 6d3a344bdd5449feb1d3ecade5c66cbec0502a16..0000000000000000000000000000000000000000 --- a/configs/engicam_imx6qdl_icore_qt5_defconfig +++ /dev/null @@ -1,80 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 4.13 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10 imx6q-icore-ofcap12" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg" -BR2_ROOTFS_OVERLAY="board/engicam/icorem6/rootfs_overlay" - -# qt5 dependencies -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# qt5 -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_OPENGL_LIB=y -BR2_PACKAGE_QT5BASE_LINUXFB=y -BR2_PACKAGE_QT5BASE_FONTCONFIG=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y - -# mesa3d -BR2_PACKAGE_MESA3D=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y -BR2_PACKAGE_MESA3D_OPENGL_ES=y -BR2_PACKAGE_MESA3D_OPENGL_EGL=y - -# qt5 demo packages -BR2_PACKAGE_GLMARK2=y -BR2_PACKAGE_MESA3D_DEMOS=y -BR2_PACKAGE_KMSCUBE=y -BR2_PACKAGE_QT5CINEX=y -BR2_PACKAGE_QT5CINEX_HD=y - -# fonts -BR2_PACKAGE_BITSTREAM_VERA=y -BR2_PACKAGE_CANTARELL=y -BR2_PACKAGE_DEJAVU=y -BR2_PACKAGE_FONT_AWESOME=y -BR2_PACKAGE_GHOSTSCRIPT_FONTS=y -BR2_PACKAGE_INCONSOLATA=y -BR2_PACKAGE_LIBERATION=y diff --git a/configs/engicam_imx6qdl_icore_rqs_defconfig b/configs/engicam_imx6qdl_icore_rqs_defconfig deleted file mode 100644 index 45ed67be07ec2919faeaad013109f53fba84bde4..0000000000000000000000000000000000000000 --- a/configs/engicam_imx6qdl_icore_rqs_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_rqs" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore-rqs imx6q-icore-rqs" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo RQS Starter Kit" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6_rqs/genimage.cfg" diff --git a/configs/engicam_imx6ul_geam_defconfig b/configs/engicam_imx6ul_geam_defconfig deleted file mode 100644 index aac8432ef2c406c148ba4bcd3e5fcdb973ed45b6..0000000000000000000000000000000000000000 --- a/configs/engicam_imx6ul_geam_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 4.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6ul_geam_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-geam-kit" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam GEAM6UL Starter Kit" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/geam6ul/genimage.cfg" diff --git a/configs/engicam_imx6ul_isiot_defconfig b/configs/engicam_imx6ul_isiot_defconfig deleted file mode 100644 index 57a66dea346dba2a37bfa473bf5d10dcb305b4ab..0000000000000000000000000000000000000000 --- a/configs/engicam_imx6ul_isiot_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6ul_isiot_emmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-isiot-emmc" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam Is.IoT eMMC Starter Kit" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/isiot/genimage.cfg" diff --git a/configs/freescale_imx28evk_defconfig b/configs/freescale_imx28evk_defconfig deleted file mode 100644 index bd5b007ed11d83d33336ae779dee4903ad7767b3..0000000000000000000000000000000000000000 --- a/configs/freescale_imx28evk_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.42" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-evk" - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx28evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04" -BR2_TARGET_UBOOT_FORMAT_SD=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# To generate SD Image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh" diff --git a/configs/freescale_imx6dlsabreauto_defconfig b/configs/freescale_imx6dlsabreauto_defconfig deleted file mode 100644 index 4081fa74a2d9735dc589b970689f77aa6972d319..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6dlsabreauto_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabreauto" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6dlsabreauto" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig deleted file mode 100644 index 976c180d6c5c9d9034b7d77d0439e16a4b916378..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6dlsabresd_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabresd" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6dlsabresd" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/configs/freescale_imx6qsabreauto_defconfig b/configs/freescale_imx6qsabreauto_defconfig deleted file mode 100644 index 72696ab1ad671aedd045122028d712916f1ea59e..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6qsabreauto_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6qsabreauto" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig deleted file mode 100644 index dddfaf5228d04eac05fb9e5e748306dcac523302..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6qsabresd_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/configs/freescale_imx6sxsabresd_defconfig b/configs/freescale_imx6sxsabresd_defconfig deleted file mode 100644 index 0c585c97f0e29baf1c505a95bd0e6d292556453c..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6sxsabresd_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabre/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-sdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sxsabresd" -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/configs/freescale_imx6ullevk_defconfig b/configs/freescale_imx6ullevk_defconfig deleted file mode 100644 index fd4254edbfcd8a0d898cd4a64cdf2d1b541174ad..0000000000000000000000000000000000000000 --- a/configs/freescale_imx6ullevk_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.36-2.1.0)/linux-imx-lf-6.1.36-2.1.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6ullevk/linux_sdma.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.36-2.1.0)/uboot-imx-lf-6.1.36-2.1.0.tar.gz" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/freescale_imx7dsabresd_defconfig b/configs/freescale_imx7dsabresd_defconfig deleted file mode 100644 index d337865831877ed4f501ab7d8ac8efb9fcf42641..0000000000000000000000000000000000000000 --- a/configs/freescale_imx7dsabresd_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd" -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" diff --git a/configs/freescale_imx8dxlevk_defconfig b/configs/freescale_imx8dxlevk_defconfig deleted file mode 100644 index 0f4caa0ea9a4c5a50a515706ff63930e94ee1d67..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8dxlevk_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a35=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8dxl-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.22-2.0.0)/linux-imx-lf-6.1.22-2.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8dxl-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_IMX_SC_FIRMWARE=y -BR2_PACKAGE_IMX_SECO=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.1.22-2.0.0)/imx-atf-lf-6.1.22-2.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8dxl" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.22-2.0.0)/uboot-imx-lf-6.1.22-2.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8dxl_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8mmevk_defconfig b/configs/freescale_imx8mmevk_defconfig deleted file mode 100644 index ca5c308da62fad501b8fae1eb79d7733f35ba393..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8mmevk_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-evk freescale/imx8mm-evk-revb-qca-wifi" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.10.y-1.0.0)/imx-atf-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mm_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8mnevk_defconfig b/configs/freescale_imx8mnevk_defconfig deleted file mode 100644 index ac73bea769921cde7a93d10a5bceaae0f78104e2..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8mnevk_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-ddr4-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-ddr4-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_FIRMWARE_IMX_DDR4=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.10.y-1.0.0)/imx-atf-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_ddr4_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8mpevk_defconfig b/configs/freescale_imx8mpevk_defconfig deleted file mode 100644 index 2aed04848265e7d6c119ad238aa3b3327f94a511..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8mpevk_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.22-2.0.0)/linux-imx-lf-6.1.22-2.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mp-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.1.22-2.0.0)/imx-atf-lf-6.1.22-2.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.22-2.0.0)/uboot-imx-lf-6.1.22-2.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mp_evk" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/freescale/imx8mpevk/uboot-fragment.config" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8mqevk_defconfig b/configs/freescale_imx8mqevk_defconfig deleted file mode 100644 index 79375d7f8869e48c54c96d26ebfe0eeff2a35a8f..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8mqevk_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.10.y-1.0.0)/imx-atf-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mq_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8qmmek_defconfig b/configs/freescale_imx8qmmek_defconfig deleted file mode 100644 index 0fc3fe7b077dc9fe96696540850002609f4bd729..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8qmmek_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qm-mek.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8qm-mek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_IMX_SC_FIRMWARE=y -BR2_PACKAGE_IMX_SECO=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.10.y-1.0.0)/imx-atf-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8qm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8qm_mek" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig deleted file mode 100644 index 47a2104d5b0d0b8d57353eafc6618f45af898505..0000000000000000000000000000000000000000 --- a/configs/freescale_imx8qxpmek_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a35=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qxp-mek.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8qxp-mek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_IMX_SC_FIRMWARE=y -BR2_PACKAGE_IMX_SECO=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.10.y-1.0.0)/imx-atf-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8qx" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8qxp_mek" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/freescale_imx93evk_defconfig b/configs/freescale_imx93evk_defconfig deleted file mode 100644 index fa16967884646e4cc0168ea618eb16127356db26..0000000000000000000000000000000000000000 --- a/configs/freescale_imx93evk_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a55=y -BR2_ARM_FPU_VFPV4D16=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_GLOBAL_PATCH_DIR="board/freescale/imx93evk/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx9-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.55-2.2.0)/linux-imx-lf-6.1.55-2.2.0.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx93-11x11-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y -BR2_PACKAGE_FIRMWARE_ELE_IMX=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-6.1.55-2.2.0)/imx-atf-lf-6.1.55-2.2.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx93" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.55-2.2.0)/uboot-imx-lf-6.1.55-2.2.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx93_11x11_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/freescale_p1025twr_defconfig b/configs/freescale_p1025twr_defconfig deleted file mode 100644 index f476d9270664bb04c990097f7223e2317f9c32a3..0000000000000000000000000000000000000000 --- a/configs/freescale_p1025twr_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_8548=y - -# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.7" -BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx_smp" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="fsl/p1025twr" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y -# BR2_TARGET_ROOTFS_TAR is not set diff --git a/configs/freescale_t1040d4rdb_defconfig b/configs/freescale_t1040d4rdb_defconfig deleted file mode 100644 index df44046ef5e37b09b494e97af452c08a116ca8bd..0000000000000000000000000000000000000000 --- a/configs/freescale_t1040d4rdb_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_e5500=y - -# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.7" -BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="fsl/t1040d4rdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y -# BR2_TARGET_ROOTFS_TAR is not set diff --git a/configs/freescale_t2080_qds_rdb_defconfig b/configs/freescale_t2080_qds_rdb_defconfig deleted file mode 100644 index 3d03c32f7e530f3e89d4db04d057aa6f7543ef62..0000000000000000000000000000000000000000 --- a/configs/freescale_t2080_qds_rdb_defconfig +++ /dev/null @@ -1,25 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_e6500=y - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17.14" -BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="fsl/t2080qds fsl/t2080rdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y -# BR2_TARGET_ROOTFS_TAR is not set - diff --git a/configs/friendlyarm_nanopi_r2s_defconfig b/configs/friendlyarm_nanopi_r2s_defconfig deleted file mode 100644 index 284b28ec3175741165f910f6b8b4896c1b443aa2..0000000000000000000000000000000000000000 --- a/configs/friendlyarm_nanopi_r2s_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y -BR2_TARGET_GENERIC_HOSTNAME="rk3328-nanopi-r2s" -BR2_TARGET_GENERIC_ISSUE="Welcome to Nanopi R2S RK3328" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-r2s/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-r2s/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-nanopi-r2s" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3328" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi-r2s-rk3328" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig deleted file mode 100644 index 29110677bb2ca65d8e54985dd38b04f14b1dbeac..0000000000000000000000000000000000000000 --- a/configs/galileo_defconfig +++ /dev/null @@ -1,23 +0,0 @@ -BR2_x86_x1000=y -BR2_GLOBAL_PATCH_DIR="board/intel/galileo/patches" -# Linux headers same as kernel, a 3.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_OVERLAY="board/intel/galileo/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/intel/galileo/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/intel/galileo/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,mdr78,Linux-x1000,8b3c9d8ce1656a26b1097d9091d53bfb39fef640)/linux-8b3c9d8ce1656a26b1097d9091d53bfb39fef640.tar.gz" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/intel/galileo/linux-3.14.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_I386_EFI=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/globalscale_espressobin_defconfig b/configs/globalscale_espressobin_defconfig deleted file mode 100644 index 8d44b25ae7845bba5268e54c4fa106d470c8ab00..0000000000000000000000000000000000000000 --- a/configs/globalscale_espressobin_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/globalscale/espressobin/linux-extras.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc marvell/armada-3720-espressobin-ultra" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Marvell ESPRESSObin" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ROOTFS_TAR_GZIP=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/globalscale/espressobin/genimage.cfg" diff --git a/configs/grinn_chiliboard_defconfig b/configs/grinn_chiliboard_defconfig deleted file mode 100644 index a5a8f7a65f2e52eec88d5fccc21ac94fc80887d6..0000000000000000000000000000000000000000 --- a/configs/grinn_chiliboard_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/chiliboard/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.4" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-chiliboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="chiliboard" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/grinn_liteboard_defconfig b/configs/grinn_liteboard_defconfig deleted file mode 100644 index 3ae4a2a0b59a3c6b75d5b8a85198dcfa5ecfb4af..0000000000000000000000000000000000000000 --- a/configs/grinn_liteboard_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/liteboard/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.4" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-liteboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="liteboard" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/hifive_unleashed_defconfig b/configs/hifive_unleashed_defconfig deleted file mode 100644 index 1aa06f59e7451b5d8d4dfb895b5af014beb06fe0..0000000000000000000000000000000000000000 --- a/configs/hifive_unleashed_defconfig +++ /dev/null @@ -1,61 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -BR2_RISCV_64=y -BR2_RISCV_ABI_LP64D=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttySIF0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/sifive/hifive-unleashed/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sifive/hifive-unleashed/genimage_sdcard.cfg" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.190" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sifive/hifive-unleashed/linux.config.fragment" -BR2_LINUX_KERNEL_IMAGE=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sifive/hifive-unleashed-a00" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Bootloader -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sifive_unleashed" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSBI=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y - -# Host tools -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/sifive/hifive-unleashed/boot.cmd" diff --git a/configs/icnova-a20-adb4006_defconfig b/configs/icnova-a20-adb4006_defconfig deleted file mode 100644 index ba529c8db5a5bcf9fadce0dbdb93e647244af978..0000000000000000000000000000000000000000 --- a/configs/icnova-a20-adb4006_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.6 LTS series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="ICnova A20 ADB4006" -BR2_TARGET_GENERIC_ISSUE="Welcome to ICnova A20 ADB4006!" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/in-circuit/icnova-a20-adb4006/genimage.cfg" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/in-circuit/icnova-a20-adb4006/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun7i-a20-icnova-a20-adb4006" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="icnova-a20-adb4006" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/in-circuit/icnova-a20-adb4006/boot.cmd" diff --git a/configs/imx23evk_defconfig b/configs/imx23evk_defconfig deleted file mode 100644 index 94d159cf9e5c0c550967caa702eb3f1c34154178..0000000000000000000000000000000000000000 --- a/configs/imx23evk_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-evk" - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx23evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_FORMAT_SD=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# To generate SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh" diff --git a/configs/imx6-sabreauto_defconfig b/configs/imx6-sabreauto_defconfig deleted file mode 100644 index 24b3fd387f901babb9c4dedfa84a7605a0781ffe..0000000000000000000000000000000000000000 --- a/configs/imx6-sabreauto_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabreauto" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_NEEDS_LZOP=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto imx6dl-sabreauto imx6qp-sabreauto" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/imx6-sabresd_defconfig b/configs/imx6-sabresd_defconfig deleted file mode 100644 index c237c2dc7c5acc83f2a0ed8b06739447f045c723..0000000000000000000000000000000000000000 --- a/configs/imx6-sabresd_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.41" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/imx6-sabresd_qt5_defconfig b/configs/imx6-sabresd_qt5_defconfig deleted file mode 100644 index e385e86b81b641b9b39b9e3ebcc9d9e3e5fcca1e..0000000000000000000000000000000000000000 --- a/configs/imx6-sabresd_qt5_defconfig +++ /dev/null @@ -1,99 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# Additional features needed for packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="320M" -BR2_ROOTFS_OVERLAY="board/freescale/imx6-sabresd/rootfs_overlay" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.41" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6-sabresd/linux_qt5.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# GL driver -BR2_PACKAGE_MESA3D=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y -BR2_PACKAGE_MESA3D_OPENGL_ES=y -BR2_PACKAGE_MESA3D_OPENGL_EGL=y - -# Fonts -BR2_PACKAGE_BITSTREAM_VERA=y -BR2_PACKAGE_CANTARELL=y -BR2_PACKAGE_DEJAVU=y -BR2_PACKAGE_FONT_AWESOME=y -BR2_PACKAGE_GHOSTSCRIPT_FONTS=y -BR2_PACKAGE_INCONSOLATA=y -BR2_PACKAGE_LIBERATION=y - -# GL demos -BR2_PACKAGE_GLMARK2=y -BR2_PACKAGE_KMSCUBE=y -BR2_PACKAGE_LIBV4L=y -BR2_PACKAGE_LIBV4L_UTILS=y -BR2_PACKAGE_MESA3D_DEMOS=y - -# Qt5 -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_OPENGL_LIB=y -BR2_PACKAGE_QT5BASE_LINUXFB=y -BR2_PACKAGE_QT5BASE_FONTCONFIG=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y -BR2_PACKAGE_QT5CINEX=y -BR2_PACKAGE_QT5CINEX_HD=y - -# NXP firmware package -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# libdrm tests -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y - -# gstreamer-1.0 -BR2_PACKAGE_GSTREAMER1=y -BR2_PACKAGE_GST1_PLUGINS_GOOD=y -BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y -BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE=y -BR2_PACKAGE_GST1_PLUGINS_BAD=y -BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y -BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y -BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y - -# For automatic kernel module loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y diff --git a/configs/imx6slevk_defconfig b/configs/imx6slevk_defconfig deleted file mode 100644 index 9448267e2b28de51f30672d500e2ec461bde8f7e..0000000000000000000000000000000000000000 --- a/configs/imx6slevk_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6slevk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/imx6sx-sdb_defconfig b/configs/imx6sx-sdb_defconfig deleted file mode 100644 index c36520a165dc6579a65eb58acffe70ddd7f8a08d..0000000000000000000000000000000000000000 --- a/configs/imx6sx-sdb_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sxsabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-sdb imx6sx-sdb-reva" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/imx6ulevk_defconfig b/configs/imx6ulevk_defconfig deleted file mode 100644 index 22b5a45480bcf072639e0599461ccce63561d87f..0000000000000000000000000000000000000000 --- a/configs/imx6ulevk_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-14x14-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ul_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/configs/imx6ullevk_defconfig b/configs/imx6ullevk_defconfig deleted file mode 100644 index 662ef0270e767d4784c6bc123405a689c48a9887..0000000000000000000000000000000000000000 --- a/configs/imx6ullevk_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.4" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx6ull-14x14-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# NXP firmware package for SDMA Firmware -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# For automatic kernel module loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - diff --git a/configs/imx6ulpico_defconfig b/configs/imx6ulpico_defconfig deleted file mode 100644 index e406d9938bdb91437a068b804409be06d544d392..0000000000000000000000000000000000000000 --- a/configs/imx6ulpico_defconfig +++ /dev/null @@ -1,55 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc5" - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/technexion/imx6ulpico/rootfs_overlay" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-pico-pi imx6ul-pico-hobbit imx6ul-pico-dwarf" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# wifi firmware for brcm4339 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_BOARDNAME="pico-imx6ul" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/configs/imx7d-sdb_defconfig b/configs/imx7d-sdb_defconfig deleted file mode 100644 index cf4da342c15008229a9d657d2adc14f0fece7b0c..0000000000000000000000000000000000000000 --- a/configs/imx7d-sdb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.34" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y - -# Filesystem -BR2_ROOTFS_OVERLAY="board/freescale/imx7dsdb/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/imx7dpico_defconfig b/configs/imx7dpico_defconfig deleted file mode 100644 index c6ea04b6836f58b305619f50580562df1dc5184b..0000000000000000000000000000000000000000 --- a/configs/imx7dpico_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.13 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc4" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-pico-pi" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y - -# wifi firmware for brcm43439 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_GENIMAGE=y - -# filesystem / image -BR2_ROOTFS_OVERLAY="board/technexion/imx7dpico/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig deleted file mode 100644 index 711cdeb390774064f08cb69420b60401b5710f51..0000000000000000000000000000000000000000 --- a/configs/imx8mmpico_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-pico-pi.dtb" -BR2_GLOBAL_PATCH_DIR="board/technexion/imx8mmpico/patches" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,linux-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/linux-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="tn_imx8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-pico-pi freescale/imx8mm-pico-pi-ili9881c" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.15.71-2.2.0)/imx-atf-lf-5.15.71-2.2.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig deleted file mode 100644 index 8b2b74395efcac4c04ee3ebcab84528917754516..0000000000000000000000000000000000000000 --- a/configs/imx8mn_bsh_smm_s2_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2/post-build.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.6" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_FIRMWARE_IMX_DDR3=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBIFS_RT_NONE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30a60000" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_bsh_smm_s2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_UUU=y diff --git a/configs/imx8mn_bsh_smm_s2_pro_defconfig b/configs/imx8mn_bsh_smm_s2_pro_defconfig deleted file mode 100644 index e9ff244a355507c9c5de40ddc5be499741ac5587..0000000000000000000000000000000000000000 --- a/configs/imx8mn_bsh_smm_s2_pro_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.6" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2pro" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_PACKAGE_FIRMWARE_IMX_DDR3=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30a60000" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_bsh_smm_s2pro" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UUU=y diff --git a/configs/imx8mpico_defconfig b/configs/imx8mpico_defconfig deleted file mode 100644 index dd0f0e7b6504f75a24f9dd8c8859adb1fbc2ee1f..0000000000000000000000000000000000000000 --- a/configs/imx8mpico_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-pico-pi.dtb" -BR2_GLOBAL_PATCH_DIR="board/technexion/imx8mpico/patches" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,linux-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/linux-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="tn_imx8" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-pico-pi freescale/imx8mq-pico-pi-dcss-ili9881c" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,lf-5.15.71-2.2.0)/imx-atf-lf-5.15.71-2.2.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mq" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/imx8mqevk_defconfig b/configs/imx8mqevk_defconfig deleted file mode 100644 index 943a47993269b7c4cb47c11983a4e8a2683f47f4..0000000000000000000000000000000000000000 --- a/configs/imx8mqevk_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV3=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-evk.dtb" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,imx-atf,rel_imx_5.4.24_2.1.0)/imx-atf-rel_imx_5.4.24_2.1.0.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,rel_imx_5.4.24_2.1.0)/uboot-imx-rel_imx_5.4.24_2.1.0.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mq_evk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig deleted file mode 100644 index b493c110982005307a2d4233262e6e5199f0842a..0000000000000000000000000000000000000000 --- a/configs/imxrt1050-evk_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_m7=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/imxrt1050evk/genimage.cfg" - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.7" -BR2_LINUX_KERNEL_DEFCONFIG="imxrt" -BR2_LINUX_KERNEL_ZIMAGE=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imxrt1050-evk" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="16M" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imxrt1050-evk" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/freescale/imxrt1050evk/uboot.fragment" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Required tools to create the SD card image -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/khadas_vim3_defconfig b/configs/khadas_vim3_defconfig deleted file mode 100644 index 0a8388333456e66ef238913038e5f07653e055bf..0000000000000000000000000000000000000000 --- a/configs/khadas_vim3_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a73_a53=y -BR2_ARM_FPU_VFPV4=y - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/khadas/vim3/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/khadas/vim3/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.3" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-g12b-a311d-khadas-vim3" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Linux headers same as kernel, a 6.3 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_3=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="khadas-vim3" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Required tool to sign the bootloader image -BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP=y -BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP_DEVICE="khadas-vim3" - -# Required tools to create the SD image -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y - -# Supporting host tools to build FIT image -# BR2_PACKAGE_HOST_UBOOT_TOOLS=y -# BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/kontron_bl_imx8mm_defconfig b/configs/kontron_bl_imx8mm_defconfig deleted file mode 100644 index 240cb522455fb35e792b5f813cda93261f946992..0000000000000000000000000000000000000000 --- a/configs/kontron_bl_imx8mm_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV3=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-kontron-n801x-s" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y - -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloader -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.6" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880000" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN=y -BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y -BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" -BR2_TARGET_UBOOT_SPL=y - -# Required host tools to create the SD/eMMC image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/bl-imx8mm/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/kontron_pitx_imx8m_defconfig b/configs/kontron_pitx_imx8m_defconfig deleted file mode 100644 index 460f1a97e9b8b8e352ab166aa440fa6278eb5009..0000000000000000000000000000000000000000 --- a/configs/kontron_pitx_imx8m_defconfig +++ /dev/null @@ -1,61 +0,0 @@ -# Architecture -BR2_aarch64=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/pitx-imx8m/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_GLOBAL_PATCH_DIR="board/kontron/pitx-imx8m/patches" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-kontron-pitx-imx8m" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y - -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloader -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_pitx_imx8m" -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN=y -BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y -BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" -BR2_TARGET_UBOOT_SPL=y - -# Required host tools to create the SD/eMMC image -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig deleted file mode 100644 index f8515f5b76931a8743a8f306a27711632c10ee63..0000000000000000000000000000000000000000 --- a/configs/kontron_smarc_sal28_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/smarc-sal28/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/fsl-ls1028a-kontron-sl28-var2 freescale/fsl-ls1028a-kontron-sl28-var3-ads2 freescale/fsl-ls1028a-kontron-sl28-var4 freescale/fsl-ls1028a-kontron-kbox-a-230-ls" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_RCW_SMARC_SAL28=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_sl28" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.rom" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/lafrite_defconfig b/configs/lafrite_defconfig deleted file mode 100644 index b3326f6b4973b5a952a8b27ff5f653650fbdeef7..0000000000000000000000000000000000000000 --- a/configs/lafrite_defconfig +++ /dev/null @@ -1,21 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/librecomputer/lafrite/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/librecomputer/lafrite/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.9" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxl-s805x-libretech-ac" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig deleted file mode 100644 index 1ce2817d42439e885b3cc4c7f2a3cc1712fca41d..0000000000000000000000000000000000000000 --- a/configs/lego_ev3_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm926t=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh" -# Linux headers same as kernel, a 4.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="davinci_all" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lego/ev3/linux.fragment" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xc0008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="da850-lego-ev3" - -# Target packages -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/lego/ev3/busybox.fragment" -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y -BR2_PACKAGE_BRICKD=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_SQUASHFS=y -BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y -# BR2_TARGET_ROOTFS_TAR is not set - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3" - -# host -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/linksprite_pcduino_defconfig b/configs/linksprite_pcduino_defconfig deleted file mode 100644 index 2b215201cbce784cf5efee7b06528f617b69943e..0000000000000000000000000000000000000000 --- a/configs/linksprite_pcduino_defconfig +++ /dev/null @@ -1,63 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# System settings -BR2_TARGET_GENERIC_HOSTNAME="pcduino" -BR2_TARGET_GENERIC_ISSUE="pcDuino buildroot is ready" - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# SD image scripts -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" - -# For kernel modules autoloading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# Linux headers same as kernel, a 6.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun4i-a10-pcduino" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/linksprite/pcduino/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Linksprite_pcDuino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Host packages -BR2_PACKAGE_HOST_GENIMAGE=y - -# Target packages: wireless support for pcduino-lite-wifi -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y diff --git a/configs/ls1028ardb_defconfig b/configs/ls1028ardb_defconfig deleted file mode 100644 index d92c543b449a69c68d8413e1b3d34f2fddc83dd5..0000000000000000000000000000000000000000 --- a/configs/ls1028ardb_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" - -# Toolchain -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="ls1028a" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eno0" -BR2_ROOTFS_OVERLAY="board/freescale/ls1028ardb/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/ls1028ardb/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,LSDK-21.08)/linux-LSDK-21.08.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v8" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-rdb" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Target package -BR2_PACKAGE_QORIQ_CADENCE_DP_FIRMWARE=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,LSDK-21.08)/atf-LSDK-21.08.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="ls1028ardb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BOOT_MODE=sd" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin bl2_sd.pbl" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,LSDK-21.08)/u-boot-LSDK-21.08.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1028ardb_tfa" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host utilities -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_QORIQ_RCW=y -BR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1028ardb/R_SQPP_0x85bb/rcw_1300_sdboot.bin" diff --git a/configs/ls1046a-frwy_defconfig b/configs/ls1046a-frwy_defconfig deleted file mode 100644 index ce796ce3ef46e8291bb24335441deb6038b37f6b..0000000000000000000000000000000000000000 --- a/configs/ls1046a-frwy_defconfig +++ /dev/null @@ -1,61 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72=y - -# patches -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" - -# Toolchain -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="ls1046afrwy" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/freescale/ls1046a-frwy/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/ls1046a-frwy/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,LSDK-21.08)/linux-LSDK-21.08.tar.gz" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1046a-frwy freescale/fsl-ls1046a-frwy-sdk" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,LSDK-21.08)/atf-LSDK-21.08.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="ls1046afrwy" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BOOT_MODE=sd" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin bl2_sd.pbl" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,LSDK-21.08)/u-boot-LSDK-21.08.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1046afrwy_tfa" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Firmware -BR2_PACKAGE_QORIQ_FM_UCODE=y -BR2_PACKAGE_QORIQ_FM_UCODE_PLATFORM="ls1046" - -# Host utilities -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_QORIQ_RCW=y -BR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1046afrwy/NN_NNQNNPNP_3040_0506/rcw_1600_sdboot.bin" diff --git a/configs/mangopi_mq1rdw2_defconfig b/configs/mangopi_mq1rdw2_defconfig deleted file mode 100644 index a2f8a1299b8c76c049a17a07f074059e0cdb7d64..0000000000000000000000000000000000000000 --- a/configs/mangopi_mq1rdw2_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_TARGET_GENERIC_HOSTNAME="mangopi-mq1rdw2" -BR2_TARGET_GENERIC_ISSUE="Welcome to MangoPI MQ1RDW2" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS3" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/mangopi/mq1rdw2/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/mangopi/mq1rdw2/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.5" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-t113s-mangopi-mq-r-t113" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_RTL8723DS=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01-rc4" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mangopi_mq_r" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/mender_x86_64_efi_defconfig b/configs/mender_x86_64_efi_defconfig deleted file mode 100644 index 25a463abb3e956d0a3a403ee62034a77f845e7ad..0000000000000000000000000000000000000000 --- a/configs/mender_x86_64_efi_defconfig +++ /dev/null @@ -1,79 +0,0 @@ -# Architecture -BR2_x86_64=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_18=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Required as vda4 doesn't mount on first boot with busybox -BR2_INIT_SYSV=y - -# Required tools to create bootable media -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_X86_64_EFI=y -# Add mandatory modules from MENDER_GRUBENV_MANDATORY_MODULES -BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop loadenv hashsum echo halt gcry_sha256 test regexp sleep" -BR2_TARGET_GRUB2_INSTALL_TOOLS=y - -# Required tools to create a mender image -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MENDER_ARTIFACT=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_OVERLAY="board/mender/x86_64/overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/mender/x86_64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/mender/x86_64/post-image-efi.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--data-part-size=32M --device-type=buildroot-x86_64 --artifact-name=1.0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.18.14" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/mender/x86_64/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y - -# Firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y - -# Packages -# -# Use connman so that networking setup is simpler, via connmanctl tool -# acpid is for seamless power button support -BR2_PACKAGE_ACPID=y -BR2_PACKAGE_CONNMAN=y -BR2_PACKAGE_CONNMAN_CLIENT=y -BR2_PACKAGE_CONNMAN_WIFI=y -BR2_PACKAGE_MENDER=y -BR2_PACKAGE_MENDER_GRUBENV=y -BR2_PACKAGE_MENDER_GRUBENV_DEFINES="board/mender/x86_64/mender_grubenv_defines" diff --git a/configs/microchip_mpfs_icicle_defconfig b/configs/microchip_mpfs_icicle_defconfig deleted file mode 100644 index 1af7a3c474ba5233dede5514c110a424ad90df17..0000000000000000000000000000000000000000 --- a/configs/microchip_mpfs_icicle_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_riscv=y -BR2_RISCV_ISA_RVC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_HOSTNAME="mpfs_icicle" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/microchip/mpfs_icicle/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2023.09.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="mpfs" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="microchip/mpfs-icicle-kit" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2023.09.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="microchip_mpfs_icicle" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/microchip/mpfs_icicle/uboot-fragment-rootfs.config" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/microchip/mpfs_icicle/uboot-env.txt" diff --git a/configs/microchip_sam9x60ek_mmc_defconfig b/configs/microchip_sam9x60ek_mmc_defconfig deleted file mode 100644 index 7a1a699d2e46bf598d6326952f8637b14d48570c..0000000000000000000000000000000000000000 --- a/configs/microchip_sam9x60ek_mmc_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sam9x60ek_mmc_dev_defconfig b/configs/microchip_sam9x60ek_mmc_dev_defconfig deleted file mode 100644 index 4c842f2bb04d68dba0e6c3a042ffd402e7cafceb..0000000000000000000000000000000000000000 --- a/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ /dev/null @@ -1,80 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig deleted file mode 100644 index 024e8a1465d1aa7e411e2fefcfe9f56523e6d857..0000000000000000000000000000000000000000 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig deleted file mode 100644 index 5f6eba482c169c021cb3248550d7a120a83cb416..0000000000000000000000000000000000000000 --- a/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ /dev/null @@ -1,83 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama5d2_icp_mmc_defconfig b/configs/microchip_sama5d2_icp_mmc_defconfig deleted file mode 100644 index 27ea4970f18f5de524bef316b41c11b20ba366b2..0000000000000000000000000000000000000000 --- a/configs/microchip_sama5d2_icp_mmc_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig deleted file mode 100644 index 64df7b4d1301078e5907105bd8ef1a1a6abfff7d..0000000000000000000000000000000000000000 --- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig +++ /dev/null @@ -1,72 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_LINUX_TOOLS_IIO=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_STRACE=y -BR2_PACKAGE_TREE=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_HTOP=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_defconfig b/configs/microchip_sama7g5ek_mmc_defconfig deleted file mode 100644 index 7ab81d1dd003a46b9aff37d5759889b46a2a97c2..0000000000000000000000000000000000000000 --- a/configs/microchip_sama7g5ek_mmc_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21" -BR2_LINUX_KERNEL_DEFCONFIG="sama7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig deleted file mode 100644 index 2fca9873a6013312a926910495a7a28c427199dd..0000000000000000000000000000000000000000 --- a/configs/microchip_sama7g5ek_mmc_dev_defconfig +++ /dev/null @@ -1,72 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21" -BR2_LINUX_KERNEL_DEFCONFIG="sama7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_LINUX_TOOLS_IIO=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_STRACE=y -BR2_PACKAGE_TREE=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_WILC3000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_RNG_TOOLS=y -# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_HTOP=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/minnowboard_max_defconfig b/configs/minnowboard_max_defconfig deleted file mode 100644 index 83a970f601f02e1a57205e2e44ecf58ba1d617e6..0000000000000000000000000000000000000000 --- a/configs/minnowboard_max_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_x86_64=y -BR2_x86_silvermont=y - -# Misc -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/minnowboard/genimage.cfg" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Needed for ethernet -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.11" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/minnowboard/linux.config" - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_X86_64_EFI=y - -# Filesystem image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set diff --git a/configs/mx25pdk_defconfig b/configs/mx25pdk_defconfig deleted file mode 100644 index ec4f8b8289d787d805c62be83316dc41a8d4128f..0000000000000000000000000000000000000000 --- a/configs/mx25pdk_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx25pdk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.7" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v4_v5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx25-pdk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/mx51evk_defconfig b/configs/mx51evk_defconfig deleted file mode 100644 index a4bebdec976c85e6ea14777dc1fc4bcd48931ac9..0000000000000000000000000000000000000000 --- a/configs/mx51evk_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx51evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.9" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-babbage" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig deleted file mode 100644 index d03c7d0916e8bcb59fb0d4b2bb073e2fbf715a6a..0000000000000000000000000000000000000000 --- a/configs/mx53loco_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx53loco" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.20" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx53-qsb imx53-qsrb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig deleted file mode 100644 index cbd9378064a9649fcc9e00edc89807ddb5579371..0000000000000000000000000000000000000000 --- a/configs/mx6cubox_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Toolchain -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y - -# System configuration -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_OVERLAY="board/solidrun/mx6cubox/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.71" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem images -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/mx6sx_udoo_neo_defconfig b/configs/mx6sx_udoo_neo_defconfig deleted file mode 100644 index 793d992ce7a1ee350b6ff5ceb13462a2e4f1c91c..0000000000000000000000000000000000000000 --- a/configs/mx6sx_udoo_neo_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="udoo_neo" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-udoo-neo-basic imx6sx-udoo-neo-full imx6sx-udoo-neo-extended" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/configs/mx6udoo_defconfig b/configs/mx6udoo_defconfig deleted file mode 100644 index 5092ef0fd148b9fb080b2709d19a12f4752ce6d1..0000000000000000000000000000000000000000 --- a/configs/mx6udoo_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -BR2_GLOBAL_PATCH_DIR="board/udoo/mx6qdl/patches" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="udoo" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.84" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-udoo imx6dl-udoo" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/configs/nexbox_a95x_defconfig b/configs/nexbox_a95x_defconfig deleted file mode 100644 index 69f8b9078f2e91e227a371314f54d28500e2759b..0000000000000000000000000000000000000000 --- a/configs/nexbox_a95x_defconfig +++ /dev/null @@ -1,21 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/nexbox/a95x/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/nexbox/a95x/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-nexbox-a95x amlogic/meson-gxl-s905x-nexbox-a95x" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/nezha_defconfig b/configs/nezha_defconfig deleted file mode 100644 index dd947079051937e372c62cabe311267e35749053..0000000000000000000000000000000000000000 --- a/configs/nezha_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/nezha/overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/nezha/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,linux,ca67838d84af4c9f85d06311c9e98e1adf46308f)/linux-ca67838d84af4c9f85d06311c9e98e1adf46308f.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="nezha" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun20i-d1-nezha" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,528ae9bc6c55edd3ffe642734b4132a8246ea777)/uboot-528ae9bc6c55edd3ffe642734b4132a8246ea777.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nezha" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_OPENSBI=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/nitrogen6sx_defconfig b/configs/nitrogen6sx_defconfig deleted file mode 100644 index ba2c79d4a70a89357014f3bedf54713f748269e1..0000000000000000000000000000000000000000 --- a/configs/nitrogen6sx_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6sx" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-nitrogen6sx imx6sx-nitrogen6sx-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen6x_defconfig b/configs/nitrogen6x_defconfig deleted file mode 100644 index d490ec3c4674a233350752c1d2836b00a2211fe3..0000000000000000000000000000000000000000 --- a/configs/nitrogen6x_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6q" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_vm imx6dl-nitrogen6x imx6q-nitrogen6x imx6dl-nitrogen6_som2 imx6q-nitrogen6_som2 imx6qp-nitrogen6_som2 imx6q-nitrogen6_max imx6qp-nitrogen6_max imx6q-sabrelite" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen7_defconfig b/configs/nitrogen7_defconfig deleted file mode 100644 index 429d84c1d48e5d8f14ae4b22adf83bf30267f26a..0000000000000000000000000000000000000000 --- a/configs/nitrogen7_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen7" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-nitrogen7 imx7d-nitrogen7-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen8m_defconfig b/configs/nitrogen8m_defconfig deleted file mode 100644 index ea5f21cb3da401b932481631272b16dfdf7ffa27..0000000000000000000000000000000000000000 --- a/configs/nitrogen8m_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-nitrogen8m.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8m" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-nitrogen8m freescale/imx8mq-nitrogen8m-m4 freescale/imx8mq-nitrogen8m_som freescale/imx8mq-nitrogen8m_som-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen8mm_defconfig b/configs/nitrogen8mm_defconfig deleted file mode 100644 index 5b7fb4a3bc3e4a599742425431d4515ad557e43e..0000000000000000000000000000000000000000 --- a/configs/nitrogen8mm_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-nitrogen8mm.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mm_2g" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen8mn_defconfig b/configs/nitrogen8mn_defconfig deleted file mode 100644 index 2fc9442d9e7c0a22a980912d2c467a9107dd4978..0000000000000000000000000000000000000000 --- a/configs/nitrogen8mn_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-nitrogen8_nano.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8_nano_8mn1gr0" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-nitrogen8_nano freescale/imx8mn-nitrogen8mn freescale/imx8mn-nitrogen8mn_som" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/nitrogen8mp_defconfig b/configs/nitrogen8mp_defconfig deleted file mode 100644 index c5f79c391318ed907c15d9019b5c1c15ef894989..0000000000000000000000000000000000000000 --- a/configs/nitrogen8mp_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-nitrogen8mp.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-lf-6.1.22-2.0.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/7e3484cc.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mp_2gr0" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-v2022.04 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot/archive/7e7eff74.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_6.1.y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux/archive/4470b050.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mp-nitrogen_smarc freescale/imx8mp-nitrogen8mp freescale/imx8mp-nitrogen8mp-m4 freescale/imx8mp-nitrogen8mp-enc freescale/imx8mp-nitrogen8mp-enc-tc358743" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/configs/octavo_osd32mp1_brk_defconfig b/configs/octavo_osd32mp1_brk_defconfig deleted file mode 100644 index 9a8ec8aa011370e6560ebde7d502a0d57444f86d..0000000000000000000000000000000000000000 --- a/configs/octavo_osd32mp1_brk_defconfig +++ /dev/null @@ -1,64 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y - -# global patch directory -BR2_GLOBAL_PATCH_DIR="board/octavo/osd32mp1-brk/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/octavo/osd32mp1-brk/overlay/" - -# image generation -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/octavo/osd32mp1-brk/genimage.cfg" - -# Kernel, use CUSTOM_DTS_PATH associated with INTREE_DTS_NAME to build the right -# device-tree -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.10-stm32mp-r2.1" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/fragment-01-multiv7_cleanup.config $(LINUX_DIR)/arch/arm/configs/fragment-02-multiv7_addons.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-osd32mp1-brk" -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/octavo/osd32mp1-brk/linux-dts/*" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# TF-A -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.4-stm32mp-r1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH="board/octavo/osd32mp1-brk/tfa-dts/*" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-osd32mp1-brk.dtb STM32MP_USB_PROGRAMMER=1 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32 fip.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2020.10-stm32mp-r2.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="osd32mp1_brk_trusted" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin u-boot.dtb" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-osd32mp1-brk" - -# Package needed to generate the image -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/octavo_osd32mp1_red_defconfig b/configs/octavo_osd32mp1_red_defconfig deleted file mode 100644 index 2d0b3405803d44f92d7d952c31ba3616994ddf54..0000000000000000000000000000000000000000 --- a/configs/octavo_osd32mp1_red_defconfig +++ /dev/null @@ -1,64 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y - -# global patch directory -BR2_GLOBAL_PATCH_DIR="board/octavo/osd32mp1-red/patches" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/octavo/osd32mp1-red/overlay/" - -# image generation -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/octavo/osd32mp1-red/genimage.cfg" - -# Kernel, use CUSTOM_DTS_PATH associated with INTREE_DTS_NAME to build the right -# device-tree -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.10-stm32mp-r2.1" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/fragment-01-multiv7_cleanup.config $(LINUX_DIR)/arch/arm/configs/fragment-02-multiv7_addons.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-osd32mp1-red" -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/octavo/osd32mp1-red/linux-dts/*" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# TF-A -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.4-stm32mp-r1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH="board/octavo/osd32mp1-red/tfa-dts/*" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-osd32mp1-red.dtb STM32MP_USB_PROGRAMMER=1 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32 fip.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2020.10-stm32mp-r2.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin u-boot.dtb" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-osd32mp1-red" - -# Package needed to generate the image -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/odroidc2_defconfig b/configs/odroidc2_defconfig deleted file mode 100644 index 5f97fc3dd8ba11e185a2de05a969ac58727095c9..0000000000000000000000000000000000000000 --- a/configs/odroidc2_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# Architecture -BR2_aarch64=y - -# Linux headers same as kernel, a 5.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="odroidc2" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAML0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_OVERLAY="board/hardkernel/odroidc2/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidc2/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-odroidc2" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y -BR2_TARGET_UBOOT_BOARDNAME="odroid-c2" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/hardkernel/odroidc2/boot.cmd" - -# Firmware -BR2_PACKAGE_ODROIDC2_FIRMWARE=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MESON_TOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/odroidxu4_defconfig b/configs/odroidxu4_defconfig deleted file mode 100644 index 69958e138743bfb5c3d100e232496bfe2f4d798a..0000000000000000000000000000000000000000 --- a/configs/odroidxu4_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidxu4/post-image.sh" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/hardkernel/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="4.14.16-104" -BR2_LINUX_KERNEL_DEFCONFIG="odroidxu4" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="exynos5422-odroidxu4" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/hardkernel/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="88af53fbcef8386cb4d5f04c19f4b2bcb69e90ca" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="odroid-xu4" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="sd_fuse/bl1.bin.hardkernel sd_fuse/bl2.bin.hardkernel.720k_uboot sd_fuse/tzsw.bin.hardkernel " -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/olimex_a10_olinuxino_lime_defconfig b/configs/olimex_a10_olinuxino_lime_defconfig deleted file mode 100644 index 9c454b19153ea6cf23d46c66dfe8fb7df4055160..0000000000000000000000000000000000000000 --- a/configs/olimex_a10_olinuxino_lime_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a10-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a10_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a10_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.9" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun4i-a10-olinuxino-lime" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A10-OLinuXino-Lime" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a10_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olimex_a13_olinuxino_defconfig b/configs/olimex_a13_olinuxino_defconfig deleted file mode 100644 index 8469ce1fd0d707a388db54b9300764b7599f6ed2..0000000000000000000000000000000000000000 --- a/configs/olimex_a13_olinuxino_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a13-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A13-OLinuXino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.9" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun5i-a13-olinuxino" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a13_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a13_olinuxino/genimage.cfg" - -# Additional tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig deleted file mode 100644 index bf44207393ccc8341f6a1b2139e2aa7c3a137ae2..0000000000000000000000000000000000000000 --- a/configs/olimex_a20_olinuxino_lime2_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 6.6 LTS series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Toolchain -# glibc is needed for sunxi-mali-utgard package. -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.10" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun7i-a20-olinuxino-lime2" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# sunxi packages -BR2_PACKAGE_SUNXI_TOOLS=y -BR2_PACKAGE_SUNXI_MALI_UTGARD=y -BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig deleted file mode 100644 index 5e26eaf857aa10435444dcc17df0089b84bab56e..0000000000000000000000000000000000000000 --- a/configs/olimex_a20_olinuxino_lime_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 6.6 LTS series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Toolchain -# glibc is needed for sunxi-mali-utgard package. -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.10" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun7i-a20-olinuxino-lime" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# sunxi packages -BR2_PACKAGE_SUNXI_TOOLS=y -BR2_PACKAGE_SUNXI_MALI_UTGARD=y -BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olimex_a20_olinuxino_micro_defconfig b/configs/olimex_a20_olinuxino_micro_defconfig deleted file mode 100644 index a7a6eb51a01766b63b19b8aab71397f7906ea3da..0000000000000000000000000000000000000000 --- a/configs/olimex_a20_olinuxino_micro_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.9" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-micro" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino_MICRO" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olimex_a33_olinuxino_defconfig b/configs/olimex_a33_olinuxino_defconfig deleted file mode 100644 index 35398ac6da585711437e0a45bdad01f8bfc9f81d..0000000000000000000000000000000000000000 --- a/configs/olimex_a33_olinuxino_defconfig +++ /dev/null @@ -1,52 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="A33-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to A33 OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A33-OLinuXino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a33_olinuxino/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.9" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-a33-olinuxino" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a33_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a33_olinuxino/genimage.cfg" - -# Additional tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/olimex_a64_olinuxino_defconfig b/configs/olimex_a64_olinuxino_defconfig deleted file mode 100644 index dd445e8ce0e9f1cfa36bed4cde9f346185312149..0000000000000000000000000000000000000000 --- a/configs/olimex_a64_olinuxino_defconfig +++ /dev/null @@ -1,51 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.8" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="a64-olinuxino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a64-olinuxino/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.9" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-olinuxino" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Olimex A64-OLinuXino" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a64-olinuxino/genimage.cfg" diff --git a/configs/olimex_imx233_olinuxino_defconfig b/configs/olimex_imx233_olinuxino_defconfig deleted file mode 100644 index 275dd98afe5f8af0c8fde492167ba2068c14acf4..0000000000000000000000000000000000000000 --- a/configs/olimex_imx233_olinuxino_defconfig +++ /dev/null @@ -1,52 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.8" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/imx233_olinuxino/linux-wifi.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-olinuxino" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x42000000" - -# Firmware for WiFi -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_ZD1211_FIRMWARE=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx23_olinuxino" -BR2_TARGET_UBOOT_FORMAT_SD=y - -# To generate SD Image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh" - diff --git a/configs/olimex_stmp157_olinuxino_lime_defconfig b/configs/olimex_stmp157_olinuxino_lime_defconfig deleted file mode 100644 index 8bd8e10ca98d5092c7044ad9caa2c7fdaf63b1ae..0000000000000000000000000000000000000000 --- a/configs/olimex_stmp157_olinuxino_lime_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="stmp1-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/olimex/stmp1_olinuxino/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" -# branch release-20230622-v5.10.180 -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="fc74113e14d76aea9482264ff42e07397b94553d" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp1xx-olinuxino-lime" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" -# release-20230515, based on 2021.04 -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="efadf793a0a5924e2c96362dc1df3e56622ebb97" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_FORMAT_STM32=y -BR2_TARGET_UBOOT_BUILD_FORMAT_STM32_LEGACY=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.stm32" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olpc_xo175_defconfig b/configs/olpc_xo175_defconfig deleted file mode 100644 index bb7aa047f6303299fc0cb412a5a9c41b1755c3ce..0000000000000000000000000000000000000000 --- a/configs/olpc_xo175_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_pj4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.2" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olpc/xo-1.75/linux.config" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olpc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_LABEL="XO175" -BR2_TARGET_ROOTFS_EXT2_SIZE="32M" -BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O dir_index,^huge_file,^64bit,^extent" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/olpc_xo1_defconfig b/configs/olpc_xo1_defconfig deleted file mode 100644 index 41226d892c06dab0fc7d82c47d7736b994371551..0000000000000000000000000000000000000000 --- a/configs/olpc_xo1_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_x86_geode=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olpc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olpc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.1" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olpc/xo-1/linux.config" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olpc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC=y -BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_LABEL="XO1" -BR2_TARGET_ROOTFS_EXT2_SIZE="32M" -BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O dir_index,^huge_file,^64bit,^extent" -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y -BR2_TARGET_ROOTFS_JFFS2_PAD=y -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/openblocks_a6_defconfig b/configs/openblocks_a6_defconfig deleted file mode 100644 index 2238c0940c57a471fb6ac5dedb17c65bbdd175ea..0000000000000000000000000000000000000000 --- a/configs/openblocks_a6_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# system -BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" - -# filesystem -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" -BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" -BR2_LINUX_KERNEL_APPENDED_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-openblocks_a6" diff --git a/configs/orangepi_lite2_defconfig b/configs/orangepi_lite2_defconfig deleted file mode 100644 index c6be1c46b47a6f560a6ef95bd65878bf8112164d..0000000000000000000000000000000000000000 --- a/configs/orangepi_lite2_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 4.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.0" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/amarula/u-boot-amarula" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="h6-v1.0a" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_lite2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,amarula,linux-amarula,h6-v1.0b)/linux-amarula_h6-v1.0b.tar.gz" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-orangepi-lite2" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Lite2" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-lite2/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-lite2/post-build.sh" -BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-lite2/rootfs_overlay" - -# wireless firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# wireless tools -BR2_PACKAGE_IW=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y diff --git a/configs/orangepi_lite_defconfig b/configs/orangepi_lite_defconfig deleted file mode 100644 index e83481645673c6c35918f542095a392e885a8d46..0000000000000000000000000000000000000000 --- a/configs/orangepi_lite_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Lite" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Lite" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-lite/linux-extras.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-lite" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_RTL8189FS=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_lite" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-lite/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-lite/genimage.cfg" diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig deleted file mode 100644 index 1431619620bcadeaea1a15c8590e63b8c6628980..0000000000000000000000000000000000000000 --- a/configs/orangepi_one_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-h3-orangepi-one" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" diff --git a/configs/orangepi_one_plus_defconfig b/configs/orangepi_one_plus_defconfig deleted file mode 100644 index 1084d4223378ffe3383217614c427e276f2a1c38..0000000000000000000000000000000000000000 --- a/configs/orangepi_one_plus_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 4.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.0" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.09" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one_plus" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,amarula,linux-amarula,h6-v1.0b)/linux-amarula_h6-v1.0b.tar.gz" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-orangepi-one-plus" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi One+" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-one-plus/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-one-plus/post-build.sh" diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig deleted file mode 100644 index 46d04b34c8456137d776b942f10baf81cdc1466f..0000000000000000000000000000000000000000 --- a/configs/orangepi_pc2_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_aarch64=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi PC2" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.45" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-pc2" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig deleted file mode 100644 index fd0f64e0e694209193ff0a34144ec6c4027afbbd..0000000000000000000000000000000000000000 --- a/configs/orangepi_pc_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.9" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/orangepi_pc_plus_defconfig b/configs/orangepi_pc_plus_defconfig deleted file mode 100644 index 068eb09636489e883f3d096e8e4410f2b76f4d97..0000000000000000000000000000000000000000 --- a/configs/orangepi_pc_plus_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC_Plus" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC Plus" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-h3-orangepi-pc-plus" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc-plus/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" - -# wireless driver and firmware -BR2_PACKAGE_RTL8189FS=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y - -# wireless tools -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y diff --git a/configs/orangepi_r1_defconfig b/configs/orangepi_r1_defconfig deleted file mode 100644 index bad1f9400cd9349739107e5edbb3cd1749ac89d8..0000000000000000000000000000000000000000 --- a/configs/orangepi_r1_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_R1" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi R1" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-orangepi-r1" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-r1/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_r1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-r1/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-r1/genimage.cfg" - -# spi flash support -BR2_PACKAGE_MTD=y diff --git a/configs/orangepi_zero3_defconfig b/configs/orangepi_zero3_defconfig deleted file mode 100644 index 93d53dc30147a23f3e8188264b0c57196c1e2893..0000000000000000000000000000000000000000 --- a/configs/orangepi_zero3_defconfig +++ /dev/null @@ -1,56 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.10" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h616" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero3" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h618-orangepi-zero3" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero3" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# host tools -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# image scripts -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig deleted file mode 100644 index 596805bd475998ae80a8d90e0c84599fed7978ae..0000000000000000000000000000000000000000 --- a/configs/orangepi_zero_defconfig +++ /dev/null @@ -1,65 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero" -BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_SYSTEM_DHCP="eth0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-h2-plus-orangepi-zero" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero/linux-extras.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_GENIMAGE=y - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" - -# Wireless driver and firmware -BR2_PACKAGE_XR819_XRADIO=y -BR2_PACKAGE_ARMBIAN_FIRMWARE=y -BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819=y - -# Wireless support -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y - -# Spi flash support -BR2_PACKAGE_MTD=y diff --git a/configs/orangepi_zero_plus2_defconfig b/configs/orangepi_zero_plus2_defconfig deleted file mode 100644 index 990e16463f3010e0b535db43ddfe2e2b90e18ac5..0000000000000000000000000000000000000000 --- a/configs/orangepi_zero_plus2_defconfig +++ /dev/null @@ -1,67 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero-plus2/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y - -# wireless firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# wireless tools -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero Plus2" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" - -# host tools -BR2_PACKAGE_HOST_GENIMAGE=y - -# image scripts -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" diff --git a/configs/orangepi_zero_plus_defconfig b/configs/orangepi_zero_plus_defconfig deleted file mode 100644 index c564d8a34254ce9432dfb9917e9d23e6e775afee..0000000000000000000000000000000000000000 --- a/configs/orangepi_zero_plus_defconfig +++ /dev/null @@ -1,54 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07.02" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.53" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero Plus" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# host tools -BR2_PACKAGE_HOST_GENIMAGE=y - -# image scripts -BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" diff --git a/configs/pandaboard_defconfig b/configs/pandaboard_defconfig deleted file mode 100644 index 376ecfe5044e4a6e714e726090bd41ca0f5cf8e4..0000000000000000000000000000000000000000 --- a/configs/pandaboard_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" -BR2_SYSTEM_DHCP="eth0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pandaboard/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap4-panda-es omap4-panda omap4-panda-a4" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap4_panda" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" - -# Required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig deleted file mode 100644 index 6032544d2d41b6cd20edd7b71186b9408d1a2044..0000000000000000000000000000000000000000 --- a/configs/pc_x86_64_bios_defconfig +++ /dev/null @@ -1,64 +0,0 @@ -# Architecture -BR2_x86_64=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="tty1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Required tools to create bootable media -BR2_PACKAGE_HOST_GENIMAGE=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_INSTALL_TOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg" - -# Linux headers same as kernel, a 6.1 LTS series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y - -# Firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y - -# Packages -# -# Use connman so that networking setup is simpler, via connmanctl tool -# acpid is for seamless power button support -BR2_PACKAGE_ACPID=y -BR2_PACKAGE_CONNMAN=y -BR2_PACKAGE_CONNMAN_CLIENT=y -BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/configs/pc_x86_64_efi_defconfig b/configs/pc_x86_64_efi_defconfig deleted file mode 100644 index afb652f3fc1c72706e5f7aa68e610d57dd93b24c..0000000000000000000000000000000000000000 --- a/configs/pc_x86_64_efi_defconfig +++ /dev/null @@ -1,65 +0,0 @@ -# Architecture -BR2_x86_64=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="tty1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Required tools to create bootable media -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_X86_64_EFI=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh" - -# Linux headers same as kernel, a 6.1 LTS series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y - -# Firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y - -# Packages -# -# Use connman so that networking setup is simpler, via connmanctl tool -# acpid is for seamless power button support -BR2_PACKAGE_ACPID=y -BR2_PACKAGE_CONNMAN=y -BR2_PACKAGE_CONNMAN_CLIENT=y -BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/configs/pcengines_apu2_defconfig b/configs/pcengines_apu2_defconfig deleted file mode 100644 index a85808554c83beb6dfc6fff734a67200c2d57f23..0000000000000000000000000000000000000000 --- a/configs/pcengines_apu2_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_x86_64=y - -# Kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pcengines/apu2/linux.config" -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y - -# Default hostname and TTY -BR2_TARGET_GENERIC_HOSTNAME="apu2" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Networking -BR2_SYSTEM_DHCP="eth0" - -# Rootfs -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_ISO9660=y -BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="board/pcengines/apu2/isolinux.cfg" -BR2_TARGET_ROOTFS_ISO9660_HYBRID=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloader -BR2_TARGET_SYSLINUX=y diff --git a/configs/phytiumpi_defconfig b/configs/phytiumpi_defconfig new file mode 100644 index 0000000000000000000000000000000000000000..f33d120ce2a9d6b2449bdd4d66222358c4108ec6 --- /dev/null +++ b/configs/phytiumpi_defconfig @@ -0,0 +1,67 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_TAR_XZ=y +BR2_TARGET_ROOTFS_EXT2_SIZE="2G" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-phytiumpi.cfg" + +# custom skeleton +BR2_ROOTFS_SKELETON_CUSTOM=y +BR2_ROOTFS_SKELETON_DEBIAN=y +BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-debian.sh" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" +BR2_INIT_NONE=y +BR2_ROOTFS_MERGED_USR=y +BR2_ENABLE_LOCALE_PURGE=n + +# Hostname and issue +BR2_TARGET_GENERIC_HOSTNAME="phytiumpi" +BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium Pi" + +# toolchain +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y +BR2_TOOLCHAIN_USES_GLIBC=y +BR2_TOOLCHAIN_EXTERNAL_GLIBC=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/phytium-linux-kernel.git" +# kernel 6.6 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-6.6_v3.0" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/phytiumpi_firefly" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_DEFCONFIG="phytium" +BR2_LINUX_KERNEL_IMAGEGZ=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_ROOTFS_LINUX_HEADERS=y + +# Bootloader +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_ARM64_EFI=y + +BR2_PACKAGE_PHYUBOOT=y +BR2_PACKAGE_PHYUBOOT_RAMSIZE="4GB" + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# required tools to create the microSD image +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_ROOTFS_CHOWN=y + +BR2_PACKAGE_BUSYBOX=n + +# Vpu-lib +BR2_PACKAGE_VPU_LIB=y +BR2_PACKAGE_VPU_LIB_CPU_MODEL="e2000" + +# Phytium_tools +BR2_PACKAGE_PHYTIUM_TOOLS=y diff --git a/configs/phytiumpi_desktop_defconfig b/configs/phytiumpi_desktop_defconfig new file mode 100644 index 0000000000000000000000000000000000000000..56f7aa5ca9e21e7cffd3d1b33a53ce64f3fc8812 --- /dev/null +++ b/configs/phytiumpi_desktop_defconfig @@ -0,0 +1,68 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_TAR_XZ=y +BR2_TARGET_ROOTFS_EXT2_SIZE="6G" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/phytium/post-image.sh support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-phytiumpi.cfg" + +# custom skeleton +BR2_ROOTFS_SKELETON_CUSTOM=y +BR2_ROOTFS_SKELETON_DEBIAN=y +BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT="board/phytium/common/post-custom-skeleton-debian.sh" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/phytium/common/post-build.sh" +BR2_INIT_NONE=y +BR2_ROOTFS_MERGED_USR=y +BR2_ENABLE_LOCALE_PURGE=n + +# Hostname and issue +BR2_TARGET_GENERIC_HOSTNAME="phytiumpi" +BR2_TARGET_GENERIC_ISSUE="Welcome to Phytium Pi" + +# toolchain +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y +BR2_TOOLCHAIN_USES_GLIBC=y +BR2_TOOLCHAIN_EXTERNAL_GLIBC=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/phytium-linux-kernel.git" +# kernel 6.6 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-6.6_v3.0" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="phytium/phytiumpi_firefly" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_DEFCONFIG="phytium" +BR2_LINUX_KERNEL_IMAGEGZ=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_ROOTFS_LINUX_HEADERS=y + +# Bootloader +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_ARM64_EFI=y + +BR2_PACKAGE_PHYUBOOT=y +BR2_PACKAGE_PHYUBOOT_RAMSIZE="4GB" + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# required tools to create the microSD image +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_ROOTFS_CHOWN=y + +# Bluetooth config tools +BR2_PACKAGE_PHYTIUM_TOOLS=y + +BR2_PACKAGE_ROOTFS_DESKTOP=y +BR2_PACKAGE_BUSYBOX=n + +# Vpu-lib +BR2_PACKAGE_VPU_LIB=y +BR2_PACKAGE_VPU_LIB_CPU_MODEL="e2000" diff --git a/configs/phytiumpi_linux_6.6_rt.config b/configs/phytiumpi_linux_6.6_rt.config new file mode 100644 index 0000000000000000000000000000000000000000..81b8c4d9ac7e41f403bc65dcf2695b9967c20e2c --- /dev/null +++ b/configs/phytiumpi_linux_6.6_rt.config @@ -0,0 +1,2 @@ +# kernel 6.6-rt +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="kernel-6.6-rt_v3.0" diff --git a/configs/phytiumpi_optee.config b/configs/phytiumpi_optee.config new file mode 100644 index 0000000000000000000000000000000000000000..b652ca81ff5df6d8119a6a865cbdc946da86ae4d --- /dev/null +++ b/configs/phytiumpi_optee.config @@ -0,0 +1,7 @@ +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/phytium_optee.config" + +BR2_PACKAGE_PHYTIUM_OPTEE=y + +BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_URL="https://gitee.com/phytium_embedded/phytium-optee.git" +BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_VERSION="v3.1" +BR2_PACKAGE_PHYTIUM_OPTEE_BOARD="phytiumpi" diff --git a/configs/phytiumpi_uboot_2g_ram.config b/configs/phytiumpi_uboot_2g_ram.config new file mode 100644 index 0000000000000000000000000000000000000000..455190c9e1906d7b23147b6d0486240a58688dac --- /dev/null +++ b/configs/phytiumpi_uboot_2g_ram.config @@ -0,0 +1 @@ +BR2_PACKAGE_PHYUBOOT_RAMSIZE="2GB" diff --git a/configs/pine64_defconfig b/configs/pine64_defconfig deleted file mode 100644 index c454114d2add4baddcd4255c6da84fd7dfc6c56b..0000000000000000000000000000000000000000 --- a/configs/pine64_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pine64_plus" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/pine64/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-pine64" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to PINE64" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pine64/genimage.cfg" diff --git a/configs/pine64_pinecube_defconfig b/configs/pine64_pinecube_defconfig deleted file mode 100644 index 5cdaf59fae38b2bb470b847c022c4cc2506a63e7..0000000000000000000000000000000000000000 --- a/configs/pine64_pinecube_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# Target options -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y - -# Toolchain options -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="pinecube" -BR2_TARGET_GENERIC_ISSUE="Welcome to Pine64 Pinecube" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/pinecube/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/pinecube/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.60" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-s3-pinecube" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pinecube" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Required host utilities for building an SDCard image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/pine64_sopine_defconfig b/configs/pine64_sopine_defconfig deleted file mode 100644 index f59f2387ebfa4ec7e921b07ef4030f4b2d22c7ea..0000000000000000000000000000000000000000 --- a/configs/pine64_sopine_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sopine_baseboard" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/pine64/sopine/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-sopine-baseboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to PINE64 SOPINE" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/sopine/genimage.cfg" diff --git a/configs/qemu_aarch64_ebbr_defconfig b/configs/qemu_aarch64_ebbr_defconfig deleted file mode 100644 index 75a892f798f681e0087c165617f246677258d0c6..0000000000000000000000000000000000000000 --- a/configs/qemu_aarch64_ebbr_defconfig +++ /dev/null @@ -1,54 +0,0 @@ -# Architecture -BR2_aarch64=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh board/qemu/aarch64-ebbr/post-image.sh support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/aarch64-ebbr/genimage.cfg" - -# Linux headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.11" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_OPTEE_CLIENT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="200M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Firmware and bootloader -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.10" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_GRUB2=y -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_NEEDS_DTC=y -BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_armv8a" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm64" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/aarch64-ebbr/u-boot.fragment" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Host tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_aarch64_sbsa_defconfig b/configs/qemu_aarch64_sbsa_defconfig deleted file mode 100644 index 5acfaea777400a714a2a888fa1039c73a4561149..0000000000000000000000000000000000000000 --- a/configs/qemu_aarch64_sbsa_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a57=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh board/qemu/aarch64-sbsa/assemble-flash-images support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/aarch64-sbsa/genimage.cfg" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# UEFI firmware -BR2_TARGET_EDK2=y -BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_ARM64_EFI=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu_sbsa" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y - -# Host tools for genimage -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_aarch64_virt_defconfig b/configs/qemu_aarch64_virt_defconfig deleted file mode 100644 index 1167060308351dc64f30e8f274143b65184076a3..0000000000000000000000000000000000000000 --- a/configs/qemu_aarch64_virt_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_ebbr_defconfig b/configs/qemu_arm_ebbr_defconfig deleted file mode 100644 index a0520edcf462bb7663a66a4037746c2ca2a6a976..0000000000000000000000000000000000000000 --- a/configs/qemu_arm_ebbr_defconfig +++ /dev/null @@ -1,57 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a15=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh board/qemu/arm-ebbr/post-image.sh support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/arm-ebbr/genimage.cfg" - -# Linux headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.11" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-ebbr/linux.fragment" - -# Packages -BR2_PACKAGE_OPTEE_CLIENT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="200M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Firmware and bootloader -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.10" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram" -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_ARM_EFI=y -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_NEEDS_DTC=y -BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-ebbr/u-boot.fragment" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Host tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_versatile_defconfig b/configs/qemu_arm_versatile_defconfig deleted file mode 100644 index 7c93ae3e7ec305779ec8fbfa3bdba457e80aa3f1..0000000000000000000000000000000000000000 --- a/configs/qemu_arm_versatile_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="versatile" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-versatile/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig deleted file mode 100644 index ccbcc8ea4efb0545f1ce04d8417d344352833e13..0000000000000000000000000000000000000000 --- a/configs/qemu_arm_vexpress_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3D16=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" -# Qemu >= 5.1 requires an SD card size to be a power of 2, e.g. 64 MiB. -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="vexpress" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_vexpress_tz_defconfig b/configs/qemu_arm_vexpress_tz_defconfig deleted file mode 100644 index 11a5c9817485aabec54145fbcf4112f304046d9f..0000000000000000000000000000000000000000 --- a/configs/qemu_arm_vexpress_tz_defconfig +++ /dev/null @@ -1,64 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a15=y -BR2_ARM_FPU_VFPV3D16=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh" - -# optee-test needs toolchain C++ -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="vexpress" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment" - -# TF-A for booting OP-TEE secure and uboot/linux non secure -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram" - -# OP-TEE components -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_NEEDS_DTC=y -BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt" -BR2_PACKAGE_OPTEE_EXAMPLES=y -BR2_PACKAGE_OPTEE_TEST=y - -# Enable OpenSSL library for some optee-test tests -BR2_PACKAGE_OPENSSL=y -BR2_PACKAGE_LIBOPENSSL=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# U-boot for booting the dear Linux kernel -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_m68k_mcf5208_defconfig b/configs/qemu_m68k_mcf5208_defconfig deleted file mode 100644 index 0c95756a8e162d6154e277638b6c7caf400966bb..0000000000000000000000000000000000000000 --- a/configs/qemu_m68k_mcf5208_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_m68k=y -BR2_m68k_cf5208=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-mcf5208/linux.config" -BR2_LINUX_KERNEL_PATCH="board/qemu/m68k-mcf5208/0001-m68k-Fix-invalid-.section-syntax.patch" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_m68k_q800_defconfig b/configs/qemu_m68k_q800_defconfig deleted file mode 100644 index a3a09ef775aea0e6f0b8e0c42312c9de6c30793f..0000000000000000000000000000000000000000 --- a/configs/qemu_m68k_q800_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_m68k=y -BR2_m68k_68040=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-q800/linux.config" -BR2_LINUX_KERNEL_PATCH="board/qemu/m68k-q800/0001-m68k-Fix-invalid-.section-syntax.patch" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_microblazebe_mmu_defconfig b/configs/qemu_microblazebe_mmu_defconfig deleted file mode 100644 index a93ef3564d86dc36b84bf824c6b91f49f3ff3610..0000000000000000000000000000000000000000 --- a/configs/qemu_microblazebe_mmu_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_microblaze=y -BR2_microblazebe=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux.config" -BR2_LINUX_KERNEL_LINUX_BIN=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_microblazeel_mmu_defconfig b/configs/qemu_microblazeel_mmu_defconfig deleted file mode 100644 index 0b00b58b4ef577c6696949fc6580bbb7c32ff31b..0000000000000000000000000000000000000000 --- a/configs/qemu_microblazeel_mmu_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_microblaze=y -BR2_microblazeel=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux.config" -BR2_LINUX_KERNEL_LINUX_BIN=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r2_malta_defconfig b/configs/qemu_mips32r2_malta_defconfig deleted file mode 100644 index 1fdc5889984004559a9cb9d1ecd13594b816a523..0000000000000000000000000000000000000000 --- a/configs/qemu_mips32r2_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips=y -BR2_mips_32r2=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r2el_malta_defconfig b/configs/qemu_mips32r2el_malta_defconfig deleted file mode 100644 index 35d071010db02eadc2d619d757720a7d8395efce..0000000000000000000000000000000000000000 --- a/configs/qemu_mips32r2el_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mipsel=y -BR2_mips_32r2=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r6_malta_defconfig b/configs/qemu_mips32r6_malta_defconfig deleted file mode 100644 index a57347d2a680ff597ea97a9be9b00fba91bde1c2..0000000000000000000000000000000000000000 --- a/configs/qemu_mips32r6_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips=y -BR2_mips_32r6=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r6el_malta_defconfig b/configs/qemu_mips32r6el_malta_defconfig deleted file mode 100644 index 9fb82a76d2ef964309a0d678dac6fdcbd24ac318..0000000000000000000000000000000000000000 --- a/configs/qemu_mips32r6el_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mipsel=y -BR2_mips_32r6=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64_malta_defconfig b/configs/qemu_mips64_malta_defconfig deleted file mode 100644 index f314b123a8ebb91fc810292cba8d0fcaf31e94cd..0000000000000000000000000000000000000000 --- a/configs/qemu_mips64_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips64=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64el_malta_defconfig b/configs/qemu_mips64el_malta_defconfig deleted file mode 100644 index 672c416a091caf5124460a8120b31c31c2699f36..0000000000000000000000000000000000000000 --- a/configs/qemu_mips64el_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips64el=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64r6_malta_defconfig b/configs/qemu_mips64r6_malta_defconfig deleted file mode 100644 index 15dba14cc612170f5023cf570b988daef0d6e839..0000000000000000000000000000000000000000 --- a/configs/qemu_mips64r6_malta_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_mips64=y -BR2_mips_64r6=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64r6el_malta_defconfig b/configs/qemu_mips64r6el_malta_defconfig deleted file mode 100644 index 39b9c73bcd905d37620578bcf39202b264384d7b..0000000000000000000000000000000000000000 --- a/configs/qemu_mips64r6el_malta_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_mips64el=y -BR2_mips_64r6=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_nios2_10m50_defconfig b/configs/qemu_nios2_10m50_defconfig deleted file mode 100644 index 698ff68e5eb7651077a4bb97b279be477251226e..0000000000000000000000000000000000000000 --- a/configs/qemu_nios2_10m50_defconfig +++ /dev/null @@ -1,21 +0,0 @@ -BR2_nios2=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="10m50" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/nios2-10m50/linux.fragment" -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_or1k_defconfig b/configs/qemu_or1k_defconfig deleted file mode 100644 index 4f1030b35f13f6a52b4fe8196ac9bf41a255cc17..0000000000000000000000000000000000000000 --- a/configs/qemu_or1k_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_or1k=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/or1k/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64_e5500_defconfig b/configs/qemu_ppc64_e5500_defconfig deleted file mode 100644 index 8e68fae3c25b5784ce069b7847007749c0f0f20c..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc64_e5500_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_e5500=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as the kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig deleted file mode 100644 index 4bc9534166ad9a8b0b9ed2253c36c2d96cf5c50b..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc64_pseries_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_power7=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="hvc0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="pseries" -BR2_LINUX_KERNEL_VMLINUX=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64le_powernv8_defconfig b/configs/qemu_ppc64le_powernv8_defconfig deleted file mode 100644 index 4975a90bc6e3ccd4d90a5cc9f5c6d2a7349a7937..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc64le_powernv8_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64le=y -BR2_powerpc_power8=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="hvc0" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="powernv" -BR2_LINUX_KERNEL_VMLINUX=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig deleted file mode 100644 index 1cca03053b3a59af4a78dd24e033fa6012461b73..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc64le_pseries_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64le=y -BR2_powerpc_power8=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="hvc0" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="pseries_le" -BR2_LINUX_KERNEL_VMLINUX=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_bamboo_defconfig b/configs/qemu_ppc_bamboo_defconfig deleted file mode 100644 index 284982cf2c08de0931eb93213b78ce439ae944bf..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc_bamboo_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_440fp=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="44x/bamboo" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-bamboo/linux.fragment" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_e500mc_defconfig b/configs/qemu_ppc_e500mc_defconfig deleted file mode 100644 index e50484f5a3cca472ae79301c2be3fc5857cd3073..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc_e500mc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_e500mc=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as the kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="corenet32_smp" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-e500mc/linux.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_g3beige_defconfig b/configs/qemu_ppc_g3beige_defconfig deleted file mode 100644 index 6c14a1ca90279c176f7bf8fe0e7ed04a67763b3e..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc_g3beige_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_750=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-g3beige/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_mac99_defconfig b/configs/qemu_ppc_mac99_defconfig deleted file mode 100644 index 33b9ec0d63f7e4bddd22ab5675773f3627d6aea9..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc_mac99_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_7400=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="pmac32" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig deleted file mode 100644 index efbc5fc81dda12e93b09059f0a90bc98fc8a7dc0..0000000000000000000000000000000000000000 --- a/configs/qemu_ppc_mpc8544ds_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_8548=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-mpc8544ds/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig deleted file mode 100644 index 74a67400ea5fc261b94b476a20bd5964902f7087..0000000000000000000000000000000000000000 --- a/configs/qemu_riscv32_virt_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_32=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="rv32" -BR2_LINUX_KERNEL_IMAGE=y - -# Bootloader -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv64_nommu_virt_defconfig b/configs/qemu_riscv64_nommu_virt_defconfig deleted file mode 100644 index 9999bcf7f336dfd8c291431b1a0a8959df872ea2..0000000000000000000000000000000000000000 --- a/configs/qemu_riscv64_nommu_virt_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -# BR2_RISCV_USE_MMU is not set - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# System -BR2_TARGET_GENERIC_GETTY=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_virt" -BR2_LINUX_KERNEL_IMAGE=y - -# Disable network scripts -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig deleted file mode 100644 index 52ad87fa7c46b7aae8f707680a5413310a186ab7..0000000000000000000000000000000000000000 --- a/configs/qemu_riscv64_virt_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_IMAGE=y - -# Bootloader -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv64_virt_efi_defconfig b/configs/qemu_riscv64_virt_efi_defconfig deleted file mode 100644 index 79aadf78ca7ba505c3fa925217b8e6509ff074a8..0000000000000000000000000000000000000000 --- a/configs/qemu_riscv64_virt_efi_defconfig +++ /dev/null @@ -1,19 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh board/qemu/riscv64-virt-efi/assemble-flash-images support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/riscv64-virt-efi/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.69" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_EDK2=y -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_RISCV64_EFI=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_s390x_defconfig b/configs/qemu_s390x_defconfig deleted file mode 100644 index 39dae4be2a75919f5d53aa77ca7312760a307d73..0000000000000000000000000000000000000000 --- a/configs/qemu_s390x_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_s390x=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig deleted file mode 100644 index 038a9763c3b58c0efad8aab123b9f533ee0c9273..0000000000000000000000000000000000000000 --- a/configs/qemu_sh4_r2d_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_sh=y -BR2_sh4=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux.config" -BR2_LINUX_KERNEL_ZIMAGE=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sh4eb_r2d_defconfig b/configs/qemu_sh4eb_r2d_defconfig deleted file mode 100644 index a8988d44462db48102cead59e80f4fa8469ab72a..0000000000000000000000000000000000000000 --- a/configs/qemu_sh4eb_r2d_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_sh=y -BR2_sh4eb=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4eb-r2d/linux.config" -BR2_LINUX_KERNEL_ZIMAGE=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sparc64_sun4u_defconfig b/configs/qemu_sparc64_sun4u_defconfig deleted file mode 100644 index 8a6115541132143ed8e312f5474abfe37be7c4a7..0000000000000000000000000000000000000000 --- a/configs/qemu_sparc64_sun4u_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_sparc64=y -BR2_sparc_v9=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc64-sun4u/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_x86_64_defconfig b/configs/qemu_x86_64_defconfig deleted file mode 100644 index 9e99d9d2b2513c4bc2da4712dcac68127d657e56..0000000000000000000000000000000000000000 --- a/configs/qemu_x86_64_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_x86_64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86_64/post-build.sh" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_x86_defconfig b/configs/qemu_x86_defconfig deleted file mode 100644 index 5c6bebd3e3c034a7538c617a921e1432bcd658a9..0000000000000000000000000000000000000000 --- a/configs/qemu_x86_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_i386=y -BR2_x86_pentiumpro=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86/post-build.sh" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_xtensa_lx60_defconfig b/configs/qemu_xtensa_lx60_defconfig deleted file mode 100644 index 8dcdced01be4d1d153e2c3ef2e496a1223d6b477..0000000000000000000000000000000000000000 --- a/configs/qemu_xtensa_lx60_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_xtensa=y -BR2_XTENSA_CUSTOM=y -BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig deleted file mode 100644 index d1d59b95254fe67d299ca964e6f8bde4325aa851..0000000000000000000000000000000000000000 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# Architecture -BR2_xtensa=y -BR2_XTENSA_CUSTOM=y -BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" -# BR2_XTENSA_USE_MMU is not set - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-nommu.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig deleted file mode 100644 index 6bff1ebf81347d5350852a71bc310d7cd93120f3..0000000000000000000000000000000000000000 --- a/configs/raspberrypi0_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" - -# Build the DTBs for A/B from the kernel sources: the zero is the same -# as the A+ model, just in a different form-factor -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi0/config_default.txt" -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig deleted file mode 100644 index ac72d49f92e3e9d0f750e149fb4b476c7911394c..0000000000000000000000000000000000000000 --- a/configs/raspberrypi0w_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi0w/config_0w.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig deleted file mode 100644 index dee9a0b23fcd97a0ad4b0002329b44c570851a68..0000000000000000000000000000000000000000 --- a/configs/raspberrypi2_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2709-rpi-2-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi/config_default.txt" -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig deleted file mode 100644 index 6871dc0fe0eb00a85e36e42d03b217bed1c22106..0000000000000000000000000000000000000000 --- a/configs/raspberrypi3_64_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2837-rpi-3-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3-64/config_3_64bit.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig deleted file mode 100644 index f0e7b8219194f2df6250f8365877a43612f9c3d0..0000000000000000000000000000000000000000 --- a/configs/raspberrypi3_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_arm=y -BR2_cortex_a53=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig deleted file mode 100644 index 532b3ed6866321675dac124faecc08ebf338cadd..0000000000000000000000000000000000000000 --- a/configs/raspberrypi3_qt5we_defconfig +++ /dev/null @@ -1,60 +0,0 @@ -BR2_arm=y -BR2_cortex_a53=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Build Qt5 WebEngine -BR2_PACKAGE_LIBERATION=y -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_EXAMPLES=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y -BR2_PACKAGE_QT5BASE_PNG=y -BR2_PACKAGE_QT5WEBENGINE=y -BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS=y -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3_qt5we.txt" -BR2_PACKAGE_RPI_USERLAND=y -BR2_PACKAGE_CA_CERTIFICATES=y -BR2_PACKAGE_NTP=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="400M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig deleted file mode 100644 index 453bbe9440d3e6a8ebd95322ea084d311f26b8e4..0000000000000000000000000000000000000000 --- a/configs/raspberrypi4_64_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_ARM_FPU_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4-64/config_4_64bit.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig deleted file mode 100644 index 1ed5d34b56edf6eb55a99f2eaa19e31c95f88c57..0000000000000000000000000000000000000000 --- a/configs/raspberrypi4_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -BR2_arm=y -BR2_cortex_a72=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-4-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4/config_4.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig deleted file mode 100644 index 01b4353b84540143a675fe42f44ffc4075d96c46..0000000000000000000000000000000000000000 --- a/configs/raspberrypi_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" - -# Build the DTBs for A/B, A+/B+ and compute module from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi/config_default.txt" -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig deleted file mode 100644 index d53711c3a7969f5036a3671dcf1dc7def3f93aeb..0000000000000000000000000000000000000000 --- a/configs/raspberrypicm4io_64_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_ARM_FPU_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-cm4" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypicm4io-64/config_cm4io_64bit.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Required tool to flash CM4 eMMC memory -BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig deleted file mode 100644 index 4b50dc9ef9c2855ae685f56e2ab6a14979cba28b..0000000000000000000000000000000000000000 --- a/configs/raspberrypicm4io_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_arm=y -BR2_cortex_a72=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-cm4" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypicm4io-64/config_cm4io.txt" - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Required tool to flash CM4 eMMC memory -BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig deleted file mode 100644 index 1bf335c07633e542a1dceb4243d2bb8551b21cf0..0000000000000000000000000000000000000000 --- a/configs/raspberrypizero2w_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a53=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, 6.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6.1=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,17f135b742c4edb340afb365873c3a574f7e16cb)/linux-17f135b742c4edb340afb365873c3a574f7e16cb.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-zero-2-w" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y -BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w/config_zero2w.txt" - -# MicroSD images generation tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w/post-image.sh" - -# Enable compressed kernel module support -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_KMOD_TOOLS=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_KMOD=y -BR2_PACKAGE_HOST_KMOD_XZ=y diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig deleted file mode 100644 index 3efcd8859d0e018829d0255371b76a4b73967d64..0000000000000000000000000000000000000000 --- a/configs/riotboard_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_BOARDNAME="riotboard" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# Linux headers same as kernel, a 4.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.10" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-riotboard" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# rootfs -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_OVERLAY="board/embest/riotboard/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/embest/riotboard/genimage.cfg" diff --git a/configs/roc_pc_rk3399_defconfig b/configs/roc_pc_rk3399_defconfig deleted file mode 100644 index 1323752683746c552669875d1f494609a246f5ad..0000000000000000000000000000000000000000 --- a/configs/roc_pc_rk3399_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72_a53=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_GENERIC_HOSTNAME="roc-rk3399-pc" -BR2_TARGET_GENERIC_ISSUE="Welcome to ROC-RK3399-PC!" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/roc-rk3399-pc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/firefly/roc-rk3399-pc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.61" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-roc-pc" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="130M" -BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O 64bit" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.9" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="roc-pc-rk3399" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/rock5b_defconfig b/configs/rock5b_defconfig deleted file mode 100644 index 7175aa66bf78ce5e3a9517a29727cc9728499caf..0000000000000000000000000000000000000000 --- a/configs/rock5b_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a76_a55=y -BR2_KERNEL_HEADERS_5_10=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/radxa/rock5b/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="" -BR2_TARGET_GENERIC_HOSTNAME="rock5b" -BR2_TARGET_GENERIC_ISSUE="Welcome to the rock5b board" -BR2_GLOBAL_PATCH_DIR="board/radxa/rock5b/patches" -BR2_DOWNLOAD_FORCE_CHECK_HASHES=y -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/radxa/kernel.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="52f51a2b5ba178f331af62260d2da86d7472c14b" -BR2_LINUX_KERNEL_DEFCONFIG="rockchip_linux" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -# BR2_LINUX_KERNEL_INTREE_DTS_NAME is not set -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/radxa/rock5b/rock5b.dts" -BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/radxa/rock5b/linux.fragment" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="250M" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock5b-rk3588" -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS=y -BR2_TARGET_UBOOT_NEEDS_ROCKCHIP_RKBIN=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/radxa/rock5b/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_DTC=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_ROCKCHIP_RKBIN=y -BR2_PACKAGE_ROCKCHIP_RKBIN_TPL_FILENAME="bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin" -BR2_PACKAGE_ROCKCHIP_RKBIN_BL31_FILENAME="bin/rk35/rk3588_bl31_v1.40.elf" diff --git a/configs/rock64_defconfig b/configs/rock64_defconfig deleted file mode 100644 index 2fae2298de99c7b3fb8760e72eb1bdaf6522b327..0000000000000000000000000000000000000000 --- a/configs/rock64_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_GLOBAL_PATCH_DIR="board/pine64/rock64/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/rock64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/rock64/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-rock64" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3328" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="bl31/*.elf" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/ayufan-rock64/linux-mainline-u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="release-2020-07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock64-rk3328" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin tpl/u-boot-tpl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/rock_pi_n8_defconfig b/configs/rock_pi_n8_defconfig deleted file mode 100644 index b7135d6311717620668b02c6b417cc3c114d39df..0000000000000000000000000000000000000000 --- a/configs/rock_pi_n8_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/amarula/u-boot-amarula.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ba120841bf40ebaed049d64bb4f980083a1cf6b7" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock-pi-n8-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/amarula/linux-amarula.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5dcb0132685b07beb82065c5d7521e6c555c55b6" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-rock-pi-n8" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="rockpi-n8" -BR2_TARGET_GENERIC_ISSUE="Welcome to ROCKPI-N8" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/radxa/rockpi-n8/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/radxa/rockpi-n8/post-build.sh" diff --git a/configs/rockpro64_defconfig b/configs/rockpro64_defconfig deleted file mode 100644 index 472b9aded20a2ff2b5a9170a1287a1b464fe7f0d..0000000000000000000000000000000000000000 --- a/configs/rockpro64_defconfig +++ /dev/null @@ -1,56 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72_a53=y - -# Linux headers same as kernel, a 6.5 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9.0" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rockpro64-rk3399" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="rockpro64" -BR2_TARGET_GENERIC_ISSUE="Welcome to ROCKPRO64" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/rockpro64/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/rockpro64/post-build.sh" diff --git a/configs/roseapplepi_defconfig b/configs/roseapplepi_defconfig deleted file mode 100644 index 0f37d5dc0b4671296b825e62ab8fbee798b025c2..0000000000000000000000000000000000000000 --- a/configs/roseapplepi_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_GLOBAL_PATCH_DIR="board/roseapplepi/patches" -# Linux headers same as kernel, a 5.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/roseapplepi/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/roseapplepi/genimage.cfg" - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.14" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/roseapplepi/linux.config" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="owl-s500-roseapplepi" - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_S500_BOOTLOADER=y -BR2_TARGET_S500_BOOTLOADER_BOARD="linux/bubble_gum_sd" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/xapp-le/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="a035d2673a90143a1a74557503b2e137b1447ae6" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="actduino_bubble_gum_v10" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/s6lx9_microboard_defconfig b/configs/s6lx9_microboard_defconfig deleted file mode 100644 index 97b2d3fe79828b5f1c7b977e48393f841b868484..0000000000000000000000000000000000000000 --- a/configs/s6lx9_microboard_defconfig +++ /dev/null @@ -1,13 +0,0 @@ -BR2_microblaze=y -BR2_microblazeel=y -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/avnet/s6lx9_microboard/lx9_mmu_defconfig" -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/avnet/s6lx9_microboard/lx9_mmu.dts" diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig deleted file mode 100644 index 7f186df22c0bbd663fe5d09ea06774f7eebb3c0d..0000000000000000000000000000000000000000 --- a/configs/sheevaplug_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# system -BR2_GLOBAL_PATCH_DIR="board/sheevaplug/patches" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" - -# filesystem -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sheevaplug" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_FORMAT_KWB=y -# BR2_TARGET_UBOOT_NETWORK is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" -BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" -BR2_LINUX_KERNEL_APPENDED_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-sheevaplug" diff --git a/configs/sipeed_lichee_rv_defconfig b/configs/sipeed_lichee_rv_defconfig deleted file mode 100644 index 750d2d6e3b0b422ff5b919445749d9fdfe77fe84..0000000000000000000000000000000000000000 --- a/configs/sipeed_lichee_rv_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_OVERLAY="board/sipeed/lichee_rv/overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/lichee_rv/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,linux,ca67838d84af4c9f85d06311c9e98e1adf46308f)/linux-ca67838d84af4c9f85d06311c9e98e1adf46308f.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="nezha" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun20i-d1-lichee-rv" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,528ae9bc6c55edd3ffe642734b4132a8246ea777)/uboot-528ae9bc6c55edd3ffe642734b4132a8246ea777.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="lichee_rv_dock" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_OPENSBI=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/sipeed_lichee_rv_dock_defconfig b/configs/sipeed_lichee_rv_dock_defconfig deleted file mode 100644 index a228cd8cb779c08f7741c311efce0d079c869c0b..0000000000000000000000000000000000000000 --- a/configs/sipeed_lichee_rv_dock_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_OVERLAY="board/sipeed/lichee_rv/overlay board/sipeed/lichee_rv_dock/overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/lichee_rv_dock/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,linux,ca67838d84af4c9f85d06311c9e98e1adf46308f)/linux-ca67838d84af4c9f85d06311c9e98e1adf46308f.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="nezha" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun20i-d1-lichee-rv-dock" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/lichee_rv_dock/linux.fragment" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_PACKAGE_RTL8723DS=y -BR2_PACKAGE_RTL8723DS_BT=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,528ae9bc6c55edd3ffe642734b4132a8246ea777)/uboot-528ae9bc6c55edd3ffe642734b4132a8246ea777.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="lichee_rv_dock" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_OPENSBI=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/sipeed_licheepi_nano_defconfig b/configs/sipeed_licheepi_nano_defconfig deleted file mode 100644 index 8be26165d96d4890422326df090dcdd36cc2ac9e..0000000000000000000000000000000000000000 --- a/configs/sipeed_licheepi_nano_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# Target options -BR2_arm=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="licheepi-nano" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Nano" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_nano/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.5.9" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/suniv-f1c100s-licheepi-nano" - -# Filesystem images -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_FLASH_64=y -BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y -BR2_TARGET_ROOTFS_JFFS2_PAD=y - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="licheepi_nano" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/sipeed/licheepi_nano/uboot.fragment" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# Required host utilities -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_E2FSPROGS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_SUNXI_TOOLS=y diff --git a/configs/sipeed_licheepi_zero_defconfig b/configs/sipeed_licheepi_zero_defconfig deleted file mode 100644 index 1fa76923c8813631f12c965581eeb275a9f4283b..0000000000000000000000000000000000000000 --- a/configs/sipeed_licheepi_zero_defconfig +++ /dev/null @@ -1,53 +0,0 @@ -# Target options -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="licheepi-zero" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi Zero" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/licheepi_zero/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.5" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-v3s-licheepi-zero sun8i-v3s-licheepi-zero-dock" - -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y - -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y - -# Filesystem images -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="LicheePi_Zero" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/sipeed/licheepi_zero/boot.cmd" - -# Required host utilities for building an SDCard image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/sipeed_maix_bit_defconfig b/configs/sipeed_maix_bit_defconfig deleted file mode 100644 index e45996879a6a188622f6c526e644f0088aed56b6..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_bit_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# Binary format -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-bit/linux-cpio.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" - -# Packages -BR2_PACKAGE_HOST_PYTHON_KFLASH=y -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_bit_sdcard_defconfig b/configs/sipeed_maix_bit_sdcard_defconfig deleted file mode 100644 index 7e293e5a490c42ae748dd80f911450bcbfc91eaa..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_bit_sdcard_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# System -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set -BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_bit" - -# Packages -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" - -# Bootloader and related host tools -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_PYTHON_KFLASH=y diff --git a/configs/sipeed_maix_dock_defconfig b/configs/sipeed_maix_dock_defconfig deleted file mode 100644 index 0352382fcd866494f216649f50b100976618ee46..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_dock_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# Binary format -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-dock/linux-cpio.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" - -# Packages -BR2_PACKAGE_HOST_PYTHON_KFLASH=y -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_dock_sdcard_defconfig b/configs/sipeed_maix_dock_sdcard_defconfig deleted file mode 100644 index 20658813bad194e82673f530cccacc4f2ece8ad1..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_dock_sdcard_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# System -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set -BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_dock" - -# Packages -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" - -# Bootloader and related host tools -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_PYTHON_KFLASH=y diff --git a/configs/sipeed_maix_go_defconfig b/configs/sipeed_maix_go_defconfig deleted file mode 100644 index 27272dac4c44324d3393224c791f446f0351ca86..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_go_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# Binary format -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-go/linux-cpio.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" - -# Packages -BR2_PACKAGE_HOST_PYTHON_KFLASH=y -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig deleted file mode 100644 index 1bc12dd058192b0dbd175dd4e24da37cc2e73556..0000000000000000000000000000000000000000 --- a/configs/sipeed_maix_go_sdcard_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# System -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set -BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_go" - -# Packages -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" - -# Bootloader and related host tools -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_PYTHON_KFLASH=y diff --git a/configs/sipeed_maixduino_defconfig b/configs/sipeed_maixduino_defconfig deleted file mode 100644 index 3e04ea3a046a423d0a5a9d1e5335d059fbf49184..0000000000000000000000000000000000000000 --- a/configs/sipeed_maixduino_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# Binary format -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maixduino/linux-cpio.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" - -# Packages -BR2_PACKAGE_HOST_PYTHON_KFLASH=y -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.config" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig deleted file mode 100644 index 253ee7d7cfc3b84194168756d783a19a6315a8f5..0000000000000000000000000000000000000000 --- a/configs/sipeed_maixduino_sdcard_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y -BR2_riscv_custom=y -BR2_RISCV_ISA_RVM=y -BR2_RISCV_ISA_RVA=y -BR2_RISCV_ISA_RVF=y -BR2_RISCV_ISA_RVD=y -BR2_RISCV_ISA_RVC=y -# BR2_RISCV_USE_MMU is not set -BR2_RISCV_ABI_LP64D=y - -# Linux headers same as kernel, a 5.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y - -# System -BR2_BINFMT_FLAT=y -BR2_BINFMT_FLAT_ONE=y -# BR2_TARGET_ENABLE_ROOT_LOGIN is not set -BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" -BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maixduino" - -# Packages -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set - -# Filesystem -BR2_INIT_NONE=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" - -# Bootloader and related host tools -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_PYTHON_KFLASH=y diff --git a/configs/snps_arc700_axs101_defconfig b/configs/snps_arc700_axs101_defconfig deleted file mode 100644 index 3a6bd5c0d330a8f4535df2a38e0aac198e29ba83..0000000000000000000000000000000000000000 --- a/configs/snps_arc700_axs101_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_arcle=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="axs101" -BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" - -# Linux headers same as kernel, a 5.16 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_DEFCONFIG="axs101" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs101" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/synopsys/axs10x/uboot-fragment.config" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/snps_arc700_nsim_defconfig b/configs/snps_arc700_nsim_defconfig deleted file mode 100644 index 3964924bed8f0743a216d24108460d72e4ab06c2..0000000000000000000000000000000000000000 --- a/configs/snps_arc700_nsim_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -# Architecture -BR2_arcle=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="arc700" - -# Linux headers same as kernel, a 6.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.0.8" -BR2_LINUX_KERNEL_DEFCONFIG="nsim_700" -BR2_LINUX_KERNEL_VMLINUX=y - -# Rootfs -BR2_TARGET_ROOTFS_INITRAMFS=y diff --git a/configs/snps_archs38_axs103_defconfig b/configs/snps_archs38_axs103_defconfig deleted file mode 100644 index 2002520d1bf3e3f5afd9b7c32f266395bac9e9b4..0000000000000000000000000000000000000000 --- a/configs/snps_archs38_axs103_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_arcle=y -BR2_archs38=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="axs103" -BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" - -# Linux headers same as kernel, a 5.16 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_DEFCONFIG="axs103_smp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs103" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/synopsys/axs10x/uboot-fragment.config" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/snps_archs38_haps_defconfig b/configs/snps_archs38_haps_defconfig deleted file mode 100644 index 02e020bb47be8366b93e9c68a20c60393a31c65c..0000000000000000000000000000000000000000 --- a/configs/snps_archs38_haps_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -# Architecture -BR2_arcle=y -BR2_archs38=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="zebu_hs" -BR2_TARGET_GENERIC_ISSUE="Welcome to the HAPS Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Linux headers same as kernel, a 5.16 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_DEFCONFIG="haps_hs_smp" -BR2_LINUX_KERNEL_VMLINUX=y diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig deleted file mode 100644 index 413ca5098c1c5d2d9d61b240c3c5fa847ee3ff96..0000000000000000000000000000000000000000 --- a/configs/snps_archs38_hsdk_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_arcle=y -BR2_archs38_full=y -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y -BR2_PACKAGE_GLIBC_UTILS=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all" -BR2_TARGET_GENERIC_HOSTNAME="hsdk" -BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" -BR2_LINUX_KERNEL_DEFCONFIG="hsdk" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="hsdk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_ELF=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/synopsys/hsdk/uboot.env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" diff --git a/configs/socrates_cyclone5_defconfig b/configs/socrates_cyclone5_defconfig deleted file mode 100644 index 6ecbf05d8c7163a77fddd15d31154cc36d76bff2..0000000000000000000000000000000000000000 --- a/configs/socrates_cyclone5_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_NEON=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/altera/socrates_cyclone5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7" -BR2_LINUX_KERNEL_DEFCONFIG="socfpga" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_socrates" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.03" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="socfpga_socrates" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/altera/socrates_cyclone5/boot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="8192" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/solidrun_clearfog_defconfig b/configs/solidrun_clearfog_defconfig deleted file mode 100644 index b73b9e8ecbb5c63b6c4f9055f70fce2cba14eefe..0000000000000000000000000000000000000000 --- a/configs/solidrun_clearfog_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_NEON=y - -# Linux headers same as kernel, a 4.20 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20=y - -# System configuration -BR2_ROOTFS_POST_BUILD_SCRIPT="board/solidrun/clearfog/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/solidrun/clearfog/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.20" -BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/solidrun/clearfog/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="armada-388-clearfog-base" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="clearfog" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-spl.kwb" diff --git a/configs/solidrun_clearfog_gt_8k_defconfig b/configs/solidrun_clearfog_gt_8k_defconfig deleted file mode 100644 index 30b1e17925d6a1887ea86f223406fa833fc3cd5a..0000000000000000000000000000000000000000 --- a/configs/solidrun_clearfog_gt_8k_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="clearfog-gt-8k" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for SolidRun Clearfog GT-8K" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="a80x0_mcbin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS="mrvl_flash" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="USE_COHERENT_MEM=0" -# BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set -BR2_TARGET_BINARIES_MARVELL=y -BR2_TARGET_MV_DDR_MARVELL=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="clearfog_gt_8k" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/solidrun/clearfog_gt_8k/uboot-fragment.config" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.5" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/solidrun/clearfog_gt_8k/linux-extras.config" -BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-8040-clearfog-gt-8k" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# rootfs -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/solidrun/clearfog_gt_8k/post-build-mainline.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/solidrun/clearfog_gt_8k/genimage.cfg" diff --git a/configs/solidrun_macchiatobin_defconfig b/configs/solidrun_macchiatobin_defconfig deleted file mode 100644 index f388e37163aaf732183af1ca183d7f679392a4fb..0000000000000000000000000000000000000000 --- a/configs/solidrun_macchiatobin_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="mcbin" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for Marvell MacchiatoBin" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="a80x0_mcbin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS="mrvl_flash" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="USE_COHERENT_MEM=0" -# BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set -BR2_TARGET_BINARIES_MARVELL=y -BR2_TARGET_MV_DDR_MARVELL=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_USE_DEFCONFIG=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mvebu_mcbin-88f8040" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/solidrun/macchiatobin/uboot-fragment.config" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.5" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-8040-mcbin" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/solidrun/macchiatobin/linux-extras.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# rootfs -BR2_TARGET_ROOTFS_TAR=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/solidrun/macchiatobin/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/solidrun/macchiatobin/post-build-mainline.sh" diff --git a/configs/spike_riscv64_defconfig b/configs/spike_riscv64_defconfig deleted file mode 100644 index 73ea566084fe9dc25c3e1b456aa568c12689fef5..0000000000000000000000000000000000000000 --- a/configs/spike_riscv64_defconfig +++ /dev/null @@ -1,16 +0,0 @@ -BR2_riscv=y -BR2_RISCV_64=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.14" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/spike/riscv64/linux.fragment" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_TARGET_ROOTFS_CPIO=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION=y -BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.2" -BR2_TARGET_OPENSBI_PLAT="generic" -BR2_TARGET_OPENSBI_LINUX_PAYLOAD=y -BR2_PACKAGE_HOST_RISCV_ISA_SIM=y diff --git a/configs/stm32f429_disco_xip_defconfig b/configs/stm32f429_disco_xip_defconfig deleted file mode 100644 index 99ae8cc7533bb64fab2e0ce201cda645a05463dc..0000000000000000000000000000000000000000 --- a/configs/stm32f429_disco_xip_defconfig +++ /dev/null @@ -1,22 +0,0 @@ -BR2_arm=y -BR2_cortex_m4=y -BR2_KERNEL_HEADERS_6_1=y -# BR2_UCLIBC_INSTALL_UTILS is not set -BR2_ENABLE_LTO=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.27" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32f429-disco/linux.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f429-disco" -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/common/stm32f4xx/busybox.fragment" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AFBOOT_STM32=y -BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR=0x0800C000 -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/configs/stm32f469_disco_sd_defconfig b/configs/stm32f469_disco_sd_defconfig deleted file mode 100644 index 66840a77423095d143efde651add958b1e125544..0000000000000000000000000000000000000000 --- a/configs/stm32f469_disco_sd_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_m4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh board/stmicroelectronics/stm32f469-disco/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f469-disco/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.12" -BR2_LINUX_KERNEL_DEFCONFIG="stm32" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0x00000000.config board/stmicroelectronics/stm32f469-disco/linux-sd.fragment" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco" -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/common/stm32f4xx/busybox.fragment" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="32M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32f469-discovery" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/configs/stm32f469_disco_xip_defconfig b/configs/stm32f469_disco_xip_defconfig deleted file mode 100644 index 6e6ead0fdebb57a1cf6e7b91da04b3c439f94f8d..0000000000000000000000000000000000000000 --- a/configs/stm32f469_disco_xip_defconfig +++ /dev/null @@ -1,22 +0,0 @@ -BR2_arm=y -BR2_cortex_m4=y -BR2_KERNEL_HEADERS_5_15=y -# BR2_UCLIBC_INSTALL_UTILS is not set -BR2_ENABLE_LTO=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.6" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32f469-disco/linux-xip.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco" -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/common/stm32f4xx/busybox.fragment" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AFBOOT_STM32=y -BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR=0x0800C000 -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/configs/stm32f769_disco_sd_defconfig b/configs/stm32f769_disco_sd_defconfig deleted file mode 100644 index 725c985ec04ead2feb682d208b7686f99ec23507..0000000000000000000000000000000000000000 --- a/configs/stm32f769_disco_sd_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_m7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/stm32f769-disco/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f769-disco/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.108" -BR2_LINUX_KERNEL_DEFCONFIG="stm32" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0xc0000000.config board/stmicroelectronics/stm32f769-disco/linux-sd.fragment" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f769-disco" -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_SIZE="32M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32f769-disco" -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig deleted file mode 100644 index aed6cfad3438de86f0cd5fb4c548b9652eadc8a4..0000000000000000000000000000000000000000 --- a/configs/stm32mp157a_dk1_defconfig +++ /dev/null @@ -1,53 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.13 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y - -# System configuration -BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dk1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_8_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dk1.dtb E=0 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157a-dk1" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig deleted file mode 100644 index c48705b2fb642bae17d6c39e4fdb661aba65dcc7..0000000000000000000000000000000000000000 --- a/configs/stm32mp157c_dk2_defconfig +++ /dev/null @@ -1,53 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.13 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y - -# System configuration -BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-dk2" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_8_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-dk2.dtb E=0 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-dk2" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/stm32mp157c_odyssey_defconfig b/configs/stm32mp157c_odyssey_defconfig deleted file mode 100644 index 2d3600410a54878953a7ede04ec842ddcfd0afa7..0000000000000000000000000000000000000000 --- a/configs/stm32mp157c_odyssey_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_GLOBAL_PATCH_DIR="board/seeed/stm32mp157c-odyssey/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_OVERLAY="board/seeed/stm32mp157c-odyssey/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/seeed/stm32mp157c-odyssey/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.1" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/seeed/stm32mp157c-odyssey/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-odyssey" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-odyssey.dtb E=0" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_STM32=y -BR2_TARGET_UBOOT_BUILD_FORMAT_STM32_LEGACY=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-odyssey" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/terasic_de10nano_cyclone5_defconfig b/configs/terasic_de10nano_cyclone5_defconfig deleted file mode 100644 index 8fb7cf664a6ebb5a02d79cbdb37101a73f26560e..0000000000000000000000000000000000000000 --- a/configs/terasic_de10nano_cyclone5_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_NEON=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/terasic/de10nano_cyclone5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/altera-opensource/linux-socfpga.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-5.11_21.06.01_pr" -BR2_LINUX_KERNEL_DEFCONFIG="socfpga" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_de0_nano_soc" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_BAREBOX=y -BR2_TARGET_BAREBOX_CUSTOM_VERSION=y -BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2021.07.0" -BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="socfpga" -BR2_TARGET_BAREBOX_IMAGE_FILE="images/barebox-socfpga-de10_nano.img" -BR2_TARGET_BAREBOX_CUSTOM_ENV=y -BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH="board/terasic/de10nano_cyclone5/barebox-env" -BR2_TARGET_BAREBOX_AUX=y -BR2_TARGET_BAREBOX_AUX_BOARD_DEFCONFIG="socfpga-xload-2" -BR2_TARGET_BAREBOX_AUX_IMAGE_FILE="images/barebox-socfpga-de10_nano-xload.img" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig deleted file mode 100644 index f88252a89c68a8f4ea17bc8445e9bd475df09b63..0000000000000000000000000000000000000000 --- a/configs/ti_am62x_sk_defconfig +++ /dev/null @@ -1,45 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="256M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_PLATFORM="k3" -BR2_TARGET_TI_K3_IMAGE_GEN=y -BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y -BR2_TARGET_TI_K3_R5_LOADER=y -BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_TI_K3_DM=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="tispl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="TEE=$(BINARIES_DIR)/tee-pager_v2.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig deleted file mode 100644 index 4bfd31f0c8d30d4d7d33a8a0dc95810ff820a289..0000000000000000000000000000000000000000 --- a/configs/ti_am64x_sk_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am642-sk" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_PLATFORM="k3" -BR2_TARGET_TI_K3_IMAGE_GEN=y -BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X=y -BR2_TARGET_TI_K3_R5_LOADER=y -BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_evm_r5" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="tispl.bin" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="TEE=$(BINARIES_DIR)/tee-pager_v2.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/toradex_apalis_imx6_defconfig b/configs/toradex_apalis_imx6_defconfig deleted file mode 100644 index e447190e0ceee9036676af7eb86d4c45d8ccfc64..0000000000000000000000000000000000000000 --- a/configs/toradex_apalis_imx6_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_GLOBAL_PATCH_DIR="board/toradex/apalis-imx6/patches" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/toradex/apalis-imx6/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.toradex.com/linux-toradex.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d899927728beca8357a5b4120b690cb3c1d80844" -BR2_LINUX_KERNEL_DEFCONFIG="apalis_imx6" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-apalis-eval imx6q-apalis-ixora imx6q-apalis-ixora-v1.1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.toradex.com/u-boot-toradex.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="30a1208727729dae22cb42f9ba9ba17efe5e6f77" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="apalis_imx6" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/ts4900_defconfig b/configs/ts4900_defconfig deleted file mode 100644 index e7950cea4b1e277f4324f81eb160537a20542f5b..0000000000000000000000000000000000000000 --- a/configs/ts4900_defconfig +++ /dev/null @@ -1,16 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/technologic/ts4900/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-ts4900" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_PACKAGE_TS4900_FPGA=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/ts5500_defconfig b/configs/ts5500_defconfig deleted file mode 100644 index 871c02e95f2cad1155454a782e959c6d580af2fc..0000000000000000000000000000000000000000 --- a/configs/ts5500_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -# architecture -BR2_i386=y -BR2_x86_i586=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" -BR2_ROOTFS_OVERLAY="board/technologic/ts5500/fs-overlay" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/technologic/ts5500/linux-4.14.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# rootfs -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# bootloader -BR2_TARGET_SYSLINUX=y -BR2_TARGET_SYSLINUX_MBR=y diff --git a/configs/ts7680_defconfig b/configs/ts7680_defconfig deleted file mode 100644 index 9e058b1d78f6cb9667526d6a5070458f545ef86f..0000000000000000000000000000000000000000 --- a/configs/ts7680_defconfig +++ /dev/null @@ -1,16 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/technologic/ts7680/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,embeddedTS,linux-4.9.y,v4.9.311-ts)/linux-v4.9.311-ts.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="ts_imx28" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-ts7680" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/uevm5432_defconfig b/configs/uevm5432_defconfig deleted file mode 100644 index 7b9a4309c631923f9b07d6a0a4444d1b4a2e9b94..0000000000000000000000000000000000000000 --- a/configs/uevm5432_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a15=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" -BR2_SYSTEM_DHCP="eth0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/uevm5432/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap5-uevm" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap5_uevm" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" - -# Required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/versal_vck190_defconfig b/configs/versal_vck190_defconfig deleted file mode 100644 index 8561b6641ab0af629c00f08497d4224c8ee084c3..0000000000000000000000000000000000000000 --- a/configs/versal_vck190_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/versal/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/versal/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyAMA0,115200 mmcblk0p2" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/versal-vck190-rev1.1" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="versal" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_versal_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=versal-vck190-rev1.1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_REMAKE_ELF=y -BR2_TARGET_UBOOT_FORMAT_DTB=y -BR2_PACKAGE_VERSAL_FIRMWARE=y -BR2_PACKAGE_VERSAL_FIRMWARE_VERSION="xilinx_v2023.2" -BR2_PACKAGE_VERSAL_FIRMWARE_BOARD="vck190" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_BOOTGEN=y -BR2_GLOBAL_PATCH_DIR="board/versal/patches" diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig deleted file mode 100644 index dc086953a0f14493a06cf5929fbdcb372b180f3e..0000000000000000000000000000000000000000 --- a/configs/visionfive2_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/visionfive2/overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/visionfive/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,05533e9c31d6f0da20efc2d436a3b0f6d516ed4b)/linux-05533e9c31d6f0da20efc2d436a3b0f6d516ed4b.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="starfive_visionfive2" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7110-visionfive-v2" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/visionfive_defconfig b/configs/visionfive_defconfig deleted file mode 100644 index 0d9325078a27b60a0b7018125d2ec02cedd86ae3..0000000000000000000000000000000000000000 --- a/configs/visionfive_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -BR2_riscv=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_OVERLAY="board/visionfive/overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/visionfive/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,cfcb617265422c0af0ae5bc9688dceba2d10b27a)/linux-cfcb617265422c0af0ae5bc9688dceba2d10b27a.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="visionfive" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-starfive-visionfive-v1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig deleted file mode 100644 index 522173b8ed9106a2ed44139053724e1d7352005c..0000000000000000000000000000000000000000 --- a/configs/wandboard_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 6.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Image -BR2_ROOTFS_OVERLAY="board/wandboard/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="wandboard" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.12" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx6q-wandboard nxp/imx/imx6dl-wandboard nxp/imx/imx6q-wandboard-revb1 nxp/imx/imx6dl-wandboard-revb1 nxp/imx/imx6q-wandboard-revd1 nxp/imx/imx6dl-wandboard-revd1 nxp/imx/imx6qp-wandboard-revd1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig deleted file mode 100644 index 7389919396a90a9d631ec31ca635ecd6e9a08cef..0000000000000000000000000000000000000000 --- a/configs/warp7_defconfig +++ /dev/null @@ -1,52 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 6.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/warp7/rootfs_overlay" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx7s-warp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="warp7" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y - -# wifi firmware for brcm43430 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/warpboard_defconfig b/configs/warpboard_defconfig deleted file mode 100644 index 1655381aa63abe65d8638353ab811e041dddbbd8..0000000000000000000000000000000000000000 --- a/configs/warpboard_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# system -BR2_TARGET_GENERIC_HOSTNAME="warpboard" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/freescale/warpboard/rootfs_overlay" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/warpboard/linux.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-warp" - -# wifi firmware for brcm4330 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# uboot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="warp" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.11" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# host utility -BR2_PACKAGE_HOST_DFU_UTIL=y -BR2_PACKAGE_HOST_IMX_USB_LOADER=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig deleted file mode 100644 index d598a46c3969a5a04a98319b475e44de83615c3f..0000000000000000000000000000000000000000 --- a/configs/zynq_microzed_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-microzed" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-microzed" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig deleted file mode 100644 index e85285a8321f3b440a9352815fa785d726f48c23..0000000000000000000000000000000000000000 --- a/configs/zynq_zc702_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc702" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc702" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig deleted file mode 100644 index 3489f864e1e13bbfbb9a537e6bf7778b22e63499..0000000000000000000000000000000000000000 --- a/configs/zynq_zc706_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zc706" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig deleted file mode 100644 index a3a94687f58a44d573d600930bcb279a8d5ce868..0000000000000000000000000000000000000000 --- a/configs/zynq_zed_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynq/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynq_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynq-zed" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/configs/zynqmp_kria_kd240_defconfig b/configs/zynqmp_kria_kd240_defconfig deleted file mode 100644 index 78302a48c0b0c043949242fdd46640c4bcf075e9..0000000000000000000000000000000000000000 --- a/configs/zynqmp_kria_kd240_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh board/zynqmp/kria/kd240/kd240.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS1,115200 sda2 ${UBOOT_DIR}" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-smk-k24-revA-sck-kd-g-revA" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="ZYNQMP_CONSOLE=cadence1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynqmp/kria/uboot.fragment" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-smk-k24-revA" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/kd240-kria/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/kria/kd240/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches board/zynqmp/kria/kd240/patches" diff --git a/configs/zynqmp_kria_kr260_defconfig b/configs/zynqmp_kria_kr260_defconfig deleted file mode 100644 index 2089c3f355484d9557c992c6b4fe25bfc7e53e79..0000000000000000000000000000000000000000 --- a/configs/zynqmp_kria_kr260_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh board/zynqmp/kria/kr260/kr260.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS1,115200 sda2 ${UBOOT_DIR}" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-smk-k26-revA-sck-kr-g-revB" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="ZYNQMP_CONSOLE=cadence1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynqmp/kria/uboot.fragment" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-smk-k26-revA" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/kr260-kria/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/kria/kr260/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches" diff --git a/configs/zynqmp_kria_kv260_defconfig b/configs/zynqmp_kria_kv260_defconfig deleted file mode 100644 index a3a157267c8c98ff797916cf1bf211f81637fff2..0000000000000000000000000000000000000000 --- a/configs/zynqmp_kria_kv260_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh board/zynqmp/kria/kv260/kv260.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS1,115200 mmcblk1p2 ${UBOOT_DIR}" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-smk-k26-revA-sck-kv-g-revB" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="ZYNQMP_CONSOLE=cadence1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynqmp/kria/uboot.fragment" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-smk-k26-revA" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/kv260-kria/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/kria/kv260/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches" diff --git a/configs/zynqmp_zcu102_defconfig b/configs/zynqmp_zcu102_defconfig deleted file mode 100644 index c920093d8d7e5a7b3f27183f6b1f1361a12ff67d..0000000000000000000000000000000000000000 --- a/configs/zynqmp_zcu102_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS0,115200 mmcblk0p2" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu102-rev1.0" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu102-rev1.0" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/zcu102-zynqmp/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu102/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches" diff --git a/configs/zynqmp_zcu104_defconfig b/configs/zynqmp_zcu104_defconfig deleted file mode 100644 index 452f2343c8de0fcd52762137474eaa028b11069a..0000000000000000000000000000000000000000 --- a/configs/zynqmp_zcu104_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS0,115200 mmcblk0p2" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu104-revC" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu104-revC" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/zcu104-zynqmp/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu104/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches" diff --git a/configs/zynqmp_zcu106_defconfig b/configs/zynqmp_zcu106_defconfig deleted file mode 100644 index 011c7f0fae54df874de98595db1b88c1ac16d555..0000000000000000000000000000000000000000 --- a/configs/zynqmp_zcu106_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="ttyPS0,115200 mmcblk0p2" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,linux-xlnx,xlnx_rebase_v6.1_LTS_2023.2)/xlnx_rebase_v6.1_LTS_2023.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu106-revA" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,arm-trusted-firmware,xlnx_rebase_v2.8_2023.2)/xlnx_rebase_v2.8_2023.2.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2023.01_2023.2)/xlnx_rebase_v2023.01_2023.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-revA" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_NEEDS_GNUTLS=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/Xilinx/soc-prebuilt-firmware/raw/xilinx_v2023.2/zcu106-zynqmp/pmufw.elf" -BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu106/pm_cfg_obj.c" -BR2_TARGET_UBOOT_FORMAT_ITB=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches" diff --git a/fs/common.mk b/fs/common.mk index 37eafac4f7a791a3648845e061943674d777d762..24555c0a1307294346d2ad2f996c9373113ac510 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -149,7 +149,7 @@ endif ifeq ($$(BR2_TARGET_ROOTFS_$(2)_XZ),y) ROOTFS_$(2)_DEPENDENCIES += host-xz ROOTFS_$(2)_COMPRESS_EXT = .xz -ROOTFS_$(2)_COMPRESS_CMD = xz -9 -C crc32 -c +ROOTFS_$(2)_COMPRESS_CMD = xz -6 -C crc32 -c ifeq ($(BR2_REPRODUCIBLE),) ROOTFS_$(2)_COMPRESS_CMD += -T $(PARALLEL_JOBS) endif diff --git a/package/Config.in b/package/Config.in index c677c3ff4a9de95ef9ffb2cb00079ff3d69764b7..5501458ab97e95f51f0495c708f9663c3ea5725c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -253,6 +253,10 @@ menu "Filesystem and flash utilities" source "package/xfsprogs/Config.in" source "package/zerofree/Config.in" source "package/zfs/Config.in" + source "package/kernel-headers/Config.in" + source "package/rootfs-chown/Config.in" + source "package/phytium-tools/Config.in" + source "package/kernel-headers/Config.in" endmenu menu "Fonts, cursors, icons, sounds and themes" @@ -461,6 +465,8 @@ menu "Firmware" source "package/wilc-firmware/Config.in" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" + source "package/phyuboot/Config.in" + source "package/phytium-tools/Config.in" endmenu source "package/18xx-ti-utils/Config.in" source "package/a10disp/Config.in" @@ -2659,6 +2665,7 @@ menu "Security" source "package/semodule-utils/Config.in" source "package/setools/Config.in" source "package/urandom-scripts/Config.in" + source "package/phytium-optee/Config.in" endmenu menu "Shell and utilities" diff --git a/package/Makefile.in b/package/Makefile.in index 3e276d23d65010e7b238181b2a28b759892b8bde..658b79ae4122dcbac808cb67f00c647d927630cc 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -149,6 +149,10 @@ endif TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS)) +ifeq ($(BR2_ROOTFS_SKELETON_DEBIAN),y) +TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/aarch64-linux-gnu +endif + # By design, _FORTIFY_SOURCE requires gcc optimization to be enabled. # Therefore, we need to pass _FORTIFY_SOURCE and the optimization level # through the same mechanism, i.e currently through CFLAGS. Passing diff --git a/package/genimage/0001-image-hd-remove-MBR-space.patch b/package/genimage/0001-image-hd-remove-MBR-space.patch new file mode 100644 index 0000000000000000000000000000000000000000..4405b19f998c5d87d9096b9b777a7224566a528a --- /dev/null +++ b/package/genimage/0001-image-hd-remove-MBR-space.patch @@ -0,0 +1,33 @@ +From 0facda308510839f33c34b3416080d9e72e51440 Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Wed, 14 Jun 2023 13:55:16 +0800 +Subject: [PATCH] image-hd: remove MBR space + +Signed-off-by: Chunrong Guo +--- + image-hd.c | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/image-hd.c b/image-hd.c +index 5e3a3b4..09affcd 100644 +--- a/image-hd.c ++++ b/image-hd.c +@@ -859,15 +859,6 @@ static int hdimage_setup(struct image *image, cfg_t *cfg) + part->name); + return -EINVAL; + } +- if (!part->extended) { +- int ret = check_overlap(image, part); +- if (ret) +- return ret; +- } else if (now > part->offset) { +- image_error(image, "part %s overlaps with previous partition\n", +- part->name); +- return -EINVAL; +- } + if (part->in_partition_table && (part->size % 512)) { + image_error(image, "part %s size (%lld) must be a " + "multiple of 1 sector (512 bytes)\n", +-- +2.25.1 + diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk index 2be8e1137e852cf25b7c4bb64b5994668888886a..33f60a95eaa753619f857210f7ac0d22bd081a54 100644 --- a/package/genimage/genimage.mk +++ b/package/genimage/genimage.mk @@ -7,7 +7,7 @@ GENIMAGE_VERSION = 17 GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION) -HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse +HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse host-p7zip GENIMAGE_LICENSE = GPL-2.0 GENIMAGE_LICENSE_FILES = COPYING diff --git a/package/kernel-headers/Config.in b/package/kernel-headers/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..6b8cdf7779819ca1520b7a5f9159360fade86ce7 --- /dev/null +++ b/package/kernel-headers/Config.in @@ -0,0 +1,5 @@ +config BR2_PACKAGE_KERNEL_HEADERS + bool "linux kernel headers" + help + This package is used to provide Linux kernel headers for + building out-of-tree kernel modules. diff --git a/package/kernel-headers/kernel-headers.mk b/package/kernel-headers/kernel-headers.mk new file mode 100644 index 0000000000000000000000000000000000000000..b38c4b06bd22270ec01dda9653d448819aa372d7 --- /dev/null +++ b/package/kernel-headers/kernel-headers.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# kernel-headers +# +################################################################################ + +# This package is used to provide Linux kernel headers for +# building out-of-tree kernel modules. +KERNEL_HEADERS_DEPENDENCIES = linux + +define KERNEL_HEADERS_CONFIGURE_CMDS + cp $(KERNEL_HEADERS_PKGDIR)/kernel_headers_install.sh $(@D) +endef + +define KERNEL_HEADERS_INSTALL_TARGET_CMDS + $(@D)/kernel_headers_install.sh $(TARGET_DIR) $(LINUX_VERSION_PROBED) $(LINUX_DIR) +endef + +$(eval $(generic-package)) diff --git a/package/kernel-headers/kernel_headers_install.sh b/package/kernel-headers/kernel_headers_install.sh new file mode 100755 index 0000000000000000000000000000000000000000..e74ac14c23d789bd86d45ecb907f7828becd3e25 --- /dev/null +++ b/package/kernel-headers/kernel_headers_install.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +deploy_kernel_headers_6_6 () { + topdir=$(pwd) + pdir=$1 + version=$2 + srctree=$3 + rm -rf $pdir/usr/src/linux-headers-$version + rm -rf $pdir/lib/modules/$version/build + cd ${srctree} + srctree=${srctree} SRCARCH=arm64 KCONFIG_CONFIG=.config \ + ${srctree}/scripts/package/install-extmod-build $pdir/usr/src/linux-headers-$version + # used to build dma + cp drivers/dma/dmaengine.h $1/usr/include + cp drivers/dma/virt-dma.h $1/usr/include + find $pdir/usr/src/linux-headers-$version -name "*.o" -type f -exec rm -rf {} \; + cd $topdir + cp -r board/phytium/common/linux-6.6/scripts $pdir/usr/src/linux-headers-$version + mkdir -p $pdir/lib/modules/$version/ + ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build +} + +# $1: $(TARGET_DIR) +# $2: $(LINUX_VERSION_PROBED) +# $3: $(LINUX_DIR) +if [[ $2 = 6.6* ]];then + deploy_kernel_headers_6_6 $1 $2 $3 +fi diff --git a/package/p7zip/p7zip.mk b/package/p7zip/p7zip.mk index b6c5adae26477cddea1cafe0f237ad0119ab5b92..ef145147e9756bbe8b389f3edf5282023fa0df79 100644 --- a/package/p7zip/p7zip.mk +++ b/package/p7zip/p7zip.mk @@ -31,4 +31,13 @@ define P7ZIP_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/bin/$(P7ZIP_TARGET) endef +define HOST_P7ZIP_BUILD_CMDS + $(BR2_MAKE1) -C $(@D) $(P7ZIP_TARGET) +endef + +define HOST_P7ZIP_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/bin/$(P7ZIP_TARGET) $(HOST_DIR)/bin/$(P7ZIP_TARGET) +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/package/phytium-optee/Config.in b/package/phytium-optee/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..c59a4661596aca55687e053b1a7ca036b7f4e96a --- /dev/null +++ b/package/phytium-optee/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_PHYTIUM_OPTEE + bool "phytium_optee" + help + Phytium OPTEE provides OP-TEE OS, client, examples. + + +if BR2_PACKAGE_PHYTIUM_OPTEE + +config BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_URL + string "URL of phytium optee custom repository" + help + Specific location of the reference source tree Git + repository. + +config BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by Git, i.e a + SHA1 or a tag. + +config BR2_PACKAGE_PHYTIUM_OPTEE_BOARD + string "Target board" + help + Value for the target board directive provided to + Phytium OPTEE build script. Support: + "e2000ddemo", "e2000qdemo". + +endif # BR2_PACKAGE_PHYTIUM_OPTEE diff --git a/package/phytium-optee/S30phytium-optee b/package/phytium-optee/S30phytium-optee new file mode 100644 index 0000000000000000000000000000000000000000..04371010fdf42e2684258b128dfc1a6f06076084 --- /dev/null +++ b/package/phytium-optee/S30phytium-optee @@ -0,0 +1,48 @@ +#!/bin/sh + +DAEMON="tee-supplicant" + +DAEMON_ARGS="-d /dev/teepriv0" + +start() { + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -S -q -x "/usr/bin/$DAEMON" \ + -- $DAEMON_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -x "/usr/bin/$DAEMON" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + # Restart, since there is no true "reload" feature (does not + # reconfigure/restart on SIGHUP, just closes all open files). + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/package/phytium-optee/phytium-optee.mk b/package/phytium-optee/phytium-optee.mk new file mode 100755 index 0000000000000000000000000000000000000000..6466bb4898adec0350fb862a2e1d2f72cb51deb5 --- /dev/null +++ b/package/phytium-optee/phytium-optee.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# phytium-optee +# +################################################################################ + +PHYTIUM_OPTEE_SITE_METHOD = git +PHYTIUM_OPTEE_SITE = $(call qstrip,$(BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_URL)) +PHYTIUM_OPTEE_VERSION = $(call qstrip,$(BR2_PACKAGE_PHYTIUM_OPTEE_CUSTOM_REPO_VERSION)) + +PHTYIUM_OPTEE_TARGET_BOARD = $(call qstrip,$(BR2_PACKAGE_PHYTIUM_OPTEE_BOARD)) + +# install optee os/client sdk in staging +# if other package need build CA & TA, CA will use default staging path. +# TA need set TA_DEV_KIT_DIR=$(PHYTIUM_OPTEE_OS_SDK). +PHYTIUM_OPTEE_OS_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm64 +PHYTIUM_OPTEE_CLIENT_SDK = $(STAGING_DIR)/usr + +# build optee os need this package in host +PHYTIUM_OPTEE_DEPENDENCIES = host-openssl host-python3 host-python-pycryptodomex host-python-pyelftools host-python-cryptography + +PHYTIUM_OPTEE_INSTALL_IMAGES = YES +PHYTIUM_OPTEE_INSTALL_STAGING = YES + +define PHYTIUM_OPTEE_BUILD_CMDS + cd $(@D); ./build_all clean; CROSS_COMPILE64=$(TARGET_CROSS) PYTHON3="$(HOST_DIR)/bin/python3" ./build_all $(PHTYIUM_OPTEE_TARGET_BOARD) d +endef + +# install lib & ta & client into rootfs +define PHYTIUM_OPTEE_INSTALL_TARGET_CMDS + cp -dpf $(@D)/out/data/bin/* $(TARGET_DIR)/usr/bin + cp -dpf $(@D)/out/data/lib/* $(TARGET_DIR)/usr/lib + mkdir -p $(TARGET_DIR)/data/optee_armtz + cp $(@D)/out/data/optee_armtz/* $(TARGET_DIR)/data/optee_armtz +endef + +# install tee.bin into BINARIES_DIR, so that can use tboot to load tee os. +define PHYTIUM_OPTEE_INSTALL_IMAGES_CMDS + cp -dpf $(@D)/out/*.bin $(BINARIES_DIR) +endef + +# install sdk for build other package +define PHYTIUM_OPTEE_INSTALL_STAGING_CMDS + #echo $(STAGING_DIR) + mkdir -p $(PHYTIUM_OPTEE_OS_SDK) + cp -ardpf $(@D)/out/data/link/export/usr/* $(PHYTIUM_OPTEE_CLIENT_SDK) +endef + + +define PHYTIUM_OPTEE_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D $(PHYTIUM_OPTEE_PKGDIR)/S30phytium-optee \ + $(TARGET_DIR)/etc/init.d/S30phytium-optee +endef + +$(eval $(generic-package)) diff --git a/package/phytium-optee/phytium-tee-supplicant.service b/package/phytium-optee/phytium-tee-supplicant.service new file mode 100644 index 0000000000000000000000000000000000000000..320fa327ce74aee3a9ba39f1131bf2252054dfb6 --- /dev/null +++ b/package/phytium-optee/phytium-tee-supplicant.service @@ -0,0 +1,10 @@ +[Unit] +Description=phytium tee supplicant + +[Service] +User=root +ExecStart=tee-supplicant /dev/teepriv0 +Restart=always + +[Install] +WantedBy=sysinit.target diff --git a/package/phytium-tools/Config.in b/package/phytium-tools/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..65a3f5777ecbc2c107e3c027e2c6339d3504ba50 --- /dev/null +++ b/package/phytium-tools/Config.in @@ -0,0 +1,2 @@ +config BR2_PACKAGE_PHYTIUM_TOOLS + bool "phytium_tools" diff --git a/package/phytium-tools/phytium-tools.mk b/package/phytium-tools/phytium-tools.mk new file mode 100644 index 0000000000000000000000000000000000000000..395675ce40fbd6a75a43921ab7821077362b91b1 --- /dev/null +++ b/package/phytium-tools/phytium-tools.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# phytium-tools +# +################################################################################ + +PHYTIUM_TOOLS_VERSION = 0.1 +PHYTIUM_TOOLS_SITE = package/phytium-tools/src +PHYTIUM_TOOLS_SITE_METHOD = local +PHYTIUM_TOOLS_INSTALL_TARGET_CMDS = YES + +define PHYTIUM_TOOLS_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/bin + mkdir -p $(TARGET_DIR)/lib/firmware/rtlbt + mkdir -p $(TARGET_DIR)/lib/systemd/system/ + mkdir -p $(TARGET_DIR)/usr/share/images/desktop-base/ + mkdir -p $(TARGET_DIR)/usr/share/lightdm/lightdm-gtk-greeter.conf.d/ + mkdir -p $(TARGET_DIR)/usr/share/desktop-base/profiles/xdg-config/xfce4/xfconf/xfce-perchannel-xml/ + mkdir -p $(TARGET_DIR)/lib/firmware/rtw88/ + mkdir -p $(TARGET_DIR)/lib/firmware/rtl_bt/ + mkdir -p $(TARGET_DIR)/etc/modprobe.d/ + $(INSTALL) -m 777 -D $(@D)/dark.jpg $(TARGET_DIR)/usr/share/images/desktop-base/ + $(INSTALL) -m 755 -D $(@D)/01_debian.conf $(TARGET_DIR)/usr/share/lightdm/lightdm-gtk-greeter.conf.d/ + $(INSTALL) -m 755 -D $(@D)/xfce4-desktop.xml $(TARGET_DIR)/usr/share/desktop-base/profiles/xdg-config/xfce4/xfconf/xfce-perchannel-xml/ + $(INSTALL) -m 755 -D $(@D)/rtlbt/* $(TARGET_DIR)/lib/firmware/rtlbt/ + $(INSTALL) -m 755 -D $(@D)/rtk_hciattach $(TARGET_DIR)/usr/bin/ + $(INSTALL) -m 755 -D $(@D)/resize.sh $(TARGET_DIR)/usr/bin/ + $(INSTALL) -m 644 -D $(@D)/systemd-hciattach.service $(TARGET_DIR)/lib/systemd/system/ + $(INSTALL) -m 755 -D $(@D)/runtime_replace_bootloader.sh $(TARGET_DIR)/usr/bin/ + $(INSTALL) -m 444 -D $(@D)/rtw8821c_fw.bin $(TARGET_DIR)/lib/firmware/rtw88/ + $(INSTALL) -m 755 -D $(@D)/rc.local $(TARGET_DIR)/etc/ + $(INSTALL) -m 755 -D $(@D)/rtlbt/rtl8821c_config $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8821c_config.bin + $(INSTALL) -m 755 -D $(@D)/rtlbt/rtl8821c_fw $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8821c_fw.bin + $(INSTALL) -m 755 -D $(@D)/rtw88.conf $(TARGET_DIR)/etc/modprobe.d/ +endef + +$(eval $(generic-package)) diff --git a/package/phytium-tools/src/01_debian.conf b/package/phytium-tools/src/01_debian.conf new file mode 100644 index 0000000000000000000000000000000000000000..0cbab68d5009664b817cd4b5e7f6d8f12adff1d4 --- /dev/null +++ b/package/phytium-tools/src/01_debian.conf @@ -0,0 +1,10 @@ +# Debian specific defaults +# + +[greeter] +background=/usr/share/images/desktop-base/dark.jpg +theme-name=Adwaita +xft-antialias=true +xft-hintstyle=hintfull +xft-rgba=rgb +reader=orca diff --git a/package/phytium-tools/src/dark.jpg b/package/phytium-tools/src/dark.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f4bcb7e97ffc36c33fa368d8b60bbf7c8ae4704e Binary files /dev/null and b/package/phytium-tools/src/dark.jpg differ diff --git a/package/phytium-tools/src/rc.local b/package/phytium-tools/src/rc.local new file mode 100644 index 0000000000000000000000000000000000000000..82fb394ad10cf3004838885d93e88614c28c1845 --- /dev/null +++ b/package/phytium-tools/src/rc.local @@ -0,0 +1,16 @@ +#!/bin/bash + +lock_file="/var/tmp/resize.lock" + +if [ -f "$lock_file" ]; then + echo "Partition expansion script has already been executed." + exit 0 +fi + +# if the scripts has not been executed yet, create a lock file +touch "$lock_file" + +# execute the partition expansion script +nohup /usr/bin/resize.sh & + +exit 0 diff --git a/package/phytium-tools/src/resize.sh b/package/phytium-tools/src/resize.sh new file mode 100755 index 0000000000000000000000000000000000000000..c20efe0a7c9871c19acd9c810ad241582065398f --- /dev/null +++ b/package/phytium-tools/src/resize.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +# Phytium phytiumpi resize script +# +# Copyright (c) 2023-2024 Phytium Technology Co., Ltd. + +ROOT_PART="$(findmnt / -o source -n)" + ROOT_DEV="/dev/$(lsblk -no pkname "$ROOT_PART")" + + PART_NUM="$(echo "$ROOT_PART" | grep -o "[[:digit:]]*$")" + + LAST_PART_NUM=$(fdisk -l "$ROOT_DEV" | tail -n 1 | cut -f 1 -d' ' | cut -d 'p' -f 2) + if [ "$LAST_PART_NUM" -ne "$PART_NUM" ]; then + whiptail --msgbox "$ROOT_PART is not the last partition. Don't know how to expand" 20 60 2 + return 0 + fi + + # Get the starting offset of the root partition + PART_START=$(fdisk -l "$ROOT_DEV" | tail -n 1 | cut -f 7 -d' ') + [ "$PART_START" ] || return 1 + # Return value will likely be error for fdisk as it fails to reload the + # partition table because the root fs is mounted + fdisk "$ROOT_DEV" <> replace.log + if [ "$1" == "all" ]; then + #to preserve the partition table. + dd if=/dev/mmcblk0 of=start.img bs=512 count=1 >> replace.log 2>&1 + dd if=fip-all.bin of=/dev/mmcblk0 bs=1M count=4 >> replace.log 2>&1 + dd if=start.img of=/dev/mmcblk0 bs=512 count=1 >> replace.log 2>&1 + dd if=fitImage of=/dev/mmcblk0 bs=1M seek=4 count=60 >> replace.log 2>&1 + rm -f start.img + elif [ "$1" == "uboot" ]; then + #to preserve the partition table. + dd if=/dev/mmcblk0 of=start.img bs=512 count=1 >> replace.log 2>&1 + dd if=fip-all.bin of=/dev/mmcblk0 bs=1M count=4 >> replace.log 2>&1 + dd if=start.img of=/dev/mmcblk0 bs=512 count=1 >> replace.log 2>&1 + rm -f start.img + elif [ "$1" == "image" ]; then + dd if=fitImage of=/dev/mmcblk0 bs=1M seek=4 count=60 >> replace.log 2>&1 + else + echo "args error, exit" + fi + + if [ "$?" != "0" ]; then + echo "dd to /dev/mmcblk0 failed" + exit 1 + fi + echo "--------------------------------------------------------------------------" >> replace.log +} + +main $@ diff --git a/package/phytium-tools/src/systemd-hciattach.service b/package/phytium-tools/src/systemd-hciattach.service new file mode 100644 index 0000000000000000000000000000000000000000..59aa8e28ff03734a211ac1ad5075ac847223f9eb --- /dev/null +++ b/package/phytium-tools/src/systemd-hciattach.service @@ -0,0 +1,11 @@ +[Unit] +Description=rtk_hciattach +DefaultDependencies=no +After=NetworkManager.service + +[Service] +ExecStart=/usr/bin/rtk_hciattach -n -s 115200 ttyAMA0 rtk_h5 +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/package/phytium-tools/src/xfce4-desktop.xml b/package/phytium-tools/src/xfce4-desktop.xml new file mode 100644 index 0000000000000000000000000000000000000000..e3b6e54a652aa4ecadf69acdd67c22f94f6e6421 --- /dev/null +++ b/package/phytium-tools/src/xfce4-desktop.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/package/phyuboot/Config.in b/package/phyuboot/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..dd525be9b621d7dc78224e6c2147e7bb053b23bd --- /dev/null +++ b/package/phyuboot/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PHYUBOOT + bool "phyuboot" + help + Phytium Pi uboot firmware + +if BR2_PACKAGE_PHYUBOOT +config BR2_PACKAGE_PHYUBOOT_RAMSIZE + string "ram size" + help + This is a comment that defines ram size is, 2G or 4g + +endif diff --git a/package/phyuboot/phyuboot.mk b/package/phyuboot/phyuboot.mk new file mode 100644 index 0000000000000000000000000000000000000000..01440e0a0b9ad53ed80b195bc89cc10bd71d0bc9 --- /dev/null +++ b/package/phyuboot/phyuboot.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# Phytium Pi uboot +# +################################################################################ + +PHYUBOOT_VERSION = 1.32-v2.1 +PHYUBOOT_SITE = package/phyuboot/src +PHYUBOOT_SITE_METHOD = local +PHYUBOOT_DEPENDENCIES = linux host-dtc +MKIMAGE_PI = $(HOST_DIR)/bin/mkimage_phypi +# The only available license files are in PDF and RTF formats, and we +# support only plain text. + +PHYUBOOT_INSTALL_IMAGES = YES +PHYUBOOT_RAMSIZE = $(BR2_PACKAGE_PHYUBOOT_RAMSIZE) + +define PHYUBOOT_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0777 $(@D)/fip-all-optee-$(BR2_PACKAGE_PHYUBOOT_RAMSIZE).bin $(BINARIES_DIR)/fip-all.bin + $(INSTALL) -D -m 0777 $(@D)/kernel.its $(BINARIES_DIR)/kernel.its + $(INSTALL) -D -m 755 $(@D)/mkimage $(HOST_DIR)/bin/mkimage_phypi + PATH=$(BR_PATH) $(MKIMAGE_PI) -f $(BINARIES_DIR)/kernel.its $(BINARIES_DIR)/fitImage +endef + +$(eval $(generic-package)) diff --git a/package/phyuboot/src/fip-all-optee-2GB.bin b/package/phyuboot/src/fip-all-optee-2GB.bin new file mode 100644 index 0000000000000000000000000000000000000000..fd0e4b09ecec027cb0a5d4daad01755892a0fdc7 Binary files /dev/null and b/package/phyuboot/src/fip-all-optee-2GB.bin differ diff --git a/package/phyuboot/src/fip-all-optee-4GB.bin b/package/phyuboot/src/fip-all-optee-4GB.bin new file mode 100644 index 0000000000000000000000000000000000000000..12f62778a55cdffa8f77744bd37b1e574fff69e7 Binary files /dev/null and b/package/phyuboot/src/fip-all-optee-4GB.bin differ diff --git a/board/radxa/rock5b/rock5b.its b/package/phyuboot/src/kernel.its similarity index 32% rename from board/radxa/rock5b/rock5b.its rename to package/phyuboot/src/kernel.its index 9ce235d041176f13b45bcfda8f807fb276560715..ea6a08989b034b4b01c9ea89679d5bbf97daea6e 100644 --- a/board/radxa/rock5b/rock5b.its +++ b/package/phyuboot/src/kernel.its @@ -1,46 +1,59 @@ -/dts-v1/; +/* + * Compilation: + * mkimage -f fit_kernel_dtb.its fit_kernel_dtb.itb + * + * Files in linux build dir: + * - arch/arm/boot/Image (zImage-old-ok) + * - arch/arm/boot/dts/ft.dtb + * + * fatload usb 0:1 0x90100000 fit_kernel_dtb.itb + * bootm 0x90100000#e2000 + * + */ +/dts-v1/; / { - description = "Rock 5B FIT Image"; + description = "U-Boot fitImage for Phytium Phytiumpi"; #address-cells = <1>; images { kernel { - description = "Kernel"; + description = "Linux kernel"; data = /incbin/("Image.gz"); type = "kernel"; arch = "arm64"; os = "linux"; compression = "gzip"; - load = <0x0a200000>; - entry = <0x0a200000>; - hash { - algo = "sha256"; + load = <0x80080000>; + entry = <0x80080000>; + hash-1 { + algo = "sha1"; }; }; - fdt { - description = "Device Tree"; - data = /incbin/("rock5b.dtb"); + + fdt-phytium { + description = "FDT phytiumpi"; + data = /incbin/("phytiumpi_firefly.dtb"); type = "flat_dt"; arch = "arm64"; compression = "none"; - load = <0x0e000000>; - entry = <0x0e000000>; - hash { - algo = "sha256"; + hash-1 { + algo = "sha1"; }; }; }; configurations { - default = "standard"; - standard { - description = "Standard Boot"; + default = "phytium@cecport"; + + phytium { + description = "phytimpi"; kernel = "kernel"; - fdt = "fdt"; - hash { - algo = "sha256"; + fdt = "fdt-phytium"; + hash-1 { + algo = "sha1"; }; }; + }; }; diff --git a/package/phyuboot/src/mkimage b/package/phyuboot/src/mkimage new file mode 100755 index 0000000000000000000000000000000000000000..0846e301024d2fb9c6a373a7e52cd3cea233c8e9 Binary files /dev/null and b/package/phyuboot/src/mkimage differ diff --git a/package/rootfs-chown/Config.in b/package/rootfs-chown/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..f88d5075c236f4913704067539623705540bcc45 --- /dev/null +++ b/package/rootfs-chown/Config.in @@ -0,0 +1,2 @@ +config BR2_PACKAGE_ROOTFS_CHOWN + bool "rootfs_chown" diff --git a/package/rootfs-chown/rootfs-chown.mk b/package/rootfs-chown/rootfs-chown.mk new file mode 100644 index 0000000000000000000000000000000000000000..4c6a230d972ae4b76db6ffcf2bd1fef6ae16ffbe --- /dev/null +++ b/package/rootfs-chown/rootfs-chown.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# rootfs-chown +# +################################################################################ + +ROOTFS_CHOWN_VERSION = 0.1 +ROOTFS_CHOWN_SITE = package/rootfs-chown/src +ROOTFS_CHOWN_SITE_METHOD = local +ROOTFS_CHOWN_INSTALL_TARGET_CMDS = YES + +define ROOTFS_CHOWN_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D $(@D)/S60rootfs-chown $(TARGET_DIR)/etc/init.d/ +endef + +define ROOTFS_CHOWN_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/etc/init.d/ + mkdir -p $(TARGET_DIR)/lib/systemd/system/ + $(INSTALL) -m 755 -D $(@D)/S60rootfs-chown $(TARGET_DIR)/etc/init.d/ + $(INSTALL) -m 644 -D $(@D)/systemd-rootfs-chown.service $(TARGET_DIR)/lib/systemd/system/ +endef + +$(eval $(generic-package)) diff --git a/package/rootfs-chown/src/S60rootfs-chown b/package/rootfs-chown/src/S60rootfs-chown new file mode 100755 index 0000000000000000000000000000000000000000..584bdd9cdc94c355c33dc4d6b4ea7b0086f45f32 --- /dev/null +++ b/package/rootfs-chown/src/S60rootfs-chown @@ -0,0 +1,54 @@ +#!/bin/sh +# +# rootfs-resize Starts rootfs-resize. +# +rootfs_chown() { + printf "\t chown folder in the rootfs: " + + [ -d /var/cache/man ] && chown -R man:root /var/cache/man + [ -d /var/lib/sddm ] && chown -R sddm:sddm /var/lib/sddm + if [ -d /var/lib/lightdm ]; then + chown -R lightdm:lightdm /var/lib/lightdm || true + chmod 0750 /var/lib/lightdm + fi + + chown -R user:user /home/user + if [ $? -eq 0 ] + then + echo "OK" + else + echo "Failed" + exit 1 + fi + echo 0 +} + +start() { + printf "Starting rootfs-chown: \n" + rootfs_chown +} + +stop() { + printf "Stopping rootfs-chown: " + echo "OK" +} +restart() { + stop + start +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac +exit $? diff --git a/package/rootfs-chown/src/systemd-rootfs-chown.service b/package/rootfs-chown/src/systemd-rootfs-chown.service new file mode 100644 index 0000000000000000000000000000000000000000..b5dbd3a5d2baf03be3fc4de8e93ccabebe66aa74 --- /dev/null +++ b/package/rootfs-chown/src/systemd-rootfs-chown.service @@ -0,0 +1,11 @@ +[Unit] +Description=chown folder +DefaultDependencies=no +After=getty.target + +[Service] +Type=oneshot +ExecStart=/etc/init.d/S60rootfs-chown start + +[Install] +WantedBy=multi-user.target diff --git a/package/skeleton-custom/skeleton-custom.mk b/package/skeleton-custom/skeleton-custom.mk index b05c834b94fa5da7f5aa044554d85dee8af6c6e4..33fd8c4401a46beeb70cde6a0f9f0032a4c7738d 100644 --- a/package/skeleton-custom/skeleton-custom.mk +++ b/package/skeleton-custom/skeleton-custom.mk @@ -15,6 +15,36 @@ SKELETON_CUSTOM_PROVIDES = skeleton SKELETON_CUSTOM_INSTALL_STAGING = YES +ifeq ($(BR2_ROOTFS_SKELETON_DEBIAN),y) +define SKELETON_CUSTOM_BUILD_CMDS + $(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT)), \ + @$(call MESSAGE,"Executing post-skeleton-custom script $(s)")$(sep) \ + $(EXTRA_ENV) $(s) $(@D) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) +endef + +define SKELETON_CUSTOM_INSTALL_TARGET_CMDS + $(call SYSTEM_RSYNC,$(@D),$(TARGET_DIR)) + $(INSTALL) -m 0644 support/misc/target-dir-warning.txt \ + $(TARGET_DIR_WARNING_FILE) + cd $(TARGET_DIR)/var && rm run && ln -sf ../run run && rm lock && ln -sf ../run/lock lock +endef + +define SKELETON_CUSTOM_INSTALL_STAGING_CMDS + $(call SYSTEM_RSYNC,$(@D),$(STAGING_DIR)) + cd $(STAGING_DIR)/var && rm run && ln -sf ../run run && rm lock && ln -sf ../run/lock lock +endef + +define SKELETON_CUSTOM_REMOVE_PERMISSION_FOR_SSH_FILES + if [ -d $(TARGET_DIR)/etc/ssh ]; then \ + chmod go-r $(TARGET_DIR)/etc/ssh/ssh_host_ecdsa_key; \ + chmod go-r $(TARGET_DIR)/etc/ssh/ssh_host_ed25519_key; \ + chmod go-r $(TARGET_DIR)/etc/ssh/ssh_host_rsa_key; \ + fi +endef +SKELETON_CUSTOM_POST_INSTALL_TARGET_HOOKS += SKELETON_CUSTOM_REMOVE_PERMISSION_FOR_SSH_FILES + +else + SKELETON_CUSTOM_PATH = $(call qstrip,$(BR2_ROOTFS_SKELETON_CUSTOM_PATH)) ifeq ($(BR2_PACKAGE_SKELETON_CUSTOM)$(BR_BUILDING),yy) @@ -57,5 +87,5 @@ define SKELETON_CUSTOM_INSTALL_STAGING_CMDS $(call SYSTEM_USR_SYMLINKS_OR_DIRS,$(STAGING_DIR)) $(call SYSTEM_LIB_SYMLINK,$(STAGING_DIR)) endef - +endif # ifeq ($(BR2_ROOTFS_SKELETON_DEBIAN),y) $(eval $(generic-package)) diff --git a/support/scripts/genimage.sh b/support/scripts/genimage.sh index 2796e19eb778065d413484ab3d7848dc4ba17d90..6ea696b9677266d114aa28c857a69d6858e124f5 100755 --- a/support/scripts/genimage.sh +++ b/support/scripts/genimage.sh @@ -46,3 +46,9 @@ genimage \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" + + +if [ -e ${BINARIES_DIR}/sdcard.img ]; then + 7zr a ${BINARIES_DIR}/sdcard.img.7z ${BINARIES_DIR}/sdcard.img +fi + diff --git a/system/Config.in b/system/Config.in index 33ca69b9339e017f3289ff439435d231e7408bfa..ff4ec0d6e989966a5e2cc63f09e8b9b03fd7a786 100644 --- a/system/Config.in +++ b/system/Config.in @@ -26,6 +26,77 @@ endchoice if BR2_ROOTFS_SKELETON_CUSTOM +choice + prompt "Choose Ubuntu or Debian" + default BR2_ROOTFS_SKELETON_UBUNTU + +config BR2_ROOTFS_SKELETON_UBUNTU + bool "custom target skeleton is ubuntu" + help + Custom target skeleton is ubuntu. + +config BR2_ROOTFS_SKELETON_DEBIAN + bool "custom target skeleton is debian" + help + Custom target skeleton is debian. + +if BR2_ROOTFS_SKELETON_DEBIAN + +choice + prompt "Choose Debian version" + default BR2_ROOTFS_SKELETON_DEBIAN_BOOKWORM + +config BR2_ROOTFS_SKELETON_DEBIAN_BOOKWORM + bool "Debian 12" + help + Debian 12 (Bookworm) + +config BR2_ROOTFS_SKELETON_DEBIAN_BULLSEYE + bool "Debian 11" + help + Debian 11 (Bullseye) + +endchoice + +endif + +endchoice + +config BR2_PACKAGE_ROOTFS_DESKTOP + bool "Debian desktop" + help + Debian desktop. + +config BR2_TARGET_GENERIC_HOSTNAME + string "System hostname" + default "buildroot" + help + Select system hostname to be stored in /etc/hostname. + + Leave empty to not create /etc/hostname, or to keep the + one from a custom skeleton. + +config BR2_ROOTFS_LINUX_HEADERS + bool "custom kernel headers" + select BR2_PACKAGE_KERNEL_HEADERS + help + Custom kernel headers for Debian. + +config BR2_ROOTFS_POST_CUSTOM_SKELETON_SCRIPT + string "Custom scripts to run before using custom skeleton" + default "" + help + Specify a space-separated list of scripts to be run after the download + and unzip has finished and before Buildroot starts using the custom skeleton. + + This gives users the opportunity to do board/skeleton specific configuration, + add-ons and the like, so the generated files can be used directly + without further processing. + + These scripts are called with the build directory name + as first argument. Make sure the exit code of those scripts are 0, otherwise + make will stop after calling them. + config BR2_ROOTFS_SKELETON_CUSTOM_PATH string "custom target skeleton path" help diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index ddf1d70ab429d39c51a147df5bba9c9763e93167..a7ceccd66ffa865e087a89f74d0c852b79a50446 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -453,6 +453,18 @@ define TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS $(call copy_toolchain_sysroot,$${SYSROOT_DIR},$${ARCH_SYSROOT_DIR},$${ARCH_SUBDIR},$${ARCH_LIB_DIR},$${SUPPORT_LIB_DIR}) endef +define TOOLCHAIN_EXTERNAL_FIX_SYMLINK_IN_STAGING + for link in $$(find $(STAGING_DIR) -type l); do \ + target=$$(readlink $${link}) ; \ + if [ "$${target}" == "$${target$(SHARP_SIGN)/}" ] ; then \ + continue ; \ + fi ; \ + relpath="$(call relpath_prefix,$${target$(SHARP_SIGN)/})" ; \ + echo "Fixing symlink $${link} from $${target} to $${relpath}$${target$(SHARP_SIGN)/}" ; \ + ln -sf $${relpath}$${target$(SHARP_SIGN)/} $${link} ; \ + done +endef + # Create a symlink from (usr/)$(ARCH_LIB_DIR) to lib. # Note: the skeleton package additionally creates lib32->lib or lib64->lib # (as appropriate) @@ -595,6 +607,15 @@ $(2)_TOOLCHAIN_WRAPPER_ARGS += $$(TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS) $(2)_BUILD_CMDS = $$(TOOLCHAIN_WRAPPER_BUILD) +ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y) +define $(2)_INSTALL_STAGING_CMDS + $$(TOOLCHAIN_WRAPPER_INSTALL) + $$(TOOLCHAIN_EXTERNAL_FIX_SYMLINK_IN_STAGING) + $$(TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER) + $$(TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT) + $$(TOOLCHAIN_EXTERNAL_FIXUP_PRETTY_PRINTER_LOADER) +endef +else define $(2)_INSTALL_STAGING_CMDS $$(TOOLCHAIN_WRAPPER_INSTALL) $$(TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK) @@ -603,10 +624,16 @@ define $(2)_INSTALL_STAGING_CMDS $$(TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT) $$(TOOLCHAIN_EXTERNAL_FIXUP_PRETTY_PRINTER_LOADER) endef +endif # Even though we're installing things in both the staging, the host # and the target directory, we do everything within the # install-staging step, arbitrarily. +ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y) +define $(2)_INSTALL_TARGET_CMDS + +endef +else define $(2)_INSTALL_TARGET_CMDS $$(TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK) $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS) @@ -614,6 +641,7 @@ define $(2)_INSTALL_TARGET_CMDS $$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO) $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD) endef +endif # Call the generic package infrastructure to generate the necessary # make targets diff --git a/utils/grant_sudo_perm.sh b/utils/grant_sudo_perm.sh new file mode 100755 index 0000000000000000000000000000000000000000..041c0d4b973b6066c8e0414615493c9f39de6c08 --- /dev/null +++ b/utils/grant_sudo_perm.sh @@ -0,0 +1,77 @@ +#!/bin/bash +SUDO_FILE=/etc/sudoers.d/buildroot_conf +permission_grant() +{ + echo "User(${USER[@]}) is applying the sudo permission." + file=$(tempfile) + if [ "x$?" != "x0" ] + then + echo "Failed to creat a tempfile."; + return 1 + fi + + if [ -f ${SUDO_FILE} ] + then + ${SUDO} rm -rf ${SUDO_FILE} + fi + echo "Host_Alias HOST = ${HOST}" >> ${file} + echo "User_Alias USER = "${USER[0]} >> ${file} + USER_RES=(${USER[@]}) + unset USER_RES[0] + for u in "${USER_RES[@]}" + do + ${SED} -i -e "/User_Alias/ s/$/,${u}/" ${file} + done + echo "Cmnd_Alias MOUNT = ${MOUNT},${UMOUNT}" >> ${file} + echo "Cmnd_Alias CHOWN = ${CHOWN}" >> ${file} + echo "Cmnd_Alias CHROOT1 = ${CHROOT1}" >> ${file} + echo "Cmnd_Alias CHMOD = ${CHMOD}" >> ${file} + echo "Cmnd_Alias FIND = ${FIND}" >> ${file} + echo "Cmnd_Alias CP = ${CP}" >> ${file} + echo "Cmnd_Alias MV = ${MV}" >> ${file} + echo "Cmnd_Alias DEBOOTSTRAP = ${DEBOOTSTRAP}" >> ${file} + echo "Cmnd_Alias MKDIR = ${MKDIR}" >> ${file} + echo "Cmnd_Alias TEE = ${TEE}" >> ${file} + echo "Cmnd_Alias RM = ${RM}" >> ${file} + echo "USER HOST=(root) NOPASSWD:MOUNT,CHMOD,CHROOT1,FIND,CP,MV,RM,MKDIR,TEE,CHOWN,DEBOOTSTRAP" >> ${file} + ${SUDO} ${CHOWN} root:root ${file} + ${SUDO} ${CHMOD} +r ${file} + ${SUDO} ${MV} ${file} ${SUDO_FILE} + echo "Buildroot User(${USER[@]}) is granted" + return 0 +} + + +HOST=ALL +SUDO=`which sudo` +MOUNT=`which mount` +UMOUNT=`which umount` +CHROOT1=`which chroot` +CHOWN=`which chown` +CHMOD=`which chmod` +FIND=`which find` +CP=`which cp` +MV=`which mv` +SED=`which sed` +MKDIR=`which mkdir` +TEE=`which tee` +RM=`which rm` +DEBOOTSTRAP=`which debootstrap` +if [ "x${DEBOOTSTRAP}" = "x" ] +then + echo "debootstrap not found. Try running \"install debootstrap\"" + exit 1 +fi +USER=() +confirmed=false + +if [[ $# -eq 0 ]] +then + USER=($(whoami)) +fi + +if [[ ${#USER[@]} -eq 0 ]] +then + USER=($(whoami)) +fi +permission_grant