Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
U-Boot
Compare Revisions
f36603c7a823308f23d10d443d6cbf6b365c12bd...c4fddedc48f336eabc4ce3f74940e6aa372de18c
Commits (429)
832bfad7
libfdt: Fix signedness comparison warnings
Nov 10, 2020
85c9a7ba
phy: meson-g12a-usb2: fix the potential build warning
Nov 12, 2020
fe76c420
video: meson: meson_dw_hdmi: fix the potential build warning
Nov 12, 2020
b6a71e26
ARM: mach-meson: update SoC IDs
Nov 12, 2020
77863d43
mmc: meson-gx: move arch header to local header
Nov 12, 2020
0dbb54eb
mmc: meson-gx: change clock phase value on SM1 SoCs
Nov 12, 2020
c87eab81
ARM: dts: meson-sm1: add u-boot specific MMC controller compatible
Nov 12, 2020
eb890250
rockchip: rk3399: Init clocks in U-Boot proper if SPL was not run
Nov 13, 2020
13634bb6
rockchip: gru: Allow setting up clocks in U-Boot proper
Nov 13, 2020
a355ece8
video: rockchip: Restrict EDP, VOP, MIPI files to GPL-2.0
Nov 13, 2020
c180e293
rockchip: rockpro64: fix boot from SPI flash on spi1
Nov 13, 2020
7a9c574c
rockchip: Enable BINMAN for boards enable SPL_OPTEE
Nov 13, 2020
b197c934
rockchip: Pinebook Pro: Fix USB
Nov 13, 2020
fccd3d9c
efi_selftest: keep devices in ExitBootServices()
Nov 14, 2020
337c97d9
efi_loader: Add missing newline to log_{err,warning}
Nov 14, 2020
792aee11
efi_loader: incorrect buffer size in efi_file_setinfo()
Nov 14, 2020
915e3ae5
tpm: Add some headers from the spec
Nov 14, 2020
c1c02105
efi_loader: Add basic EFI_TCG2_PROTOCOL support
Nov 14, 2020
af69267c
efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL
Nov 14, 2020
de865f7e
Merge tag 'efi-2021-01-rc3' of
https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Nov 14, 2020
4600767d
patman: Refactor how the default subcommand works
Nov 14, 2020
53336e6c
patman: Correct Change-Ids error message args
Nov 14, 2020
3145b635
patman: Update defaults in subparsers
Nov 14, 2020
7cbf02e9
patman: Allow specifying the patchwork URL
Nov 14, 2020
a55be354
patman: Add a setting for the Patchwork URL
Nov 14, 2020
fcbec650
patman: Add a Series-patchwork-url option
Nov 14, 2020
d237e9c7
cros_ec: Correct collection of EC hash
Nov 14, 2020
4cb862fe
cros_ec: Increase command timeout for flash erase
Nov 14, 2020
a3e45852
cros_ec: Handling EC_CMD_GET_NEXT_EVENT
Nov 14, 2020
a1337e35
ARM: am335x: Add phyBOARD REGOR support
Nov 15, 2020
4fcc084e
power: twl4030: Add twl4030_i2c_read() function
Nov 15, 2020
8d8c1817
Nokia RX-51: Convert to CONFIG_DM_I2C
Nov 15, 2020
87c5bc80
configs: am65/j72x: Set CONFIG_LOGLEVEL to 7
Nov 15, 2020
e4f75921
Nokia RX-51: Remove old comments from configs/nokia_rx51.h file
Nov 15, 2020
94f69f4c
Nokia RX-51: Fix crashing in U-Boot mmc function omap_hsmmc_stop_clock()
Nov 15, 2020
b95ffd30
Nokia RX-51: During init disable lp5523 led instead of resetting it
Nov 15, 2020
56847f3a
Nokia RX-51: Update test script
Nov 15, 2020
71c27dba
Nokia RX-51: Make onenand working
Nov 15, 2020
914689a2
mtd: OneNAND: Set MTD type
Nov 15, 2020
cd0d3749
Merge tag 'dm-pull-15nov20' of
git://git.denx.de/u-boot-dm
Nov 15, 2020
e1fdb204
Merge tag 'u-boot-rockchip-20201113' of
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
Nov 16, 2020
530dcdd0
Merge tag 'u-boot-amlogic-20201116' of
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic
Nov 16, 2020
9324c9a8
Merge tag 'ti-v2021.01-rc3' of
https://gitlab.denx.de/u-boot/custodians/u-boot-ti
Nov 16, 2020
2fcd7489
sunxi: board: Use a more descriptive variable name
Nov 17, 2020
467b7e52
sunxi: board: Add a helper to get the SPL DT name
Nov 17, 2020
54ac5aa1
sunxi: board: Simplify Pine A64 DT selection logic
Nov 17, 2020
8a8b73b6
sunxi: board: Add PinePhone DT selection logic
Nov 17, 2020
41530cf6
sunxi: board: Save the chosen DT name in the SPL header
Nov 17, 2020
20f3ee31
sunxi: board: Set fdtfile to match the DT chosen by SPL
Nov 17, 2020
e210ec01
sunxi: DT: A64: update device tree files
Nov 17, 2020
882fb905
sunxi: a64: Add a defconfig for the PinePhone
Nov 17, 2020
ef9025b5
sunxi: add V3/S3 support
Nov 17, 2020
889116bd
sunxi: gpio: introduce compatible string for V3 GPIO
Nov 17, 2020
6ffdc43c
clk: sunxi: add compatible string for V3
Nov 17, 2020
8c51c652
sunxi: allow to use AXP20[39] attached to I2C0 on V3 series
Nov 17, 2020
6d5d6bb5
sunxi: dts: sync Allwinner V3s-related DTs from Linux 5.10-rc1
Nov 17, 2020
a575c55d
Merge branch 'pr-2020-11-17' of
https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi
Nov 16, 2020
19dd274b
riscv: sort SPECIFIC_OPTIONS
Nov 17, 2020
2873ca2a
riscv: enable SATA disk on QEMU RISC-V
Nov 17, 2020
f0b18318
doc: qemu-riscv: describe attaching a disk image
Nov 17, 2020
82b838f8
pinctrl: k210: Fix inverted IE and OE for I2C
Nov 17, 2020
6e35c1cb
pinctrl: k210: Rename power domains to match datasheet
Nov 17, 2020
e800d715
Merge
https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
Nov 17, 2020
2a0a577a
env: mmc: Correct partition comparison in mmc_offset_try_partition
Nov 18, 2020
5a7885cc
arm: vexpress: don't reset flags in board_init to avoid losing previous ones
Nov 19, 2020
cc34f04e
tools: image-host.c: use random instead of rand
Nov 19, 2020
26927493
tools: image-host.c: use correct variable for strerrno
Nov 19, 2020
6a457bb2
common: fit: add missing newline
Nov 19, 2020
e157a111
tools: dumpimage: Remove remaining mentions of the -i option
Nov 19, 2020
7291332a
env: typo enougth
Nov 19, 2020
aef04a8a
km: replace hardcoded address for imported environment
Nov 19, 2020
c904a0b7
km/ppc: use Kconfig for MEMTEST configuration
Nov 19, 2020
e0407253
drivers: led: bcm6858: set the correct led polarity register
Nov 19, 2020
c49b0eb0
fs/squashfs: Fix index off by 1 for inode SQFS_LDIR_TYPE
Nov 19, 2020
9b5546c3
fs: btrfs: inode: handle uninitialized type before returning it
Nov 19, 2020
4891c4e5
fs: btrfs: initialize @ret to 0 to prevent uninitialized return value
Nov 19, 2020
1b1e0c01
fs/squashfs: fix board hang-up when calling .exists()
Nov 19, 2020
f268768d
fs/squashfs: sqfs_opendir: fix some memory leaks and dangling pointers
Nov 19, 2020
ea1b1651
fs/squashfs: sqfs_opendir: simplify error handling
Nov 19, 2020
87d11e08
fs/squashfs: sqfs_closedir: fix memory leak
Nov 19, 2020
54874778
fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers
Nov 19, 2020
7d23b2c5
fs/squashfs: sqfs_read_directory_table: fix memory leak
Nov 19, 2020
01e71ec6
fs/squashfs: sqfs_search_dir: fix dangling pointer
Nov 19, 2020
cd54591a
fs/squashfs: sqfs_search_dir: fix memory leaks
Nov 19, 2020
4c83d275
fs/squashfs: sqfs_read_inode_table: fix dangling pointer
Nov 19, 2020
dc3312c4
fs/squashfs: sqfs_concat_tokens: check if malloc succeeds
Nov 19, 2020
508a9dc7
fs/squashfs: sqfs_size: fix dangling pointer dirs->entry
Nov 19, 2020
35475f83
fs/squashfs: sqfs_size: remove useless sqfs_closedir()
Nov 19, 2020
d1d8d75f
fs/squashfs: sqfs_read: fix dangling pointer dirs->entry
Nov 19, 2020
b34949fe
fs/squashfs: sqfs_read: remove useless sqfs_closedir()
Nov 19, 2020
7ce9745c
fs/squashfs: sqfs_read: fix memory leak
Nov 19, 2020
555459e7
fs/squashfs: sqfs_read: fix another memory leak
Nov 19, 2020
c9b8e86f
fs/squashfs: sqfs_frag_lookup: simplify error handling
Nov 19, 2020
53db0e24
fs/squashfs: sqfs_get_abs_path: fix error check
Nov 19, 2020
33686804
fs/squashfs: sqfs_get_abs_path: fix possible memory leak on error
Nov 19, 2020
571b67ee
fs/squashfs: sqfs_read: fix memory leak on finfo.blk_sizes
Nov 19, 2020
ccd4c08a
fs/squashfs: sqfs_probe: fix possible memory leak on error
Nov 19, 2020
56cf1cee
fs/squashfs: sqfs_probe: reset cur_dev/cur_part_info to NULL on error
Nov 19, 2020
6d25bd3e
fs/squashfs: sqfs_probe: use sqfs_decompressor_init() return value
Nov 19, 2020
cbd5e40e
fs/squashfs: sqfs_read: don't write beyond buffer size
Nov 19, 2020
329 additional commits have been omitted to prevent performance issues.
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
194 additions
and
775 deletions
+194
-775
.mailmap
.mailmap
+3
-0
.travis.yml
.travis.yml
+0
-698
MAINTAINERS
MAINTAINERS
+8
-3
Makefile
Makefile
+1
-1
README
README
+2
-10
arch/arc/dts/axs10x_mb.dtsi
arch/arc/dts/axs10x_mb.dtsi
+3
-2
arch/arc/dts/hsdk-common.dtsi
arch/arc/dts/hsdk-common.dtsi
+3
-2
arch/arm/Kconfig
arch/arm/Kconfig
+13
-1
arch/arm/cpu/armv7/ls102xa/Kconfig
arch/arm/cpu/armv7/ls102xa/Kconfig
+4
-4
arch/arm/cpu/armv8/Kconfig
arch/arm/cpu/armv8/Kconfig
+1
-1
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+36
-3
arch/arm/cpu/armv8/fsl-layerscape/Makefile
arch/arm/cpu/armv8/fsl-layerscape/Makefile
+5
-0
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
+5
-2
arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc
arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc
+56
-0
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+6
-4
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
+4
-4
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
+2
-2
arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
+18
-1
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
+10
-27
arch/arm/dts/Makefile
arch/arm/dts/Makefile
+14
-10
No files found.
.mailmap
View file @
c4fddedc
...
@@ -30,7 +30,10 @@ Jagan Teki <jaganna@xilinx.com>
...
@@ -30,7 +30,10 @@ Jagan Teki <jaganna@xilinx.com>
Jagan Teki <jagannadh.teki@gmail.com>
Jagan Teki <jagannadh.teki@gmail.com>
Jagan Teki <jagannadha.sutradharudu-teki@xilinx.com>
Jagan Teki <jagannadha.sutradharudu-teki@xilinx.com>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@linaro.org>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@linaro.org>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@toradex.com>
Markus Klotzbuecher <mk@denx.de>
Markus Klotzbuecher <mk@denx.de>
Patrice Chotard <patrice.chotard@foss.st.com> <patrice.chotard@st.com>
Patrick Delaunay <patrick.delaunay@foss.st.com> <patrick.delaunay@st.com>
Paul Burton <paul.burton@mips.com> <paul.burton@imgtec.com>
Paul Burton <paul.burton@mips.com> <paul.burton@imgtec.com>
Prabhakar Kushwaha <prabhakar@freescale.com>
Prabhakar Kushwaha <prabhakar@freescale.com>
Rajeshwari Shinde <rajeshwari.s@samsung.com>
Rajeshwari Shinde <rajeshwari.s@samsung.com>
...
...
.travis.yml
deleted
100644 → 0
View file @
f36603c7
# SPDX-License-Identifier: GPL-2.0+
# Copyright Roger Meier <r.meier@siemens.com>
# build U-Boot on Travis CI - https://travis-ci.org/
sudo
:
required
dist
:
bionic
language
:
c
addons
:
apt
:
update
:
true
sources
:
-
sourceline
:
'
deb
http://apt.llvm.org/bionic/
llvm-toolchain-bionic-10
main'
key_url
:
'
https://apt.llvm.org/llvm-snapshot.gpg.key'
packages
:
-
autopoint
-
cppcheck
-
sloccount
-
sparse
-
bc
-
build-essential
-
libsdl2-dev
-
python
-
python3-sphinx
-
python3-virtualenv
-
python3-pip
-
python3-pygit2
-
swig
-
libpython-dev
-
iasl
-
grub-efi-ia32-bin
-
grub-efi-amd64-bin
-
rpm2cpio
-
wget
-
device-tree-compiler
-
lzop
-
liblz4-tool
-
lzma-alone
-
libisl15
-
clang-10
-
srecord
-
graphviz
-
coreutils
-
util-linux
-
dosfstools
-
gdisk
-
mount
-
mtools
-
openssl
-
sbsigntool
-
fakeroot
-
mtd-utils
-
squashfs-tools
install
:
# Clone uboot-test-hooks
-
git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
-
ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
-
ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
# prepare buildman environment
-
echo -e "[toolchain]\nroot = /usr" > ~/.buildman
-
echo -e "arc = /tmp/arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install" >> ~/.buildman
-
echo -e "\n[toolchain-alias]\nsh = sh2" >> ~/.buildman
-
echo -e "x86 = i386" >> ~/.buildman;
-
echo -e "riscv = riscv64" >> ~/.buildman;
-
cat ~/.buildman
-
grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
-
grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
-
wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.deb && sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb
-
wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ubuntu2_amd64.deb && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb
env
:
global
:
-
PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/sbin:/usr/bin:/bin:/usr/local/bin
-
PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
-
BUILD_DIR=build
-
HOSTCC="cc"
-
HOSTCXX="c++"
-
QEMU_VERSION="v4.2.0"
before_script
:
# install toolchains based on TOOLCHAIN} variable
-
if [[ "${TOOLCHAIN}" == *m68k* ]]; then ./tools/buildman/buildman --fetch-arch m68k ; fi
-
if [[ "${TOOLCHAIN}" == *microblaze* ]]; then ./tools/buildman/buildman --fetch-arch microblaze ; fi
-
if [[ "${TOOLCHAIN}" == *mips* ]]; then ./tools/buildman/buildman --fetch-arch mips ; fi
-
if [[ "${TOOLCHAIN}" == *sh* ]]; then ./tools/buildman/buildman --fetch-arch sh2 ; fi
-
if [[ "${TOOLCHAIN}" == *i386* ]]; then
./tools/buildman/buildman --fetch-arch i386;
fi
-
if [[ "${TOOLCHAIN}" == arc ]]; then
wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2019.09-release/arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install.tar.gz &&
tar -C /tmp -xf arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install.tar.gz;
fi
-
if [[ "${TOOLCHAIN}" == "nds32" ]]; then
wget https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz &&
tar -C /tmp -xf nds32le-linux-glibc-v3-upstream.tar.gz &&
echo -e "\n[toolchain-prefix]\nnds32 = /tmp/nds32le-linux-glibc-v3-upstream/bin/nds32le-linux-" >> ~/.buildman;
fi
-
if [[ "${TOOLCHAIN}" == *xtensa* ]]; then
wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildman;
fi
# If TOOLCHAIN is unset, we're on some flavour of ARM.
-
if [[ "${TOOLCHAIN}" == "" ]]; then
./tools/buildman/buildman --fetch-arch arm &&
./tools/buildman/buildman --fetch-arch aarch64;
fi
-
if [[ "${TOOLCHAIN}" == "powerpc" ]]; then ./tools/buildman/buildman --fetch-arch powerpc; fi
-
if [[ "${TOOLCHAIN}" == "riscv" ]]; then
./tools/buildman/buildman --fetch-arch riscv32 &&
./tools/buildman/buildman --fetch-arch riscv64;
fi
-
if [[ "${QEMU_TARGET}" != "" ]]; then
git clone git://git.qemu.org/qemu.git /tmp/qemu;
pushd /tmp/qemu;
git submodule update --init dtc &&
git checkout ${QEMU_VERSION} &&
./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} &&
make -j4 all install;
popd;
fi
# Build GRUB UEFI targets
-
if [[ "${QEMU_TARGET}" == "arm-softmmu" ]]; then
git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
pushd /tmp/grub &&
git checkout grub-2.04 &&
./bootstrap &&
./configure --target=arm --with-platform=efi
CC=gcc
TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc
TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-objcopy
TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-strip
TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-nm
TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ranlib &&
make -j4 &&
./grub-mkimage -O arm-efi -o ~/grub_arm.efi --prefix= -d
grub-core cat chain configfile echo efinet ext2 fat halt help linux
lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
search search_fs_file search_fs_uuid search_label serial sleep test
true
&&
popd;
fi
-
if [[ "${QEMU_TARGET}" == "aarch64-softmmu" ]]; then
git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
pushd /tmp/grub &&
git checkout grub-2.04 &&
./bootstrap &&
./configure --target=aarch64 --with-platform=efi
CC=gcc
TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc
TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-objcopy
TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-strip
TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-nm
TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-ranlib &&
make -j4 &&
./grub-mkimage -O arm64-efi -o ~/grub_arm64.efi --prefix= -d
grub-core cat chain configfile echo efinet ext2 fat halt help linux
lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
search search_fs_file search_fs_uuid search_label serial sleep test
true
&&
popd;
fi
-
if [[ "${QEMU_TARGET}" == "riscv32-softmmu" ]]; then
git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
pushd /tmp/grub &&
git checkout grub-2.04 &&
./bootstrap &&
./configure --target=riscv32 --with-platform=efi
CC=gcc
TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-gcc
TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-objcopy
TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-strip
TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-nm
TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-ranlib &&
make -j4 &&
./grub-mkimage -O riscv32-efi -o ~/grub_riscv32.efi --prefix= -d
grub-core cat chain configfile echo efinet ext2 fat halt help linux
lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
search search_fs_file search_fs_uuid search_label serial sleep test
true
&&
popd;
fi
-
if [[ "${QEMU_TARGET}" == "riscv64-softmmu" ]]; then
git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
pushd /tmp/grub &&
git checkout grub-2.04 &&
./bootstrap &&
./configure --target=riscv64 --with-platform=efi
CC=gcc
TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc
TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-objcopy
TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-strip
TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-nm
TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ranlib &&
make -j4 &&
./grub-mkimage -O riscv64-efi -o ~/grub_riscv64.efi --prefix= -d
grub-core cat chain configfile echo efinet ext2 fat halt help linux
lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
search search_fs_file search_fs_uuid search_label serial sleep test
true
&&
popd;
fi
-
if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin;
fi
-
if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then
wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.tar.xz | tar -C /tmp -xJ;
export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin;
fi
script
:
# Comments must be outside the command strings below, or the Travis parser
# will get confused.
#
# If we've been asked to use clang only do one configuration.
#
# Build a selection of boards if TEST_PY_BD is empty
-
if [[ "${BUILDMAN}" != "" ]]; then
ret=0
tools/buildman/buildman -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?;
if [[ $ret -ne 0 ]]; then
tools/buildman/buildman -seP ${BUILDMAN};
exit $ret;
fi;
fi
# Build just the one board needed for testing, if TEST_PY_BD is non-empty
# Note: "${var:+"-k $var"}" expands to "" if $var is empty, "-k $var" if not
-
if [[ "${TEST_PY_BD}" != "" ]]; then
export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/${TEST_PY_BD};
cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/;
cp ~/grub_x64.efi $UBOOT_TRAVIS_BUILD_DIR/;
if [[ -e ~/grub_arm.efi ]]; then
cp ~/grub_arm.efi $UBOOT_TRAVIS_BUILD_DIR/;
fi;
if [[ -e ~/grub_arm64.efi ]]; then
cp ~/grub_arm64.efi $UBOOT_TRAVIS_BUILD_DIR/;
fi;
if [[ -e ~/grub_riscv32.efi ]]; then
cp ~/grub_riscv32.efi $UBOOT_TRAVIS_BUILD_DIR/;
fi;
if [[ -e ~/grub_riscv64.efi ]]; then
cp ~/grub_riscv64.efi $UBOOT_TRAVIS_BUILD_DIR/;
fi;
tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e
--board ${TEST_PY_BD} ${OVERRIDE} || exit;
virtualenv -p /usr/bin/python3 /tmp/venv;
. /tmp/venv/bin/activate;
pip install -r test/py/requirements.txt;
./test/py/test.py -ra --bd ${TEST_PY_BD} ${TEST_PY_ID}
${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"}
--build-dir "$UBOOT_TRAVIS_BUILD_DIR" || exit;
if [[ -n "${TEST_PY_TOOLS}" ]]; then
export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
pip install pyelftools &&
./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test &&
./tools/patman/patman test &&
./tools/buildman/buildman -t &&
./tools/dtoc/dtoc -t &&
make testconfig;
fi;
fi
matrix
:
include
:
# we need to build by vendor due to 50min time limit for builds
# each env setting here is a dedicated build
-
name
:
"
buildman
arc"
env
:
-
BUILDMAN="arc"
TOOLCHAIN="arc"
-
name
:
"
buildman
arm11
arm7
arm920t
arm946es"
env
:
-
BUILDMAN="arm11 arm7 arm920t arm946es"
-
name
:
"
buildman
arm926ejs
(non-NXP,siemens,at91,kirkwood,spear)"
env
:
-
JOB="arm926ejs"
BUILDMAN="arm926ejs -x freescale,siemens,at91,kirkwood,spear,omap"
-
name
:
"
buildman
at91
(non
arm
v7)"
env
:
-
BUILDMAN="at91 -x armv7"
-
name
:
"
buildman
at91
(non
arm926ejs)"
env
:
-
BUILDMAN="at91 -x arm926ejs"
-
name
:
"
buildman
boundary
engicam
toradex"
env
:
-
BUILDMAN="boundary engicam toradex"
-
name
:
"
buildman
ARM
bcm"
env
:
-
BUILDMAN="bcm -x mips"
-
name
:
"
buildman
NXP
ARM32
(catch-all)"
env
:
-
BUILDMAN="freescale -x powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx216"
-
name
:
"
buildman
NXP
LS101x"
env
:
-
BUILDMAN="freescale&ls101"
-
name
:
"
buildman
NXP
LS102x"
env
:
-
BUILDMAN="freescale&ls102"
-
name
:
"
buildman
NXP
LS104x"
env
:
-
BUILDMAN="freescale&ls104"
-
name
:
"
buildman
NXP
LS108x"
env
:
-
BUILDMAN="freescale&ls108"
-
name
:
"
buildman
NXP
LS20xx"
env
:
-
BUILDMAN="freescale&ls20"
-
name
:
"
buildman
NXP
LX216x"
env
:
-
BUILDMAN="freescale&lx216"
-
name
:
"
buildman
i.MX6
tqc"
env
:
-
BUILDMAN="mx6&tqc"
-
name
:
"
buildman
i.MX6
(catch-all)"
env
:
-
BUILDMAN="mx6 -x boundary,engicam,freescale,technexion,toradex,tqc"
-
name
:
"
buildman
i.MX
(non-i.MX6
catch-all)"
env
:
-
BUILDMAN="mx -x freescale,mx6,toradex,technexion"
-
name
:
"
buildman
keystone
2/3"
env
:
-
BUILDMAN="k2 k3"
-
name
:
"
buildman
samsung
socfpga"
env
:
-
BUILDMAN="samsung socfpga"
-
name
:
"
buildman
spear"
env
:
-
BUILDMAN="spear"
-
name
:
"
buildman
sun4i"
env
:
-
BUILDMAN="sun4i"
-
name
:
"
buildman
sun5i"
env
:
-
BUILDMAN="sun5i"
-
name
:
"
buildman
sun6i"
env
:
-
BUILDMAN="sun6i"
-
name
:
"
buildman
sun7i"
env
:
-
BUILDMAN="sun7i"
-
name
:
"
buildman
64bit
sun8i"
env
:
-
BUILDMAN="sun8i&aarch64 -x orangepi"
-
name
:
"
buildman
32bit
sun8i"
env
:
-
BUILDMAN="sun8i&armv7 -x orangepi"
-
name
:
"
buildman
sun9i"
env
:
-
BUILDMAN="sun9i"
-
name
:
"
buildman
sun50i"
env
:
-
BUILDMAN="sun50i -x orangepi"
-
name
:
"
buildman
catch-all
ARM"
env
:
-
BUILDMAN="arm -x arm11,arm7,arm9,aarch64,at91,bcm,freescale,kirkwood,mvebu,siemens,tegra,uniphier,mx,samsung,sunxi,am33xx,omap,rk,toradex,socfpga,k2,k3,zynq"
-
name
:
"
buildman
sandbox
x86"
env
:
-
BUILDMAN="sandbox x86"
TOOLCHAIN="i386"
-
name
:
"
buildman
technexion"
env
:
-
BUILDMAN="technexion"
-
name
:
"
buildman
kirkwood"
env
:
-
BUILDMAN="kirkwood"
-
name
:
"
buildman
mvebu"
env
:
-
BUILDMAN="mvebu"
-
name
:
"
buildman
m68k"
env
:
-
BUILDMAN="m68k"
TOOLCHAIN="m68k"
-
name
:
"
buildman
microblaze"
env
:
-
BUILDMAN="microblaze"
TOOLCHAIN="microblaze"
-
name
:
"
buildman
mips"
env
:
-
BUILDMAN="mips"
TOOLCHAIN="mips"
-
name
:
"
buildman
non-Freescale
PowerPC"
env
:
-
BUILDMAN="powerpc -x freescale"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
mpc85xx&freescale
(excluding
many)"
env
:
-
BUILDMAN="mpc85xx&freescale -x t208xrdb -x t4qds -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet_ds -x b4860qds -x bsc91*"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
t208xrdb
corenet_ds"
env
:
-
BUILDMAN="t208xrdb corenet_ds"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
Freescale
PowerPC"
env
:
-
BUILDMAN="t4qds b4860qds mpc83xx&freescale mpc86xx&freescale"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
t102*"
env
:
-
BUILDMAN="t102*"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
p1_p2_rdb_pc"
env
:
-
BUILDMAN="p1_p2_rdb_pc"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
p1010rdb
bsc91"
env
:
-
BUILDMAN="p1010rdb bsc91"
TOOLCHAIN="powerpc"
-
name
:
"
buildman
siemens"
env
:
-
BUILDMAN="siemens"
-
name
:
"
buildman
tegra"
env
:
-
BUILDMAN="tegra -x toradex"
-
name
:
"
buildman
am33xx
(no
siemens)"
env
:
-
BUILDMAN="am33xx -x siemens"
-
name
:
"
buildman
omap"
env
:
-
BUILDMAN="omap"
-
name
:
"
buildman
orangepi"
env
:
-
BUILDMAN="orangepi"
-
name
:
"
buildman
uniphier"
env
:
-
BUILDMAN="uniphier"
-
name
:
"
buildman
catch-all
AArch64"
env
:
-
BUILDMAN="aarch64 -x bcm,k3,tegra,ls1,ls2,lx216,mvebu,uniphier,sunxi,samsung,socfpga,rk,versal,zynq"
-
name
:
"
buildman
rockchip"
env
:
-
BUILDMAN="rk -x orangepi"
-
name
:
"
buildman
sh"
env
:
-
BUILDMAN="sh -x arm"
TOOLCHAIN="sh"
-
name
:
"
buildman
Zynq*
(ARMv7)"
env
:
-
BUILDMAN="zynq&armv7"
-
name
:
"
buildman
ZynqMP
and
Versal"
env
:
-
BUILDMAN="versal|zynqmp&aarch64"
-
name
:
"
buildman
xtensa"
env
:
-
BUILDMAN="xtensa"
TOOLCHAIN="xtensa-dc233c-elf"
-
name
:
"
buildman
riscv"
env
:
-
BUILDMAN="riscv"
TOOLCHAIN="riscv"
-
name
:
"
buildman
nds32"
env
:
-
BUILDMAN="nds32"
TOOLCHAIN="nds32"
# QA jobs for code analytics
# static code analysis with cppcheck (we can add --enable=all later)
-
name
:
"
cppcheck"
script
:
-
cppcheck -j$(nproc) --force --quiet --inline-suppr .
# build HTML documentation
-
name
:
"
htmldocs"
script
:
-
make htmldocs
# search for TODO within source tree
-
name
:
"
grep
TODO"
script
:
-
grep -r TODO .
# search for FIXME within source tree
-
name
:
"
grep
FIXME
HACK"
script
:
-
grep -r FIXME .
# search for HACK within source tree and ignore HACKKIT board
script
:
-
grep -r HACK . | grep -v HACKKIT
# some statistics about the code base
-
name
:
"
sloccount"
script
:
-
sloccount .
# ensure all configs have MAINTAINERS entries
-
name
:
"
Check
for
configs
without
MAINTAINERS
entry"
script
:
-
if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi
# Ensure host tools build
-
name
:
"
Build
tools-only"
script
:
-
make tools-only_config tools-only -j$(nproc)
# Ensure env tools build
-
name
:
"
Build
envtools"
script
:
-
make tools-only_config envtools -j$(nproc)
-
name
:
"
Run
tests
for
Nokia
RX-51
(aka
N900)"
script
:
-
export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH
-
test/nokia_rx51_test.sh
# test/py
-
name
:
"
test/py
sandbox"
env
:
-
TEST_PY_BD="sandbox"
TOOLCHAIN="i386"
-
name
:
"
test/py
sandbox
with
clang"
env
:
-
TEST_PY_BD="sandbox"
OVERRIDE="-O clang-10"
-
name
:
"
test/py
sandbox_spl"
env
:
-
TEST_PY_BD="sandbox_spl"
TEST_PY_TEST_SPEC="test_ofplatdata or test_handoff or test_spl"
TOOLCHAIN="i386"
TEST_PY_TOOLS="yes"
-
name
:
"
test/py
sandbox_flattree"
env
:
-
TEST_PY_BD="sandbox_flattree"
TOOLCHAIN="i386"
-
name
:
"
test/py
evb-ast2500"
env
:
-
TEST_PY_BD="evb-ast2500"
TEST_PY_ID="--id qemu"
QEMU_TARGET="arm-softmmu"
-
name
:
"
test/py
vexpress_ca15_tc2"
env
:
-
TEST_PY_BD="vexpress_ca15_tc2"
TEST_PY_ID="--id qemu"
QEMU_TARGET="arm-softmmu"
-
name
:
"
test/py
vexpress_ca9x4"
env
:
-
TEST_PY_BD="vexpress_ca9x4"
TEST_PY_ID="--id qemu"
QEMU_TARGET="arm-softmmu"
-
name
:
"
test/py
integratorcp_cm926ejs"
env
:
-
TEST_PY_BD="integratorcp_cm926ejs"
TEST_PY_TEST_SPEC="not sleep"
TEST_PY_ID="--id qemu"
QEMU_TARGET="arm-softmmu"
-
name
:
"
test/py
qemu_arm"
env
:
-
TEST_PY_BD="qemu_arm"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="arm-softmmu"
-
name
:
"
test/py
qemu_arm64"
env
:
-
TEST_PY_BD="qemu_arm64"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="aarch64-softmmu"
-
name
:
"
test/py
qemu_mips"
env
:
-
TEST_PY_BD="qemu_mips"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="mips-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu_mipsel"
env
:
-
TEST_PY_BD="qemu_mipsel"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="mipsel-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu_mips64"
env
:
-
TEST_PY_BD="qemu_mips64"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="mips64-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu_mips64el"
env
:
-
TEST_PY_BD="qemu_mips64el"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="mips64el-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu-malta"
env
:
-
TEST_PY_BD="malta"
TEST_PY_TEST_SPEC="not sleep and not efi"
TEST_PY_ID="--id qemu"
QEMU_TARGET="mips-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu-maltael"
env
:
-
TEST_PY_BD="maltael"
TEST_PY_TEST_SPEC="not sleep and not efi"
TEST_PY_ID="--id qemu"
QEMU_TARGET="mipsel-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu-malta64"
env
:
-
TEST_PY_BD="malta64"
TEST_PY_TEST_SPEC="not sleep and not efi"
TEST_PY_ID="--id qemu"
QEMU_TARGET="mips64-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu-malta64el"
env
:
-
TEST_PY_BD="malta64el"
TEST_PY_TEST_SPEC="not sleep and not efi"
TEST_PY_ID="--id qemu"
QEMU_TARGET="mips64el-softmmu"
TOOLCHAIN="mips"
-
name
:
"
test/py
qemu-ppce500"
env
:
-
TEST_PY_BD="qemu-ppce500"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="ppc-softmmu"
TOOLCHAIN="powerpc"
-
name
:
"
test/py
qemu-riscv32"
env
:
-
TEST_PY_BD="qemu-riscv32"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="riscv32-softmmu"
TOOLCHAIN="riscv"
-
name
:
"
test/py
qemu-riscv64"
env
:
-
TEST_PY_BD="qemu-riscv64"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="riscv64-softmmu"
TOOLCHAIN="riscv"
-
name
:
"
test/py
qemu-riscv32_spl"
env
:
-
TEST_PY_BD="qemu-riscv32_spl"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="riscv32-softmmu"
TOOLCHAIN="riscv"
-
name
:
"
test/py
qemu-riscv64_spl"
env
:
-
TEST_PY_BD="qemu-riscv64_spl"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="riscv64-softmmu"
TOOLCHAIN="riscv"
-
name
:
"
test/py
qemu-x86"
env
:
-
TEST_PY_BD="qemu-x86"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="i386-softmmu"
TOOLCHAIN="i386"
BUILD_ROM="yes"
-
name
:
"
test/py
qemu-x86_64"
env
:
-
TEST_PY_BD="qemu-x86_64"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="x86_64-softmmu"
TOOLCHAIN="i386"
BUILD_ROM="yes"
-
name
:
"
test/py
r2dplus_i82557c"
env
:
-
TEST_PY_BD="r2dplus"
TEST_PY_ID="--id i82557c_qemu"
QEMU_TARGET="sh4-softmmu"
BUILDMAN="sh -x arm"
TOOLCHAIN="sh"
-
name
:
"
test/py
r2dplus_pcnet"
env
:
-
TEST_PY_BD="r2dplus"
TEST_PY_ID="--id pcnet_qemu"
QEMU_TARGET="sh4-softmmu"
BUILDMAN="sh -x arm"
TOOLCHAIN="sh"
-
name
:
"
test/py
r2dplus_rtl8139"
env
:
-
TEST_PY_BD="r2dplus"
TEST_PY_ID="--id rtl8139_qemu"
QEMU_TARGET="sh4-softmmu"
BUILDMAN="sh -x arm"
TOOLCHAIN="sh"
-
name
:
"
test/py
r2dplus_tulip"
env
:
-
TEST_PY_BD="r2dplus"
TEST_PY_ID="--id tulip_qemu"
QEMU_TARGET="sh4-softmmu"
BUILDMAN="sh -x arm"
TOOLCHAIN="sh"
-
name
:
"
test/py
xilinx_zynq_virt"
env
:
-
TEST_PY_BD="xilinx_zynq_virt"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="arm-softmmu"
TEST_PY_ID="--id qemu"
-
name
:
"
test/py
xilinx_versal_virt"
env
:
-
TEST_PY_BD="xilinx_versal_virt"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="aarch64-softmmu"
TEST_PY_ID="--id qemu"
-
name
:
"
test/py
xtfpga"
env
:
-
TEST_PY_BD="xtfpga"
TEST_PY_TEST_SPEC="not sleep"
QEMU_TARGET="xtensa-softmmu"
TEST_PY_ID="--id qemu"
TOOLCHAIN="xtensa-dc233c-elf"
# TODO make it perfect ;-r
MAINTAINERS
View file @
c4fddedc
...
@@ -195,6 +195,7 @@ F: drivers/watchdog/cortina_wdt.c
...
@@ -195,6 +195,7 @@ F: drivers/watchdog/cortina_wdt.c
F: drivers/serial/serial_cortina.c
F: drivers/serial/serial_cortina.c
F: drivers/led/led_cortina.c
F: drivers/led/led_cortina.c
F: drivers/mmc/ca_dw_mmc.c
F: drivers/mmc/ca_dw_mmc.c
F: drivers/spi/ca_sflash.c
F: drivers/i2c/i2c-cortina.c
F: drivers/i2c/i2c-cortina.c
F: drivers/i2c/i2c-cortina.h
F: drivers/i2c/i2c-cortina.h
...
@@ -385,7 +386,7 @@ F: drivers/smem/msm_smem.c
...
@@ -385,7 +386,7 @@ F: drivers/smem/msm_smem.c
F: drivers/usb/host/ehci-msm.c
F: drivers/usb/host/ehci-msm.c
ARM STI
ARM STI
M: Patrice Chotard <patrice.chotard@st.com>
M: Patrice Chotard <patrice.chotard@
foss.
st.com>
S: Maintained
S: Maintained
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git
F: arch/arm/mach-sti/
F: arch/arm/mach-sti/
...
@@ -411,8 +412,8 @@ F: arch/arm/cpu/arm926ejs/spear/
...
@@ -411,8 +412,8 @@ F: arch/arm/cpu/arm926ejs/spear/
F: arch/arm/include/asm/arch-spear/
F: arch/arm/include/asm/arch-spear/
ARM STM STM32MP
ARM STM STM32MP
M: Patrick Delaunay <patrick.delaunay@st.com>
M: Patrick Delaunay <patrick.delaunay@
foss.
st.com>
M: Patrice Chotard <patrice.chotard@st.com>
M: Patrice Chotard <patrice.chotard@
foss.
st.com>
L: uboot-stm32@st-md-mailman.stormreply.com (moderated for non-subscribers)
L: uboot-stm32@st-md-mailman.stormreply.com (moderated for non-subscribers)
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git
S: Maintained
S: Maintained
...
@@ -679,6 +680,7 @@ S: Maintained
...
@@ -679,6 +680,7 @@ S: Maintained
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
F: doc/api/efi.rst
F: doc/api/efi.rst
F: doc/uefi/*
F: doc/uefi/*
F: doc/usage/bootefi.rst
F: drivers/rtc/emul_rtc.c
F: drivers/rtc/emul_rtc.c
F: include/capitalization.h
F: include/capitalization.h
F: include/charset.h
F: include/charset.h
...
@@ -696,6 +698,7 @@ F: test/unicode_ut.c
...
@@ -696,6 +698,7 @@ F: test/unicode_ut.c
F: cmd/bootefi.c
F: cmd/bootefi.c
F: cmd/efidebug.c
F: cmd/efidebug.c
F: cmd/nvedit_efi.c
F: cmd/nvedit_efi.c
F: tools/efivar.py
F: tools/file2include.c
F: tools/file2include.c
EFI VARIABLES VIA OP-TEE
EFI VARIABLES VIA OP-TEE
...
@@ -758,6 +761,7 @@ T: git https://gitlab.denx.de/u-boot/u-boot.git
...
@@ -758,6 +761,7 @@ T: git https://gitlab.denx.de/u-boot/u-boot.git
F: common/log*
F: common/log*
F: cmd/log.c
F: cmd/log.c
F: doc/develop/logging.rst
F: doc/develop/logging.rst
F: include/log.h
F: lib/getopt.c
F: lib/getopt.c
F: test/log/
F: test/log/
F: test/py/tests/test_log.py
F: test/py/tests/test_log.py
...
@@ -799,6 +803,7 @@ F: drivers/watchdog/cortina_wdt.c
...
@@ -799,6 +803,7 @@ F: drivers/watchdog/cortina_wdt.c
F: drivers/serial/serial_cortina.c
F: drivers/serial/serial_cortina.c
F: drivers/led/led_cortina.c
F: drivers/led/led_cortina.c
F: drivers/mmc/ca_dw_mmc.c
F: drivers/mmc/ca_dw_mmc.c
F: drivers/spi/ca_sflash.c
F: drivers/i2c/i2c-cortina.c
F: drivers/i2c/i2c-cortina.c
F: drivers/i2c/i2c-cortina.h
F: drivers/i2c/i2c-cortina.h
...
...
Makefile
View file @
c4fddedc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
VERSION
=
2021
VERSION
=
2021
PATCHLEVEL
=
01
PATCHLEVEL
=
01
SUBLEVEL
=
SUBLEVEL
=
EXTRAVERSION
=
-rc2
EXTRAVERSION
=
NAME
=
NAME
=
# *DOCUMENTATION*
# *DOCUMENTATION*
...
...
README
View file @
c4fddedc
...
@@ -3832,16 +3832,8 @@ when your kernel is intended to use an initial ramdisk:
...
@@ -3832,16 +3832,8 @@ when your kernel is intended to use an initial ramdisk:
Load Address: 0x00000000
Load Address: 0x00000000
Entry Point: 0x00000000
Entry Point: 0x00000000
The "dumpimage" is a tool to disassemble images built by mkimage. Its "-i"
The "dumpimage" tool can be used to disassemble or list the contents of images
option performs the converse operation of the mkimage's second form (the "-d"
built by mkimage. See dumpimage's help output (-h) for details.
option). Given an image built by mkimage, the dumpimage extracts a "data file"
from the image:
tools/dumpimage -i image -T type -p position data_file
-i ==> extract from the 'image' a specific 'data_file'
-T ==> set image type to 'type'
-p ==> 'position' (starting at 0) of the 'data_file' inside the 'image'
Installing a Linux Image:
Installing a Linux Image:
-------------------------
-------------------------
...
...
arch/arc/dts/axs10x_mb.dtsi
View file @
c4fddedc
...
@@ -90,14 +90,15 @@
...
@@ -90,14 +90,15 @@
};
};
spi0: spi@0 {
spi0: spi@0 {
compatible = "snps,dw-apb-ssi";
compatible =
"snps,axs10x-spi",
"snps,dw-apb-ssi";
reg = <0x0 0x100>;
reg = <0x0 0x100>;
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <0>;
spi-max-frequency = <4000000>;
spi-max-frequency = <4000000>;
clocks = <&apbclk>;
clocks = <&apbclk>;
clock-names = "spi_clk";
clock-names = "spi_clk";
cs-gpio = <&cs_gpio 0>;
num-cs = <1>;
cs-gpios = <&cs_gpio 0>;
spi_flash@0 {
spi_flash@0 {
compatible = "jedec,spi-nor";
compatible = "jedec,spi-nor";
reg = <0>;
reg = <0>;
...
...
arch/arc/dts/hsdk-common.dtsi
View file @
c4fddedc
...
@@ -128,14 +128,15 @@
...
@@ -128,14 +128,15 @@
};
};
spi0: spi@f0020000 {
spi0: spi@f0020000 {
compatible = "snps,dw-apb-ssi";
compatible =
"snps,hsdk-spi",
"snps,dw-apb-ssi";
reg = <0xf0020000 0x1000>;
reg = <0xf0020000 0x1000>;
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <0>;
spi-max-frequency = <4000000>;
spi-max-frequency = <4000000>;
clocks = <&cgu_clk CLK_SYS_SPI_REF>;
clocks = <&cgu_clk CLK_SYS_SPI_REF>;
clock-names = "spi_clk";
clock-names = "spi_clk";
cs-gpio = <&cs_gpio 0>;
num-cs = <1>;
cs-gpios = <&cs_gpio 0>;
spi_flash@0 {
spi_flash@0 {
compatible = "jedec,spi-nor";
compatible = "jedec,spi-nor";
reg = <0>;
reg = <0>;
...
...
arch/arm/Kconfig
View file @
c4fddedc
...
@@ -1326,6 +1326,18 @@ config TARGET_LX2160AQDS
...
@@ -1326,6 +1326,18 @@ config TARGET_LX2160AQDS
is a high-performance development platform that supports the
is a high-performance development platform that supports the
QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
config TARGET_LX2162AQDS
bool "Support lx2162aqds"
select ARCH_LX2162A
select ARCH_MISC_INIT
select ARM64
select ARMV8_MULTIENTRY
select ARCH_SUPPORT_TFABOOT
select BOARD_LATE_INIT
help
Support for NXP LX2162AQDS platform.
The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
config TARGET_HIKEY
config TARGET_HIKEY
bool "Support HiKey 96boards Consumer Edition Platform"
bool "Support HiKey 96boards Consumer Edition Platform"
select ARM64
select ARM64
...
@@ -1721,7 +1733,7 @@ config ARCH_STM32MP
...
@@ -1721,7 +1733,7 @@ config ARCH_STM32MP
config ARCH_ROCKCHIP
config ARCH_ROCKCHIP
bool "Support Rockchip SoCs"
bool "Support Rockchip SoCs"
select BLK
select BLK
select BINMAN if
!ARM64
select BINMAN if
SPL_OPTEE
select DM
select DM
select DM_GPIO
select DM_GPIO
select DM_I2C
select DM_I2C
...
...
arch/arm/cpu/armv7/ls102xa/Kconfig
View file @
c4fddedc
...
@@ -5,11 +5,11 @@ config ARCH_LS1021A
...
@@ -5,11 +5,11 @@ config ARCH_LS1021A
select SYS_FSL_ERRATUM_A008378
select SYS_FSL_ERRATUM_A008378
select SYS_FSL_ERRATUM_A008407
select SYS_FSL_ERRATUM_A008407
select SYS_FSL_ERRATUM_A008850
select SYS_FSL_ERRATUM_A008850
select SYS_FSL_ERRATUM_A008997
select SYS_FSL_ERRATUM_A008997
if USB
select SYS_FSL_ERRATUM_A009007
select SYS_FSL_ERRATUM_A009007
if USB
select SYS_FSL_ERRATUM_A009008
select SYS_FSL_ERRATUM_A009008
if USB
select SYS_FSL_ERRATUM_A009663
select SYS_FSL_ERRATUM_A009663
select SYS_FSL_ERRATUM_A009798
select SYS_FSL_ERRATUM_A009798
if USB
select SYS_FSL_ERRATUM_A009942
select SYS_FSL_ERRATUM_A009942
select SYS_FSL_ERRATUM_A010315
select SYS_FSL_ERRATUM_A010315
select SYS_FSL_HAS_CCI400
select SYS_FSL_HAS_CCI400
...
...
arch/arm/cpu/armv8/Kconfig
View file @
c4fddedc
...
@@ -115,7 +115,7 @@ config PSCI_RESET
...
@@ -115,7 +115,7 @@ config PSCI_RESET
!TARGET_LS1046ARDB && !TARGET_LS1046AQDS && \
!TARGET_LS1046ARDB && !TARGET_LS1046AQDS && \
!TARGET_LS1046AFRWY && \
!TARGET_LS1046AFRWY && \
!TARGET_LS2081ARDB && !TARGET_LX2160ARDB && \
!TARGET_LS2081ARDB && !TARGET_LX2160ARDB && \
!TARGET_LX2160AQDS && \
!TARGET_LX2160AQDS &&
!TARGET_LX2162AQDS &&
\
!ARCH_UNIPHIER && !TARGET_S32V234EVB
!ARCH_UNIPHIER && !TARGET_S32V234EVB
help
help
Most armv8 systems have PSCI support enabled in EL3, either through
Most armv8 systems have PSCI support enabled in EL3, either through
...
...
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
View file @
c4fddedc
...
@@ -208,6 +208,35 @@ config ARCH_LS2080A
...
@@ -208,6 +208,35 @@ config ARCH_LS2080A
imply DISTRO_DEFAULTS
imply DISTRO_DEFAULTS
imply PANIC_HANG
imply PANIC_HANG
config ARCH_LX2162A
bool
select ARMV8_SET_SMPEN
select FSL_LSCH3
select NXP_LSCH3_2
select SYS_HAS_SERDES
select SYS_FSL_SRDS_1
select SYS_FSL_SRDS_2
select SYS_FSL_DDR
select SYS_FSL_DDR_LE
select SYS_FSL_DDR_VER_50
select SYS_FSL_EC1
select SYS_FSL_EC2
select SYS_FSL_ERRATUM_A050106
select SYS_FSL_HAS_RGMII
select SYS_FSL_HAS_SEC
select SYS_FSL_HAS_CCN508
select SYS_FSL_HAS_DDR4
select SYS_FSL_SEC_COMPAT_5
select SYS_FSL_SEC_LE
select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
select SYS_I2C_MXC
select RESV_RAM if GIC_V3_ITS
imply DISTRO_DEFAULTS
imply PANIC_HANG
imply SCSI
imply SCSI_AHCI
config ARCH_LX2160A
config ARCH_LX2160A
bool
bool
select ARMV8_SET_SMPEN
select ARMV8_SET_SMPEN
...
@@ -345,7 +374,7 @@ config SYS_FSL_ERRATUM_A050106
...
@@ -345,7 +374,7 @@ config SYS_FSL_ERRATUM_A050106
help
help
USB3.0 Receiver needs to enable fixed equalization
USB3.0 Receiver needs to enable fixed equalization
for each of PHY instances in an SOC. This is similar
for each of PHY instances in an SOC. This is similar
to erratum A-009007, but this one is for LX2160A,
to erratum A-009007, but this one is for LX2160A
and LX2162A
,
and the register value is different.
and the register value is different.
config SYS_FSL_ERRATUM_A010315
config SYS_FSL_ERRATUM_A010315
...
@@ -362,6 +391,7 @@ config MAX_CPUS
...
@@ -362,6 +391,7 @@ config MAX_CPUS
default 16 if ARCH_LS2080A
default 16 if ARCH_LS2080A
default 8 if ARCH_LS1088A
default 8 if ARCH_LS1088A
default 16 if ARCH_LX2160A
default 16 if ARCH_LX2160A
default 16 if ARCH_LX2162A
default 1
default 1
help
help
Set this number to the maximum number of possible CPUs in the SoC.
Set this number to the maximum number of possible CPUs in the SoC.
...
@@ -491,6 +521,7 @@ config SYS_FSL_DUART_CLK_DIV
...
@@ -491,6 +521,7 @@ config SYS_FSL_DUART_CLK_DIV
int "DUART clock divider"
int "DUART clock divider"
default 1 if ARCH_LS1043A
default 1 if ARCH_LS1043A
default 4 if ARCH_LX2160A
default 4 if ARCH_LX2160A
default 4 if ARCH_LX2162A
default 2
default 2
help
help
This is the divider that is used to derive DUART clock from Platform
This is the divider that is used to derive DUART clock from Platform
...
@@ -502,6 +533,7 @@ config SYS_FSL_I2C_CLK_DIV
...
@@ -502,6 +533,7 @@ config SYS_FSL_I2C_CLK_DIV
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1028A
default 4 if ARCH_LS1028A
default 8 if ARCH_LX2160A
default 8 if ARCH_LX2160A
default 8 if ARCH_LX2162A
default 8 if ARCH_LS1088A
default 8 if ARCH_LS1088A
default 2
default 2
help
help
...
@@ -514,6 +546,7 @@ config SYS_FSL_IFC_CLK_DIV
...
@@ -514,6 +546,7 @@ config SYS_FSL_IFC_CLK_DIV
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1028A
default 4 if ARCH_LS1028A
default 8 if ARCH_LX2160A
default 8 if ARCH_LX2160A
default 8 if ARCH_LX2162A
default 8 if ARCH_LS1088A
default 8 if ARCH_LS1088A
default 2
default 2
help
help
...
@@ -560,14 +593,14 @@ config SYS_FSL_EC1
...
@@ -560,14 +593,14 @@ config SYS_FSL_EC1
bool
bool
help
help
Ethernet controller 1, this is connected to
Ethernet controller 1, this is connected to
MAC17 for LX2160A or to MAC3 for other SoCs
MAC17 for LX2160A
and LX2162A
or to MAC3 for other SoCs
Provides DPAA2 capabilities
Provides DPAA2 capabilities
config SYS_FSL_EC2
config SYS_FSL_EC2
bool
bool
help
help
Ethernet controller 2, this is connected to
Ethernet controller 2, this is connected to
MAC18 for LX2160A or to MAC4 for other SoCs
MAC18 for LX2160A
and LX2162A
or to MAC4 for other SoCs
Provides DPAA2 capabilities
Provides DPAA2 capabilities
config SYS_FSL_ERRATUM_A008336
config SYS_FSL_ERRATUM_A008336
...
...
arch/arm/cpu/armv8/fsl-layerscape/Makefile
View file @
c4fddedc
...
@@ -27,6 +27,11 @@ obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o
...
@@ -27,6 +27,11 @@ obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o
obj-y
+=
icid.o lx2160_ids.o
obj-y
+=
icid.o lx2160_ids.o
endif
endif
ifneq
($(CONFIG_ARCH_LX2162A),)
obj-$(CONFIG_SYS_HAS_SERDES)
+=
lx2160a_serdes.o
obj-y
+=
icid.o lx2160_ids.o
endif
ifneq
($(CONFIG_ARCH_LS2080A),)
ifneq
($(CONFIG_ARCH_LS2080A),)
obj-$(CONFIG_SYS_HAS_SERDES)
+=
ls2080a_serdes.o
obj-$(CONFIG_SYS_HAS_SERDES)
+=
ls2080a_serdes.o
obj-y
+=
icid.o ls2088_ids.o
obj-y
+=
icid.o ls2088_ids.o
...
...
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
View file @
c4fddedc
...
@@ -79,6 +79,9 @@ static struct cpu_type cpu_type_list[] = {
...
@@ -79,6 +79,9 @@ static struct cpu_type cpu_type_list[] = {
CPU_TYPE_ENTRY
(
LX2160A
,
LX2160A
,
16
),
CPU_TYPE_ENTRY
(
LX2160A
,
LX2160A
,
16
),
CPU_TYPE_ENTRY
(
LX2120A
,
LX2120A
,
12
),
CPU_TYPE_ENTRY
(
LX2120A
,
LX2120A
,
12
),
CPU_TYPE_ENTRY
(
LX2080A
,
LX2080A
,
8
),
CPU_TYPE_ENTRY
(
LX2080A
,
LX2080A
,
8
),
CPU_TYPE_ENTRY
(
LX2162A
,
LX2162A
,
16
),
CPU_TYPE_ENTRY
(
LX2122A
,
LX2122A
,
12
),
CPU_TYPE_ENTRY
(
LX2082A
,
LX2082A
,
8
),
};
};
#define EARLY_PGTABLE_SIZE 0x5000
#define EARLY_PGTABLE_SIZE 0x5000
...
@@ -403,7 +406,7 @@ void cpu_name(char *name)
...
@@ -403,7 +406,7 @@ void cpu_name(char *name)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
cpu_type_list
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
cpu_type_list
);
i
++
)
if
((
cpu_type_list
[
i
].
soc_ver
&
SVR_WO_E
)
==
ver
)
{
if
((
cpu_type_list
[
i
].
soc_ver
&
SVR_WO_E
)
==
ver
)
{
strcpy
(
name
,
cpu_type_list
[
i
].
name
);
strcpy
(
name
,
cpu_type_list
[
i
].
name
);
#ifdef
CONFIG_ARCH_LX2160A
#if
def
ined(
CONFIG_ARCH_LX2160A
) || defined(CONFIG_ARCH_LX2162A)
if
(
IS_C_PROCESSOR
(
svr
))
if
(
IS_C_PROCESSOR
(
svr
))
strcat
(
name
,
"C"
);
strcat
(
name
,
"C"
);
#endif
#endif
...
@@ -1229,7 +1232,7 @@ __efi_runtime_data u32 __iomem *rstcr = (u32 *)CONFIG_SYS_FSL_RST_ADDR;
...
@@ -1229,7 +1232,7 @@ __efi_runtime_data u32 __iomem *rstcr = (u32 *)CONFIG_SYS_FSL_RST_ADDR;
void
__efi_runtime
reset_cpu
(
ulong
addr
)
void
__efi_runtime
reset_cpu
(
ulong
addr
)
{
{
#ifdef
CONFIG_ARCH_LX2160A
#if
def
ined(
CONFIG_ARCH_LX2160A
) || defined(CONFIG_ARCH_LX2162A)
/* clear the RST_REQ_MSK and SW_RST_REQ */
/* clear the RST_REQ_MSK and SW_RST_REQ */
out_le32
(
rstcr
,
0x0
);
out_le32
(
rstcr
,
0x0
);
...
...
arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc
View file @
c4fddedc
...
@@ -9,6 +9,7 @@ SoC overview
...
@@ -9,6 +9,7 @@ SoC overview
7. LS2081A
7. LS2081A
8. LX2160A
8. LX2160A
9. LS1028A
9. LS1028A
10. LX2162A
LS1043A
LS1043A
---------
---------
...
@@ -379,3 +380,58 @@ The LS1028A SoC includes the following function and features:
...
@@ -379,3 +380,58 @@ The LS1028A SoC includes the following function and features:
- Layerscape Trust Architecture
- Layerscape Trust Architecture
- Service Processor (SP) provides pre-boot initialization and secure-boot
- Service Processor (SP) provides pre-boot initialization and secure-boot
capabilities
capabilities
LX2162A
--------
The QorIQ LX2162A processor is built on the Layerscape architecture
combining sixteen ARM A72 processor cores with advanced, high-performance
datapath acceleration and network, peripheral interfaces required for
networking, wireless infrastructure, storage, and general-purpose embedded
applications.
LX2162A is compliant with the Layerscape Chassis Generation 3.2.
The LX2162A SoC includes the following function and features:
Sixteen 32-bit / 64-bit ARM v8 A72 CPUs
Cache Coherent Interconnect Fabric (CCN508)
One 64-bit 2.9GT/s DDR4 SDRAM memory controllers with ECC.
Data path acceleration architecture (DPAA2)
12 Serdes lanes at up to 25 GHz
Ethernet interfaces
Support for 10G-SXGMII (aka USXGMII).
Support for SGMII (and 1000Base-KX)
Support for XFI (and 10GBase-KR)
Support for CAUI2 (50G) and 25G-AUI(25G).
Support for XLAUI (and 40GBase-KR4) for 40G.
Support for two RGMII parallel interfaces.
Energy efficient Ethernet support (802.3az)
IEEE 1588 support.
High-speed peripheral interfaces
One PCIe Gen 3.0 8-lane controllers supporting SR-IOV,
Two PCIe Gen 3.0 4-lane controllers.
Four serial ATA (SATA 3.0) controllers.
One USB 3.0 controllers with integrated PHY
Two Enhanced secure digital host controllers
Two Controller Area Network (CAN) modules
Flexible Serial peripheral interface (FlexSPI) controller.
Three Serial peripheral interface (SPI) controllers.
Eight I2C Controllers.
Four PL011 UARTs supporting two 4-pin UART ports or four 2-pin UART ports.
General Purpose IO (GPIO)
Support for hardware virtualization and partitioning (ARM MMU-500)
Support for GIC (ARM GIC-500)
QorIQ platform Trust Architecture 3.0
One Secure WatchDog timer and one Non-Secure Watchdog timer.
ARM Generic Timer
Two Flextimers
Debug supporting run control, data acquisition, high-speed trace,
performance/event monitoring
Thermal Monitor Unit (TMU) with +/- 2C accuracy
Support for Voltage ID (VID) for yield improvement
LX2162A SoC has 2 more similar SoC personalities
1)LX2122A, few difference w.r.t. LX2162A:
a) Twelve 64-bit ARM v8 Cortex-A72 CPUs
2)LX2082A, few difference w.r.t. LX2162A:
a) Eight 64-bit ARM v8 Cortex-A72 CPUs
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
View file @
c4fddedc
...
@@ -400,11 +400,13 @@ void fdt_fixup_remove_jr(void *blob)
...
@@ -400,11 +400,13 @@ void fdt_fixup_remove_jr(void *blob)
while
(
jr_node
!=
-
FDT_ERR_NOTFOUND
)
{
while
(
jr_node
!=
-
FDT_ERR_NOTFOUND
)
{
reg
=
(
fdt32_t
*
)
fdt_getprop
(
blob
,
jr_node
,
"reg"
,
&
len
);
reg
=
(
fdt32_t
*
)
fdt_getprop
(
blob
,
jr_node
,
"reg"
,
&
len
);
if
(
reg
)
{
jr_offset
=
fdt_read_number
(
reg
,
addr_cells
);
jr_offset
=
fdt_read_number
(
reg
,
addr_cells
);
if
(
jr_offset
==
used_jr
)
{
if
(
jr_offset
==
used_jr
)
{
fdt_del_node
(
blob
,
jr_node
);
fdt_del_node
(
blob
,
jr_node
);
break
;
break
;
}
}
}
jr_node
=
fdt_node_offset_by_compatible
(
blob
,
jr_node
,
jr_node
=
fdt_node_offset_by_compatible
(
blob
,
jr_node
,
"fsl,sec-v4.0-job-ring"
);
"fsl,sec-v4.0-job-ring"
);
}
}
...
...
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
View file @
c4fddedc
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0+
/*
/*
* Copyright 2016-2018 NXP
* Copyright 2016-2018
, 2020
NXP
* Copyright 2014-2015 Freescale Semiconductor, Inc.
* Copyright 2014-2015 Freescale Semiconductor, Inc.
*/
*/
...
@@ -26,7 +26,7 @@ static u8 serdes3_prtcl_map[SERDES_PRCTL_COUNT];
...
@@ -26,7 +26,7 @@ static u8 serdes3_prtcl_map[SERDES_PRCTL_COUNT];
#endif
#endif
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
#ifdef
CONFIG_ARCH_LX2160A
#if
def
ined(
CONFIG_ARCH_LX2160A
) || defined(CONFIG_ARCH_LX2162A)
int
xfi_dpmac
[
XFI14
+
1
];
int
xfi_dpmac
[
XFI14
+
1
];
int
sgmii_dpmac
[
SGMII18
+
1
];
int
sgmii_dpmac
[
SGMII18
+
1
];
int
a25gaui_dpmac
[
_25GE10
+
1
];
int
a25gaui_dpmac
[
_25GE10
+
1
];
...
@@ -159,7 +159,7 @@ void serdes_init(u32 sd, u32 sd_addr, u32 rcwsr, u32 sd_prctl_mask,
...
@@ -159,7 +159,7 @@ void serdes_init(u32 sd, u32 sd_addr, u32 rcwsr, u32 sd_prctl_mask,
else
{
else
{
serdes_prtcl_map
[
lane_prtcl
]
=
1
;
serdes_prtcl_map
[
lane_prtcl
]
=
1
;
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
#ifdef
CONFIG_ARCH_LX2160A
#if
def
ined(
CONFIG_ARCH_LX2160A
) || defined(CONFIG_ARCH_LX2162A)
if
(
lane_prtcl
>=
XFI1
&&
lane_prtcl
<=
XFI14
)
if
(
lane_prtcl
>=
XFI1
&&
lane_prtcl
<=
XFI14
)
wriop_init_dpmac
(
sd
,
xfi_dpmac
[
lane_prtcl
],
wriop_init_dpmac
(
sd
,
xfi_dpmac
[
lane_prtcl
],
(
int
)
lane_prtcl
);
(
int
)
lane_prtcl
);
...
@@ -552,7 +552,7 @@ void fsl_serdes_init(void)
...
@@ -552,7 +552,7 @@ void fsl_serdes_init(void)
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
int
i
,
j
;
int
i
,
j
;
#ifdef
CONFIG_ARCH_LX2160A
#if
def
ined(
CONFIG_ARCH_LX2160A
) || defined(CONFIG_ARCH_LX2162A)
for
(
i
=
XFI1
,
j
=
1
;
i
<=
XFI14
;
i
++
,
j
++
)
for
(
i
=
XFI1
,
j
=
1
;
i
<=
XFI14
;
i
++
,
j
++
)
xfi_dpmac
[
i
]
=
j
;
xfi_dpmac
[
i
]
=
j
;
...
...
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
View file @
c4fddedc
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0+
/*
/*
* Copyright 2014-2015, Freescale Semiconductor, Inc.
* Copyright 2014-2015, Freescale Semiconductor, Inc.
* Copyright 2019
NXP Semiconductors
* Copyright 2019
-2020 NXP
*
*
* Derived from arch/power/cpu/mpc85xx/speed.c
* Derived from arch/power/cpu/mpc85xx/speed.c
*/
*/
...
@@ -180,7 +180,7 @@ int get_clocks(void)
...
@@ -180,7 +180,7 @@ int get_clocks(void)
#ifdef CONFIG_FSL_ESDHC
#ifdef CONFIG_FSL_ESDHC
#if defined(CONFIG_ARCH_LS1028A) || defined(CONFIG_ARCH_LS1088A)
#if defined(CONFIG_ARCH_LS1028A) || defined(CONFIG_ARCH_LS1088A)
clock
=
sys_info
.
freq_cga_m2
;
clock
=
sys_info
.
freq_cga_m2
;
#elif defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LS2080A)
#elif defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LS2080A)
|| defined(CONFIG_ARCH_LX2162A)
clock
=
sys_info
.
freq_systembus
;
clock
=
sys_info
.
freq_systembus
;
#endif
#endif
gd
->
arch
.
sdhc_per_clk
=
clock
/
CONFIG_SYS_FSL_SDHC_CLK_DIV
;
gd
->
arch
.
sdhc_per_clk
=
clock
/
CONFIG_SYS_FSL_SDHC_CLK_DIV
;
...
...
arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
View file @
c4fddedc
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0+
/*
/*
* Copyright 2018 NXP
* Copyright 2018
, 2020
NXP
*/
*/
#include <common.h>
#include <common.h>
...
@@ -11,6 +11,22 @@ struct serdes_config {
...
@@ -11,6 +11,22 @@ struct serdes_config {
u8
lanes
[
SRDS_MAX_LANES
];
u8
lanes
[
SRDS_MAX_LANES
];
};
};
#if defined(CONFIG_ARCH_LX2162A)
static
struct
serdes_config
serdes1_cfg_tbl
[]
=
{
/* SerDes 1 */
{
0x01
,
{
PCIE1
,
PCIE1
,
PCIE1
,
PCIE1
}
},
{
0x02
,
{
SGMII6
,
SGMII5
,
SGMII4
,
SGMII3
}
},
{
0x03
,
{
XFI6
,
XFI5
,
XFI4
,
XFI3
}
},
{
0x09
,
{
SGMII6
,
SGMII5
,
SGMII4
,
PCIE1
}
},
{
0x0B
,
{
SGMII6
,
SGMII5
,
PCIE1
,
PCIE1
}
},
{
0x0F
,
{
_50GE2
,
_50GE2
,
_50GE1
,
_50GE1
}
},
{
0x10
,
{
_25GE6
,
_25GE5
,
_50GE1
,
_50GE1
}
},
{
0x11
,
{
_25GE6
,
_25GE5
,
_25GE4
,
_25GE3
}
},
{
0x12
,
{
_25GE6
,
_25GE5
,
XFI4
,
XFI3
}
},
{
0x14
,
{
_40GE1
,
_40GE1
,
_40GE1
,
_40GE1
}
},
{}
};
#else
static
struct
serdes_config
serdes1_cfg_tbl
[]
=
{
static
struct
serdes_config
serdes1_cfg_tbl
[]
=
{
/* SerDes 1 */
/* SerDes 1 */
{
0x01
,
{
PCIE2
,
PCIE2
,
PCIE2
,
PCIE2
,
PCIE1
,
PCIE1
,
PCIE1
,
PCIE1
}
},
{
0x01
,
{
PCIE2
,
PCIE2
,
PCIE2
,
PCIE2
,
PCIE1
,
PCIE1
,
PCIE1
,
PCIE1
}
},
...
@@ -48,6 +64,7 @@ static struct serdes_config serdes1_cfg_tbl[] = {
...
@@ -48,6 +64,7 @@ static struct serdes_config serdes1_cfg_tbl[] = {
{
0x16
,
{
XFI10
,
XFI9
,
PCIE2
,
PCIE2
,
XFI6
,
XFI5
,
XFI4
,
XFI3
}
},
{
0x16
,
{
XFI10
,
XFI9
,
PCIE2
,
PCIE2
,
XFI6
,
XFI5
,
XFI4
,
XFI3
}
},
{}
{}
};
};
#endif
static
struct
serdes_config
serdes2_cfg_tbl
[]
=
{
static
struct
serdes_config
serdes2_cfg_tbl
[]
=
{
/* SerDes 2 */
/* SerDes 2 */
...
...
arch/arm/cpu/armv8/fsl-layerscape/soc.c
View file @
c4fddedc
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0+
/*
/*
* Copyright 2014-2015 Freescale Semiconductor
* Copyright 2014-2015 Freescale Semiconductor
* Copyright 2019 NXP
* Copyright 2019
-2020
NXP
*/
*/
#include <common.h>
#include <common.h>
...
@@ -33,13 +33,10 @@
...
@@ -33,13 +33,10 @@
#include <fsl_validate.h>
#include <fsl_validate.h>
#endif
#endif
#include <fsl_immap.h>
#include <fsl_immap.h>
#ifdef CONFIG_TFABOOT
#include <env_internal.h>
#endif
#include <dm.h>
#include <dm.h>
#include <dm/device_compat.h>
#include <dm/device_compat.h>
#include <linux/err.h>
#include <linux/err.h>
#if
def
ined(CONFIG_TFABOOT) || defined(
CONFIG_GIC_V3_ITS
)
#ifdef
CONFIG_GIC_V3_ITS
DECLARE_GLOBAL_DATA_PTR
;
DECLARE_GLOBAL_DATA_PTR
;
#endif
#endif
...
@@ -186,7 +183,8 @@ static void erratum_a008997(void)
...
@@ -186,7 +183,8 @@ static void erratum_a008997(void)
out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4)
out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4)
#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A) || \
#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A) || \
defined(CONFIG_ARCH_LS1028A) || defined(CONFIG_ARCH_LX2160A)
defined(CONFIG_ARCH_LS1028A) || defined(CONFIG_ARCH_LX2160A) || \
defined(CONFIG_ARCH_LX2162A)
#define PROGRAM_USB_PHY_RX_OVRD_IN_HI(phy) \
#define PROGRAM_USB_PHY_RX_OVRD_IN_HI(phy) \
out_le16((phy) + DCSR_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); \
out_le16((phy) + DCSR_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); \
...
@@ -222,7 +220,7 @@ static void erratum_a009007(void)
...
@@ -222,7 +220,7 @@ static void erratum_a009007(void)
#if defined(CONFIG_FSL_LSCH3)
#if defined(CONFIG_FSL_LSCH3)
static
void
erratum_a050106
(
void
)
static
void
erratum_a050106
(
void
)
{
{
#if defined(CONFIG_ARCH_LX2160A)
#if defined(CONFIG_ARCH_LX2160A)
|| defined(CONFIG_ARCH_LX2162A)
void
__iomem
*
dcsr
=
(
void
__iomem
*
)
DCSR_BASE
;
void
__iomem
*
dcsr
=
(
void
__iomem
*
)
DCSR_BASE
;
PROGRAM_USB_PHY_RX_OVRD_IN_HI
(
dcsr
+
DCSR_USB_PHY1
);
PROGRAM_USB_PHY_RX_OVRD_IN_HI
(
dcsr
+
DCSR_USB_PHY1
);
...
@@ -392,7 +390,8 @@ void fsl_lsch3_early_init_f(void)
...
@@ -392,7 +390,8 @@ void fsl_lsch3_early_init_f(void)
#endif
#endif
#if defined(CONFIG_ARCH_LS1088A) || defined(CONFIG_ARCH_LS1028A) || \
#if defined(CONFIG_ARCH_LS1088A) || defined(CONFIG_ARCH_LS1028A) || \
defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LX2160A)
defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LX2160A) || \
defined(CONFIG_ARCH_LX2162A)
set_icids
();
set_icids
();
#endif
#endif
}
}
...
@@ -954,28 +953,12 @@ int board_late_init(void)
...
@@ -954,28 +953,12 @@ int board_late_init(void)
#endif
#endif
#ifdef CONFIG_TFABOOT
#ifdef CONFIG_TFABOOT
/*
/*
* check if gd->env_addr is default_environment; then setenv bootcmd
* Set bootcmd and mcinitcmd if they don't exist in the environment.
* and mcinitcmd.
*/
#ifdef CONFIG_SYS_RELOC_GD_ENV_ADDR
if
(
gd
->
env_addr
==
(
ulong
)
&
default_environment
[
0
])
{
#else
if
(
gd
->
env_addr
+
gd
->
reloc_off
==
(
ulong
)
&
default_environment
[
0
])
{
#endif
fsl_setenv_bootcmd
();
fsl_setenv_mcinitcmd
();
}
/*
* If the boot mode is secure, default environment is not present then
* setenv command needs to be run by default
*/
*/
#ifdef CONFIG_CHAIN_OF_TRUST
if
(
!
env_get
(
"bootcmd"
))
if
((
fsl_check_boot_mode_secure
()
==
1
))
{
fsl_setenv_bootcmd
();
fsl_setenv_bootcmd
();
if
(
!
env_get
(
"mcinitcmd"
))
fsl_setenv_mcinitcmd
();
fsl_setenv_mcinitcmd
();
}
#endif
#endif
#endif
#ifdef CONFIG_QSPI_AHB_INIT
#ifdef CONFIG_QSPI_AHB_INIT
qspi_ahb_init
();
qspi_ahb_init
();
...
...
arch/arm/dts/Makefile
View file @
c4fddedc
...
@@ -204,7 +204,6 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
...
@@ -204,7 +204,6 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
dtb-$(CONFIG_ARCH_MVEBU)
+=
\
dtb-$(CONFIG_ARCH_MVEBU)
+=
\
armada-3720-db.dtb
\
armada-3720-db.dtb
\
armada-3720-espressobin.dtb
\
armada-3720-espressobin.dtb
\
armada-3720-espressobin-emmc.dtb
\
armada-3720-turris-mox.dtb
\
armada-3720-turris-mox.dtb
\
armada-3720-uDPU.dtb
\
armada-3720-uDPU.dtb
\
armada-375-db.dtb
\
armada-375-db.dtb
\
...
@@ -350,7 +349,8 @@ dtb-$(CONFIG_AM33XX) += \
...
@@ -350,7 +349,8 @@ dtb-$(CONFIG_AM33XX) += \
am335x-sl50.dtb
\
am335x-sl50.dtb
\
am335x-base0033.dtb
\
am335x-base0033.dtb
\
am335x-guardian.dtb
\
am335x-guardian.dtb
\
am335x-wega-rdk.dtb
am335x-wega-rdk.dtb
\
am335x-regor-rdk.dtb
dtb-$(CONFIG_AM43XX)
+=
am437x-gp-evm.dtb am437x-sk-evm.dtb
\
dtb-$(CONFIG_AM43XX)
+=
am437x-gp-evm.dtb am437x-sk-evm.dtb
\
am43x-epos-evm.dtb
\
am43x-epos-evm.dtb
\
am437x-idk-evm.dtb
\
am437x-idk-evm.dtb
\
...
@@ -414,7 +414,11 @@ dtb-$(CONFIG_FSL_LSCH3) += fsl-ls2080a-qds.dtb \
...
@@ -414,7 +414,11 @@ dtb-$(CONFIG_FSL_LSCH3) += fsl-ls2080a-qds.dtb \
fsl-lx2160a-qds-19-x-x.dtb
\
fsl-lx2160a-qds-19-x-x.dtb
\
fsl-lx2160a-qds-19-11-x.dtb
\
fsl-lx2160a-qds-19-11-x.dtb
\
fsl-lx2160a-qds-20-x-x.dtb
\
fsl-lx2160a-qds-20-x-x.dtb
\
fsl-lx2160a-qds-20-11-x.dtb
fsl-lx2160a-qds-20-11-x.dtb
\
fsl-lx2162a-qds.dtb
\
fsl-lx2162a-qds-17-x.dtb
\
fsl-lx2162a-qds-18-x.dtb
\
fsl-lx2162a-qds-20-x.dtb
dtb-$(CONFIG_FSL_LSCH2)
+=
fsl-ls1043a-qds-duart.dtb
\
dtb-$(CONFIG_FSL_LSCH2)
+=
fsl-ls1043a-qds-duart.dtb
\
fsl-ls1043a-qds-lpuart.dtb
\
fsl-ls1043a-qds-lpuart.dtb
\
fsl-ls1043a-rdb.dtb
\
fsl-ls1043a-rdb.dtb
\
...
@@ -616,6 +620,10 @@ dtb-$(CONFIG_MACH_SUN50I) += \
...
@@ -616,6 +620,10 @@ dtb-$(CONFIG_MACH_SUN50I) += \
sun50i-a64-pine64-plus.dtb
\
sun50i-a64-pine64-plus.dtb
\
sun50i-a64-pine64.dtb
\
sun50i-a64-pine64.dtb
\
sun50i-a64-pinebook.dtb
\
sun50i-a64-pinebook.dtb
\
sun50i-a64-pinephone-1.0.dtb
\
sun50i-a64-pinephone-1.1.dtb
\
sun50i-a64-pinephone-1.2.dtb
\
sun50i-a64-pinetab.dtb
\
sun50i-a64-sopine-baseboard.dtb
\
sun50i-a64-sopine-baseboard.dtb
\
sun50i-a64-teres-i.dtb
sun50i-a64-teres-i.dtb
dtb-$(CONFIG_MACH_SUN9I)
+=
\
dtb-$(CONFIG_MACH_SUN9I)
+=
\
...
@@ -638,14 +646,8 @@ dtb-$(CONFIG_MX53) += imx53-cx9020.dtb \
...
@@ -638,14 +646,8 @@ dtb-$(CONFIG_MX53) += imx53-cx9020.dtb \
ifneq
($(CONFIG_MX6DL)$(CONFIG_MX6QDL)$(CONFIG_MX6S),)
ifneq
($(CONFIG_MX6DL)$(CONFIG_MX6QDL)$(CONFIG_MX6S),)
dtb-y
+=
\
dtb-y
+=
\
imx6dl-aristainetos2_4.dtb
\
imx6dl-aristainetos2_7.dtb
\
imx6dl-aristainetos2b_4.dtb
\
imx6dl-aristainetos2b_7.dtb
\
imx6dl-aristainetos2b_csl_4.dtb
\
imx6dl-aristainetos2b_csl_7.dtb
\
imx6dl-aristainetos2c_4.dtb
\
imx6dl-aristainetos2c_7.dtb
\
imx6dl-aristainetos2c_7.dtb
\
imx6dl-aristainetos2c_cslb_7.dtb
\
imx6dl-brppt2.dtb
\
imx6dl-brppt2.dtb
\
imx6dl-cubox-i.dtb
\
imx6dl-cubox-i.dtb
\
imx6dl-cubox-i-emmc-som-v15.dtb
\
imx6dl-cubox-i-emmc-som-v15.dtb
\
...
@@ -763,6 +765,7 @@ dtb-$(CONFIG_ARCH_IMX8) += \
...
@@ -763,6 +765,7 @@ dtb-$(CONFIG_ARCH_IMX8) += \
imx8qm-rom7720-a1.dtb
\
imx8qm-rom7720-a1.dtb
\
fsl-imx8qxp-ai_ml.dtb
\
fsl-imx8qxp-ai_ml.dtb
\
fsl-imx8qxp-colibri.dtb
\
fsl-imx8qxp-colibri.dtb
\
fsl-imx8qxp-apalis.dtb
\
fsl-imx8qxp-mek.dtb
\
fsl-imx8qxp-mek.dtb
\
imx8-deneb.dtb
\
imx8-deneb.dtb
\
imx8-giedi.dtb
imx8-giedi.dtb
...
@@ -960,6 +963,7 @@ dtb-$(CONFIG_STM32MP15x) += \
...
@@ -960,6 +963,7 @@ dtb-$(CONFIG_STM32MP15x) += \
stm32mp157c-odyssey.dtb
\
stm32mp157c-odyssey.dtb
\
stm32mp15xx-dhcom-drc02.dtb
\
stm32mp15xx-dhcom-drc02.dtb
\
stm32mp15xx-dhcom-pdk2.dtb
\
stm32mp15xx-dhcom-pdk2.dtb
\
stm32mp15xx-dhcom-picoitx.dtb
\
stm32mp15xx-dhcor-avenger96.dtb
stm32mp15xx-dhcor-avenger96.dtb
dtb-$(CONFIG_SOC_K3_AM6)
+=
k3-am654-base-board.dtb k3-am654-r5-base-board.dtb
dtb-$(CONFIG_SOC_K3_AM6)
+=
k3-am654-base-board.dtb k3-am654-r5-base-board.dtb
...
...
Prev
1
2
3
4
5
…
43
Next