mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
Compare commits
96 Commits
2019.11-rc
...
2019.02.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
863761ff3c | ||
|
|
8d2bdda23f | ||
|
|
99298ec02d | ||
|
|
1cf12ba631 | ||
|
|
15633cddd3 | ||
|
|
18c18e572e | ||
|
|
53711fdce9 | ||
|
|
8d06dd1f55 | ||
|
|
d4b4a30139 | ||
|
|
b360fce5b0 | ||
|
|
ddf456af89 | ||
|
|
13724665e9 | ||
|
|
d6c086a50e | ||
|
|
2f44db5554 | ||
|
|
6d5939af2c | ||
|
|
55893e0cbe | ||
|
|
c4a74eae16 | ||
|
|
6474c6a02f | ||
|
|
e5377e9545 | ||
|
|
5cfc8b4686 | ||
|
|
dc7e68c8dd | ||
|
|
709ae653f3 | ||
|
|
1d45e1b5bb | ||
|
|
a6a3768a2f | ||
|
|
54c54e1655 | ||
|
|
45e5cdcf2f | ||
|
|
00eb766a92 | ||
|
|
e47fa646dc | ||
|
|
2fb549c388 | ||
|
|
b5735379c5 | ||
|
|
1f464e0314 | ||
|
|
4716f1a94b | ||
|
|
ed3c3f26f7 | ||
|
|
427742a029 | ||
|
|
249e67e10b | ||
|
|
4d6a0e4d7a | ||
|
|
5113a17c33 | ||
|
|
b9896bd300 | ||
|
|
f20b18f66a | ||
|
|
d56572e447 | ||
|
|
f5a48dfe27 | ||
|
|
25e5c401fa | ||
|
|
ef54e73682 | ||
|
|
6cfd314ed3 | ||
|
|
18ae511d81 | ||
|
|
59f9971694 | ||
|
|
3d0ad9cc82 | ||
|
|
1d7ca92535 | ||
|
|
5219bb25bf | ||
|
|
bc31a761c5 | ||
|
|
7d0322fe3c | ||
|
|
d902c871d4 | ||
|
|
48b328c195 | ||
|
|
853cff9679 | ||
|
|
5c38c2ea3d | ||
|
|
14d2b53d41 | ||
|
|
272a6677ff | ||
|
|
8c16591d89 | ||
|
|
af99ecabd5 | ||
|
|
e3404b10ba | ||
|
|
a22fc3a0eb | ||
|
|
99d8c1a07c | ||
|
|
c19f815add | ||
|
|
85c408fcc0 | ||
|
|
5154f90009 | ||
|
|
a0134c3606 | ||
|
|
8854e0f9b0 | ||
|
|
b3399de9e6 | ||
|
|
1f04edb23b | ||
|
|
335165f718 | ||
|
|
5271f2f65c | ||
|
|
884e3918bf | ||
|
|
119abfcddd | ||
|
|
ebe2c9accd | ||
|
|
a3cf782748 | ||
|
|
2a4afa77f2 | ||
|
|
5fdc928ab8 | ||
|
|
3b75fc839a | ||
|
|
36d3482e18 | ||
|
|
6d7e29d490 | ||
|
|
46c5ef2f17 | ||
|
|
f66f97c2bc | ||
|
|
bcbe323123 | ||
|
|
a70dbdf3a9 | ||
|
|
3cd71635f7 | ||
|
|
920a02f23d | ||
|
|
2020d58ce3 | ||
|
|
d6c8348cca | ||
|
|
e99a7b8177 | ||
|
|
746578764e | ||
|
|
8d26ba3429 | ||
|
|
e2fb57f537 | ||
|
|
a60ccf0f2b | ||
|
|
b18be52d41 | ||
|
|
838e5efae2 | ||
|
|
268ff8cdca |
2
.flake8
2
.flake8
@@ -2,4 +2,4 @@
|
||||
exclude=
|
||||
# copied from the kernel sources
|
||||
utils/diffconfig
|
||||
max-line-length=80
|
||||
max-line-length=132
|
||||
|
||||
188
.gitlab-ci.yml
188
.gitlab-ci.yml
@@ -4,49 +4,12 @@
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base:20191027.2027
|
||||
image: buildroot/base:20180318.1724
|
||||
|
||||
.check_base:
|
||||
except:
|
||||
- /^.*-.*_defconfig$/
|
||||
- /^.*-tests\..*$/
|
||||
|
||||
check-DEVELOPERS:
|
||||
extends: .check_base
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
.defconfig_script:
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
extends: .check_base
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count --max-line-length=132 $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
extends: .check_base
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-package:
|
||||
extends: .check_base
|
||||
script:
|
||||
- make check-package
|
||||
|
||||
.defconfig_base:
|
||||
script:
|
||||
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
||||
- make ${DEFCONFIG_NAME}
|
||||
- echo 'Configure Buildroot'
|
||||
- make ${CI_JOB_NAME}
|
||||
- echo 'Build buildroot'
|
||||
- |
|
||||
make > >(tee build.log |grep '>>>') 2>&1 || {
|
||||
@@ -54,6 +17,43 @@ check-package:
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-DEVELOPERS:
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-package:
|
||||
script:
|
||||
- make check-package
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_script
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-defconfigs$/
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -65,32 +65,18 @@ check-package:
|
||||
- output/build/packages-file-list.txt
|
||||
- output/build/*/.config
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_base
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
.runtime_test:
|
||||
# Running the runtime tests for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-defconfigs$/
|
||||
before_script:
|
||||
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
||||
|
||||
one-defconfig:
|
||||
extends: .defconfig_base
|
||||
only:
|
||||
- /^.*-.*_defconfig$/
|
||||
before_script:
|
||||
- DEFCONFIG_NAME=$(echo ${CI_COMMIT_REF_NAME} | sed -e 's,^.*-,,g')
|
||||
|
||||
.runtime_test_base:
|
||||
- /-runtime-tests$/
|
||||
# Keep build directories so the rootfs can be an artifact of the job. The
|
||||
# runner will clean up those files for us.
|
||||
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
||||
# elastic runners.
|
||||
script:
|
||||
- echo "Starting runtime test ${TEST_CASE_NAME}"
|
||||
- ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${TEST_CASE_NAME}
|
||||
script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_JOB_NAME}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -98,24 +84,6 @@ one-defconfig:
|
||||
- test-output/*.log
|
||||
- test-output/*/.config
|
||||
- test-output/*/images/*
|
||||
|
||||
.runtime_test:
|
||||
extends: .runtime_test_base
|
||||
# Running the runtime tests for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-runtime-tests$/
|
||||
before_script:
|
||||
- TEST_CASE_NAME=${CI_JOB_NAME}
|
||||
|
||||
one-runtime_test:
|
||||
extends: .runtime_test_base
|
||||
only:
|
||||
- /^.*-tests\..*$/
|
||||
before_script:
|
||||
- TEST_CASE_NAME=$(echo ${CI_COMMIT_REF_NAME} | sed -e 's,^.*-,,g')
|
||||
aarch64_efi_defconfig: { extends: .defconfig }
|
||||
acmesystems_aria_g25_128mb_defconfig: { extends: .defconfig }
|
||||
acmesystems_aria_g25_256mb_defconfig: { extends: .defconfig }
|
||||
@@ -123,7 +91,6 @@ acmesystems_arietta_g25_128mb_defconfig: { extends: .defconfig }
|
||||
acmesystems_arietta_g25_256mb_defconfig: { extends: .defconfig }
|
||||
amarula_a64_relic_defconfig: { extends: .defconfig }
|
||||
amarula_vyasa_rk3288_defconfig: { extends: .defconfig }
|
||||
andes_ae3xx_defconfig: { extends: .defconfig }
|
||||
arcturus_ucls1012a_defconfig: { extends: .defconfig }
|
||||
arcturus_ucp1020_defconfig: { extends: .defconfig }
|
||||
arm_foundationv8_defconfig: { extends: .defconfig }
|
||||
@@ -160,7 +127,6 @@ bananapro_defconfig: { extends: .defconfig }
|
||||
beagleboardx15_defconfig: { extends: .defconfig }
|
||||
beaglebone_defconfig: { extends: .defconfig }
|
||||
beaglebone_qt5_defconfig: { extends: .defconfig }
|
||||
beagleboneai_defconfig: { extends: .defconfig }
|
||||
chromebook_snow_defconfig: { extends: .defconfig }
|
||||
ci20_defconfig: { extends: .defconfig }
|
||||
csky_gx6605s_defconfig: { extends: .defconfig }
|
||||
@@ -177,19 +143,14 @@ freescale_imx6qsabreauto_defconfig: { extends: .defconfig }
|
||||
freescale_imx6qsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx6sxsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx7dsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx8mmevk_defconfig: { extends: .defconfig }
|
||||
freescale_imx8mqevk_defconfig: { extends: .defconfig }
|
||||
freescale_imx8qxpmek_defconfig: { extends: .defconfig }
|
||||
freescale_p1025twr_defconfig: { extends: .defconfig }
|
||||
freescale_t1040d4rdb_defconfig: { extends: .defconfig }
|
||||
freescale_t2080_qds_rdb_defconfig: { extends: .defconfig }
|
||||
friendlyarm_nanopi_a64_defconfig: { extends: .defconfig }
|
||||
friendlyarm_nanopi_neo2_defconfig: { extends: .defconfig }
|
||||
friendlyarm_nanopi_neo_plus2_defconfig: { extends: .defconfig }
|
||||
galileo_defconfig: { extends: .defconfig }
|
||||
grinn_chiliboard_defconfig: { extends: .defconfig }
|
||||
grinn_liteboard_defconfig: { extends: .defconfig }
|
||||
hifive_unleashed_defconfig: { extends: .defconfig }
|
||||
imx23evk_defconfig: { extends: .defconfig }
|
||||
imx6-sabreauto_defconfig: { extends: .defconfig }
|
||||
imx6-sabresd_defconfig: { extends: .defconfig }
|
||||
@@ -200,11 +161,7 @@ imx6ulevk_defconfig: { extends: .defconfig }
|
||||
imx6ulpico_defconfig: { extends: .defconfig }
|
||||
imx7d-sdb_defconfig: { extends: .defconfig }
|
||||
imx7dpico_defconfig: { extends: .defconfig }
|
||||
imx8mmpico_defconfig: { extends: .defconfig }
|
||||
imx8mpico_defconfig: { extends: .defconfig }
|
||||
lafrite_defconfig: { extends: .defconfig }
|
||||
lego_ev3_defconfig: { extends: .defconfig }
|
||||
licheepi_zero_defconfig: { extends: .defconfig }
|
||||
linksprite_pcduino_defconfig: { extends: .defconfig }
|
||||
minnowboard_max-graphical_defconfig: { extends: .defconfig }
|
||||
minnowboard_max_defconfig: { extends: .defconfig }
|
||||
@@ -222,13 +179,14 @@ nitrogen6sx_defconfig: { extends: .defconfig }
|
||||
nitrogen6x_defconfig: { extends: .defconfig }
|
||||
nitrogen7_defconfig: { extends: .defconfig }
|
||||
nitrogen8m_defconfig: { extends: .defconfig }
|
||||
odroidc2_defconfig: { extends: .defconfig }
|
||||
odroidxu4_defconfig: { extends: .defconfig }
|
||||
olimex_a10_olinuxino_lime_defconfig: { extends: .defconfig }
|
||||
olimex_a13_olinuxino_defconfig: { extends: .defconfig }
|
||||
olimex_a20_olinuxino_lime2_defconfig: { extends: .defconfig }
|
||||
olimex_a20_olinuxino_lime_defconfig: { extends: .defconfig }
|
||||
olimex_a20_olinuxino_lime_legacy_defconfig: { extends: .defconfig }
|
||||
olimex_a20_olinuxino_micro_defconfig: { extends: .defconfig }
|
||||
olimex_a33_olinuxino_defconfig: { extends: .defconfig }
|
||||
olimex_a64_olinuxino_defconfig: { extends: .defconfig }
|
||||
olimex_imx233_olinuxino_defconfig: { extends: .defconfig }
|
||||
openblocks_a6_defconfig: { extends: .defconfig }
|
||||
@@ -241,7 +199,6 @@ orangepi_pc_defconfig: { extends: .defconfig }
|
||||
orangepi_pc_plus_defconfig: { extends: .defconfig }
|
||||
orangepi_plus_defconfig: { extends: .defconfig }
|
||||
orangepi_prime_defconfig: { extends: .defconfig }
|
||||
orangepi_r1_defconfig: { extends: .defconfig }
|
||||
orangepi_win_defconfig: { extends: .defconfig }
|
||||
orangepi_zero_defconfig: { extends: .defconfig }
|
||||
orangepi_zero_plus2_defconfig: { extends: .defconfig }
|
||||
@@ -254,11 +211,6 @@ qemu_aarch64_virt_defconfig: { extends: .defconfig }
|
||||
qemu_arm_versatile_defconfig: { extends: .defconfig }
|
||||
qemu_arm_versatile_nommu_defconfig: { extends: .defconfig }
|
||||
qemu_arm_vexpress_defconfig: { extends: .defconfig }
|
||||
qemu_arm_vexpress_tz_defconfig: { extends: .defconfig }
|
||||
qemu_csky610_virt_defconfig: { extends: .defconfig }
|
||||
qemu_csky807_virt_defconfig: { extends: .defconfig }
|
||||
qemu_csky810_virt_defconfig: { extends: .defconfig }
|
||||
qemu_csky860_virt_defconfig: { extends: .defconfig }
|
||||
qemu_m68k_mcf5208_defconfig: { extends: .defconfig }
|
||||
qemu_m68k_q800_defconfig: { extends: .defconfig }
|
||||
qemu_microblazebe_mmu_defconfig: { extends: .defconfig }
|
||||
@@ -277,7 +229,6 @@ qemu_ppc64_e5500_defconfig: { extends: .defconfig }
|
||||
qemu_ppc64_pseries_defconfig: { extends: .defconfig }
|
||||
qemu_ppc64le_pseries_defconfig: { extends: .defconfig }
|
||||
qemu_ppc_g3beige_defconfig: { extends: .defconfig }
|
||||
qemu_ppc_mac99_defconfig: { extends: .defconfig }
|
||||
qemu_ppc_mpc8544ds_defconfig: { extends: .defconfig }
|
||||
qemu_ppc_virtex_ml507_defconfig: { extends: .defconfig }
|
||||
qemu_riscv32_virt_defconfig: { extends: .defconfig }
|
||||
@@ -296,7 +247,6 @@ raspberrypi2_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_64_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_qt5we_defconfig: { extends: .defconfig }
|
||||
raspberrypi4_defconfig: { extends: .defconfig }
|
||||
raspberrypi_defconfig: { extends: .defconfig }
|
||||
riotboard_defconfig: { extends: .defconfig }
|
||||
rock64_defconfig: { extends: .defconfig }
|
||||
@@ -311,13 +261,12 @@ snps_archs38_hsdk_defconfig: { extends: .defconfig }
|
||||
snps_archs38_vdk_defconfig: { extends: .defconfig }
|
||||
socrates_cyclone5_defconfig: { extends: .defconfig }
|
||||
solidrun_clearfog_defconfig: { extends: .defconfig }
|
||||
solidrun_clearfog_gt_8k_defconfig: { extends: .defconfig }
|
||||
solidrun_macchiatobin_mainline_defconfig: { extends: .defconfig }
|
||||
solidrun_macchiatobin_marvell_defconfig: { extends: .defconfig }
|
||||
stm32f429_disco_defconfig: { extends: .defconfig }
|
||||
stm32f469_disco_defconfig: { extends: .defconfig }
|
||||
stm32mp157c_dk2_defconfig: { extends: .defconfig }
|
||||
toradex_apalis_imx6_defconfig: { extends: .defconfig }
|
||||
ts4800_defconfig: { extends: .defconfig }
|
||||
ts4900_defconfig: { extends: .defconfig }
|
||||
ts5500_defconfig: { extends: .defconfig }
|
||||
ts7680_defconfig: { extends: .defconfig }
|
||||
@@ -339,7 +288,6 @@ tests.core.test_hardening.TestRelroPartial: { extends: .runtime_test }
|
||||
tests.core.test_hardening.TestSspNone: { extends: .runtime_test }
|
||||
tests.core.test_hardening.TestSspStrong: { extends: .runtime_test }
|
||||
tests.core.test_post_scripts.TestPostScripts: { extends: .runtime_test }
|
||||
tests.core.test_root_password.TestRootPassword: { extends: .runtime_test }
|
||||
tests.core.test_rootfs_overlay.TestRootfsOverlay: { extends: .runtime_test }
|
||||
tests.core.test_timezone.TestGlibcAllTimezone: { extends: .runtime_test }
|
||||
tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: { extends: .runtime_test }
|
||||
@@ -375,43 +323,10 @@ tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: { extends: .runtime_tes
|
||||
tests.package.test_atop.TestAtop: { extends: .runtime_test }
|
||||
tests.package.test_docker_compose.TestDockerCompose: { extends: .runtime_test }
|
||||
tests.package.test_dropbear.TestDropbear: { extends: .runtime_test }
|
||||
tests.package.test_glxinfo.TestGlxinfo: { extends: .runtime_test }
|
||||
tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test }
|
||||
tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test }
|
||||
tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test }
|
||||
tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test }
|
||||
tests.package.test_lsqlite3.TestLuaLsqlite3: { extends: .runtime_test }
|
||||
tests.package.test_lsqlite3.TestLuajitLsqlite3: { extends: .runtime_test }
|
||||
tests.package.test_lua.TestLua: { extends: .runtime_test }
|
||||
tests.package.test_lua.TestLuajit: { extends: .runtime_test }
|
||||
tests.package.test_lua_cqueues.TestLuaLuaCqueues: { extends: .runtime_test }
|
||||
tests.package.test_lua_cqueues.TestLuajitLuaCqueues: { extends: .runtime_test }
|
||||
tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test }
|
||||
tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test }
|
||||
tests.package.test_lua_gd.TestLuaLuaGD: { extends: .runtime_test }
|
||||
tests.package.test_lua_gd.TestLuajitLuaGD: { extends: .runtime_test }
|
||||
tests.package.test_lua_http.TestLuaHttp: { extends: .runtime_test }
|
||||
tests.package.test_lua_http.TestLuajitHttp: { extends: .runtime_test }
|
||||
tests.package.test_lua_sdl2.TestLuaLuaSDL2: { extends: .runtime_test }
|
||||
tests.package.test_lua_sdl2.TestLuajitLuaSDL2: { extends: .runtime_test }
|
||||
tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test }
|
||||
tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test }
|
||||
tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test }
|
||||
tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test }
|
||||
tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test }
|
||||
tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test }
|
||||
tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test }
|
||||
tests.package.test_luaossl.TestLuajitLuaossl: { extends: .runtime_test }
|
||||
tests.package.test_luaposix.TestLuaLuaPosix: { extends: .runtime_test }
|
||||
tests.package.test_luaposix.TestLuajitLuaPosix: { extends: .runtime_test }
|
||||
tests.package.test_luasec.TestLuaLuaSec: { extends: .runtime_test }
|
||||
tests.package.test_luasec.TestLuajitLuaSec: { extends: .runtime_test }
|
||||
tests.package.test_luasocket.TestLuaLuaSocket: { extends: .runtime_test }
|
||||
tests.package.test_luasocket.TestLuajitLuaSocket: { extends: .runtime_test }
|
||||
tests.package.test_luasyslog.TestLuaLuasyslog: { extends: .runtime_test }
|
||||
tests.package.test_luasyslog.TestLuajitLuasyslog: { extends: .runtime_test }
|
||||
tests.package.test_luvi.TestLuvi: { extends: .runtime_test }
|
||||
tests.package.test_lzlib.TestLuaLzlib: { extends: .runtime_test }
|
||||
tests.package.test_openjdk.TestOpenJdk: { extends: .runtime_test }
|
||||
tests.package.test_perl.TestPerl: { extends: .runtime_test }
|
||||
tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test }
|
||||
tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
|
||||
@@ -469,13 +384,9 @@ tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: { extends: .runtime_te
|
||||
tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: { extends: .runtime_test }
|
||||
tests.package.test_python_ubjson.TestPythonPy2Ubjson: { extends: .runtime_test }
|
||||
tests.package.test_python_ubjson.TestPythonPy3Ubjson: { extends: .runtime_test }
|
||||
tests.package.test_rings.TestLuaRings: { extends: .runtime_test }
|
||||
tests.package.test_rings.TestLuajitRings: { extends: .runtime_test }
|
||||
tests.package.test_rust.TestRust: { extends: .runtime_test }
|
||||
tests.package.test_rust.TestRustBin: { extends: .runtime_test }
|
||||
tests.package.test_syslog_ng.TestSyslogNg: { extends: .runtime_test }
|
||||
tests.package.test_tmux.TestTmux: { extends: .runtime_test }
|
||||
tests.package.test_turbolua.TestLuajitTurbolua: { extends: .runtime_test }
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: { extends: .runtime_test }
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: { extends: .runtime_test }
|
||||
tests.toolchain.test_external.TestExternalToolchainCCache: { extends: .runtime_test }
|
||||
@@ -484,4 +395,3 @@ tests.toolchain.test_external.TestExternalToolchainLinaroArm: { extends: .runtim
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: { extends: .runtime_test }
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: { extends: .runtime_test }
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: { extends: .runtime_test }
|
||||
tests.utils.test_check_package.TestCheckPackage: { extends: .runtime_test }
|
||||
|
||||
@@ -4,49 +4,12 @@
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base:20191027.2027
|
||||
image: buildroot/base:20180318.1724
|
||||
|
||||
.check_base:
|
||||
except:
|
||||
- /^.*-.*_defconfig$/
|
||||
- /^.*-tests\..*$/
|
||||
|
||||
check-DEVELOPERS:
|
||||
extends: .check_base
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
.defconfig_script:
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
extends: .check_base
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count --max-line-length=132 $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
extends: .check_base
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-package:
|
||||
extends: .check_base
|
||||
script:
|
||||
- make check-package
|
||||
|
||||
.defconfig_base:
|
||||
script:
|
||||
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
||||
- make ${DEFCONFIG_NAME}
|
||||
- echo 'Configure Buildroot'
|
||||
- make ${CI_JOB_NAME}
|
||||
- echo 'Build buildroot'
|
||||
- |
|
||||
make > >(tee build.log |grep '>>>') 2>&1 || {
|
||||
@@ -54,6 +17,43 @@ check-package:
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-DEVELOPERS:
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-package:
|
||||
script:
|
||||
- make check-package
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_script
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-defconfigs$/
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -65,32 +65,18 @@ check-package:
|
||||
- output/build/packages-file-list.txt
|
||||
- output/build/*/.config
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_base
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
.runtime_test:
|
||||
# Running the runtime tests for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-defconfigs$/
|
||||
before_script:
|
||||
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
||||
|
||||
one-defconfig:
|
||||
extends: .defconfig_base
|
||||
only:
|
||||
- /^.*-.*_defconfig$/
|
||||
before_script:
|
||||
- DEFCONFIG_NAME=$(echo ${CI_COMMIT_REF_NAME} | sed -e 's,^.*-,,g')
|
||||
|
||||
.runtime_test_base:
|
||||
- /-runtime-tests$/
|
||||
# Keep build directories so the rootfs can be an artifact of the job. The
|
||||
# runner will clean up those files for us.
|
||||
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
||||
# elastic runners.
|
||||
script:
|
||||
- echo "Starting runtime test ${TEST_CASE_NAME}"
|
||||
- ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${TEST_CASE_NAME}
|
||||
script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_JOB_NAME}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -98,21 +84,3 @@ one-defconfig:
|
||||
- test-output/*.log
|
||||
- test-output/*/.config
|
||||
- test-output/*/images/*
|
||||
|
||||
.runtime_test:
|
||||
extends: .runtime_test_base
|
||||
# Running the runtime tests for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
- /-runtime-tests$/
|
||||
before_script:
|
||||
- TEST_CASE_NAME=${CI_JOB_NAME}
|
||||
|
||||
one-runtime_test:
|
||||
extends: .runtime_test_base
|
||||
only:
|
||||
- /^.*-tests\..*$/
|
||||
before_script:
|
||||
- TEST_CASE_NAME=$(echo ${CI_COMMIT_REF_NAME} | sed -e 's,^.*-,,g')
|
||||
|
||||
720
CHANGES
720
CHANGES
@@ -1,700 +1,3 @@
|
||||
2019.11-rc1, released November 5th, 2019
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Dependencies: Gcc/g++ 4.8 or newer is now required on the
|
||||
build host.
|
||||
Ensure host has JSON::PP perl module installed if
|
||||
webkitgtk/wpewebkit packages are enabled as it is needed
|
||||
during their build process.
|
||||
|
||||
Toolchain: Add support for the D programming language (GCC
|
||||
9.x, Glibc).
|
||||
GCC 9.x updated to 9.2.0, Glibc updated to 2.30, Musl updated
|
||||
to 1.1.24, uClibc-ng updated to 1.0.32, ARC toolchain updated
|
||||
to arc-2019.09-eng002.
|
||||
Musl: Add a patch to add support for
|
||||
sched_{get,set}scheduler() and sched_{get,set}param() for
|
||||
compatibility.
|
||||
Generate check-headers program under BUILD_DIR rather than
|
||||
/tmp to fix issues with distributions mounting /tmp noexec.
|
||||
Also copy libssp.so for external toolchains if SSP
|
||||
to handle toolchains providing SSP support in libssp rather
|
||||
than in the C library
|
||||
|
||||
New defconfigs: Beaglebone AI, FriendlyARM Nanopi NEO Plus2,
|
||||
Libre Computer "La Frite", QEMU Armv7-A with trustzone/OP-TEE,
|
||||
STM32MP157 Discovery Kit
|
||||
|
||||
Arch: Default to a sensible floating point ABI based on the
|
||||
selected ISA extensions rather than always defaulting to
|
||||
ILP32/64
|
||||
|
||||
Graph-size: Package sizes are now shown in human readable form
|
||||
(Kib/Mib/Gib) rather than always in Kib. Binary (KB/MB/GB)
|
||||
format can be selected using the --binary option. The cut-off
|
||||
limit for classifying packages as "other" is now configurable
|
||||
using the --size-limit option.
|
||||
|
||||
Br2-external: Linux kernel extensions can now also be provided
|
||||
in an external tree by adding packages under
|
||||
linux/linux-ext-*.mk. See the manual for details.
|
||||
|
||||
Fakeroot now works correctly under Microsoft Windows 10
|
||||
Services for Linux, which does not provide SYSV IPC support
|
||||
|
||||
The check-uniq-files logic which would complain if multiple
|
||||
packages would touch the same files has been removed as it
|
||||
causes issues in certain situations (when packages are
|
||||
rebuilt) and the issue is no longer considered a problem for
|
||||
toplevel parallel builds as those will use a per-package
|
||||
staging/target directory.
|
||||
With this removed, Python is no longer required for a basic
|
||||
build (only for optional scripts).
|
||||
|
||||
support/scripts/genimage.sh will no longer make a copy of
|
||||
TARGET_DIR, speeding up post-build/image scripts.
|
||||
|
||||
The runtime test logic now uses Python 3.x.
|
||||
|
||||
A 'v' prefix has been dropped from the <pkg>_SOURCE variable
|
||||
for a number of packages to match the version numbers used by
|
||||
https://release-monitoring.org
|
||||
|
||||
New packages: caps, collectl, dav1d, fstrcmp, ima-evm-utils,
|
||||
jitterentropy-library, kodi-vfs-rar, kodi-vfs-sftp, libavl,
|
||||
libhttpserver, libmspack, libnetconf2, libolm, libyang, lrzip,
|
||||
mdevd, minimodem, musl-fts, netifrc, ogre, openlayers,
|
||||
python-aioredis, python-asgiref,
|
||||
python-backports-functools-lru-cache, python-bluezero,
|
||||
python-brotli, python-channels, python-channels-redis,
|
||||
python-colorlog, python-daphne, python-django-enumfields,
|
||||
python-jaraco-functools, python-kiwisolver, python-msgfy,
|
||||
python-rpi-ws281x, python-setuptools-scm-git-archive,
|
||||
python-simplelogging, python-soupsieve, python-sqliteschema,
|
||||
python-sqlparse, python-tqdm, python-webencodings, qt5webview,
|
||||
restclient-cpp, ripgrep, snmpclitools, sunwait, sysrepo,
|
||||
uacme, utf8proc, uvw, ytree
|
||||
|
||||
Removed packages: alljoyn, alljoyn-base, alljoyn-tcl-base,
|
||||
devmem2, eventlog, kodi-audiodecoder-opus,
|
||||
kodi-screensaver-planestate, kodi-visualisation-waveforhue,
|
||||
python-pysnmp-apps, riscv-pk, ustr
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#9881: systemd-resolved not setting resolv.conf link
|
||||
#10171: devmem2 w (word) is 8 bytes in x86 64 systems
|
||||
#10586: musl gcc has ifunc enabled when musl doesn't support it
|
||||
#10806: Allow nfs-utils to use ipv6
|
||||
#11366: [2018.08] SysV IPC not available for fakeroot on WSL
|
||||
#11411: check-uniq-files target issue
|
||||
#11766: Console (getty) issues with systemd
|
||||
#11781: mariadb build error
|
||||
#12031: Build of cups-filters fails while linking, apparently due..
|
||||
#12116: console prompt does not appear after login
|
||||
#12141: eudev package is missing "render" and "kvm" groups
|
||||
#12181: dropbear: norootlogin (-w) no longer works when PAM is enabled
|
||||
#12186: Raspberry Pi Zero-W build fails on newer kernel versions
|
||||
#12191: cmake BUILDDIR
|
||||
#12241: Permission denied while running "make"
|
||||
#12261: sudo versions prior to 1.8.28 are affected.
|
||||
#12276: make clean/distclean does not remove BR2_DL_DIR and BR2_HOST_DIR
|
||||
#12281: Custom configuration fails to build (based on raspberrypi3_..
|
||||
|
||||
2019.08.1, released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone:
|
||||
Use default console settings
|
||||
|
||||
Dependencies: Ensure host has JSON::PP perl module installed
|
||||
if webkitgtk/wpewebkit packages are enabled as it is needed
|
||||
during their build process.
|
||||
|
||||
Toolchain: Generate check-headers program under BUILD_DIR
|
||||
rather than /tmp to fix issues with distributions mounting
|
||||
/tmp noexec.
|
||||
|
||||
Updated/fixed packages: asterisk, augeas, axel, bind, bwm-ng,
|
||||
cups, cups-filters, docker-cli, docker-engine, docker-proxy,
|
||||
e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd, joe,
|
||||
kf5-extra-cmake-modules, kf5-modemmanager-qt,
|
||||
kf5-networkmanager-qt, libcamera, libcurl, libgcrypt,
|
||||
libglib2, libgpg-error, libnspr, libnss, libopenssl,
|
||||
logrotate, luksmeta, mariadb, mbedtls, mongodb, mosquitto,
|
||||
ncurses, nfs-utils, nghttp2, nodejs, openvmtools, php,
|
||||
protobuf, putty, qemu, samba4, snort, swupdate,
|
||||
systemd-bootchart, thttpd, uclibc, unzip, util-linux,
|
||||
wireshark
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10806: Allow nfs-utils to use ipv6
|
||||
#11781: mariadb build error
|
||||
#12031: Build of cups-filters fails while linking, apparently due..
|
||||
#12141: eudev package is missing "render" and "kvm" groups
|
||||
#12241: Permission denied while running "make"
|
||||
|
||||
2019.08, released September 1st, 2019
|
||||
|
||||
Various fixes.
|
||||
|
||||
Defconfigs: Removed nanopc t4, nanopi m4 and neo4, pine64
|
||||
rockpro64 and raxda rock pi4 as they rely on a ARM32 toolchain
|
||||
on the build host to build ATF. These defconfigs will be added
|
||||
back once a package providing such toolchain is
|
||||
available. Also dropped ts4800 defconfig as it does not build
|
||||
with GCC >= 8.x.
|
||||
|
||||
Updated/fixed packages: libxcb, php, python-numpy, webkitgtk,
|
||||
wpewebkit, xfont_font-util
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12156: buildroot-2019.08-rc3 does not build for Pi Zero W
|
||||
|
||||
2019.08-rc3, released August 28th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: clamav, dovecot, dovecot-pigeonhole,
|
||||
gcc, intel-microcode, libmicrohttpd, libmodplug, mpg123,
|
||||
nginx, openldap, python, qemu, samba4, squid, strace, vlc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11686: fbdev_drv.so: undefined symbol: shadowUpdatePackedWeak,..
|
||||
|
||||
2019.08-rc2, released August 20th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Compile fixes for a number of defconfigs.
|
||||
|
||||
Updated/fixed packages: apache, autofs, batctl, batman-adv,
|
||||
bind, collectd, cwiid, dahdi-linux, dahdi-tools, daq,
|
||||
dehydrated, dhcp, dtc, efl, enlightenment, evtest, giflib,
|
||||
gnutls, go, gst-plugins-bad, gst-plugins-base,
|
||||
gst1-plugins-bad, gst1-plugins-base, gst1-rtsp-server, gtkmm3,
|
||||
gupnp, harfbuzz, imagemagick, lftp, libbsd, libcpprestsdk,
|
||||
libdnet, libfm, libgit2, libgtk2, libgtk3, libpri, librsvg,
|
||||
libss7, libssh2, libwpe, lua-cqueues, metacity, micropython,
|
||||
mpd, mpg123, musl, mpv, openblas, openbox, opencv, pango,
|
||||
pcmanfm, piglit, pigpio, pinentry, postgresql, qemu, qt5base,
|
||||
qt5enginio, qt5multimedia, qt5serialbus, quagga, quazip,
|
||||
rrdtool, rygel, samba4, stellarium, tcpreplay, ti-gfx, vte,
|
||||
wampcc, wilink-bt-firmware, wireless-regdb, wpebackend-fdo,
|
||||
xscreensaver
|
||||
|
||||
Removed packages: libamcodec, odroid-mali, odroid-scripts
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#9481: NetworkManager/Ping unable to resolve domains
|
||||
#10566: php.mk is missing option --with-pgsql
|
||||
#10861: Package batman_adv Makefile is missing include header direct..
|
||||
#11641: linux kernel .config timestamp always out of date fixed with..
|
||||
#11671: russian locale ru_RU:145: LC_TIME: syntax error
|
||||
#11701: recuuring of usr and in bin shortcuts are created
|
||||
#11741: pigpio does not build host-pigpio
|
||||
#11876: automount using host mount/umount
|
||||
#11881: Build breaks with lftp package enabled and libexpat1-dev inst..
|
||||
#11921: dahdi fails to build
|
||||
#11936: libcpprestsdk should install to staging
|
||||
#11946: wilink-bt-firmware: moved from github to http://git.ti.com/ti-bt
|
||||
#11961: libpri build failure
|
||||
#12086: dhcp shared libraries not installed to target
|
||||
#12096: tcpreplay: build fails if libdumbnet-dev is installed in the..
|
||||
#12106: daq: build fails if libdumbnet-dev is installed in the host
|
||||
#12126: vc4 has neon as hard dependency
|
||||
|
||||
2019.08-rc1, released August 9th, 2019
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
toolchain: ARC toolchain updated to 2019.03 (binutils 2.32.51
|
||||
/ GCC 8.3.1 / glibc 2.29), ARM AAarch64/ARM toolchains updated
|
||||
to 2019.03. Add GCC 9.1.0, remove GCC 4.9 and 6.5, add GDB
|
||||
8.3, remove GDB 7.12 and 8.0.1, default to GDB 8.2, GCC
|
||||
8.3.0. Musl updated to 1.1.23, bringing support for RISC-V 64.
|
||||
|
||||
Architectures: Internal toolchain support for C-SKY, support
|
||||
for ARC HS48 v3.1 and HS38 with Quad MAC & FPU, support for
|
||||
ARM A76, A76/A55 big.LITTLE, emag, neoverse-N1, phecda and
|
||||
tsv110.
|
||||
|
||||
Filesystems: Pass extra pax options to tar for binary
|
||||
reproducibility. Build host-cpio for the --reproducible option
|
||||
support when BR2_REPRODUCIBLE is enabled. Genimage updated to
|
||||
version 11, bringing GPT support.
|
||||
|
||||
Br2-external: Add support for injecting additional options to
|
||||
the list of preconfigured external toolchains and libjpeg and
|
||||
openssl providers using files under provides/. See the manual
|
||||
for details.
|
||||
|
||||
Ensure custom <pkg>_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are
|
||||
passed before the standard exclusions so they are not ignored
|
||||
by rsync when using override-srcdir.
|
||||
|
||||
Gnuconfig updated to 2019-05-28, adding C-SKY support.
|
||||
|
||||
test-pkg: Correct long option handling and clean output dir
|
||||
after a successful build to save disk space.
|
||||
|
||||
support/testing: Emulate a machine with 256MB RAM to fix
|
||||
issues with certain tests running out of memory, use
|
||||
virtio-rng to provide needed entrophy.
|
||||
|
||||
pkg-stats: support outputting in JSON format with --json for
|
||||
easier post processing. The classic HTML output is still
|
||||
available with --html. Parallelize access to
|
||||
release-monitoring.org to speed up runtime.
|
||||
|
||||
Drop non-conventional version prefix/suffix/separators for
|
||||
packages for better compatibility with release-monitoring.org
|
||||
|
||||
Packages:
|
||||
Init systems: Add basic openrc support and
|
||||
<pkg>_INSTALL_INIT_OPENRC variable in the infrastructure to
|
||||
install openrc service scripts if enabled.
|
||||
|
||||
busybox: Build each applet as a separate binary when SELinux
|
||||
is enabled for more finegrained policy control. Use daemon
|
||||
mode for mdev rather than legacy hotplug.
|
||||
|
||||
linux: Workaround -Werror related build failure on powerpc,
|
||||
by forcing CONFIG_PPC_DISABLE_WERROR on.
|
||||
|
||||
Defconfigs: QEMU: use 'rootwait' kernel option to ensure root
|
||||
partition is available before mounting.
|
||||
|
||||
New defconfigs: HiFive Unleashed, I.MX8MM EVK and Pico, Nanopi
|
||||
m4 and neo4, Nanopc t4, Olimex A33 olinuxino, Pine64
|
||||
Rockpro64, PowerPC mac99, QEMU C-SKY 610/807/810/860 virt,
|
||||
Raspberry Pi 4, Raxda rock pi4, Solidrun Clearfog GT-8K
|
||||
|
||||
Removed defconfigs: Odroid C2
|
||||
|
||||
New packages: bitcoin, c-capnproto, fatcat, ifmetric, jack1,
|
||||
jailhouse, libubootenv, luasyslog, mender-grubenv,
|
||||
murata-cyw-fw, openrc, piglit, python-colorama, python-cycler,
|
||||
python-hiredis, python-ifaddr, python-inflection,
|
||||
python-iptables, python-matplotlib, python-periphery,
|
||||
python-pycairo, python-redis, python-termcolor,
|
||||
python-tinyrpc, python-txdbus, skeleton-init-openrc, spdlog,
|
||||
sshguard, stellarium, zziplib
|
||||
|
||||
Removed packages: xapp_mkfontdir
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11096: Upgrade from glibc 2.26 to 2.27 broke some locales...
|
||||
#11271: utils/check-package fails with exception depending on..
|
||||
#11991: [numpy] segfault when compiling for RPi3 64bits
|
||||
#12016: Grub fails to boot bzImage after upgrade to 2019.05
|
||||
#12046: Can’t login as root user after upgrading to buildroot..
|
||||
#12051: package/dhcp installs libtool wrapper scripts on tar...
|
||||
#12076: Patchelf can link against an incompatible libc++ ver...
|
||||
|
||||
2019.05.3, Released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone:
|
||||
Use default console settings
|
||||
|
||||
Dependencies: Ensure host has JSON::PP perl module installed
|
||||
if webkitgtk/wpewebkit packages are enabled as it is needed
|
||||
during their build process.
|
||||
|
||||
Toolchain: Generate check-headers program under BUILD_DIR
|
||||
rather than /tmp to fix issues with distributions mounting
|
||||
/tmp noexec.
|
||||
|
||||
Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups,
|
||||
cups-filters, docker-cli, docker-engine, docker-proxy,
|
||||
e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd,
|
||||
iptables, joe, kf5-extra-cmake-modules, kf5-modemmanager-qt,
|
||||
kf5-networkmanager-qtlibcamera, libcurl, libgcrypt,
|
||||
libgpg-error, libnftl, libnspr, libnss, libopenssl,
|
||||
libtorrent-rasterbar, luksmeta, mariadb, mbedtls, mongodb,
|
||||
mosquitto, ncurses, nfs-utils, nghttp2, nodejs, openvmtools,
|
||||
php, protobuf, putty, qemu, samba4, swupdate,
|
||||
systemd-bootchart, thttpd, uclibc, unzip, util-linux,
|
||||
wireshark
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10806: Allow nfs-utils to use ipv6
|
||||
#11781: mariadb build error
|
||||
#12031: Build of cups-filters fails while linking, apparently due..
|
||||
#12141: eudev package is missing "render" and "kvm" groups
|
||||
#12241: Permission denied while running "make"
|
||||
|
||||
2019.05.2, Released September 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Filesystems: Pass extra pax options to tar for binary
|
||||
reproducibility.
|
||||
|
||||
Updated/fixed packages: apache, arm-trusted-firmware,
|
||||
asterisk, atk, autofs, batctl, batman-adv, berkeleydb,
|
||||
busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk,
|
||||
dahdi-linux, dahdi-tools, daq, dehydrated, dhcp, dovecot,
|
||||
dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib,
|
||||
git, glib-networking, glibc, gnupg2, gnutls, go,
|
||||
gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick,
|
||||
imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl,
|
||||
libgit2, libgtk2, libgtk3, libmodplug, libnss, libpri,
|
||||
libshout, libss7, libssh2, libvips, libxcb, linux-headers,
|
||||
mdadm, mesa3d, metacity, mpg123, mosquitto, musl, nginx,
|
||||
oniguruma, openblas, opencv3, openjdk, openjdk-bin, openldap,
|
||||
openvmtools, pcmanfm, php, pigpio, postgresql, prboom,
|
||||
proftpd, proj, python, python-django, python-idna,
|
||||
python-numpy, python-urllib3, python3, qemu, qt5, qt5base,
|
||||
qt5enginio, quagga, rygel, squid, subversion, tcpreplay,
|
||||
unzip, vlc, vte, webkitgtk, wireless-regdb, xen,
|
||||
xfont_font-util, xlib_libICE, xlib_libXfont, xlib_libXfont2,
|
||||
yad, zeromq
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11741: pigpio does not build host-pigpio
|
||||
#11876: automount using host mount/umount
|
||||
#11881: Build breaks with lftp package enabled and libexpat1-dev inst..
|
||||
#11921: dahdi fails to build
|
||||
#11961: libpri build failure
|
||||
#12086: (dhcpd-missing-libs) - dhcp shared libraries not installed to..
|
||||
#12096: tcpreplay: build fails if libdumbnet-dev is installed in the..
|
||||
#12106: daq: build fails if libdumbnet-dev is installed in the host
|
||||
#12126: vc4 has neon as hard dependency
|
||||
|
||||
2019.05.1, Released July 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
arch: x86: Fix typo breaking 'core-avx2' variant
|
||||
|
||||
linux: Workaround -Werror related build failure on powerpc,
|
||||
by forcing CONFIG_PPC_DISABLE_WERROR on.
|
||||
|
||||
support/testing: Emulate a machine with 256MB RAM to fix
|
||||
issues with certain tests running out of memory.
|
||||
|
||||
test-pkg: Correct long option handling and clean output dir
|
||||
after a successful build to save disk space.
|
||||
|
||||
Defconfigs: QEMU: use 'rootwait' kernel option to ensure root
|
||||
partition is available before mounting.
|
||||
|
||||
Updated/fixed packages: barebox, busybox, bzip2, davfs2,
|
||||
dialog, docker-cli, docker-engine, exim, expat, faad2,
|
||||
haveged, irssi, libcamera, libcdaudio, libcurl, libglib2,
|
||||
libressl, libsecret, lmbench, meson, monit, php, postgresql,
|
||||
psplash, python-django, qt5base, tvheadend, webkitgtk,
|
||||
xserver_xorg-server, znc
|
||||
|
||||
2019.05, released June 2nd, 2019
|
||||
|
||||
Various fixes.
|
||||
|
||||
Toolchain: Ensure pre-built Andes toolchains can only be
|
||||
selected when x86 32bit support is available on the host.
|
||||
Disallow PowerPC SPE ABI for GCC >= 8.x, as it is no longer
|
||||
supported.
|
||||
|
||||
Infra: pkg-config: Use a dedicated timestamp file rather than
|
||||
.config as that gets touched by linux-4.19+, causing repeated
|
||||
builds.
|
||||
|
||||
Add C-SKY support to our config.sub (gnuconfig)
|
||||
|
||||
Updated/fixed packages: dosfstools, botan, brotli, dropbear,
|
||||
flare-engine, gst1-plugins-bad, libhtp, libnss, libopenssl,
|
||||
linuxptp, matchbox-panel, mender, mutt, netsurf,
|
||||
network-manager, opencv3, openjdk, openmpi, php,
|
||||
python-cython, qt5multimedia, qtwayland, qt5webkit-examples,
|
||||
supertux, suricata, tpm2-totp, v4l2loopback, wireshark,
|
||||
wpewebkit
|
||||
|
||||
2019.05-rc3, released May 25th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
check-bin-arch: Ignore /usr/lib/grub, similar to how /lib/grub
|
||||
is ignored.
|
||||
|
||||
check-package: Warn about utf-8 characters in .mk files
|
||||
|
||||
Linux: Default to 5.1.x series
|
||||
|
||||
Updated/fixed packages: assimp, atop, chocolate-doom, cjson,
|
||||
ddrescue, dhcp, ffmpeg, gerbera, glibmm, gpsd, gst-ffmpeg,
|
||||
intel-microcode, jasper, keepalived, kismet, libcpprestsdk,
|
||||
libcurl, libssh2, libupnp18, luarocks, mono-gtksharp3, opus,
|
||||
postgresql, pcsc-lite, python, tslib, webkitgtk,
|
||||
wpebackend-fdo, wpewebkit
|
||||
|
||||
2019.05-rc2, released May 15th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: bind, bullet, ca-certificates,
|
||||
collectd, cracklib, dhcp, gdb, libinput, libtorrent-rasterbar,
|
||||
linknx, lynx, mono, netsurf, optee-os, postgresql, qt5enginio,
|
||||
qt5multimedia, rpm, samba4, sqlite, strace, uclibc, woff2
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11841: grub-efi.cfg not used when building EFI disk image
|
||||
|
||||
2019.05-rc1, Released May 8th, 2019
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Architecture: Andes 32-bit (nds32) support added.
|
||||
|
||||
Only build host-lzip / host-xz when really needed by packages,
|
||||
not just when not available on the build host.
|
||||
|
||||
Toolchain: Glibc bumped to 2.29, musl bumped to 1.1.22,
|
||||
binutils 2.32 added, 2.28/2.29 removed, default changed to
|
||||
2.31.1.
|
||||
|
||||
fs: Set FAKEROOTDONTTRYCHOWN environment variable to not
|
||||
forward {f,l,}chown calls to libc when running under fakeroot
|
||||
to fix issues when building in restricted environments
|
||||
(E.G. user namespace with bubblewrap).
|
||||
|
||||
Linux: Also build default make target to ensure extra files
|
||||
like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also
|
||||
built. Notice: This may mean that extra host utilities like
|
||||
uboot-mkimage are needed.
|
||||
|
||||
Infrastructure: show-info and <pkg>-show-info make targets
|
||||
added to output package metadata in JSON format for external
|
||||
use.
|
||||
|
||||
pkg-generic: Only tweak .la files needing it to ensure they
|
||||
are not included in subsequent package file lists.
|
||||
|
||||
test-pkg: Generate a basic package config if none is
|
||||
specified.
|
||||
|
||||
Gettext-tiny package added as an lightweight replacement for
|
||||
GNU gettext for situations where NLS support is not needed.
|
||||
|
||||
New defconfigs: Andes AE3XX, Freescale imx8mpico / imx8qxpmek
|
||||
/ T2080 QDS RDB, Licheepi zero, Orangepi R1
|
||||
|
||||
Removed defconfigs: Olimx A20 Olinuxino Lime legacy
|
||||
|
||||
New packages: bats-core, bayer2rgb-neon, brickd, cog, dacapo,
|
||||
enet, gettext-tiny, gli, gst1-plugins-bayer2rgb-neon,
|
||||
imx-sc-firmware, intel-mediadriver, intel-mediasdk, libcamera,
|
||||
libhtp, libp11, libwpe, lua-binaryheap, lua-gd, lua-lunitx,
|
||||
mender-artifact, most, oniguruma, openjdk, openjdk-bin,
|
||||
opensbi, optee-benchmark, optee-client, optee-examples,
|
||||
optee-os, optee-test, paho-mqtt-cpp, python-aioblescan,
|
||||
python-aioconsole, python-aiohttp-cors, python-aiomonitor,
|
||||
python-backcall, python-jedi, python-parso, python-pyjwt,
|
||||
python-terminaltables, suricata, tpm2-totp, uftp,
|
||||
wpebackend-fdo, wpewebkit
|
||||
|
||||
Removed packages: libump, lunit, sunxi-mali
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11716: Typo on website, saying latest release is 2018.2.11
|
||||
#11756: package/syslinux: MBR's don't fit because of binutils..
|
||||
#11761: Building custom kernel 5.1-rc3 or later breaks on objtool
|
||||
#11816: Only selected coreutils binaries are installed
|
||||
|
||||
2019.02.6, Released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone:
|
||||
Use default console settings
|
||||
|
||||
Dependencies: Ensure host has JSON::PP perl module installed
|
||||
if webkitgtk/wpewebkit packages are enabled as it is needed
|
||||
during their build process.
|
||||
|
||||
Toolchain: Generate check-headers program under BUILD_DIR
|
||||
rather than /tmp to fix issues with distributions mounting
|
||||
/tmp noexec.
|
||||
|
||||
Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups,
|
||||
cups-filters, docker-cli, docker-engine, docker-proxy,
|
||||
dropbear, e2fsprogs, eudev, exim, expat, gcc, go, ifplugd,
|
||||
haveged, iptables, joe, kf5-extra-cmake-modules,
|
||||
kf5-modemmanager-qt, kf5-networkmanager-qt, libcurl,
|
||||
libgcrypt, libgpg-error, libnftl, libnspr, libnss, libopenssl,
|
||||
luksmeta, mariadb, mbedtls, mongodb, mosquitto, ncurses,
|
||||
nfs-utils, nghttp2, nodejs, openvmtools, php, protobuf, putty,
|
||||
qemu, qt5base, samba4, swupdate, systemd-bootchart, thttpd,
|
||||
uclibc, unzip, util-linux, wireshark
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10806: Allow nfs-utils to use ipv6
|
||||
#11781: mariadb build error
|
||||
#12031: Build of cups-filters fails while linking, apparently due..
|
||||
#12141: eudev package is missing "render" and "kvm" groups
|
||||
#12181: dropbear: norootlogin (-w) no longer works when PAM is enabled
|
||||
#12241: Permission denied while running "make"
|
||||
|
||||
2019.02.5, Released September 2nd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Filesystems: Pass extra pax options to tar for binary
|
||||
reproducibility.
|
||||
|
||||
Updated/fixed packages: apache, arm-trusted-firmware,
|
||||
asterisk, atk, autofs, batctl, batman-adv, berkeleydb, brotli,
|
||||
busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk,
|
||||
cryptopp, dahdi-linux, dahdi-tools, daq, dehydrated, dovecot,
|
||||
dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib,
|
||||
git, glib-networking, glibc, gnupg2, gnutls, go,
|
||||
gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick,
|
||||
imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl,
|
||||
libgit2, libgtk3, libmodplug, libnss, libpri, libshout,
|
||||
libss7, libssh2, libvips, libxcb, linux-headers, mdadm,
|
||||
mesa3d, metacity, mpg123, mosquitto, musl, nginx, openblas,
|
||||
opencv3, openldap, openvmtools, pcmanfm, php, pigpio,
|
||||
postgresql, prboom, proftpd, proj, python, python-django,
|
||||
python-idna, python-numpy, python-urllib3, python3, qemu, qt5,
|
||||
qt5base, qt5enginio, quagga, rygel, squid, subversion,
|
||||
tcpreplay, unzip, vlc, vte, webkitgtk, weston, wireless-regdb,
|
||||
xen, xfont_font-util, xlib_libICE, xlib_libXfont,
|
||||
xlib_libXfont2, yad, zeromq
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11741: pigpio does not build host-pigpio
|
||||
#11876: automount using host mount/umount
|
||||
#11881: Build breaks with lftp package enabled and libexpat1-dev inst..
|
||||
#11921: dahdi fails to build
|
||||
#11961: libpri build failure
|
||||
#12096: tcpreplay: build fails if libdumbnet-dev is installed in the..
|
||||
#12106: daq: build fails if libdumbnet-dev is installed in the host
|
||||
#12126: vc4 has neon as hard dependency
|
||||
|
||||
2019.02.4, Released July 10th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
arch: x86: Fix typo breaking 'core-avx2' variant, add Westmere
|
||||
variant.
|
||||
|
||||
linux: Workaround -Werror related build failure on powerpc,
|
||||
by forcing CONFIG_PPC_DISABLE_WERROR on.
|
||||
|
||||
support/testing: Emulate a machine with 256MB RAM to fix
|
||||
issues with certain tests running out of memory.
|
||||
|
||||
test-pkg: Correct long option handling and clean output dir
|
||||
after a successful build to save disk space.
|
||||
|
||||
Ensure custom <pkg>_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are
|
||||
passed before the standard exclusions so they are not ignored
|
||||
by rsync when using override-srcdir.
|
||||
|
||||
Defconfigs: QEMU: use 'rootwait' kernel option to ensure root
|
||||
partition is available before mounting.
|
||||
|
||||
Updated/fixed packages: barebox, bzip2, davfs2, dbus, dialog,
|
||||
docker-cli, docker-engine, expat, faad2, ffmpeg, freeswitch,
|
||||
gerbera, haveged, irssi, libcdadio, libgit2, libglib2,
|
||||
libsecret, libvncserver, lmbench, logrotate, mariadb, meson,
|
||||
mongoose, monit, mpd, openblas, php, postgresql, psplash,
|
||||
python, python-django, python3, qt5base, samba4, taglib,
|
||||
tvheadend, vlc, webkitgtk, xserver_xorg-server, znc
|
||||
|
||||
2019.02.3, Released June 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infra: pkg-config: Use a dedicated timestamp file rather than
|
||||
.config as that gets touched by linux-4.19+, causing repeated
|
||||
builds.
|
||||
|
||||
check-bin-arch: Also ignore /usr/lib/grub to support merged
|
||||
/usr setups, similar to how /lib/grub is ignored.
|
||||
|
||||
gnuconfig/config.sub: Add C-SKY architecture support.
|
||||
|
||||
Updated/fixed packages: assimp, atftp, atop, botan, busybox,
|
||||
ca-certificates, chocolate-doom, cjson, coreutils, cracklib,
|
||||
ddrescue, dhcp, docker-cli, docker-containerd, docker-engine,
|
||||
dosfstools, dovecot, dovecot-pigeonhole, dropbear, exim,
|
||||
ffmpeg, flare-engine, gcc, gdb, gerbera, glibmm, go, gpsd,
|
||||
gst-ffmpeg, gst1-plugins-bad, gst1-plugins-base, imagemagick,
|
||||
intel-microcode, jasper, kf5-kcoreaddons, kismet, libcurl,
|
||||
libglib2, libnss, libopenssl, libsigrok, libssh2, libupnp18,
|
||||
linuxptp, luajit, lynx, matchbox-panel, mender,
|
||||
netcat-openbsd, netsurf, nfs-utils, opus, orc, owfs,
|
||||
pcsc-lite, php, popt, postgresql, python, python-cython,
|
||||
python-django, python-ply, qt5enginio, rpm, runc, samba4,
|
||||
sqlite, subversion, supertux, systemd, tslib, uclibc,
|
||||
v4l2loopback, webkitgtk, woff2
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11816: Only selected coreutils binaries are installed
|
||||
#11841: grub-efi.cfg not used when building EFI disk image
|
||||
#11911: systemd v240 memory leak in systemd-journald
|
||||
|
||||
2019.02.2, Released April 29th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Only build host-lzip / host-xz when really needed by packages,
|
||||
not just when not available on the build host.
|
||||
|
||||
fs: Set FAKEROOTDONTTRYCHOWN environment variable to not
|
||||
forward {f,l,}chown calls to libc when running under fakeroot
|
||||
to fix issues when building in restricted environments
|
||||
(E.G. user namespace with bubblewrap).
|
||||
|
||||
Linux: Also build default make target to ensure extra files
|
||||
like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also
|
||||
built. Notice: This may mean that extra host utilities like
|
||||
uboot-mkimage are needed.
|
||||
|
||||
Defconfigs: ASUS tinker and Amarula vyasa rk3822: Support
|
||||
larger kernel images, Atmel SAM5D27, SAM5D2,3,4 xplained:
|
||||
Increase rootfs size to fit utilities, Raspberry Pi 64bit:
|
||||
Include overlays in sdcard image
|
||||
|
||||
Updated/fixed packages: android-tools, apache, bind, binutils,
|
||||
busybox, civetweb, cjson, copas, davfs2, docker-cli,
|
||||
docker-containerd, docker-engine, dovecot, dovecot-pigeonhole,
|
||||
freerdp, gerbera, ghostscript, git, gnutls, go, gst-omx,
|
||||
gst1-plugins-base, gst1-plugins-ugly, haproxy, hostapd,
|
||||
ipsec-tools, libfreefare, libfuse, libkrb5, libpng, libxml2,
|
||||
libxslt, linknx, linux, linux-firmware, linux-tools, live555,
|
||||
lldp, lrzsz, lynx, madplay, make, minicom, mongodb, msmtp,
|
||||
musl, mutt, neon, netsnmp, numactl, opus, perl, php,
|
||||
postgresql, pure-ftpd, python-urllib3, python3, qt5base,
|
||||
rapidxml, rpm, rsyslog, ruby, runc, samba4, sane-backends,
|
||||
softether, stunnel, sysklogd, syslinux, syslog-ng,
|
||||
systemd-bootchart, thttpd, thrift, tiff, tor, tpm2-tools,
|
||||
tpm2-tss, webkitgtk, yaffs2utils, wget, wpa_supplicant, wsapi,
|
||||
xapp_xfd, xapp_xload, xlib_libXpm, xserver_xorg-server, xz,
|
||||
znc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11756: package/syslinux: MBR's don't fit because of binutils..
|
||||
#11761: Building custom kernel 5.1-rc3 or later breaks on objtool
|
||||
|
||||
2019.02.1, Released March 29th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -933,18 +236,6 @@
|
||||
#11656: Custom device tree and u-boot boot.scr not integrated..
|
||||
#11666: Touchscreen with (Py)Qt5 should use tslib instead of evdev
|
||||
|
||||
2018.11.4, Released March 28th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Updated/fixed packages: avahi, beecrypt, binutils, botan,
|
||||
busybox, clamav, cups, devmem2, efl, fetchmail, file, fltk,
|
||||
gcc, gdb, git, go, gst-plugins-bad, iproute2, jq,
|
||||
kf5-modemmanager-qt, leveldb, libopenssl, libraw, libseccomp,
|
||||
libsoxr, libssh2, mariadb, mosquitto, nodejs, ntp, openjpeg,
|
||||
perl, php, putty, qt5webkit, rdesktop, runc, samba4, swupdate,
|
||||
systemd, tor, vsftpd, wireshark, xapp_xdm, xen, xlib_libXdmcp
|
||||
|
||||
2018.11.3, Released February 23th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -1756,17 +1047,6 @@
|
||||
#10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is
|
||||
enabled
|
||||
|
||||
2018.02.12, Released March 29th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Updated/fixed packages: avahi, beecrypt, busybox, clamav,
|
||||
cups, devmem2, fetchmail, file, fltk, gcc, gdb, git, jq,
|
||||
leveldb, libopenssl, libraw, libseccomp, libssh2,
|
||||
libunistring, mariadb, mosquitto, nodejs, ntp, openjpeg, perl,
|
||||
php, putty, qt5webkit, rdesktop, systemd, wireshark, vsftpd,
|
||||
xapp_xdm, xlib_libXdmcp
|
||||
|
||||
2018.02.11, Released February 23th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
60
Config.in
60
Config.in
@@ -14,21 +14,38 @@ config BR2_HOSTARCH
|
||||
string
|
||||
option env="HOSTARCH"
|
||||
|
||||
config BR2_BASE_DIR
|
||||
config BR2_BUILD_DIR
|
||||
string
|
||||
option env="BASE_DIR"
|
||||
|
||||
# br2-external paths definitions
|
||||
source "$BR2_BASE_DIR/.br2-external.in.paths"
|
||||
option env="BUILD_DIR"
|
||||
|
||||
# Hidden config symbols for packages to check system gcc version
|
||||
config BR2_HOST_GCC_VERSION
|
||||
string
|
||||
option env="HOST_GCC_VERSION"
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_5
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 5"
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_6
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 6"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_5
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_7
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 7"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_6
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_8
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 8"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_7
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_9
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 9"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_8
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_5
|
||||
bool
|
||||
@@ -536,6 +553,7 @@ endchoice
|
||||
config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
bool "Enable google-breakpad support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -694,18 +712,6 @@ endmenu
|
||||
|
||||
comment "Security Hardening Options"
|
||||
|
||||
config BR2_PIC_PIE
|
||||
bool "Build code with PIC/PIE"
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
help
|
||||
Generate Position-Independent Code (PIC) and link
|
||||
Position-Independent Executables (PIE).
|
||||
|
||||
comment "PIC/PIE needs a toolchain w/ PIE"
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
choice
|
||||
bool "Stack Smashing Protection"
|
||||
default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy
|
||||
@@ -740,14 +746,14 @@ config BR2_SSP_REGULAR
|
||||
|
||||
config BR2_SSP_STRONG
|
||||
bool "-fstack-protector-strong"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
help
|
||||
Like -fstack-protector but includes additional functions to be
|
||||
protected - those that have local array definitions, or have
|
||||
references to local frame addresses.
|
||||
|
||||
-fstack-protector-strong officially appeared in gcc 4.9, but
|
||||
some vendors have backported -fstack-protector-strong to older
|
||||
versions of gcc.
|
||||
comment "Stack Smashing Protection strong needs a toolchain w/ gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_SSP_ALL
|
||||
bool "-fstack-protector-all"
|
||||
@@ -758,12 +764,6 @@ config BR2_SSP_ALL
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_SSP_OPTION
|
||||
string
|
||||
default "-fstack-protector" if BR2_SSP_REGULAR
|
||||
default "-fstack-protector-strong" if BR2_SSP_STRONG
|
||||
default "-fstack-protector-all" if BR2_SSP_ALL
|
||||
|
||||
comment "Stack Smashing Protection needs a toolchain w/ SSP"
|
||||
depends on !BR2_TOOLCHAIN_HAS_SSP
|
||||
|
||||
@@ -788,16 +788,11 @@ config BR2_RELRO_PARTIAL
|
||||
|
||||
config BR2_RELRO_FULL
|
||||
bool "Full"
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
select BR2_PIC_PIE
|
||||
help
|
||||
This option includes the partial configuration, but also marks
|
||||
the GOT as read-only at the cost of initialization time during
|
||||
program loading, i.e every time an executable is started.
|
||||
|
||||
comment "RELRO Full needs a toolchain w/ PIE"
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
endchoice
|
||||
|
||||
comment "RELocation Read Only (RELRO) needs shared libraries"
|
||||
@@ -864,5 +859,4 @@ source "package/Config.in.host"
|
||||
|
||||
source "Config.in.legacy"
|
||||
|
||||
# br2-external menus definitions
|
||||
source "$BR2_BASE_DIR/.br2-external.in.menus"
|
||||
source "$BR2_BUILD_DIR/.br2-external.in"
|
||||
|
||||
350
Config.in.legacy
350
Config.in.legacy
@@ -144,343 +144,7 @@ endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
comment "Legacy options removed in 2019.11"
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN
|
||||
bool "alljoyn was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_BASE
|
||||
bool "alljoyn-base was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_BASE_CONTROLPANEL
|
||||
bool "alljoyn-base control panel was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_BASE_NOTIFICATION
|
||||
bool "alljoyn-base notification was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_BASE_ONBOARDING
|
||||
bool "alljoyn-base onboarding was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_TCL_BASE
|
||||
bool "alljoyn-tcl-base was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN_TCL
|
||||
bool "alljoyn-tcl was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The alljoyn framework is dead
|
||||
|
||||
config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
|
||||
string "toolchain-external extra libs option has been renamed"
|
||||
help
|
||||
The option BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS has
|
||||
been renamed to BR2_TOOLCHAIN_EXTRA_LIBS.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS_WRAP
|
||||
bool
|
||||
default y if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PYSNMP_APPS
|
||||
bool "python-pysnmp-apps was removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_SNMPCLITOOLS
|
||||
help
|
||||
Following upstream changes, the python-pysnmp-apps package
|
||||
has been removed, and snmpclitools should be used as a
|
||||
replacement.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_2
|
||||
bool "kernel headers version 5.2.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.2.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_TARGET_RISCV_PK
|
||||
bool "riscv-pk was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The RISC-V Proxy Kernel (pk) and Berkley Boot Loader (BBL)
|
||||
have been replaced with OpenSBI.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_STAT3
|
||||
bool "sqlite stat3 support was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Upstream removed the support for stat3.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_1
|
||||
bool "kernel headers version 5.1.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.1.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_DEVMEM2
|
||||
bool "devmem2 package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Use the the Busybox devmem utility, instead, which provides
|
||||
the same functionality.
|
||||
|
||||
config BR2_PACKAGE_USTR
|
||||
bool "ustr package removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'ustr' package was only used by SELinux libsemanage, but
|
||||
since SELinux 2.7, ustr is no longer used. Therefore, we
|
||||
removed this package from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE
|
||||
bool "kodi-screensaver-planestate package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package is incompatible with Kodi 18.x.
|
||||
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_WAVEFORHUE
|
||||
bool "kodi-visualisation-waveforhue package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package is incompatible with Kodi 18.x.
|
||||
|
||||
config BR2_PACKAGE_KODI_AUDIODECODER_OPUS
|
||||
bool "kodi-audiodecoder-opus package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package is incompatible with Kodi 18.x.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_OSMESA
|
||||
bool "mesa OSMesa option renamed"
|
||||
select BR2_PACKAGE_MESA3D_OSMESA_CLASSIC if BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option was renamed in order to match the naming used
|
||||
by the meson buildsystem.
|
||||
|
||||
config BR2_PACKAGE_HOSTAPD_DRIVER_RTW
|
||||
bool "hostapd rtl871xdrv driver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Since the update of hostapd to 2.9, the patch provided for
|
||||
the rtl871xdrv no longer works, although it
|
||||
applies. Moreover, AP support for Realtek chips is broken
|
||||
anyway in kernels > 4.9. Therefore, this option has been
|
||||
removed.
|
||||
|
||||
config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW
|
||||
bool "new dbus support option in wpa_supplicant was renamed"
|
||||
select BR2_PACKAGE_WPA_SUPPLICANT_DBUS if BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The new dbus support option was renamed.
|
||||
|
||||
config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD
|
||||
bool "old dbus support in wpa_supplicant was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The old dbus support was removed.
|
||||
|
||||
comment "Legacy options removed in 2019.08"
|
||||
|
||||
config BR2_TARGET_TS4800_MBRBOOT
|
||||
bool "ts4800-mbrboot package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The defconfig for the TS4800 platform has been removed, so
|
||||
the ts4800-mbrboot package, containing the boot code for
|
||||
this specific platform has been removed as welL.
|
||||
|
||||
config BR2_PACKAGE_LIBAMCODEC
|
||||
bool "liamcodec package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for odroidc2 based systems was removed, making the
|
||||
libamcodec package useless.
|
||||
|
||||
config BR2_PACKAGE_ODROID_SCRIPTS
|
||||
bool "odroid-scripts package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for odroidc2 based systems was removed, making the
|
||||
odroid-scripts package useless.
|
||||
|
||||
config BR2_PACKAGE_ODROID_MALI
|
||||
bool "odroid-mali package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for odroidc2 based systems was removed, making the
|
||||
odroid-mali package useless.
|
||||
|
||||
config BR2_PACKAGE_KODI_PLATFORM_AML
|
||||
bool "Kodi AMLogic support was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for AMLogic was removed due to the removal of the
|
||||
odroidc2 defconfig.
|
||||
|
||||
config BR2_GCC_VERSION_6_X
|
||||
bool "gcc 6.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 6.x has been removed. The current
|
||||
default version (8.x or later) has been selected instead.
|
||||
|
||||
config BR2_GCC_VERSION_4_9_X
|
||||
bool "gcc 4.9.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 4.9.x has been removed. The current
|
||||
default version (8.x or later) has been selected instead.
|
||||
|
||||
config BR2_GDB_VERSION_7_12
|
||||
bool "gdb 7.12.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 7.12.x version of gdb has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_PACKAGE_XAPP_MKFONTDIR
|
||||
bool "mkfontdir is now included in xapp_mkfontscale"
|
||||
select BR2_PACKAGE_XAPP_MKFONTSCALE
|
||||
select BR2_LEGACY
|
||||
help
|
||||
xapp_mkfontscale now includes the mkfontdir script previously
|
||||
distributed separately for compatibility with older X11
|
||||
versions.
|
||||
|
||||
config BR2_GDB_VERSION_8_0
|
||||
bool "gdb 8.0.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 8.0.x version of gdb has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_20
|
||||
bool "kernel headers version 4.20.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.20.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_0
|
||||
bool "kernel headers version 5.0.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.0.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
comment "Legacy options removed in 2019.05"
|
||||
|
||||
config BR2_CSKY_DSP
|
||||
bool "C-SKY DSP support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
C-SKY DSP instruction support for ck810 / ck807 was removed,
|
||||
as it was no longer supported in C-SKY gcc. Perhaps the VDSP
|
||||
instructions should be used instead, using the BR2_CSKY_VDSP
|
||||
option.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR
|
||||
bool "compositor moved to gst1-plugins-base"
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gst1-plugins-bad compositor plugin has moved
|
||||
to gst1-plugins-base.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA
|
||||
bool "gst-plugins-bad IQA option was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gst1-plugins-bad IQA option was removed.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
|
||||
bool "gst-plugins-bad opencv option was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gst1-plugins-bad opencv option was removed because
|
||||
buildroot does not have the opencv_contrib package which
|
||||
is required for the bgsegm module which gst1-plugins-bad
|
||||
now requires along with opencv3.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO
|
||||
bool "stereo was merged into audiofx in gst1-plugins-good"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX
|
||||
help
|
||||
The gst1-plugins-bad stereo plugin has merged with the
|
||||
gst1-plugins-base audiofx plugin.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD
|
||||
bool "gst-plugins-bad vcd plugin was removed."
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gst1-plugins-bad vcd plugin was removed.
|
||||
|
||||
config BR2_PACKAGE_LUNIT
|
||||
bool "lunit package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LUA_LUNITX
|
||||
help
|
||||
The lunit package was removed in favor of its fork lunitx,
|
||||
which supports all versions of Lua.
|
||||
|
||||
config BR2_PACKAGE_FFMPEG_FFSERVER
|
||||
bool "ffmpeg ffserver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
On July 10th, 2016, ffserver program has been dropped.
|
||||
|
||||
config BR2_PACKAGE_LIBUMP
|
||||
bool "libump package removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libump package was removed, it was only used as a
|
||||
dependency of sunxi-mali, which itself was removed.
|
||||
|
||||
config BR2_PACKAGE_SUNXI_MALI
|
||||
bool "sunxi-mali package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
||||
help
|
||||
The sunxi-mali package was removed, as the
|
||||
sunxi-mali-mainline package replaces it for mainline
|
||||
kernels on Allwinner platforms.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_29_X
|
||||
bool "binutils version 2.29 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for binutils version 2.29 has been removed. The
|
||||
current default version (2.31 or later) has been selected
|
||||
instead.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_28_X
|
||||
bool "binutils version 2.28 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for binutils version 2.28 has been removed. The
|
||||
current default version (2.31 or later) has been selected
|
||||
instead.
|
||||
comment "Legacy options removed in 2019.02"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK
|
||||
bool "gst-plugins-bad apexsink option removed"
|
||||
@@ -488,8 +152,6 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK
|
||||
help
|
||||
The gst-plugins-bad apexsink option was removed.
|
||||
|
||||
comment "Legacy options removed in 2019.02"
|
||||
|
||||
config BR2_PACKAGE_QT
|
||||
bool "qt package removed"
|
||||
select BR2_LEGACY
|
||||
@@ -1989,6 +1651,16 @@ config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD
|
||||
bool "mad (*.mp3 audio) removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
|
||||
bool "gst1-plugins-bad webrtc renamed to webrtcdsp"
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The WebRTC plugin in GStreamer 1.x has always been named
|
||||
webrtcdsp, but was wrongly introduced in Buildroot under the
|
||||
name webrtc. Therefore, we have renamed the option to match
|
||||
the actual name of the GStreamer plugin.
|
||||
|
||||
config BR2_STRIP_none
|
||||
bool "Strip command 'none' has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
382
DEVELOPERS
382
DEVELOPERS
File diff suppressed because it is too large
Load Diff
75
Makefile
75
Makefile
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2019.11-rc1
|
||||
export BR2_VERSION := 2019.02.1
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1572993000
|
||||
BR2_VERSION_EPOCH = 1553900000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -179,9 +179,10 @@ $(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
# still be overridden on the command line, therefore the file is re-created
|
||||
# every time make is run.
|
||||
|
||||
BR2_EXTERNAL_FILE = $(BASE_DIR)/.br2-external.mk
|
||||
BR2_EXTERNAL_FILE = $(BASE_DIR)/.br-external.mk
|
||||
-include $(BR2_EXTERNAL_FILE)
|
||||
$(shell support/scripts/br2-external -d '$(BASE_DIR)' $(BR2_EXTERNAL))
|
||||
$(shell support/scripts/br2-external \
|
||||
-m -o '$(BR2_EXTERNAL_FILE)' $(BR2_EXTERNAL))
|
||||
BR2_EXTERNAL_ERROR =
|
||||
include $(BR2_EXTERNAL_FILE)
|
||||
ifneq ($(BR2_EXTERNAL_ERROR),)
|
||||
@@ -247,6 +248,7 @@ ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
export TZ = UTC
|
||||
export LANG = C
|
||||
export LC_ALL = C
|
||||
export GZIP = -n
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
@@ -437,7 +439,6 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
-e s/arceb/arc/ \
|
||||
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
||||
-e s/aarch64.*/arm64/ \
|
||||
-e s/nds32.*/nds32/ \
|
||||
-e s/or1k/openrisc/ \
|
||||
-e s/parisc64/parisc/ \
|
||||
-e s/powerpc64.*/powerpc/ \
|
||||
@@ -737,6 +738,9 @@ staging-finalize:
|
||||
target-finalize: $(PACKAGES) host-finalize
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
# Check files that are touched by more than one package
|
||||
./support/scripts/check-uniq-files -t target $(BUILD_DIR)/packages-file-list.txt
|
||||
./support/scripts/check-uniq-files -t staging $(BUILD_DIR)/packages-file-list-staging.txt
|
||||
./support/scripts/check-uniq-files -t host $(BUILD_DIR)/packages-file-list-host.txt
|
||||
$(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep))
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
|
||||
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
||||
@@ -807,7 +811,6 @@ endif # merged /usr
|
||||
.PHONY: target-post-image
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize
|
||||
@rm -f $(ROOTFS_COMMON_TAR)
|
||||
$(Q)mkdir -p $(BINARIES_DIR)
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
@@ -889,29 +892,13 @@ graph-size:
|
||||
$(Q)$(TOPDIR)/support/scripts/size-stats --builddir $(BASE_DIR) \
|
||||
--graph $(GRAPHS_DIR)/graph-size.$(BR_GRAPH_OUT) \
|
||||
--file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \
|
||||
--package-size-csv $(GRAPHS_DIR)/package-size-stats.csv \
|
||||
$(BR2_GRAPH_SIZE_OPTS)
|
||||
--package-size-csv $(GRAPHS_DIR)/package-size-stats.csv
|
||||
|
||||
.PHONY: check-dependencies
|
||||
check-dependencies:
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends -C
|
||||
|
||||
.PHONY: show-info
|
||||
show-info:
|
||||
@:
|
||||
$(info $(call clean-json, \
|
||||
{ $(foreach p, \
|
||||
$(sort $(foreach i,$(PACKAGES) $(TARGETS_ROOTFS), \
|
||||
$(i) \
|
||||
$($(call UPPERCASE,$(i))_FINAL_RECURSIVE_DEPENDENCIES) \
|
||||
) \
|
||||
), \
|
||||
$(call json-info,$(call UPPERCASE,$(p)))$(comma) \
|
||||
) } \
|
||||
) \
|
||||
)
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
# Some subdirectories are also package names. To avoid that "make linux"
|
||||
@@ -931,6 +918,9 @@ endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
HOSTCFLAGS = $(CFLAGS_FOR_BUILD)
|
||||
export HOSTCFLAGS
|
||||
|
||||
.PHONY: prepare-kconfig
|
||||
prepare-kconfig: outputmakefile $(BUILD_DIR)/.br2-external.in
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/%onf:
|
||||
mkdir -p $(@D)/lxdialog
|
||||
PKG_CONFIG_PATH="$(HOST_PKG_CONFIG_PATH)" $(MAKE) CC="$(HOSTCC_NOCCACHE)" HOSTCC="$(HOSTCC_NOCCACHE)" \
|
||||
@@ -947,22 +937,22 @@ COMMON_CONFIG_ENV = \
|
||||
KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \
|
||||
BR2_CONFIG=$(BR2_CONFIG) \
|
||||
HOST_GCC_VERSION="$(HOSTCC_VERSION)" \
|
||||
BASE_DIR=$(BASE_DIR) \
|
||||
BUILD_DIR=$(BUILD_DIR) \
|
||||
SKIP_LEGACY=
|
||||
|
||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile
|
||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||
|
||||
gconfig: $(BUILD_DIR)/buildroot-config/gconf outputmakefile
|
||||
gconfig: $(BUILD_DIR)/buildroot-config/gconf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) srctree=$(TOPDIR) $< $(CONFIG_CONFIG_IN)
|
||||
|
||||
menuconfig: $(BUILD_DIR)/buildroot-config/mconf outputmakefile
|
||||
menuconfig: $(BUILD_DIR)/buildroot-config/mconf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||
|
||||
nconfig: $(BUILD_DIR)/buildroot-config/nconf outputmakefile
|
||||
nconfig: $(BUILD_DIR)/buildroot-config/nconf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||
|
||||
config: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
config: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||
|
||||
# For the config targets that automatically select options, we pass
|
||||
@@ -970,11 +960,11 @@ config: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
# no values are set for the legacy options so a subsequent oldconfig
|
||||
# will query them. Therefore, run an additional olddefconfig.
|
||||
|
||||
randconfig allyesconfig alldefconfig allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
randconfig allyesconfig alldefconfig allnoconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --$@ $(CONFIG_CONFIG_IN)
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
@@ -982,15 +972,15 @@ randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< --$@ $(CONFIG_CONFIG_IN)
|
||||
|
||||
defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
defconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN)
|
||||
|
||||
define percent_defconfig
|
||||
# Override the BR2_DEFCONFIG from COMMON_CONFIG_ENV with the new defconfig
|
||||
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(1)/configs/%_defconfig outputmakefile
|
||||
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(1)/configs/%_defconfig prepare-kconfig
|
||||
@$$(COMMON_CONFIG_ENV) BR2_DEFCONFIG=$(1)/configs/$$@ \
|
||||
$$< --defconfig=$(1)/configs/$$@ $$(CONFIG_CONFIG_IN)
|
||||
endef
|
||||
@@ -998,7 +988,7 @@ $(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent
|
||||
|
||||
update-defconfig: savedefconfig
|
||||
|
||||
savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
savedefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< \
|
||||
--savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \
|
||||
$(CONFIG_CONFIG_IN)
|
||||
@@ -1026,6 +1016,13 @@ ifeq ($(NEED_WRAPPER),y)
|
||||
$(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O)
|
||||
endif
|
||||
|
||||
# Even though the target is a real file, we mark it as PHONY as we
|
||||
# want it to be re-generated each time make is invoked, in case the
|
||||
# value of BR2_EXTERNAL is changed.
|
||||
.PHONY: $(BUILD_DIR)/.br2-external.in
|
||||
$(BUILD_DIR)/.br2-external.in: $(BUILD_DIR)
|
||||
$(Q)support/scripts/br2-external -k -o "$(@)" $(BR2_EXTERNAL)
|
||||
|
||||
# printvars prints all the variables currently defined in our
|
||||
# Makefiles. Alternatively, if a non-empty VARS variable is passed,
|
||||
# only the variables matching the make pattern passed in VARS are
|
||||
@@ -1034,7 +1031,7 @@ endif
|
||||
printvars:
|
||||
@:
|
||||
$(foreach V, \
|
||||
$(sort $(filter $(VARS),$(.VARIABLES))), \
|
||||
$(sort $(if $(VARS),$(filter $(VARS),$(.VARIABLES)),$(.VARIABLES))), \
|
||||
$(if $(filter-out environment% default automatic, \
|
||||
$(origin $V)), \
|
||||
$(if $(QUOTED_VARS),\
|
||||
@@ -1054,7 +1051,7 @@ ifeq ($(O),$(CURDIR)/output)
|
||||
rm -rf $(O)
|
||||
endif
|
||||
rm -rf $(TOPDIR)/dl $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \
|
||||
$(CONFIG_DIR)/.auto.deps $(BASE_DIR)/.br2-external.*
|
||||
$(CONFIG_DIR)/.auto.deps $(BR2_EXTERNAL_FILE)
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@@ -1095,7 +1092,6 @@ help:
|
||||
@echo ' <pkg>-depends - Build <pkg>'\''s dependencies'
|
||||
@echo ' <pkg>-configure - Build <pkg> up to the configure step'
|
||||
@echo ' <pkg>-build - Build <pkg> up to the build step'
|
||||
@echo ' <pkg>-show-info - generate info about <pkg>, as a JSON blurb'
|
||||
@echo ' <pkg>-show-depends - List packages on which <pkg> depends'
|
||||
@echo ' <pkg>-show-rdepends - List packages which have <pkg> as a dependency'
|
||||
@echo ' <pkg>-show-recursive-depends'
|
||||
@@ -1128,8 +1124,7 @@ help:
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
@echo ' external-deps - list external packages used'
|
||||
@echo ' legal-info - generate info about license compliance'
|
||||
@echo ' show-info - generate info about packages, as a JSON blurb'
|
||||
@echo ' printvars - dump internal variables selected with VARS=...'
|
||||
@echo ' printvars - dump all the internal variables'
|
||||
@echo
|
||||
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
|
||||
@echo ' make O=dir - Locate all output files in "dir", including .config'
|
||||
|
||||
@@ -77,10 +77,8 @@ config BR2_aarch64_be
|
||||
|
||||
config BR2_csky
|
||||
bool "csky"
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
# Most variants are supported by gcc-9+, except one that is
|
||||
# handled as a special exception in package/gcc/Config.in.host
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
help
|
||||
csky is processor IP from china.
|
||||
http://www.c-sky.com/
|
||||
@@ -156,14 +154,6 @@ config BR2_mips64el
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
config BR2_nds32
|
||||
bool "nds32"
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
nds32 is a 32-bit architecture developed by Andes Technology.
|
||||
https://en.wikipedia.org/wiki/Andes_Technology
|
||||
|
||||
config BR2_nios2
|
||||
bool "Nios II"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
@@ -304,10 +294,6 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
|
||||
config BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
|
||||
# The following string values are defined by the individual
|
||||
# Config.in.$ARCH files
|
||||
config BR2_ARCH
|
||||
@@ -433,10 +419,6 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
|
||||
source "arch/Config.in.mips"
|
||||
endif
|
||||
|
||||
if BR2_nds32
|
||||
source "arch/Config.in.nds32"
|
||||
endif
|
||||
|
||||
if BR2_nios2
|
||||
source "arch/Config.in.nios2"
|
||||
endif
|
||||
|
||||
@@ -13,37 +13,13 @@ config BR2_arc770d
|
||||
|
||||
config BR2_archs38
|
||||
bool "ARC HS38"
|
||||
help
|
||||
Generic ARC HS capable of running Linux, i.e. with MMU,
|
||||
caches and multiplier. Also it corresponds to the default
|
||||
configuration in older GNU toolchain versions.
|
||||
|
||||
If you're not sure which version of ARC HS core you build for
|
||||
keep this one.
|
||||
|
||||
config BR2_archs38_full
|
||||
bool "ARC HS38 with Quad MAC & FPU"
|
||||
help
|
||||
Fully featured ARC HS with additional support for
|
||||
- Dual- and quad multiply and MC oprations
|
||||
- Double-precision FPU
|
||||
|
||||
It corresponds to "hs38_slc_full" ARC HS template in
|
||||
ARChitect.
|
||||
|
||||
config BR2_archs4x_rel31
|
||||
bool "ARC HS48 rel 31"
|
||||
help
|
||||
Latest release of HS48 processor
|
||||
- Dual- and quad multiply and MC oprations
|
||||
- Double-precision FPU
|
||||
|
||||
endchoice
|
||||
|
||||
# Choice of atomic instructions presence
|
||||
config BR2_ARC_ATOMIC_EXT
|
||||
bool "Atomic extension (LLOCK/SCOND instructions)"
|
||||
default y if BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
default y if BR2_arc770d || BR2_archs38
|
||||
|
||||
config BR2_ARCH
|
||||
default "arc" if BR2_arcle
|
||||
@@ -61,12 +37,10 @@ config BR2_GCC_TARGET_CPU
|
||||
default "arc700" if BR2_arc750d
|
||||
default "arc700" if BR2_arc770d
|
||||
default "archs" if BR2_archs38
|
||||
default "hs38_linux" if BR2_archs38_full
|
||||
default "hs4x_rel31" if BR2_archs4x_rel31
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "ARCompact" if BR2_arc750d || BR2_arc770d
|
||||
default "ARCv2" if BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
default "ARCv2" if BR2_archs38
|
||||
|
||||
choice
|
||||
prompt "MMU Page Size"
|
||||
@@ -86,7 +60,7 @@ choice
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_4K
|
||||
bool "4KB"
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
depends on BR2_arc770d || BR2_archs38
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_8K
|
||||
bool "8KB"
|
||||
@@ -96,7 +70,7 @@ config BR2_ARC_PAGE_SIZE_8K
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_16K
|
||||
bool "16KB"
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
depends on BR2_arc770d || BR2_archs38
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -105,6 +79,3 @@ config BR2_ARC_PAGE_SIZE
|
||||
default "4K" if BR2_ARC_PAGE_SIZE_4K
|
||||
default "8K" if BR2_ARC_PAGE_SIZE_8K
|
||||
default "16K" if BR2_ARC_PAGE_SIZE_16K
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -367,13 +367,6 @@ config BR2_cortex_a73_a53
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_emag
|
||||
bool "emag"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_exynos_m1
|
||||
bool "exynos-m1"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
@@ -383,62 +376,50 @@ config BR2_exynos_m1
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
|
||||
if BR2_ARCH_IS_64
|
||||
config BR2_falkor
|
||||
bool "falkor"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_phecda
|
||||
bool "phecda"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_qdf24xx
|
||||
bool "qdf24xx"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
config BR2_thunderx
|
||||
bool "thunderx (aka octeontx)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
bool "thunderx"
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
|
||||
config BR2_thunderxt81
|
||||
bool "thunderxt81 (aka octeontx81)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
bool "thunderxt81"
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_thunderxt83
|
||||
bool "thunderxt83 (aka octeontx83)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
bool "thunderxt83"
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_thunderxt88
|
||||
bool "thunderxt88"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_thunderxt88p1
|
||||
bool "thunderxt88p1"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
endif # BR2_ARCH_IS_64
|
||||
config BR2_xgene1
|
||||
bool "xgene1"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
@@ -449,94 +430,59 @@ config BR2_xgene1
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
|
||||
|
||||
if BR2_ARCH_IS_64
|
||||
comment "armv8.1a cores"
|
||||
config BR2_thunderx2t99
|
||||
bool "thunderx2t99"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_thunderx2t99p1
|
||||
bool "thunderx2t99p1"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
config BR2_vulcan
|
||||
bool "vulcan"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
|
||||
endif # BR2_ARCH_IS_64
|
||||
|
||||
if BR2_ARCH_IS_64
|
||||
comment "armv8.2a cores"
|
||||
config BR2_cortex_a55
|
||||
bool "cortex-A55"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
config BR2_cortex_a75
|
||||
bool "cortex-A75"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
config BR2_cortex_a75_a55
|
||||
bool "cortex-A75/A55 big.LITTLE"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
config BR2_cortex_a76
|
||||
bool "cortex-A76"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_cortex_a76_a55
|
||||
bool "cortex-A76/A55 big.LITTLE"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_neoverse_n1
|
||||
bool "neoverse-N1 (aka ares)"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_tsv110
|
||||
bool "tsv110"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
endif # BR2_ARCH_IS_64
|
||||
|
||||
comment "armv8.4a cores"
|
||||
if BR2_ARCH_IS_64
|
||||
comment "armv8.3a cores"
|
||||
config BR2_saphira
|
||||
bool "saphira"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
endif # BR2_ARCH_IS_64
|
||||
endchoice
|
||||
|
||||
config BR2_ARM_ENABLE_NEON
|
||||
@@ -869,17 +815,12 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a73" if BR2_cortex_a73
|
||||
default "cortex-a73.cortex-a35" if BR2_cortex_a73_a35
|
||||
default "cortex-a73.cortex-a53" if BR2_cortex_a73_a53
|
||||
default "emag" if BR2_emag
|
||||
default "exynos-m1" if BR2_exynos_m1
|
||||
default "falkor" if BR2_falkor
|
||||
default "phecda" if BR2_phecda
|
||||
default "qdf24xx" if BR2_qdf24xx
|
||||
default "thunderx" if BR2_thunderx && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "octeontx" if BR2_thunderx && BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "thunderxt81" if BR2_thunderxt81 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "octeontx81" if BR2_thunderxt81 && BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "thunderxt83" if BR2_thunderxt83 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "octeontx83" if BR2_thunderxt83 && BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
default "thunderx" if BR2_thunderx
|
||||
default "thunderxt81" if BR2_thunderxt81
|
||||
default "thunderxt83" if BR2_thunderxt83
|
||||
default "thunderxt88" if BR2_thunderxt88
|
||||
default "thunderxt88p1" if BR2_thunderxt88p1
|
||||
default "xgene1" if BR2_xgene1
|
||||
@@ -891,11 +832,7 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a55" if BR2_cortex_a55
|
||||
default "cortex-a75" if BR2_cortex_a75
|
||||
default "cortex-a75.cortex-a55" if BR2_cortex_a75_a55
|
||||
default "cortex-a76" if BR2_cortex_a76
|
||||
default "cortex-a76.cortex-a55" if BR2_cortex_a76_a55
|
||||
default "neoverse-n1" if BR2_neoverse_n1
|
||||
default "tsv110" if BR2_tsv110
|
||||
# armv8.4a
|
||||
# armv8.3a
|
||||
default "saphira" if BR2_saphira
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
@@ -929,6 +866,3 @@ config BR2_GCC_TARGET_MODE
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "ARM" if BR2_arm || BR2_armeb
|
||||
default "AArch64" if BR2_aarch64 || BR2_aarch64_be
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -5,8 +5,6 @@ choice
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_ck610
|
||||
# Not supported by upstream gcc <= 9, and handled as a special
|
||||
# exception in package/gcc/Config.in.host
|
||||
bool "ck610"
|
||||
|
||||
config BR2_ck807
|
||||
@@ -15,26 +13,19 @@ config BR2_ck807
|
||||
config BR2_ck810
|
||||
bool "ck810"
|
||||
|
||||
config BR2_ck860
|
||||
bool "ck860"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_CSKY_FPU
|
||||
bool "Enable FPU coprocessor"
|
||||
depends on BR2_ck810 || BR2_ck807 || BR2_ck860
|
||||
depends on BR2_ck810 || BR2_ck807
|
||||
help
|
||||
You can say N here if your C-SKY CPU doesn't have a
|
||||
Floating-Point Coprocessor or if you don't need FPU support
|
||||
for your user-space programs.
|
||||
|
||||
config BR2_CSKY_VDSP
|
||||
bool "Enable VDSP enhanced instructions Co-processor"
|
||||
depends on BR2_CSKY_FPU
|
||||
|
||||
config BR2_GCC_TARGET_FLOAT_ABI
|
||||
default "soft" if !BR2_CSKY_FPU
|
||||
default "hard" if BR2_CSKY_FPU
|
||||
config BR2_CSKY_DSP
|
||||
bool "Enable DSP enhanced instructions"
|
||||
depends on BR2_ck810 || BR2_ck807
|
||||
|
||||
config BR2_ARCH
|
||||
default "csky"
|
||||
@@ -42,8 +33,16 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "ck610" if (BR2_ck610 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807" if (BR2_ck807 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807e" if (BR2_ck807 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck807f" if (BR2_ck807 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807ef" if (BR2_ck807 && BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck810" if (BR2_ck810 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck810e" if (BR2_ck810 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck810f" if (BR2_ck810 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck810ef" if (BR2_ck810 && BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "CSKY"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -38,6 +38,3 @@ config BR2_GCC_TARGET_CPU
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "MC68000"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -12,6 +12,3 @@ config BR2_READELF_ARCH_NAME
|
||||
config BR2_microblaze
|
||||
bool
|
||||
default y if BR2_microblazeel || BR2_microblazebe
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -271,6 +271,3 @@ config BR2_GCC_TARGET_ABI
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "MIPS R3000"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
config BR2_ARCH
|
||||
default "nds32le"
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "v3"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Andes Technology compact code size embedded RISC processor family"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
@@ -6,6 +6,3 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Altera Nios II"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -6,6 +6,3 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "OpenRISC 1000"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -205,9 +205,14 @@ config BR2_GCC_TARGET_CPU
|
||||
default "power7" if BR2_powerpc_power7
|
||||
default "power8" if BR2_powerpc_power8
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "altivec" if BR2_PPC_ABI_altivec
|
||||
default "no-altivec" if BR2_PPC_ABI_no-altivec
|
||||
default "spe" if BR2_PPC_ABI_spe
|
||||
default "no-spe" if BR2_PPC_ABI_no-spe
|
||||
default "ibmlongdouble" if BR2_PPC_ABI_ibmlongdouble
|
||||
default "ieeelongdouble" if BR2_PPC_ABI_ieeelongdouble
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "PowerPC" if BR2_powerpc
|
||||
default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -80,12 +80,8 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
default BR2_RISCV_ABI_ILP32D if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD
|
||||
default BR2_RISCV_ABI_ILP32F if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF
|
||||
default BR2_RISCV_ABI_ILP32 if !BR2_ARCH_IS_64
|
||||
default BR2_RISCV_ABI_LP64D if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD
|
||||
default BR2_RISCV_ABI_LP64F if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF
|
||||
default BR2_RISCV_ABI_LP64 if BR2_ARCH_IS_64
|
||||
default BR2_RISCV_ABI_ILP32 if !BR2_ARCH_IS_64
|
||||
default BR2_RISCV_ABI_LP64 if BR2_ARCH_IS_64
|
||||
|
||||
config BR2_RISCV_ABI_ILP32
|
||||
bool "ilp32"
|
||||
@@ -129,6 +125,3 @@ config BR2_GCC_TARGET_ABI
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "RISC-V"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -30,6 +30,3 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Renesas / SuperH SH"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -32,6 +32,3 @@ config BR2_GCC_TARGET_CPU
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Sparc" if BR2_sparc
|
||||
default "Sparc v9" if BR2_sparc64
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -101,15 +101,6 @@ config BR2_x86_corei7
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_westmere
|
||||
bool "westmere"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_corei7_avx
|
||||
bool "corei7-avx"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -244,9 +235,8 @@ config BR2_ARCH
|
||||
default "i686" if BR2_x86_nocona && BR2_i386
|
||||
default "i686" if BR2_x86_core2 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7 && BR2_i386
|
||||
default "i686" if BR2_x86_westmere && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx && BR2_i386
|
||||
default "i686" if BR2_x86_core_avx2 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx2 && BR2_i386
|
||||
default "i686" if BR2_x86_atom && BR2_i386
|
||||
default "i686" if BR2_x86_silvermont && BR2_i386
|
||||
default "i686" if BR2_x86_opteron && BR2_i386
|
||||
@@ -281,7 +271,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "corei7-avx" if BR2_x86_corei7_avx
|
||||
default "core-avx2" if BR2_x86_core_avx2
|
||||
default "atom" if BR2_x86_atom
|
||||
default "westmere" if BR2_x86_westmere
|
||||
default "silvermont" if BR2_x86_silvermont
|
||||
default "k8" if BR2_x86_opteron
|
||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||
@@ -301,6 +290,3 @@ config BR2_GCC_TARGET_ARCH
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Intel 80386" if BR2_i386
|
||||
default "Advanced Micro Devices X86-64" if BR2_x86_64
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -50,6 +50,3 @@ config BR2_ARCH
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Tensilica Xtensa Processor"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# -matomic is always required when the ARC core has the atomic extensions
|
||||
ifeq ($(BR2_arc)$(BR2_ARC_ATOMIC_EXT),yy)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS = -matomic
|
||||
endif
|
||||
@@ -1,26 +0,0 @@
|
||||
#
|
||||
# Configure the GCC_TARGET_ARCH variable and append the
|
||||
# appropriate C-SKY ISA extensions.
|
||||
#
|
||||
|
||||
ifeq ($(BR2_csky),y)
|
||||
|
||||
ifeq ($(BR2_ck610),y)
|
||||
GCC_TARGET_CPU := ck610
|
||||
else ifeq ($(BR2_ck807),y)
|
||||
GCC_TARGET_CPU := ck807
|
||||
else ifeq ($(BR2_ck810),y)
|
||||
GCC_TARGET_CPU := ck810
|
||||
else ifeq ($(BR2_ck860),y)
|
||||
GCC_TARGET_CPU := ck860
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_CSKY_FPU),y)
|
||||
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_CSKY_VDSP),y)
|
||||
GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -11,7 +11,7 @@ image boot.vfat {
|
||||
}
|
||||
|
||||
file boot.bin {
|
||||
image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.8.13.bin"
|
||||
image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.8.6.bin"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
|
||||
14
board/acmesystems/aria-g25/post-image.sh
Executable file
14
board/acmesystems/aria-g25/post-image.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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}"
|
||||
@@ -11,7 +11,7 @@ image boot.vfat {
|
||||
}
|
||||
|
||||
file boot.bin {
|
||||
image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.8.13.bin"
|
||||
image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.8.6.bin"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
|
||||
14
board/acmesystems/arietta-g25/post-image.sh
Executable file
14
board/acmesystems/arietta-g25/post-image.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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}"
|
||||
@@ -1,35 +0,0 @@
|
||||
From 8ee2b03039cccf64402a72dea2185d7fe1972729 Mon Sep 17 00:00:00 2001
|
||||
From: Shyam Saini <shyam.saini@amarulasolutions.com>
|
||||
Date: Mon, 15 Apr 2019 16:16:16 +0530
|
||||
Subject: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB
|
||||
|
||||
The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which
|
||||
causes board reset because of larger uImage size.
|
||||
|
||||
Error log snippet:
|
||||
Booting using the fdt blob at 0x1f00000
|
||||
Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
|
||||
Must RESET board to recover
|
||||
resetting ...
|
||||
|
||||
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
|
||||
---
|
||||
include/configs/rk3288_common.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
|
||||
index 72a54bc0ab..eab7cf4d86 100644
|
||||
--- a/include/configs/rk3288_common.h
|
||||
+++ b/include/configs/rk3288_common.h
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <asm/arch/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
+#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */
|
||||
+
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
|
||||
#define CONFIG_SYS_CBSIZE 1024
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
CONFIG_NDS32_BUILTIN_DTB="ae3xx"
|
||||
@@ -1,28 +0,0 @@
|
||||
From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001
|
||||
From: Nylon Chen <nylon7@andestech.com>
|
||||
Date: Wed, 28 Nov 2018 16:26:46 +0800
|
||||
Subject: [PATCH] nds32: Fix boot messages garbled
|
||||
|
||||
In order to display uart correctly we have to pass the correct setting of uart to kernel by bootarg.
|
||||
This patch will provide such settings to set the correct uart baud rate.
|
||||
|
||||
Signed-off-by: Nylon Chen <nylon7@andestech.com>
|
||||
---
|
||||
arch/nds32/boot/dts/ae3xx.dts | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/nds32/boot/dts/ae3xx.dts b/arch/nds32/boot/dts/ae3xx.dts
|
||||
index bb39749a6673..aefe2090926a 100644
|
||||
--- a/arch/nds32/boot/dts/ae3xx.dts
|
||||
+++ b/arch/nds32/boot/dts/ae3xx.dts
|
||||
@@ -6,6 +6,7 @@
|
||||
interrupt-parent = <&intc>;
|
||||
|
||||
chosen {
|
||||
+ bootargs = "memblock=debug earlycon console=ttyS0,38400n8 debug loglevel=7";
|
||||
stdout-path = &serial0;
|
||||
};
|
||||
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
Andestech(nds32) AE3XX Platform
|
||||
|
||||
The AE3XX prototype demonstrates the AE3XX example platform on the FPGA.
|
||||
It is composed of one Andestech(nds32) processor and AE3XX.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The andes_ae3xx_defconfig configuration is a sample configuration with
|
||||
all that is required to bring the FPGA Development Board:
|
||||
|
||||
$ make andes_ae3xx_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/
|
||||
+-- vmlinux
|
||||
+-- rootfs.cpio
|
||||
+-- rootfs.tar
|
||||
|
||||
How to run it
|
||||
=============
|
||||
|
||||
Run
|
||||
---
|
||||
|
||||
Setup the Console with the rate 38400/8-N-1.
|
||||
|
||||
$ cd output/images
|
||||
$ ../host/bin/nds32le-linux-gdb vmlinux
|
||||
$ target remote [your host]
|
||||
$ lo
|
||||
$ c
|
||||
269
board/arcturus/ppc-ucp1020/configs/linux-4.1.x.config
Normal file
269
board/arcturus/ppc-ucp1020/configs/linux-4.1.x.config
Normal file
@@ -0,0 +1,269 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_CROSS_COMPILE="powerpc-linux-"
|
||||
CONFIG_LOCALVERSION="-ANI-uCP1020-64EE512"
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_DEFAULT_HOSTNAME="uCP1020-64EE512"
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_LOG_CPU_MAX_BUF_SHIFT=14
|
||||
CONFIG_SYSFS_DEPRECATED=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# 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_SYSCTL_SYSCALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_SLUB_DEBUG is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
# CONFIG_EFI_PARTITION is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_UCP1020_SOM=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_PREEMPT=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_MATH_EMULATION=y
|
||||
CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y
|
||||
CONFIG_SWIOTLB=y
|
||||
# CONFIG_COMPACTION is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
# CONFIG_PCIEAER is not set
|
||||
# CONFIG_PCIEASPM is not set
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_SYN_COOKIES=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_IPV6 is not set
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_BRIDGE_NETFILTER=y
|
||||
CONFIG_NF_CONNTRACK=y
|
||||
CONFIG_NF_CONNTRACK_FTP=y
|
||||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_TARGET_MARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_HELPER=y
|
||||
CONFIG_NETFILTER_XT_MATCH_MARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
||||
CONFIG_NF_CONNTRACK_IPV4=y
|
||||
CONFIG_IP_NF_IPTABLES=y
|
||||
CONFIG_IP_NF_FILTER=y
|
||||
CONFIG_IP_NF_TARGET_REJECT=y
|
||||
CONFIG_IP_NF_NAT=y
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=y
|
||||
CONFIG_IP_NF_TARGET_NETMAP=y
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=y
|
||||
CONFIG_IP_NF_MANGLE=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_NET_SCH_HTB=y
|
||||
CONFIG_CFG80211=y
|
||||
# CONFIG_CFG80211_DEFAULT_PS is not set
|
||||
CONFIG_MAC80211=y
|
||||
# CONFIG_MAC80211_RC_MINSTREL is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/bin/hotplug"
|
||||
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_PLATFORM=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_MTD_NAND_FSL_UPM=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=131072
|
||||
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_SCSI_LOGGING=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_3COM is not set
|
||||
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||
# CONFIG_NET_VENDOR_AGERE 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_CADENCE 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_GIANFAR=y
|
||||
# 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_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_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_REALTEK is not set
|
||||
# CONFIG_NET_VENDOR_RDC is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG 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_NET_VENDOR_XILINX is not set
|
||||
CONFIG_MICREL_PHY=y
|
||||
CONFIG_IWLWIFI=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_SERIO_LIBPS2=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_NOZOMI=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BITBANG=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
CONFIG_SENSORS_LM90=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_BOOKE_WDT=y
|
||||
CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT=36
|
||||
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=y
|
||||
CONFIG_USB_GSPCA=y
|
||||
CONFIG_USB_PWC=y
|
||||
CONFIG_USB_ZR364XX=y
|
||||
CONFIG_USB_STKWEBCAM=y
|
||||
CONFIG_VIDEO_EM28XX=y
|
||||
CONFIG_VIDEO_EM28XX_V4L2=y
|
||||
# CONFIG_HID is not set
|
||||
# CONFIG_USB_HID is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DYNAMIC_MINORS=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_WDM=y
|
||||
CONFIG_USB_TMC=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_STORAGE_DEBUG=y
|
||||
CONFIG_USB_MDC800=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_ASYNC_TX_DMA=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
# CONFIG_EXT3_FS_XATTR is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_XFS_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_NTFS_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=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_JFFS2_LZO=y
|
||||
CONFIG_JFFS2_RUBIN=y
|
||||
CONFIG_CRAMFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_CIFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
# CONFIG_DEBUG_PREEMPT is not set
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
||||
# CONFIG_RCU_CPU_STALL_INFO is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
CONFIG_CRYPTO_PCBC=y
|
||||
CONFIG_CRYPTO_SHA1=y
|
||||
CONFIG_CRYPTO_SHA1_PPC=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_TALITOS=y
|
||||
@@ -0,0 +1,462 @@
|
||||
From a243628639e12a4bd0a737eac78a12ed240cd137 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Date: Mon, 18 Jul 2016 10:40:16 -0400
|
||||
Subject: [PATCH] Arcturus uCP1020 BSP support
|
||||
|
||||
The uCP1020 product family (ucp1020) is an Arcturus Networks Inc.
|
||||
System on Modules product featuring a NXP QorIQ P1020 CPU,
|
||||
optionally populated with 1 or 2 Gig-Ethernet PHYs,
|
||||
DDR3, NOR Flash, eMMC NAND Flash and/or SPI Flash.
|
||||
|
||||
Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
|
||||
---
|
||||
arch/powerpc/boot/dts/ucp1020.dts | 87 ++++++++++++
|
||||
arch/powerpc/boot/dts/ucp1020.dtsi | 211 ++++++++++++++++++++++++++++++
|
||||
arch/powerpc/platforms/85xx/Kconfig | 7 +
|
||||
arch/powerpc/platforms/85xx/Makefile | 1 +
|
||||
arch/powerpc/platforms/85xx/ucp1020_som.c | 92 +++++++++++++
|
||||
5 files changed, 398 insertions(+)
|
||||
create mode 100644 arch/powerpc/boot/dts/ucp1020.dts
|
||||
create mode 100644 arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
create mode 100644 arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
|
||||
diff --git a/arch/powerpc/boot/dts/ucp1020.dts b/arch/powerpc/boot/dts/ucp1020.dts
|
||||
new file mode 100644
|
||||
index 0000000..291e70a
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/boot/dts/ucp1020.dts
|
||||
@@ -0,0 +1,87 @@
|
||||
+/*
|
||||
+ * uCP1020 Tree Source (32-bit address map)
|
||||
+ *
|
||||
+ * Copyright 2013-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * 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 following disclaimer.
|
||||
+ * * Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * * Neither the name of Freescale Semiconductor nor the
|
||||
+ * names of its contributors may be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ *
|
||||
+ * ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
+ * GNU General Public License ("GPL") as published by the Free Software
|
||||
+ * Foundation, either version 2 of that License or (at your option) any
|
||||
+ * later version.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
|
||||
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor 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.
|
||||
+ */
|
||||
+
|
||||
+/include/ "fsl/p1020si-pre.dtsi"
|
||||
+/ {
|
||||
+ model = "arcturus,uCP1020";
|
||||
+ compatible = "arcturus,uCP1020";
|
||||
+
|
||||
+ memory {
|
||||
+ device_type = "memory";
|
||||
+ };
|
||||
+
|
||||
+ lbc: localbus@ffe05000 {
|
||||
+ reg = <0 0xffe05000 0 0x1000>;
|
||||
+
|
||||
+ /* NOR Flash */
|
||||
+ ranges = <0x0 0x0 0x0 0xec000000 0x04000000>;
|
||||
+ };
|
||||
+
|
||||
+ soc: soc@ffe00000 {
|
||||
+ ranges = <0x0 0x0 0xffe00000 0x100000>;
|
||||
+ };
|
||||
+
|
||||
+ pci0: pcie@ffe09000 {
|
||||
+ ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
|
||||
+ 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
|
||||
+ reg = <0 0xffe09000 0 0x1000>;
|
||||
+ pcie@0 {
|
||||
+ ranges = <0x2000000 0x0 0xa0000000
|
||||
+ 0x2000000 0x0 0xa0000000
|
||||
+ 0x0 0x20000000
|
||||
+
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x0 0x100000>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ pci1: pcie@ffe0a000 {
|
||||
+ reg = <0 0xffe0a000 0 0x1000>;
|
||||
+ ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
|
||||
+ 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
|
||||
+ pcie@0 {
|
||||
+ ranges = <0x2000000 0x0 0x80000000
|
||||
+ 0x2000000 0x0 0x80000000
|
||||
+ 0x0 0x20000000
|
||||
+
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x0 0x100000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/include/ "ucp1020.dtsi"
|
||||
+/include/ "fsl/p1020si-post.dtsi"
|
||||
diff --git a/arch/powerpc/boot/dts/ucp1020.dtsi b/arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
new file mode 100644
|
||||
index 0000000..7cff949
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
@@ -0,0 +1,211 @@
|
||||
+/*
|
||||
+ * uCP1020 Device Tree Source stub (no addresses or top-level ranges)
|
||||
+ *
|
||||
+ * Copyright 2013-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * 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 following disclaimer.
|
||||
+ * * Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * * Neither the name of Freescale Semiconductor nor the
|
||||
+ * names of its contributors may be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ *
|
||||
+ * ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
+ * GNU General Public License ("GPL") as published by the Free Software
|
||||
+ * Foundation, either version 2 of that License or (at your option) any
|
||||
+ * later version.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
|
||||
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor 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.
|
||||
+ */
|
||||
+
|
||||
+&lbc {
|
||||
+ nor@0,0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "cfi-flash";
|
||||
+ reg = <0x0 0x0 0x04000000>;
|
||||
+ bank-width = <2>;
|
||||
+ device-width = <1>;
|
||||
+
|
||||
+ partition@100000 {
|
||||
+ /* 7MB - PART 0 */
|
||||
+ reg = <0x00100000 0x00700000>;
|
||||
+ label = "0";
|
||||
+ };
|
||||
+
|
||||
+ partition@800000 {
|
||||
+ /* 32MB - PART 1 */
|
||||
+ reg = <0x0800000 0x02000000>;
|
||||
+ label = "1";
|
||||
+ };
|
||||
+
|
||||
+ partition@2800000 {
|
||||
+ /* 8MB - PART 2 */
|
||||
+ reg = <0x02800000 0x00800000>;
|
||||
+ label = "2";
|
||||
+ };
|
||||
+
|
||||
+ partition@3000000 {
|
||||
+ /* (16MB - 512K) - PART 3 JFFS 2 */
|
||||
+ reg = <0x03000000 0x00f80000>;
|
||||
+ label = "3";
|
||||
+ };
|
||||
+
|
||||
+ partition@0 {
|
||||
+ /* 512KB - bootloader[u-boot, uCbootloader] */
|
||||
+ reg = <0x0 0x00080000>;
|
||||
+ label = "BOOT_SPI";
|
||||
+ };
|
||||
+
|
||||
+ partition@3f80000 {
|
||||
+ /* 512KB - bootloade NOR r[u-boot, uCbootloader] */
|
||||
+ reg = <0x03f80000 0x00080000>;
|
||||
+ label = "B";
|
||||
+ };
|
||||
+
|
||||
+ partition@80000 {
|
||||
+ /* 256KB - bootloaders environment (uCenv) */
|
||||
+ reg = <0x00080000 0x00040000>;
|
||||
+
|
||||
+ label = "E";
|
||||
+ };
|
||||
+
|
||||
+ partition@C0000 {
|
||||
+ /* 256KB - bootloaders environment (u-boot) */
|
||||
+ reg = <0x000C0000 0x00040000>;
|
||||
+ label = "UENV";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+ i2c@3000 {
|
||||
+ spoc@14 {
|
||||
+ compatible = "conexant,cx2070x";
|
||||
+ reg = <0x14>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ i2c@3100 {
|
||||
+ dtt@4C {
|
||||
+ compatible = "national,lm90";
|
||||
+ reg = <0x4C>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ spi@7000 {
|
||||
+ flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "winbond,w25q80bl";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <40000000>; /* input clock */
|
||||
+
|
||||
+ partition@0 {
|
||||
+ label = "SPI MBR";
|
||||
+ reg = <0x00000000 0x00002000>;
|
||||
+ read-only;
|
||||
+ };
|
||||
+ partition@2000 {
|
||||
+ label = "SPI ENV";
|
||||
+ reg = <0x00002000 0x00006000>;
|
||||
+ read-only;
|
||||
+ };
|
||||
+ partition@8000 {
|
||||
+ label = "SPI FS";
|
||||
+ reg = <0x00008000 0x000F8000>;
|
||||
+ };
|
||||
+ };
|
||||
+ flash@3 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "spansion,s25fl008k";
|
||||
+ reg = <3>;
|
||||
+ spi-max-frequency = <40000000>; /* input clock */
|
||||
+ partition@0 {
|
||||
+ label = "SPI USER";
|
||||
+ reg = <0x00000000 0x00100000>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ usb@22000 {
|
||||
+ phy_type = "ulpi";
|
||||
+ dr_mode = "host";
|
||||
+ };
|
||||
+
|
||||
+ mdio@24000 {
|
||||
+ phy0: ethernet-phy@4 {
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ interrupts = <4 1>;
|
||||
+ reg = <0x04>;
|
||||
+ };
|
||||
+
|
||||
+ phy1: ethernet-phy@6 {
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ interrupts = <8 1>;
|
||||
+ reg = <0x6>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ enet0: ethernet@b0000 {
|
||||
+ phy-handle = <&phy0>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+ };
|
||||
+
|
||||
+ enet1: ethernet@b1000 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ enet2: ethernet@b2000 {
|
||||
+ phy-handle = <&phy1>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+ };
|
||||
+
|
||||
+ gpio0: gpio@f000 {
|
||||
+ compatible = "fsl,mpc8572-gpio", "fsl,pq3-gpio";
|
||||
+ reg = <0xf000 0x1000>;
|
||||
+ interrupts = <47 2>;
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ #gpio-cells = <2>;
|
||||
+ gpio-controller;
|
||||
+ };
|
||||
+
|
||||
+ gpio-leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+ gpio5 {
|
||||
+ label = "led1"; /* LED15 */
|
||||
+ gpios = <&gpio0 5 0>;
|
||||
+ };
|
||||
+ gpio12 {
|
||||
+ label = "led2"; /* LED16 */
|
||||
+ gpios = <&gpio0 12 0>;
|
||||
+ };
|
||||
+ gpio13 {
|
||||
+ label = "led3"; /* LED17 */
|
||||
+ gpios = <&gpio0 13 0>;
|
||||
+ };
|
||||
+ gpio7 {
|
||||
+ label = "led4"; /* LED18 */
|
||||
+ gpios = <&gpio0 7 0>;
|
||||
+ };
|
||||
+ gpio6 {
|
||||
+ label = "led5"; /* LED19 */
|
||||
+ gpios = <&gpio0 6 0>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
|
||||
index 2fb4b24..81a944f 100644
|
||||
--- a/arch/powerpc/platforms/85xx/Kconfig
|
||||
+++ b/arch/powerpc/platforms/85xx/Kconfig
|
||||
@@ -241,6 +241,13 @@ config SGY_CTS1000
|
||||
help
|
||||
Enable this to support functionality in Servergy's CTS-1000 systems.
|
||||
|
||||
+config UCP1020_SOM
|
||||
+ bool "Arcturus uCP1020 Rev.1.3 System on Module"
|
||||
+ select DEFAULT_UIMAGE
|
||||
+ help
|
||||
+ This option enables support for the Arcturus Networks Inc.
|
||||
+ uCP1020 System on Module.
|
||||
+
|
||||
config MVME2500
|
||||
bool "Artesyn MVME2500"
|
||||
select DEFAULT_UIMAGE
|
||||
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
|
||||
index 1fe7fb9..84f2b9a 100644
|
||||
--- a/arch/powerpc/platforms/85xx/Makefile
|
||||
+++ b/arch/powerpc/platforms/85xx/Makefile
|
||||
@@ -31,4 +31,5 @@ obj-$(CONFIG_XES_MPC85xx) += xes_mpc85xx.o
|
||||
obj-$(CONFIG_GE_IMP3A) += ge_imp3a.o
|
||||
obj-$(CONFIG_PPC_QEMU_E500) += qemu_e500.o
|
||||
obj-$(CONFIG_SGY_CTS1000) += sgy_cts1000.o
|
||||
+obj-$(CONFIG_UCP1020_SOM) += ucp1020_som.o
|
||||
obj-$(CONFIG_MVME2500) += mvme2500.o
|
||||
diff --git a/arch/powerpc/platforms/85xx/ucp1020_som.c b/arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
new file mode 100644
|
||||
index 0000000..777e8ad
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
@@ -0,0 +1,92 @@
|
||||
+/*
|
||||
+ * Arcturus Networks Inc. uCP1020 module Setup
|
||||
+ *
|
||||
+ * Copyright 2014-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * by Oleksandr G Zhadan & Michael Durrant (www.ArcturusNetworks.com)
|
||||
+ *
|
||||
+ * 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.
|
||||
+ */
|
||||
+
|
||||
+#include <linux/stddef.h>
|
||||
+#include <linux/kernel.h>
|
||||
+#include <linux/pci.h>
|
||||
+#include <linux/kdev_t.h>
|
||||
+#include <linux/delay.h>
|
||||
+#include <linux/seq_file.h>
|
||||
+#include <linux/interrupt.h>
|
||||
+#include <linux/of_platform.h>
|
||||
+
|
||||
+#include <asm/time.h>
|
||||
+#include <asm/machdep.h>
|
||||
+#include <asm/pci-bridge.h>
|
||||
+#include <mm/mmu_decl.h>
|
||||
+#include <asm/prom.h>
|
||||
+#include <asm/udbg.h>
|
||||
+#include <asm/mpic.h>
|
||||
+#include <asm/fsl_guts.h>
|
||||
+
|
||||
+#include <sysdev/fsl_soc.h>
|
||||
+#include <sysdev/fsl_pci.h>
|
||||
+#include "smp.h"
|
||||
+
|
||||
+#include "mpc85xx.h"
|
||||
+
|
||||
+void __init ucp1020_som_pic_init(void)
|
||||
+{
|
||||
+ struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |
|
||||
+ MPIC_SINGLE_DEST_CPU,
|
||||
+ 0, 256, " OpenPIC ");
|
||||
+
|
||||
+ BUG_ON(mpic == NULL);
|
||||
+
|
||||
+ mpic_init(mpic);
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * Setup the architecture
|
||||
+ */
|
||||
+static void __init ucp1020_som_setup_arch(void)
|
||||
+{
|
||||
+ if (ppc_md.progress)
|
||||
+ ppc_md.progress("uCP1020_SoM_setup_arch()", 0);
|
||||
+
|
||||
+ mpc85xx_smp_init();
|
||||
+
|
||||
+ fsl_pci_assign_primary();
|
||||
+ pr_info("\n\t%s (http://www.arcturusnetworks.com)\n", ppc_md.name);
|
||||
+}
|
||||
+
|
||||
+machine_arch_initcall(ucp1020, mpc85xx_common_publish_devices);
|
||||
+machine_arch_initcall(ucp1020, swiotlb_setup_bus_notifier);
|
||||
+
|
||||
+/*
|
||||
+ * Called very early, device-tree isn't unflattened
|
||||
+ */
|
||||
+static int __init ucp1020_probe(void)
|
||||
+{
|
||||
+ unsigned long root = of_get_flat_dt_root();
|
||||
+
|
||||
+ if (of_flat_dt_is_compatible(root, "arcturus,uCP1020"))
|
||||
+ return 1;
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+define_machine(ucp1020) {
|
||||
+ .name = "uCP1020 SoM - Arcturus Networks Inc.",
|
||||
+ .probe = ucp1020_probe,
|
||||
+ .setup_arch = ucp1020_som_setup_arch,
|
||||
+ .init_IRQ = ucp1020_som_pic_init,
|
||||
+#ifdef CONFIG_PCI
|
||||
+ .pcibios_fixup_bus = fsl_pcibios_fixup_bus,
|
||||
+#endif
|
||||
+ .get_irq = mpic_get_irq,
|
||||
+ .restart = fsl_rstcr_restart,
|
||||
+ .calibrate_decr = generic_calibrate_decr,
|
||||
+#ifdef DEBUG
|
||||
+ .progress = udbg_progress,
|
||||
+#endif
|
||||
+};
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 4c74fd1266287deca0c1ff091071c5b8558b9735 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Date: Mon, 18 Jul 2016 10:45:41 -0400
|
||||
Subject: [PATCH 1/1] p1020 esdhc controller reserved bit
|
||||
|
||||
Prevent SDHCI core from writing reserved bits, where
|
||||
p1020 reserved bit is SDHCI_CTRL_HISPD, not 0x01(SDHCI_CTRL_LED).
|
||||
|
||||
Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
|
||||
---
|
||||
drivers/mmc/host/sdhci-esdhc.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
|
||||
index a870c42..b45de0a 100644
|
||||
--- a/drivers/mmc/host/sdhci-esdhc.h
|
||||
+++ b/drivers/mmc/host/sdhci-esdhc.h
|
||||
@@ -45,6 +45,6 @@
|
||||
#define ESDHC_DMA_SYSCTL 0x40c
|
||||
#define ESDHC_DMA_SNOOP 0x00000040
|
||||
|
||||
-#define ESDHC_HOST_CONTROL_RES 0x01
|
||||
+#define ESDHC_HOST_CONTROL_RES (SDHCI_CTRL_HISPD)
|
||||
|
||||
#endif /* _DRIVERS_MMC_SDHCI_ESDHC_H */
|
||||
--
|
||||
2.1.4
|
||||
@@ -0,0 +1,53 @@
|
||||
From 35b7ce4f8f290794d3b89db7461e8c568b5defa1 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 25 Apr 2016 09:19:17 -0700
|
||||
Subject: powerpc/ptrace: Fix out of bounds array access warning
|
||||
|
||||
commit 1e407ee3b21f981140491d5b8a36422979ca246f upstream.
|
||||
|
||||
gcc-6 correctly warns about a out of bounds access
|
||||
|
||||
arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
|
||||
offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
^
|
||||
|
||||
check the end of array instead of beginning of next element to fix this
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Cc: Kees Cook <keescook@chromium.org>
|
||||
Cc: Michael Ellerman <mpe@ellerman.id.au>
|
||||
Cc: Segher Boessenkool <segher@kernel.crashing.org>
|
||||
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
|
||||
Acked-by: Olof Johansson <olof@lixom.net>
|
||||
Cc: Arnd Bergmann <arnd@arndb.de>
|
||||
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com>
|
||||
---
|
||||
arch/powerpc/kernel/ptrace.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
|
||||
index f21897b..93f200f 100644
|
||||
--- a/arch/powerpc/kernel/ptrace.c
|
||||
+++ b/arch/powerpc/kernel/ptrace.c
|
||||
@@ -376,7 +376,7 @@ static int fpr_get(struct task_struct *target, const struct user_regset *regset,
|
||||
|
||||
#else
|
||||
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
|
||||
- offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
+ offsetof(struct thread_fp_state, fpr[32]));
|
||||
|
||||
return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
|
||||
&target->thread.fp_state, 0, -1);
|
||||
@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target, const struct user_regset *regset,
|
||||
return 0;
|
||||
#else
|
||||
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
|
||||
- offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
+ offsetof(struct thread_fp_state, fpr[32]));
|
||||
|
||||
return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
|
||||
&target->thread.fp_state, 0, -1);
|
||||
--
|
||||
cgit v1.1
|
||||
@@ -38,7 +38,6 @@ You'll need to program the files created by buildroot into the NOR flash.
|
||||
B$ protect off 0xeff80000 +$filesize
|
||||
B$ erase 0xeff80000 +$filesize
|
||||
B$ cp.b $loadaddr 0xeff80000 $filesize
|
||||
B$ protect on 0xeff80000 +$filesize
|
||||
|
||||
2. Program the kernel
|
||||
|
||||
|
||||
@@ -44,11 +44,11 @@ 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
|
||||
├── imx**-apfxxdev.dtb [1]
|
||||
├── rootfs.tar
|
||||
├── rootfs.ubi
|
||||
├── rootfs.ubifs
|
||||
└── uImage
|
||||
|
||||
[1] Only if the kernel version used uses a Device Tree.
|
||||
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From 8ee2b03039cccf64402a72dea2185d7fe1972729 Mon Sep 17 00:00:00 2001
|
||||
From: Shyam Saini <shyam.saini@amarulasolutions.com>
|
||||
Date: Mon, 15 Apr 2019 16:16:16 +0530
|
||||
Subject: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB
|
||||
|
||||
The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which
|
||||
causes board reset because of larger uImage size.
|
||||
|
||||
Error log snippet:
|
||||
Booting using the fdt blob at 0x1f00000
|
||||
Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
|
||||
Must RESET board to recover
|
||||
resetting ...
|
||||
|
||||
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
|
||||
---
|
||||
include/configs/rk3288_common.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
|
||||
index 72a54bc0ab..eab7cf4d86 100644
|
||||
--- a/include/configs/rk3288_common.h
|
||||
+++ b/include/configs/rk3288_common.h
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <asm/arch/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
+#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */
|
||||
+
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
|
||||
#define CONFIG_SYS_CBSIZE 1024
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -5,6 +5,9 @@ image boot.vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d27_som1_ek.dtb",
|
||||
"at91-sama5d27_som1_ek_pda4.dtb",
|
||||
"at91-sama5d27_som1_ek_pda7.dtb",
|
||||
"at91-sama5d27_som1_ek_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@ image boot.vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d2_xplained.dtb",
|
||||
"at91-sama5d2_xplained_pda4.dtb",
|
||||
"at91-sama5d2_xplained_pda7.dtb",
|
||||
"at91-sama5d2_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@ image boot.vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d3_xplained.dtb",
|
||||
"at91-sama5d3_xplained_pda4.dtb",
|
||||
"at91-sama5d3_xplained_pda7.dtb",
|
||||
"at91-sama5d3_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
|
||||
@@ -5,6 +5,10 @@ image boot.vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d4_xplained.dtb",
|
||||
"at91-sama5d4_xplained_hdmi.dtb",
|
||||
"at91-sama5d4_xplained_pda4.dtb",
|
||||
"at91-sama5d4_xplained_pda7.dtb",
|
||||
"at91-sama5d4_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
|
||||
15
board/beagleboardx15/post-image.sh
Executable file
15
board/beagleboardx15/post-image.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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}"
|
||||
@@ -26,17 +26,17 @@ 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
|
||||
├── 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
|
||||
=============================
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
@@ -27,18 +27,18 @@ $ make
|
||||
Result of the build
|
||||
===================
|
||||
output/images/
|
||||
+-- am335x-boneblack.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
|
||||
├── am335x-boneblack.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
|
||||
|
||||
@@ -1,29 +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
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp board/beagleboneai/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
@@ -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
|
||||
@@ -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}
|
||||
@@ -1,155 +0,0 @@
|
||||
/dts-v1/;
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "C-SKY gx6605s";
|
||||
compatible = "csky,gx6605s";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x10000000 0x04000000>;
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "simple-bus";
|
||||
ranges;
|
||||
|
||||
dummy_apb: apb-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <27000000>;
|
||||
clock-output-names = "dummy_apb";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
intc: interrupt-controller@500000 {
|
||||
compatible = "csky,gx6605s-intc";
|
||||
reg = <0x00500000 0x400>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
timer@20a000 {
|
||||
compatible = "csky,gx6605s-timer";
|
||||
reg = <0x0020a000 0x400>;
|
||||
clocks = <&dummy_apb>;
|
||||
interrupts = <10>;
|
||||
interrupt-parent = <&intc>;
|
||||
};
|
||||
|
||||
ehci-hcd@900000 {
|
||||
compatible = "generic-ehci";
|
||||
reg = <0x00900000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <59>;
|
||||
};
|
||||
|
||||
ohci-hcd0@a00000 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0x00a00000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <58>;
|
||||
};
|
||||
|
||||
ohci-hcd1@b00000 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0x00b00000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <57>;
|
||||
};
|
||||
|
||||
serial@403000 {
|
||||
compatible = "ns16550a";
|
||||
reg = <0x00403000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <15>;
|
||||
clock-frequency = <29491200>;
|
||||
baud = <115200>;
|
||||
reg-shift = <2>;
|
||||
reg-io-width = <1>;
|
||||
};
|
||||
|
||||
gpio0: gpio@305000 {
|
||||
compatible = "wd,mbl-gpio";
|
||||
reg-names = "dirout", "dat", "set", "clr";
|
||||
reg = <0x305000 4>, <0x305004 4>, <0x305008 4>, <0x30500c 4>;
|
||||
bgpio-base = <0>;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
};
|
||||
|
||||
gpio_buttons {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <100>;
|
||||
autorepeat;
|
||||
|
||||
button0 {
|
||||
label = "button8";
|
||||
linux,code = <KEY_LEFT>;
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button1 {
|
||||
label = "button6";
|
||||
linux,code = <KEY_RIGHT>;
|
||||
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button2 {
|
||||
label = "button5";
|
||||
linux,code = <KEY_UP>;
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button3 {
|
||||
label = "button9";
|
||||
linux,code = <KEY_DOWN>;
|
||||
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button4 {
|
||||
label = "button7";
|
||||
linux,code = <KEY_ENTER>;
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio_leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led0 {
|
||||
label = "led10";
|
||||
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led1 {
|
||||
label = "led11";
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
led2 {
|
||||
label = "led12";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
|
||||
led3 {
|
||||
label = "led13";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait";
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
From 7e3f2c482bc16537a093e87a27f0d465804a88e4 Mon Sep 17 00:00:00 2001
|
||||
From: Julien Olivain <juju@cotds.org>
|
||||
Date: Tue, 11 Dec 2018 23:04:46 +0100
|
||||
Subject: [PATCH] csky: update cmdline for serial console and rootfs on sda1
|
||||
|
||||
Signed-off-by: Julien Olivain <juju@cotds.org>
|
||||
---
|
||||
arch/csky/boot/dts/gx6605s.dts | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/csky/boot/dts/gx6605s.dts b/arch/csky/boot/dts/gx6605s.dts
|
||||
index ce56106af967..f5d60b21e6f9 100644
|
||||
--- a/arch/csky/boot/dts/gx6605s.dts
|
||||
+++ b/arch/csky/boot/dts/gx6605s.dts
|
||||
@@ -155,6 +155,6 @@
|
||||
};
|
||||
|
||||
chosen {
|
||||
- bootargs = "console=tty0 init=/sbin/init root=/dev/sda2 rw rootwait";
|
||||
+ bootargs = "console=ttyS0,115200 init=/sbin/init root=/dev/sda1 rw rootwait";
|
||||
};
|
||||
};
|
||||
--
|
||||
2.19.2
|
||||
|
||||
@@ -41,9 +41,9 @@ Result of the build
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- vmlinux
|
||||
+-- rootfs.ext2
|
||||
+-- <board name>.dtb
|
||||
├── vmlinux
|
||||
├── rootfs.ext2
|
||||
└── <board name>.dtb
|
||||
|
||||
How to run it
|
||||
=============
|
||||
|
||||
@@ -23,7 +23,7 @@ image sdcard.img {
|
||||
partition imx-boot {
|
||||
in-partition-table = "no"
|
||||
image = "imx8-boot-sd.bin"
|
||||
offset = %IMXOFFSET%
|
||||
offset = 33K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
|
||||
@@ -1,30 +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"
|
||||
}
|
||||
}
|
||||
@@ -26,9 +26,9 @@ image sdcard.img {
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition u-boot-img {
|
||||
in-partition-table = "no"
|
||||
image = "%UBOOTBIN%"
|
||||
image = "u-boot.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
|
||||
@@ -7,29 +7,12 @@ main ()
|
||||
echo "ERROR: couldn't find dtb: $UBOOT_DTB"
|
||||
exit 1
|
||||
fi
|
||||
cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
|
||||
BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
|
||||
${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
|
||||
|
||||
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
|
||||
cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
|
||||
BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
|
||||
${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
|
||||
cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
|
||||
BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
|
||||
${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
|
||||
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
|
||||
|
||||
${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
|
||||
${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
|
||||
|
||||
exit $?
|
||||
}
|
||||
|
||||
@@ -34,14 +34,6 @@ genimage_type()
|
||||
{
|
||||
if 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_IMX8X=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_imx8"
|
||||
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"
|
||||
fi
|
||||
elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_spl"
|
||||
else
|
||||
@@ -49,40 +41,23 @@ genimage_type()
|
||||
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="$(dtb_list) $(linux_image)"
|
||||
local IMXOFFSET="$(imx_offset)"
|
||||
local UBOOTBIN="$(uboot_image)"
|
||||
local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)"
|
||||
local 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}
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ Running kmscube application:
|
||||
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:
|
||||
|
||||
@@ -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/<your-sd-device>
|
||||
|
||||
*** 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
|
||||
@@ -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/<your-sd-device>
|
||||
|
||||
*** 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!
|
||||
@@ -4,12 +4,8 @@ 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
|
||||
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
|
||||
@@ -26,26 +22,3 @@ Devkit: T1040RDB
|
||||
=> 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.
|
||||
------------------------------------------------------------------------------
|
||||
@@ -0,0 +1,103 @@
|
||||
From 4ec28d4e1040b94c66e97aa77071c9ef3478f022 Mon Sep 17 00:00:00 2001
|
||||
From: Chakra Divi <chakra@openedev.com>
|
||||
Date: Thu, 6 Jul 2017 18:22:35 +0530
|
||||
Subject: [PATCH] ARM: dts: nanopi-m1-plus : add dts to linux 4.11.5
|
||||
|
||||
This patch is used to add nanopi-m1-plus dts
|
||||
file in linux source code helps to add nanopi-m1-plus
|
||||
board support in buildroot and is part of the linux
|
||||
main-line ; refer to the below link for info
|
||||
[https://patchwork.kernel.org/patch/9755033]
|
||||
|
||||
Signed-off-by: Chakra Divi <chakra@openedev.com>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 1 +
|
||||
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 64 +++++++++++++++++++++++++
|
||||
2 files changed, 65 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index 0118084..928e5d3 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -867,6 +867,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
|
||||
sun8i-h3-bananapi-m2-plus.dtb \
|
||||
sun8i-h3-beelink-x2.dtb \
|
||||
sun8i-h3-nanopi-m1.dtb \
|
||||
+ sun8i-h3-nanopi-m1-plus.dtb \
|
||||
sun8i-h3-nanopi-neo.dtb \
|
||||
sun8i-h3-orangepi-2.dtb \
|
||||
sun8i-h3-orangepi-lite.dtb \
|
||||
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
|
||||
new file mode 100644
|
||||
index 0000000..8ddd1b2
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
|
||||
@@ -0,0 +1,64 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2017 Jagan Teki <jteki@openedev.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file 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 file 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.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "sun8i-h3-nanopi.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "FriendlyArm NanoPi M1 Plus";
|
||||
+ compatible = "friendlyarm,nanopi-m1-plus", "allwinner,sun8i-h3";
|
||||
+};
|
||||
+
|
||||
+&ehci1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ehci2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ohci1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ohci2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
@@ -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-h5-nanopi-neo-plus2.dtb
|
||||
|
||||
booti $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,39 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-h5-nanopi-neo-plus2.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition spl {
|
||||
in-partition-table = "no"
|
||||
image = "sunxi-spl.bin"
|
||||
offset = 8192
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 40K
|
||||
size = 1M # 1MB - 40K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -1,37 +0,0 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Nanopi NEO Plus2. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Nanopi NEO2 link:
|
||||
http://nanopi.io/nanopi-neo-plus2.html
|
||||
|
||||
Wiki link:
|
||||
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO_Plus2
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make friendlyarm_nanopi_neo_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 Nanopi NEO Plus2 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
@@ -1,53 +0,0 @@
|
||||
#AP6212_NVRAM_V1.0.1_20160606
|
||||
# 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
|
||||
glitch_based_crsmin=1
|
||||
@@ -2,7 +2,6 @@
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_RFKILL=y
|
||||
|
||||
# Network device support
|
||||
CONFIG_WLAN=y
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
brcmfmac43362-sdio.txt
|
||||
@@ -1,10 +0,0 @@
|
||||
image usb.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -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.
|
||||
@@ -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
|
||||
@@ -1,35 +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 = 8192
|
||||
size = 516096 # 512KB - 8192
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 0
|
||||
}
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This directory contains a buildroot configuration for building a
|
||||
LicheePi Zero.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
$ make 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.
|
||||
13
board/minnowboard/post-image.sh
Executable file
13
board/minnowboard/post-image.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
GENIMAGE_CFG="board/minnowboard/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}"
|
||||
5
board/olimex/a20_olinuxino/boot-legacy.cmd
Normal file
5
board/olimex/a20_olinuxino/boot-legacy.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
setenv bootm_boot_mode sec
|
||||
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 consoleblank=0 ${extra}
|
||||
ext4load mmc 0 0x43000000 /boot/script.bin
|
||||
ext4load mmc 0 0x48000000 /boot/zImage
|
||||
bootz 0x48000000
|
||||
@@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
|
||||
if [ -e $BINARIES_DIR/script.bin ]; then
|
||||
# mali requires a legacy kernel
|
||||
cp $BINARIES_DIR/script.bin $TARGET_DIR/boot/script.bin
|
||||
fi
|
||||
|
||||
@@ -16,9 +16,15 @@ The following defconfigs are available:
|
||||
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_lime_legacy_defconfig
|
||||
for the A20-OLinuXino-LIME board using legacy linux-sunxi kernel
|
||||
- olimex_a20_olinuxino_lime2_defconfig
|
||||
for the A20-OLinuXino-LIME2 board using mainline kernel
|
||||
|
||||
The legacy linux-sunxi kernels are based on the vendor code drops.
|
||||
They are only useful when accelerated 3D graphics and multimedia support
|
||||
is strictly necessary.
|
||||
|
||||
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
|
||||
@@ -45,6 +51,7 @@ After building, you should get a tree like this:
|
||||
output/images/
|
||||
+-- rootfs.ext2
|
||||
+-- rootfs.ext4 -> rootfs.ext2
|
||||
+-- script.bin (lime_legacy)
|
||||
+-- sdcard.img
|
||||
+-- sun7i-a20-olinuxino-lime.dtb (lime, mainline)
|
||||
+-- sun7i-a20-olinuxino-lime2.dtb (lime2, mainline)
|
||||
|
||||
@@ -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
|
||||
@@ -1,17 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
|
||||
@@ -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.
|
||||
@@ -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-h2-plus-orangepi-r1.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,36 +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 {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
16
board/pandaboard/post-image.sh
Executable file
16
board/pandaboard/post-image.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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 $?
|
||||
@@ -23,14 +23,14 @@ When you are happy with the setup, run:
|
||||
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
|
||||
├── 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
|
||||
------------------------
|
||||
|
||||
6
board/pc/grub-efi.cfg
Normal file
6
board/pc/grub-efi.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /bzImage root=/dev/sda2 rootwait console=tty1
|
||||
}
|
||||
@@ -57,7 +57,13 @@ qemu-system-x86_64 \
|
||||
Emulation in qemu (UEFI)
|
||||
========================
|
||||
|
||||
Run the emulation with:
|
||||
1. Edit grub-efi.cfg
|
||||
|
||||
Since the driver will show up in the virtual machine as /dev/vda,
|
||||
change board/pc/grub-efi.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 \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
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-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "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
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
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-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 "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
Or for the noMMU emulation:
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
### Enable OP-TEE
|
||||
CONFIG_TEE=y
|
||||
CONFIG_OPTEE=y
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -u
|
||||
set -e
|
||||
|
||||
# Rename boot images for the dear TF-A
|
||||
ln -sf u-boot.bin ${BINARIES_DIR}/bl33.bin
|
||||
ln -sf tee-header_v2.bin ${BINARIES_DIR}/bl32.bin
|
||||
ln -sf tee-pager_v2.bin ${BINARIES_DIR}/bl32_extra1.bin
|
||||
ln -sf tee-pageable_v2.bin ${BINARIES_DIR}/bl32_extra2.bin
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user