mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-10 10:10:28 +03:00
Compare commits
202 Commits
2020.05-rc
...
2019.08.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6493a3214 | ||
|
|
ec09b5f3e9 | ||
|
|
29c1577c65 | ||
|
|
5c8eae30e5 | ||
|
|
b431c6b951 | ||
|
|
69712a3d74 | ||
|
|
eabd84d77b | ||
|
|
b9805deba0 | ||
|
|
0ce6f87267 | ||
|
|
4564e7db63 | ||
|
|
6b1279adb5 | ||
|
|
696c2a2c15 | ||
|
|
8b439be342 | ||
|
|
cd4b6429c7 | ||
|
|
fee658ab39 | ||
|
|
f6bfe94abb | ||
|
|
3f5b4da6d3 | ||
|
|
4c764561f5 | ||
|
|
d555a7d3c2 | ||
|
|
e797be9426 | ||
|
|
822e4945f7 | ||
|
|
f4a7c70db1 | ||
|
|
60a7ebd5c3 | ||
|
|
5cd3bd5b10 | ||
|
|
56d9b2fdc7 | ||
|
|
0b8427d31f | ||
|
|
cf483261a5 | ||
|
|
6105f6f8a2 | ||
|
|
7db9b5256e | ||
|
|
64cbde4520 | ||
|
|
c51ae78fe5 | ||
|
|
464be6f0f7 | ||
|
|
a3882d58aa | ||
|
|
fac363fa13 | ||
|
|
cb7eb43f9a | ||
|
|
10be9575b6 | ||
|
|
ffd14c8d4b | ||
|
|
c7a2c7e066 | ||
|
|
bfc43192be | ||
|
|
429c9e5ad6 | ||
|
|
ba2642fd21 | ||
|
|
523e9f0322 | ||
|
|
37abd55c34 | ||
|
|
bf4f1e8f36 | ||
|
|
f7cb01c055 | ||
|
|
e5e9adb1e4 | ||
|
|
edf01c1398 | ||
|
|
1fa5cf89e2 | ||
|
|
05f508d3ed | ||
|
|
be7a64108c | ||
|
|
af9a726ae1 | ||
|
|
44951ef936 | ||
|
|
8e08c7030a | ||
|
|
6009988755 | ||
|
|
e23d1b36a7 | ||
|
|
764b630447 | ||
|
|
7da34f7069 | ||
|
|
f191ee745d | ||
|
|
6a4dbe855f | ||
|
|
15ed72c147 | ||
|
|
951f6b330b | ||
|
|
d00ce35f95 | ||
|
|
020bec1e41 | ||
|
|
906a068a10 | ||
|
|
fa330d90ae | ||
|
|
c9aa7c14c1 | ||
|
|
ebfcce70be | ||
|
|
8f22adbe88 | ||
|
|
28bb674a6d | ||
|
|
6cd683336a | ||
|
|
67491fa8d5 | ||
|
|
85e3919952 | ||
|
|
10f1add7ef | ||
|
|
36c0d5b08d | ||
|
|
7646f8ee40 | ||
|
|
2bbc011dfe | ||
|
|
c436cce868 | ||
|
|
771511f638 | ||
|
|
64060bffc2 | ||
|
|
605903062a | ||
|
|
1490c89421 | ||
|
|
7d569e03b9 | ||
|
|
a345573ebb | ||
|
|
d30bd54847 | ||
|
|
0b27a19768 | ||
|
|
ae2a108326 | ||
|
|
244e9055c0 | ||
|
|
5719bf4bf5 | ||
|
|
08c7ad11b8 | ||
|
|
cf61da4748 | ||
|
|
a7bca3f0f7 | ||
|
|
43a79b9643 | ||
|
|
216c668a36 | ||
|
|
2c0f064ff7 | ||
|
|
2750b41e4e | ||
|
|
0689e268e7 | ||
|
|
55c0c09fe4 | ||
|
|
0df86310f8 | ||
|
|
444135d7c0 | ||
|
|
982a350aaa | ||
|
|
96db73f054 | ||
|
|
47649b2a1c | ||
|
|
b6733ae2ad | ||
|
|
e91b9bb66a | ||
|
|
770680cd92 | ||
|
|
f975b39baf | ||
|
|
b4fffad781 | ||
|
|
b1d3234ff9 | ||
|
|
edc680caaa | ||
|
|
c5d3437e84 | ||
|
|
fe0f841794 | ||
|
|
d77f6c1712 | ||
|
|
73dad61740 | ||
|
|
b718ed9fab | ||
|
|
668fe091f8 | ||
|
|
efe9840c2a | ||
|
|
2610ab44be | ||
|
|
30433bc252 | ||
|
|
5381d693ef | ||
|
|
3eadf3ccbd | ||
|
|
b952431bf3 | ||
|
|
e818d80f4d | ||
|
|
e82df41169 | ||
|
|
6271eabb12 | ||
|
|
b1a2ad290a | ||
|
|
c6bf0d01e7 | ||
|
|
8294642b7a | ||
|
|
675b5f3439 | ||
|
|
e047354d09 | ||
|
|
550c5d67ab | ||
|
|
8607d7f7e0 | ||
|
|
82796c2770 | ||
|
|
64f83694c1 | ||
|
|
83d4a70fd2 | ||
|
|
6bab977dc7 | ||
|
|
7056eee606 | ||
|
|
8a4449f869 | ||
|
|
c23b97f11a | ||
|
|
2822c1d200 | ||
|
|
d76e77036d | ||
|
|
579fe1c91b | ||
|
|
bf76ef6c31 | ||
|
|
e03bbada32 | ||
|
|
8ecb9e8154 | ||
|
|
f10dc0c3db | ||
|
|
fc0f575ae9 | ||
|
|
5905fa0d35 | ||
|
|
5edf478e33 | ||
|
|
7429adc5f2 | ||
|
|
b77d290993 | ||
|
|
aeb3e03627 | ||
|
|
75f8b68706 | ||
|
|
9e1b847569 | ||
|
|
865799e4aa | ||
|
|
6bdb30be0c | ||
|
|
d8826a9ee7 | ||
|
|
4f5913e471 | ||
|
|
c0ce55929e | ||
|
|
125dd61444 | ||
|
|
87e80d1bd1 | ||
|
|
dfd7269860 | ||
|
|
fc9125fb16 | ||
|
|
014a25173e | ||
|
|
dde51f1a35 | ||
|
|
d60ba920b2 | ||
|
|
bd86fb8ee3 | ||
|
|
357af4853b | ||
|
|
fbcbbdd0f6 | ||
|
|
4c0f06c08b | ||
|
|
174c5d2dbf | ||
|
|
1f0205ed61 | ||
|
|
03aadc8759 | ||
|
|
fa4b6a45e7 | ||
|
|
52bdfcfd8c | ||
|
|
45eedd82e1 | ||
|
|
633cad6e83 | ||
|
|
a75cf49658 | ||
|
|
dfaac41b4c | ||
|
|
a69392c719 | ||
|
|
ec13a9b598 | ||
|
|
5ef2a1aded | ||
|
|
c29905ae47 | ||
|
|
43623a24b6 | ||
|
|
381176ba3b | ||
|
|
6439831802 | ||
|
|
7fda4097bc | ||
|
|
0408b48116 | ||
|
|
f335581465 | ||
|
|
276ca822e8 | ||
|
|
7c9e7db1ed | ||
|
|
e3082a3035 | ||
|
|
507b18c76c | ||
|
|
209156962a | ||
|
|
eec524032f | ||
|
|
7bd72289f0 | ||
|
|
e68cec4a2b | ||
|
|
f3d3680c50 | ||
|
|
832f4d8ae4 | ||
|
|
7b90e9eabb | ||
|
|
f015857126 | ||
|
|
c62302f5e2 | ||
|
|
171a220c44 |
@@ -4,7 +4,7 @@
|
||||
# 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:
|
||||
@@ -54,12 +54,6 @@ check-package:
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
- |
|
||||
./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || {
|
||||
echo 'Failed runtime test last output'
|
||||
tail -200 runtime-test.log
|
||||
exit 1
|
||||
}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -70,7 +64,6 @@ check-package:
|
||||
- output/build/build-time.log
|
||||
- output/build/packages-file-list.txt
|
||||
- output/build/*/.config
|
||||
- runtime-test.log
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_base
|
||||
@@ -167,8 +160,6 @@ bananapro_defconfig: { extends: .defconfig }
|
||||
beagleboardx15_defconfig: { extends: .defconfig }
|
||||
beaglebone_defconfig: { extends: .defconfig }
|
||||
beaglebone_qt5_defconfig: { extends: .defconfig }
|
||||
beagleboneai_defconfig: { extends: .defconfig }
|
||||
beelink_gs1_defconfig: { extends: .defconfig }
|
||||
chromebook_snow_defconfig: { extends: .defconfig }
|
||||
ci20_defconfig: { extends: .defconfig }
|
||||
csky_gx6605s_defconfig: { extends: .defconfig }
|
||||
@@ -184,18 +175,15 @@ freescale_imx6dlsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx6qsabreauto_defconfig: { extends: .defconfig }
|
||||
freescale_imx6qsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx6sxsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx6ullevk_defconfig: { extends: .defconfig }
|
||||
freescale_imx7dsabresd_defconfig: { extends: .defconfig }
|
||||
freescale_imx8mmevk_defconfig: { extends: .defconfig }
|
||||
freescale_imx8mqevk_defconfig: { extends: .defconfig }
|
||||
freescale_imx8qmmek_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 }
|
||||
@@ -212,7 +200,6 @@ 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 }
|
||||
@@ -226,16 +213,12 @@ mx6sx_udoo_neo_defconfig: { extends: .defconfig }
|
||||
mx6udoo_defconfig: { extends: .defconfig }
|
||||
nanopi_m1_defconfig: { extends: .defconfig }
|
||||
nanopi_m1_plus_defconfig: { extends: .defconfig }
|
||||
nanopi_neo4_defconfig: { extends: .defconfig }
|
||||
nanopi_neo_defconfig: { extends: .defconfig }
|
||||
nanopi_r1_defconfig: { extends: .defconfig }
|
||||
nexbox_a95x_defconfig: { extends: .defconfig }
|
||||
nitrogen6sx_defconfig: { extends: .defconfig }
|
||||
nitrogen6x_defconfig: { extends: .defconfig }
|
||||
nitrogen7_defconfig: { extends: .defconfig }
|
||||
nitrogen8m_defconfig: { extends: .defconfig }
|
||||
nitrogen8mm_defconfig: { extends: .defconfig }
|
||||
nitrogen8mn_defconfig: { extends: .defconfig }
|
||||
odroidxu4_defconfig: { extends: .defconfig }
|
||||
olimex_a10_olinuxino_lime_defconfig: { extends: .defconfig }
|
||||
olimex_a13_olinuxino_defconfig: { extends: .defconfig }
|
||||
@@ -245,8 +228,6 @@ 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 }
|
||||
olpc_xo175_defconfig: { extends: .defconfig }
|
||||
olpc_xo1_defconfig: { extends: .defconfig }
|
||||
openblocks_a6_defconfig: { extends: .defconfig }
|
||||
orangepi_lite2_defconfig: { extends: .defconfig }
|
||||
orangepi_lite_defconfig: { extends: .defconfig }
|
||||
@@ -270,7 +251,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 }
|
||||
@@ -312,11 +292,9 @@ raspberrypi2_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_64_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_defconfig: { extends: .defconfig }
|
||||
raspberrypi3_qt5we_defconfig: { extends: .defconfig }
|
||||
raspberrypi4_64_defconfig: { extends: .defconfig }
|
||||
raspberrypi4_defconfig: { extends: .defconfig }
|
||||
raspberrypi_defconfig: { extends: .defconfig }
|
||||
riotboard_defconfig: { extends: .defconfig }
|
||||
roc_pc_rk3399_defconfig: { extends: .defconfig }
|
||||
rock64_defconfig: { extends: .defconfig }
|
||||
roseapplepi_defconfig: { extends: .defconfig }
|
||||
s6lx9_microboard_defconfig: { extends: .defconfig }
|
||||
@@ -330,11 +308,10 @@ 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_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 }
|
||||
stm32mp157a_dk1_defconfig: { extends: .defconfig }
|
||||
stm32mp157c_dk2_defconfig: { extends: .defconfig }
|
||||
toradex_apalis_imx6_defconfig: { extends: .defconfig }
|
||||
ts4900_defconfig: { extends: .defconfig }
|
||||
ts5500_defconfig: { extends: .defconfig }
|
||||
@@ -343,17 +320,12 @@ wandboard_defconfig: { extends: .defconfig }
|
||||
warp7_defconfig: { extends: .defconfig }
|
||||
warpboard_defconfig: { extends: .defconfig }
|
||||
zynq_microzed_defconfig: { extends: .defconfig }
|
||||
zynq_qmtech_defconfig: { extends: .defconfig }
|
||||
zynq_zc706_defconfig: { extends: .defconfig }
|
||||
zynq_zed_defconfig: { extends: .defconfig }
|
||||
zynqmp_zcu106_defconfig: { extends: .defconfig }
|
||||
tests.boot.test_atf.TestATFAllwinner: { extends: .runtime_test }
|
||||
tests.boot.test_atf.TestATFMarvell: { extends: .runtime_test }
|
||||
tests.boot.test_atf.TestATFVexpress: { extends: .runtime_test }
|
||||
tests.boot.test_syslinux.TestSysLinuxX86EFI: { extends: .runtime_test }
|
||||
tests.boot.test_syslinux.TestSysLinuxX86LegacyBios: { extends: .runtime_test }
|
||||
tests.boot.test_syslinux.TestSysLinuxX86_64EFI: { extends: .runtime_test }
|
||||
tests.boot.test_syslinux.TestSysLinuxX86_64LegacyBios: { extends: .runtime_test }
|
||||
tests.core.test_file_capabilities.TestFileCapabilities: { extends: .runtime_test }
|
||||
tests.core.test_hardening.TestFortifyConserv: { extends: .runtime_test }
|
||||
tests.core.test_hardening.TestFortifyNone: { extends: .runtime_test }
|
||||
@@ -362,7 +334,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 }
|
||||
@@ -389,8 +360,6 @@ tests.init.test_busybox.TestInitSystemBusyboxRoNet: { extends: .runtime_test }
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRw: { extends: .runtime_test }
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRwNet: { extends: .runtime_test }
|
||||
tests.init.test_none.TestInitSystemNone: { extends: .runtime_test }
|
||||
tests.init.test_openrc.TestInitSystemOpenrcRoFull: { extends: .runtime_test }
|
||||
tests.init.test_openrc.TestInitSystemOpenrcRwFull: { extends: .runtime_test }
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoFull: { extends: .runtime_test }
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: { extends: .runtime_test }
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: { extends: .runtime_test }
|
||||
@@ -398,33 +367,20 @@ tests.init.test_systemd.TestInitSystemSystemdRwFull: { extends: .runtime_test }
|
||||
tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: { extends: .runtime_test }
|
||||
tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: { extends: .runtime_test }
|
||||
tests.package.test_atop.TestAtop: { extends: .runtime_test }
|
||||
tests.package.test_crudini.TestCrudiniPy2: { extends: .runtime_test }
|
||||
tests.package.test_crudini.TestCrudiniPy3: { 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_gst1_python.TestGst1Python: { extends: .runtime_test }
|
||||
tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test }
|
||||
tests.package.test_libftdi1.TestPythonPy2Libftdi1: { extends: .runtime_test }
|
||||
tests.package.test_libftdi1.TestPythonPy3Libftdi1: { 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_lyaml.TestLuaLuaLyaml: { extends: .runtime_test }
|
||||
tests.package.test_lua_lyaml.TestLuajitLuaLyaml: { 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 }
|
||||
@@ -441,22 +397,15 @@ 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_lxc.TestLxc: { extends: .runtime_test }
|
||||
tests.package.test_lzlib.TestLuaLzlib: { extends: .runtime_test }
|
||||
tests.package.test_netdata.TestNetdata: { extends: .runtime_test }
|
||||
tests.package.test_openjdk.TestOpenJdk: { extends: .runtime_test }
|
||||
tests.package.test_opkg.TestOpkg: { 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 }
|
||||
tests.package.test_perl_encode_detect.TestPerlEncodeDetect: { extends: .runtime_test }
|
||||
tests.package.test_perl_gdgraph.TestPerlGDGraph: { extends: .runtime_test }
|
||||
tests.package.test_perl_html_parser.TestPerlHTMLParser: { extends: .runtime_test }
|
||||
tests.package.test_perl_io_socket_multicast.TestPerlIOSocketMulticast: { extends: .runtime_test }
|
||||
tests.package.test_perl_io_socket_ssl.TestPerlIOSocketSSL: { extends: .runtime_test }
|
||||
tests.package.test_perl_libwww_perl.TestPerllibwwwperl: { extends: .runtime_test }
|
||||
tests.package.test_perl_lwp_protocol_https.TestPerlLWPProtocolhttps: { extends: .runtime_test }
|
||||
tests.package.test_perl_mail_dkim.TestPerlMailDKIM: { extends: .runtime_test }
|
||||
tests.package.test_perl_x10.TestPerlX10: { extends: .runtime_test }
|
||||
tests.package.test_perl_xml_libxml.TestPerlXMLLibXML: { extends: .runtime_test }
|
||||
@@ -468,14 +417,12 @@ tests.package.test_python_argh.TestPythonPy2Argh: { extends: .runtime_test }
|
||||
tests.package.test_python_argh.TestPythonPy3Argh: { extends: .runtime_test }
|
||||
tests.package.test_python_attrs.TestPythonPy2Attrs: { extends: .runtime_test }
|
||||
tests.package.test_python_attrs.TestPythonPy3Attrs: { extends: .runtime_test }
|
||||
tests.package.test_python_autobahn.TestPythonPy2Autobahn: { extends: .runtime_test }
|
||||
tests.package.test_python_autobahn.TestPythonPy3Autobahn: { extends: .runtime_test }
|
||||
tests.package.test_python_automat.TestPythonPy2Automat: { extends: .runtime_test }
|
||||
tests.package.test_python_automat.TestPythonPy3Automat: { extends: .runtime_test }
|
||||
tests.package.test_python_avro.TestPythonAvro: { extends: .runtime_test }
|
||||
tests.package.test_python_bitstring.TestPythonPy2Bitstring: { extends: .runtime_test }
|
||||
tests.package.test_python_bitstring.TestPythonPy3Bitstring: { extends: .runtime_test }
|
||||
tests.package.test_python_can.TestPythonPy2Can: { extends: .runtime_test }
|
||||
tests.package.test_python_can.TestPythonPy3Can: { extends: .runtime_test }
|
||||
tests.package.test_python_cbor.TestPythonPy2Cbor: { extends: .runtime_test }
|
||||
tests.package.test_python_cbor.TestPythonPy3Cbor: { extends: .runtime_test }
|
||||
tests.package.test_python_click.TestPythonPy2Click: { extends: .runtime_test }
|
||||
@@ -485,10 +432,6 @@ tests.package.test_python_constantly.TestPythonPy3Constantly: { extends: .runtim
|
||||
tests.package.test_python_crossbar.TestPythonPy3Crossbar: { extends: .runtime_test }
|
||||
tests.package.test_python_cryptography.TestPythonPy2Cryptography: { extends: .runtime_test }
|
||||
tests.package.test_python_cryptography.TestPythonPy3Cryptography: { extends: .runtime_test }
|
||||
tests.package.test_python_django.TestPythonPy3Django: { extends: .runtime_test }
|
||||
tests.package.test_python_gitdb2.TestPythonPy2Gitdb2: { extends: .runtime_test }
|
||||
tests.package.test_python_gitdb2.TestPythonPy3Gitdb2: { extends: .runtime_test }
|
||||
tests.package.test_python_gobject.TestPythonPy3Gobject: { extends: .runtime_test }
|
||||
tests.package.test_python_incremental.TestPythonPy2Incremental: { extends: .runtime_test }
|
||||
tests.package.test_python_incremental.TestPythonPy3Incremental: { extends: .runtime_test }
|
||||
tests.package.test_python_passlib.TestPythonPy2Passlib: { extends: .runtime_test }
|
||||
@@ -501,13 +444,12 @@ tests.package.test_python_pyyaml.TestPythonPy2Pyyaml: { extends: .runtime_test }
|
||||
tests.package.test_python_pyyaml.TestPythonPy3Pyyaml: { extends: .runtime_test }
|
||||
tests.package.test_python_service_identity.TestPythonPy2ServiceIdentity: { extends: .runtime_test }
|
||||
tests.package.test_python_service_identity.TestPythonPy3ServiceIdentity: { extends: .runtime_test }
|
||||
tests.package.test_python_smmap2.TestPythonPy2Smmap2: { extends: .runtime_test }
|
||||
tests.package.test_python_smmap2.TestPythonPy3Smmap2: { extends: .runtime_test }
|
||||
tests.package.test_python_subprocess32.TestPythonPy2Subprocess32: { extends: .runtime_test }
|
||||
tests.package.test_python_treq.TestPythonPy2Treq: { extends: .runtime_test }
|
||||
tests.package.test_python_treq.TestPythonPy3Treq: { extends: .runtime_test }
|
||||
tests.package.test_python_twisted.TestPythonPy2Twisted: { extends: .runtime_test }
|
||||
tests.package.test_python_twisted.TestPythonPy3Twisted: { extends: .runtime_test }
|
||||
tests.package.test_python_txaio.TestPythonPy2Txaio: { extends: .runtime_test }
|
||||
tests.package.test_python_txaio.TestPythonPy3Txaio: { extends: .runtime_test }
|
||||
tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: { extends: .runtime_test }
|
||||
tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: { extends: .runtime_test }
|
||||
@@ -518,8 +460,6 @@ 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 }
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# 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:
|
||||
@@ -54,12 +54,6 @@ check-package:
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
- |
|
||||
./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || {
|
||||
echo 'Failed runtime test last output'
|
||||
tail -200 runtime-test.log
|
||||
exit 1
|
||||
}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
@@ -70,7 +64,6 @@ check-package:
|
||||
- output/build/build-time.log
|
||||
- output/build/packages-file-list.txt
|
||||
- output/build/*/.config
|
||||
- runtime-test.log
|
||||
|
||||
.defconfig:
|
||||
extends: .defconfig_base
|
||||
|
||||
901
CHANGES
901
CHANGES
@@ -1,597 +1,3 @@
|
||||
2020.05-rc1, released May 7th 2020
|
||||
|
||||
Addition of support for gobject-introspection: both the
|
||||
gobject-introspection package itself, but also introspection
|
||||
support was enabled in a number of other packages.
|
||||
|
||||
Support for Qt 5.6 was dropped as its support was dropped
|
||||
upstream, only one version of Qt is supported at the moment:
|
||||
Qt 5.14.2.
|
||||
|
||||
Addition of support for the apparmor Linux security module, by
|
||||
adding the necessary user-space packages.
|
||||
|
||||
Addition of a qmake package infrastructure, now used by most
|
||||
Qt-related packages.
|
||||
|
||||
The Luarocks package infrastructure has been extended to
|
||||
support build host packages.
|
||||
|
||||
The package infrastructure was improved to allow each package
|
||||
to indicate the Linux kernel configuration options it needs.
|
||||
|
||||
Addition of support for generating filesystem images using the
|
||||
EROFS filesystem.
|
||||
|
||||
The logic that calculates the list of files installed by each
|
||||
package was reworked to be compatible with the top-level
|
||||
parallel build functionality.
|
||||
|
||||
Addition of a package for a pre-compiled ARM32 bare-metal
|
||||
toolchain, which can be used to build ARM32 code in ARM64
|
||||
configurations, such as firmware/bootloader code.
|
||||
|
||||
The Qemu defconfigs are now boot-tested in Qemu as part of the
|
||||
Gitlab continuous integration.
|
||||
|
||||
Toolchain: gcc 9.x bumped to 9.3.0, gcc 8.x bumped to 8.4.0,
|
||||
gdb bumped to 8.3.1.
|
||||
|
||||
New packages: apcupsd, apparmor, arm-gnu-a-toolchain, bearssl,
|
||||
belle-sip, belr, cage, chartjs, erofs-utils, exfatprogs,
|
||||
gobject-introspection, ibm-sw-tpm2, imx-seco, jbig2dec,
|
||||
libapparmor, libiberty, libfuse3, libtextstyle, libudfread,
|
||||
libuhttpd, libuwsc, lua-lyaml, matio, mbuffer, netdata,
|
||||
openfpgaloader, perl-i18n, perl-locale-maketext-lexicon,
|
||||
perl-lwp-protocol-https,
|
||||
perl-mojolicious-plugin-authorization,
|
||||
perl-mojolicious-plugin-cspheader,
|
||||
perl-mojolicious-plugin-i18n,
|
||||
perl-mojolicious-plugin-securityheader, perl-mozilla-ca,
|
||||
perl-path-class, pistache, pkcs11-helper, prelink-cross,
|
||||
python-argon2-cffi, python-canopen, python-cbor2,
|
||||
python-filelock, python-flatbuffers, python-greenlet,
|
||||
python-modbus-tk, python-pyalsa, python-pysftp, python-regex,
|
||||
python-snappy, rtty, tinyproxy, udev-gentoo-scripts, unbound,
|
||||
vuejs, wlroots.
|
||||
|
||||
New defconfigs: freescale_imx6ullevk, freescale_imx8qmmek,
|
||||
nanopi_neo4, nanopi_r1, nitrogen8mm, nitrogen8mn, olpc_xo1,
|
||||
olpc_xo175, roc_rk3399_pc, stm32mp157a_dk1, zynq_qmtech
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10386: Add an option to put all compiled executables that
|
||||
show up on target/ in staging/ as well
|
||||
#11866: iniramfs file system fails to boot using Grub on EFI x86_64
|
||||
#12666: Doesn't pick up a custom bash profile
|
||||
#12696: Uboot 2020.01 Problem loading Linux kernel on Nano PI NEO
|
||||
#12701: [patch] wpa_supplicant must depend on openssl
|
||||
#12711: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
|
||||
#12716: bio.h not found
|
||||
#12726: systemctl preset-all failed for ctrl-alt-del.target
|
||||
#12731: rtl8188eu not buildung for banana pi M1 (glib, systemd, 4.18.12)
|
||||
#12746: "sysdig" package description points to
|
||||
http://sysdig.org, which bounces to malware site
|
||||
#12751: OpenJdk package installation issues on target
|
||||
#12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967
|
||||
#12811: bootstrap stuck and no login prompt
|
||||
|
||||
2020.02.1, released April 10th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
core: Also fixup /lib references in libtool .la files, similar
|
||||
to how it is done for /usr/*.
|
||||
|
||||
Various fixes for builds with per-package target/host
|
||||
directories.
|
||||
|
||||
toolchain: Fix kernel headers validation check for external
|
||||
toolchains. Fix make 4.3+ compatibility in external toolchain
|
||||
logic.
|
||||
|
||||
fs/initramfs: fix show-info so it also shows the usual
|
||||
rootfs-related variables.
|
||||
|
||||
Updated/fixed packages: arm-trusted-firmware, barebox-aux,
|
||||
bluez5_utils, bubblewrap, busybox, civetweb, cog, collectd,
|
||||
ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy, hiredis, hostapd,
|
||||
kmscube, kodi-screensaver-rsxs, libical, libinput, libexif,
|
||||
libopenssl, libsndfile, linux, linux-tools, llvm, localedef,
|
||||
mcrypt, mesa3d, meson, monit, nftables, ntp, opencv3,
|
||||
oprofile, php, pinentry, polkit, pure-ftpd, python-pyyaml,
|
||||
qt5, quagga, radvd, rcw, redis, rocksdb, samba4, screen,
|
||||
sdbusplus, swupdate, sysdig, sysklogd, syslinux, syslog-ng,
|
||||
tor, tslib, uacme, util-linux, vala, vlc,
|
||||
wireguard-linux-compat, wireguard-tools, wireshark,
|
||||
wpa_supplicant, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12711: host-localedef 2.30-20 fails to compile on fedora 32
|
||||
#12746: "sysdig" package description points to http://sysdig.org, ..
|
||||
|
||||
2020.02, released March 8th, 2020
|
||||
|
||||
Various fixes.
|
||||
|
||||
br2-external: Fix compatibility with make 4.3+
|
||||
|
||||
Updated/fixed packages: bash, bcm2835, binutils, cups,
|
||||
erlang-p1-acme, fbgrab, gr-osmosdr, gst1-plugins-base,
|
||||
gst1-validate, gstreamer1, guile, jhead, libdrm, libevdev,
|
||||
libinput, libnss, libsndfile, libvncserver, linux-firmware,
|
||||
mesa3d, nodejs, openjdk-bin, openvmtools, optee-test, patch,
|
||||
php, piglit, pppd, python-django, qemu, qt5base, ruby,
|
||||
ser2net, swupdate, thrift, zziplib
|
||||
|
||||
Removed packages: classpath, jamvm
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12606: fbgrab location has changed
|
||||
|
||||
2020.02-rc3, released March 2nd, 2020
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Infrastructure: Rework file list handling to fix race
|
||||
conditions when building with per-package target and host
|
||||
directories and top-level parallel builds.
|
||||
|
||||
Updated/fixed packages: aufs, binutils, blktrace, brltty,
|
||||
cairo, dnsmasq, docker-compose, elf2flt, exim, exiv2, git,
|
||||
kodi-inputstream-adaptive, libarchive, libcgroup, libgdiplus,
|
||||
libssh2, libvncserver, libvorbis, linknx, linux-firmware, lxc,
|
||||
lz4, mosquitto, openjpeg, openrc, poco, proftpd, pure-ftpd,
|
||||
python3, python-multidict, python-setuptools-scm-git-archive,
|
||||
qpdf, qt5tools, rdesktop, rocksdb, shellinabox, squid,
|
||||
suricata, swig, systemd, taglib, util-linux, wireshark, zsh
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12571: ltp-testsuite : Build failure
|
||||
#12576: 2020.02-RC1: error while loading shared libraries: ...
|
||||
#12581: 2020.02-rc1 glibc failing to build on fedora 31
|
||||
|
||||
2020.02-rc2, released February 26th, 2020
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: Ensure strong SSP can only be enabled if the
|
||||
(external) toolchain supports it.
|
||||
|
||||
Fix a race condition related to creating the output/staging
|
||||
symlink on systems with coreutils < 8.27.
|
||||
|
||||
Drop support for the (end of life) Qt 5.6 variant.
|
||||
|
||||
Updated/fixed packages: at, armadillo, audiofile, bash,
|
||||
busybox, erlang, fail2ban, fluidsynth, ipsec-tools, jpeg-turbo,
|
||||
kvm-unit-tests, libftdi1, libinput, libsvgtiny, libtomcrypt,
|
||||
libupnpp, libxml2, linux-tools, luv, mbedtls, mesa3d, minicom,
|
||||
openvmtools, php, qt5, qt5webengine, qwt, radvd, rcw,
|
||||
sdbusplus, systemd, tpm2-tss, vorbis-tools
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12581: 2020.02-rc1 glibc failing to build on fedora 31
|
||||
|
||||
2020.02-rc1, released February 18th, 2020
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Add experimental support for building with a per-package
|
||||
target and host directory. This still has some rough edges,
|
||||
but brings a number of advantages:
|
||||
|
||||
- Packages will only be able to access the explicitly listed
|
||||
dependencies and not any other packages that happen to be
|
||||
built before, ensuring correct dependency information in
|
||||
Buildroot.
|
||||
|
||||
- Possibility for top-level parallel builds, speeding up
|
||||
builds on multicore machines.
|
||||
|
||||
Core: Ensure package-file-lists data is correct after
|
||||
incremental builds as well.
|
||||
|
||||
Architecture: Add support for ARC-HS38 with 64bit multiplier
|
||||
variant, allow building glibc for big endian ARC, handle 16KB
|
||||
MMU page size for ARC in toolchain wrapper.
|
||||
|
||||
Toolchain: Add binutils 2.33.1, GCC 7.5.0, Arm 9.2-2019.12
|
||||
toolchains, ARC 2019.09 toolchain. Allow using custom kernel
|
||||
headers newer than what is known by Buildroot.
|
||||
|
||||
pkg-stats: Support for CVE vulnerability reporting by
|
||||
comparing to NVD database.
|
||||
|
||||
Reproducible builds: The go -trimpath option is now used to
|
||||
get rid of absolute build paths, __FILE__ and __BASE_FILE__
|
||||
defines are now handled in the toolchain wrapper.
|
||||
|
||||
Systemd: Build host variant and use systemctl to automatically
|
||||
enable unit files rather than manually managing symlinks.
|
||||
|
||||
Util-linux: Ensure that hwclock is built without GPLv3
|
||||
code. Notice that builds with hwclock has contained
|
||||
GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+)
|
||||
|
||||
New defconfigs: Beelink GS1, Raspberrypi4 64bit
|
||||
|
||||
New packages: alura, avro-c, bubblewrap, cctz, cereal,
|
||||
cpuburn-arm, elixir, erlang-base64url, erlang-idna,
|
||||
erlang-jose, erlang-p1-acme, erlang-p1-mqtree,
|
||||
erlang-p1-yconf, fluid-soundfont, fluidsynth, gcnano-binaries,
|
||||
gensio, glslsandbox-player, libargon2, libmodsecurity,
|
||||
libpam-nfc, libtelnet, lua-codegen, lua-livr, lua-livr-extra,
|
||||
lua-rotas, lua-silva, mfoc, network-manager-openvpn,
|
||||
nginx-modsecurity, perl-crypt-openssl-aes,
|
||||
perl-math-prime-util, pipewire, ptm2human, python-aenum,
|
||||
python-aiohttp-debugtoolbar, python-aiohttp-mako,
|
||||
python-aiologstash, python-aiosignal, python-aiozipkin,
|
||||
python-async-lru, python-avro, python-bunch, python-crontab,
|
||||
python-dnspython, python-entrypoints, python-esptool,
|
||||
python-frozenlist, python-future, python-gitdb, python-janus,
|
||||
python-lockfile, python-logstash, python-nested-dict,
|
||||
python-pbr, python-pyaes, python-pydantic, python-smmap2,
|
||||
python-sockjs, python-zc-lockfile, raspi-gpio, rocksdb,
|
||||
sdbusplus, spidermonkey, thermald, ti-sgx-libgbm, tinyssh,
|
||||
tio, umtprd, weston-imx, wireguard-linux-compat,
|
||||
wireguard-tools, xdg-dbus-proxy
|
||||
|
||||
Removed packages: bluez_utils, celt051, erlang-p1-iconv, fis,
|
||||
gadgetfs-test, libplayer, gstreamer, gst-ffmpeg,
|
||||
gst-fsl-plugins, gst-omapfb, gst-plugins-bad,
|
||||
gst-plugins-base, gst-plugins-good, gst-plugins-ugly,
|
||||
perl-digest-md5, perl-mime-base64, perl-net-ping,
|
||||
python-scapy3k, wireguard
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11906: the new version of mesa3d cannot support etnaviv when..
|
||||
#11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16
|
||||
#12121: PyQt5.QtSerialPort and other modules not being built
|
||||
#12256: package tar is outdated (1.29 is 3 years old
|
||||
#12286: Can't import gobject in python 3.8
|
||||
#12376: python-scapy3k is deprecated
|
||||
#12386: carriage return issue when "make menuconfig"
|
||||
#12441: qt5webengine build error: asm/errno.h: No such file or..
|
||||
#12446: Buildroot fails to finish installing packages
|
||||
#12456: qtvirtualkeyboard: No such file or directory
|
||||
#12461: libglib2 build files with deep directory structure
|
||||
#12481: minicom fails when output directory path contains "m4"
|
||||
#12501: libnss-3.49.1: ld error: multiple definition of `gcm_..
|
||||
#12526: host-nodejs 12.14.1: configure fail: AttributeError: ..
|
||||
#12536: Linux-Headers extracting failure
|
||||
#12546: Ninja 1.10 build Error
|
||||
|
||||
2019.11.3, released April 10th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
core: Fix compatibility with make 4.3+. Also fixup /lib
|
||||
references in libtool .la files, similar to how it is done for
|
||||
/usr/*.
|
||||
|
||||
toolchain: Fix kernel headers validation check for external
|
||||
toolchains.
|
||||
|
||||
fs/initramfs: fix show-info so it also shows the usual
|
||||
rootfs-related variables.
|
||||
|
||||
Updated/fixed packages: barebox-aux, bluez5_utils, busybox,
|
||||
civetweb, cog, collectd, ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy,
|
||||
hiredis, hostapd, kmscube, libical, libopenssl, libsndfile,
|
||||
linux-tools, llvm, monit, ntp, php, pure-ftpd, radvd, redis,
|
||||
samba4, screen, sysdig, syslinux, syslog-ng, tor, uacme,
|
||||
util-linux, vala, vlc, wpa_supplicant, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12746: "sysdig" package description points to http://sysdig.org, ..
|
||||
|
||||
2019.11.2, released March 16th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Core: Ensure package-file-lists data is correct after
|
||||
incremental builds as well.
|
||||
|
||||
Fix a race condition related to creating the output/staging
|
||||
symlink on systems with coreutils < 8.27.
|
||||
|
||||
Toolchain: ARC tools bumped to arc-2019.09.
|
||||
|
||||
Br2-external: Fix patch handling when external linux-extension
|
||||
packages are used. Fix compatibility with make 4.3+
|
||||
|
||||
Util-linux: Ensure that hwclock is built without GPLv3
|
||||
code. Notice that builds with hwclock has contained
|
||||
GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+)
|
||||
|
||||
Updated/fixed packages: armadillo, at, bcm2835, binutils,
|
||||
blktrace, bluez-alsa, bootstrap, brltty, busybox, cairo,
|
||||
clamav, cog, cups, czmq, dnsmasq, docker-containerd, dovecot,
|
||||
dovecot-pigeonhole, e2fsprogs, elf2flt, eudev, exim, exiv2,
|
||||
fbgrab, gettext-tiny, glibc, go, grep, gst1-validate, guile,
|
||||
imagemagick, jhead, jpeg-turbo, kvm-unit-tests, lapack,
|
||||
libarchive, libcgroup, libdrm, libevent, libexif, libftdi1,
|
||||
libgdiplus, libjpeg, libsigrok, libsndfile, libssh2,
|
||||
libsvgtiny, libvncserver, libvorbis, libxml2, libxslt, linknx,
|
||||
lxc, lz4, mariadb, mbedtls, meson, mongoose, mosquitto, musl,
|
||||
ncurses, nodejs, ntfs-3g, ogre, opencv3, openjdk, openjpeg,
|
||||
openrc, openswan, openvmtools, optee-test, patch, php, piglet,
|
||||
postgresql, pppd, proftpd, pure-ftpd, python-django,
|
||||
python-pyqt5, python-setuptools-scm-git-archive, python3,
|
||||
qemu, qt5base, qt5tools, qt5virtualkeyboard, qt5webengine,
|
||||
qwt, rdesktop, ruby, runc, samba4, shellinabox,
|
||||
skeleton-init-openrc, smartmontools, spdlog, sqlcipher, squid,
|
||||
suricata, swig, swupdate, sysklogd, taglib, thrift,
|
||||
ti-cgt-pru, uclibc, util-linux, vorbis-tools, webkitgtk,
|
||||
wireshark, wpebackend-fdo, wpewebkit, xen,
|
||||
xserver_xorg-server, zeromq, zsh, zziplib
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16
|
||||
#12331: meson issue
|
||||
#12456: qtvirtualkeyboard: No such file or directory
|
||||
#12461: libglib2 build files with deep directory structure
|
||||
#12481: minicom fails when output directory path contains "m4"
|
||||
#12606: fbgrab location has changed
|
||||
|
||||
2019.11.1, released January 12th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: kconfig: Fix reconfigure logic, python: Ensure
|
||||
correct compiler and linker flags are used for compiled code
|
||||
|
||||
utils/scanpypi: Remind users to update DEVELOPERS
|
||||
|
||||
Defconfigs: imx6-sabresd: Fix the Qt5 display names,
|
||||
imx8: Drop extra copy of U-Boot DTB
|
||||
|
||||
Updated/fixed packages: acsccid, bitcoin, boost, busybox,
|
||||
cc-tool, cmocka, cpio, cups, dante, dialog, dillo, docker-cli,
|
||||
docker-containerd, docker-engine, easy-rsa, ebtables,
|
||||
ecryptfs-utils, efl, ffmpeg, gdb, git, glibc, gnupg2, go,
|
||||
gpsd, grpc, gst1-plugins-bad, iputils, jasper,
|
||||
kf5-kcoreaddons, leveldb, libarchive, libfribi, libgit2,
|
||||
libkrb5, libp11, librsvg, libssh, libtomcrypt, libuio, libv4l,
|
||||
lirc-tools, log4cplus, lrzip, lvm2, mali-t76x,
|
||||
matchbox-desktop, mender-grubenv, mmc-utils, mosquitto,
|
||||
nodejs, ntp, openipmi, opencv3, openpowerlink, openrc, pango,
|
||||
perl-sys-cpu, pimd, postgresql, pulseaudio, python-brotli,
|
||||
python-coherence, python-crc16, python-django, python-dpkt,
|
||||
python-gobject, python-pyasn-modules, python-pypcap,
|
||||
python-pyqt5, python-subprocess32, python3, qpdf,
|
||||
qt-webkit-kiosk, qt5virtualkeyboard, qt5webengine, quota,
|
||||
rabbitmq-c, rauc, rpcbind, rtl8821au, runc, rygel, samba4,
|
||||
sdl2, setserial, snort, spidev_test,
|
||||
sunxi-mali-mainline-driver, syslog-ng, sysrepo, tcllib, tftpd,
|
||||
usbmount, w_scan, wavpack, wsapi, wsapi-fcgi, wsapi-xavante,
|
||||
x265, xserver_xorg-server, ytree, zip
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12121: PyQt5.QtSerialPort and other modules not being built
|
||||
#12286: Can't import gobject in python 3.8
|
||||
|
||||
2019.11, released December 1st, 2019
|
||||
|
||||
Various fixes.
|
||||
|
||||
Infrastructure: Make HOST_<pkg>_DL_OPTS inherit from
|
||||
<pkg>_DL_OPTS by default, just like it is done for a number of
|
||||
other package variables.
|
||||
|
||||
Add <pkg>_KEEP_PY_FILES to exclude specific python .py files
|
||||
from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for
|
||||
the (rare) case where the .py files are needed at runtime
|
||||
rather than .pyc.
|
||||
|
||||
Updated/fixed packages: am33x-cm3, bind, collectd, go, gob2,
|
||||
gst1-plugins-bad, haproxy, jasper, jpeg-turbo, libdrm,
|
||||
libftdi, libftdi1, libnss, libselinux, libstrophe, lzma,
|
||||
minicom, network-manager, nodejs, oniguruma, opencv3,
|
||||
openvmtools, perl-gdgraph, perl-gdtextutil, prosody,
|
||||
python-cchardet, systemd, tiff, wolfssl,
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11416: check-uniq-files staging issue
|
||||
#12146: Oprofile runtime issue
|
||||
#12166: Compiling nodejs for SAMA5D3 always crash with illegal inst..
|
||||
#12171: Python-opencv needs config.py and config-3.7.py to run..
|
||||
#12196: duma package
|
||||
#12211: host-nodejs 10.15.3 package fail to build
|
||||
#12316: tzdata fails to install with empty "default local time"
|
||||
#12326: network-manager build fails with missing glib error
|
||||
#12366: Gstreamer1 gst1-plugins-bad do not compile with RPI-Userland
|
||||
|
||||
2019.11-rc3, released November 24th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: asterisk, clamav, domoticz, faifa,
|
||||
gerbera, kmod, kvm-unit-tests, libupnp18, linux-serial-test,
|
||||
lsof, ltp-testsuite, lxc, mesa3d, mesa3d-headers, perl, php,
|
||||
postgresql, qemu, rauc, redis, rpcbind, spice, spice-protocol,
|
||||
systemd, tftpd, waylandpp, webkitgtk, zip
|
||||
|
||||
2019.11-rc2, released November 16th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: ARC tools bumped to arc-2019.09-rc1, ensure
|
||||
external toolchain kernel headers version check correctly stop
|
||||
the build on mismatch
|
||||
|
||||
Meson: Fix generation of global cross-compilation.conf
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Defconfigs: Fix boot issue for beaglebone
|
||||
|
||||
Updated/fixed packages: bird, chrony, connman, dhcp, domoticz,
|
||||
dropwatch, dtc, elf2flt, gettext-tiny, glog, intel-microcode,
|
||||
ipsec-tools, jailhouse, kodi, libfribi, libmbim, libressl,
|
||||
libsigrokdecode, libsvgtiny, linux-serial-test, ltp-testsuite,
|
||||
lvm2, lxc, mariadb, mesa3d, minizip, ndisc6, neardal, ninja,
|
||||
ofono, openvmtools, oracle-mysql, qt5wayland, safeclib, socat,
|
||||
sudo, systemd, wpewebkit, xserver_xorg-server
|
||||
|
||||
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: RISC-V: 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,
|
||||
linux-serial-test, 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.3, released December 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: Make HOST_<pkg>_DL_OPTS inherit from
|
||||
<pkg>_DL_OPTS by default, just like it is done for a number of
|
||||
other package variables
|
||||
|
||||
Add <pkg>_KEEP_PY_FILES to exclude specific python .py files
|
||||
from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for
|
||||
the (rare) case where the .py files are needed at runtime
|
||||
rather than .pyc.
|
||||
|
||||
Fix <pkg>-reconfigure handling for packages using the kconfig
|
||||
infrastructure.
|
||||
|
||||
Toolchain: ensure external toolchain kernel headers version
|
||||
check correctly stop the build on mismatch
|
||||
|
||||
Deconfigs: beaglebone: fix boot issue
|
||||
|
||||
Updated/fixed packages: am33x-cm3, asterisk, bind, chrony,
|
||||
clamav, cmocka, collectd, connman, dhcp, dropwatch, faifa,
|
||||
gettext-tiny, gob2, haproxy, intel-microcode, ipsec-tools,
|
||||
jailhouse, jasper, jpeg-turbo, kodi, kvm-unit-tests, libftdi,
|
||||
libftdi1, libnss, libressl, libstrophe, libsvgtiny, lvm2,
|
||||
lzma, mariadb, minicom, mosquitto, neardal, ninja, nodejs,
|
||||
oniguruma, openvmtools, oracle-mysql, perl-gdgraph,
|
||||
perl-gdtextutil, php, postgresql, prosody, python-cchardet,
|
||||
python-django, qt5wayland, rabbitmq, rauc, redis, rpcbind,
|
||||
socat, spice, spice-protocol, tftpd, tiff, webkitgtk
|
||||
|
||||
New packages: libmspack
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12166: Compiling nodejs for SAMA5D3 always crash with illegal inst..
|
||||
#12171: Python-opencv needs config.py and config-3.7.py to run..
|
||||
#12211: host-nodejs 10.15.3 package fail to build
|
||||
#12316: tzdata fails to install with empty "default local time"
|
||||
|
||||
2019.08.2, released November 9th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -825,80 +231,6 @@
|
||||
#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.
|
||||
@@ -1040,237 +372,6 @@
|
||||
#11761: Building custom kernel 5.1-rc3 or later breaks on objtool
|
||||
#11816: Only selected coreutils binaries are installed
|
||||
|
||||
2019.02.11, released April 9th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
core: Fix compatibility with make 4.3+. Also fixup /lib
|
||||
references in libtool .la files, similar to how it is done for
|
||||
/usr/*.
|
||||
|
||||
toolchain: Fix kernel headers validation check for external
|
||||
toolchains.
|
||||
|
||||
Updated/fixed packages: barebox-aux, bluez5_utils, busybox,
|
||||
civetweb, collectd, ffmpeg, gcc, gnutls, gvfs, haproxy,
|
||||
hiredis, kmscube, libical, libopenssl, libsndfile,
|
||||
linux-tools, ntp, php, pure-ftpd, screen, sysdig, tor,
|
||||
util-linux, vala, vlc, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12746: "sysdig" package description points to http://sysdig.org, ..
|
||||
|
||||
2019.02.10, released March 16th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Core: Ensure package-file-lists data is correct after
|
||||
incremental builds as well.
|
||||
|
||||
Fix a race condition related to creating the output/staging
|
||||
symlink on systems with coreutils < 8.27.
|
||||
|
||||
Br2-external: Fix compatibility with make 4.3+
|
||||
|
||||
Util-linux: Ensure that hwclock is built without GPLv3
|
||||
code. Notice that builds with hwclock has contained
|
||||
GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+)
|
||||
|
||||
Updated/fixed packages: armadillo, at, binutils, blktrace,
|
||||
bootstrap, busybox, cairo, cups, czmq, dnsmasq,
|
||||
docker-containerd, dovecot, dovecot-pigeonhole, e2fsprogs,
|
||||
eudev, exim, exiv2, fbgrab, grep, gst1-validate, guile,
|
||||
imagemagick, jhead, kvm-unit-tests, lapack, libcgroup,
|
||||
libftdi1, libjpeg, libsigrok, libsndfile, libssh2, libsvgtiny,
|
||||
libvncserver, libvorbis, libxml2, libxslt, linux, lz4,
|
||||
mariadb, mbedtls, meson, mfgtools, mongoose, ncurses, ntfs-3g,
|
||||
opencv3, openjpeg, openswan, openvmtools, patch, php,
|
||||
postgresql, pppd, proftpd, pure-ftpd, python-django,
|
||||
python-pyqt5, python3, qemu, qt5base, qt5webengine, qwt,
|
||||
rdesktop, ruby, runc, samba4, shellinabox, smartmontools,
|
||||
sqlcipher, squid, swupdate, sysklogd, taglib, thrift,
|
||||
ti-cgt-pru, uboot, util-linux, vorbis-tools, webkitgtk,
|
||||
wireshark, xen, xserver_xorg-server, zeromq, zsh
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16
|
||||
#12331: meson issue
|
||||
#12461: libglib2 build files with deep directory structure
|
||||
#12606: fbgrab location has changed
|
||||
|
||||
2019.02.9, released January 12th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
pkg-python infrastructure: Ensure correct compiler and linker
|
||||
flags are used for compiled code
|
||||
|
||||
utils/scanpypi: Remind users to update DEVELOPERS
|
||||
|
||||
Updated/fixed packages: busybox, cc-tool, cpio, cups, dante,
|
||||
dillo, docker-cli, docker-containerd, docker-engine, easy-rsa,
|
||||
ecryptfs-utils, efl, git, glibc, gnupg2, gst1-plugins-bad,
|
||||
kf5-kcoreaddons, libarchive, libgit2, libkrb5, librsvg,
|
||||
libssh, libtomcrypt, libuio, lirc-tools, lvm2,
|
||||
matchbox-desktop, nodejs, ntp, opencv3, openpowerlink,
|
||||
python-django, python-ecdsa, python-pyasn-modules,
|
||||
python-pyqt5, python-subprocess32, python3, qpdf, runc, rygel,
|
||||
samba4, sdl2, wavpack, xserver_xorg-server, zip
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12121: PyQt5.QtSerialPort and other modules not being built
|
||||
|
||||
2019.02.8, released December 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: Make HOST_<pkg>_DL_OPTS inherit from
|
||||
<pkg>_DL_OPTS by default, just like it is done for a number of
|
||||
other package variables
|
||||
|
||||
Add <pkg>_KEEP_PY_FILES to exclude specific python .py files
|
||||
from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for
|
||||
the (rare) case where the .py files are needed at runtime
|
||||
rather than .pyc.
|
||||
|
||||
Fix <pkg>-reconfigure handling for packages using the kconfig
|
||||
infrastructure.
|
||||
|
||||
Toolchain: ensure external toolchain kernel headers version
|
||||
check correctly stop the build on mismatch
|
||||
|
||||
Deconfigs: beaglebone: fix boot issue
|
||||
|
||||
Updated/fixed packages: am33x-cm3, asterisk, bind, chrony,
|
||||
clamav, collectd, connman, faifa, gob2, haproxy,
|
||||
intel-microcode, ipsec-tools, jasper, jpeg-turbo, kodi,
|
||||
kvm-unit-tests, libftdi, libftdi1, libnss, libstrophe,
|
||||
libsvgtiny, lvm2, lzma, mariadb, minicom, neardal, nodejs,
|
||||
opencv3, openvmtools, oracle-mysql, perl-gdgraph,
|
||||
perl-gdtextutil, php, postgresql, prosody, python-django,
|
||||
rabbitmq-c, rauc, redis, rpcbind, socat, spice,
|
||||
spice-protocol, tftpd, tiff, webkitgtk
|
||||
|
||||
New packages: libmspack
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12166: Compiling nodejs for SAMA5D3 always crash with illegal inst..
|
||||
#12171: Python-opencv needs config.py and config-3.7.py to run..
|
||||
#12211: host-nodejs 10.15.3 package fail to build
|
||||
#12316: tzdata fails to install with empty "default local time"
|
||||
|
||||
2019.02.7, Released November 10th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
support/testing: use a kernel with HW_RANDOM_VIRTIO to work
|
||||
around issues with lack of entrophy
|
||||
|
||||
Toolchain: Also copy libssp.so for external toolchains if SSP
|
||||
is enabled to handle toolchains providing SSP support in
|
||||
libssp rather than in the C library
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Fakeroot now works correctly under Microsoft Windows 10
|
||||
Services for Linux, which does not provide SYSV IPC support
|
||||
|
||||
utils/test-pkg: ensure to exit with an error upon failure
|
||||
|
||||
Updated/fixed packages: asterisk, azmq, cups-filters,
|
||||
domoticz, duma, elf2flt, eudev, exfat, exfat-utils, fakeroot,
|
||||
file, freerdp, gd, ghostscript, go, gvfs, intel-microcode,
|
||||
kvm-unit-tests, libarchive, libnspr, libnss, libopenssl,
|
||||
libpcap, libpciaccess, librsvg, libseccomp, libsigrok,
|
||||
libtorrent, libunwind, linux-tools, lua-sdl2, lxc, minizip,
|
||||
mjpegtools, mongoose, php, python, python-pysnmp-apps,
|
||||
python3, qemu, qt5base, ruby, safeclib, samba4, sdl_mixer,
|
||||
sox, sudo, systemd, tcpdump, unscd, util-lkinux, vtun, xvisor,
|
||||
yaffs2utils
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11366: [2018.08] SysV IPC not available for fakeroot on WSL
|
||||
#12261: sudo versions prior to 1.8.28 are affected
|
||||
|
||||
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.
|
||||
@@ -1330,8 +431,6 @@
|
||||
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
|
||||
|
||||
55
Config.in
55
Config.in
@@ -26,9 +26,29 @@ 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
|
||||
@@ -50,11 +70,6 @@ config BR2_HOST_GCC_AT_LEAST_8
|
||||
default y if BR2_HOST_GCC_VERSION = "8"
|
||||
select BR2_HOST_GCC_AT_LEAST_7
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_9
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "9"
|
||||
select BR2_HOST_GCC_AT_LEAST_8
|
||||
|
||||
# When adding new entries above, be sure to update
|
||||
# the HOSTCC_MAX_VERSION variable in the Makefile.
|
||||
|
||||
@@ -63,6 +78,16 @@ config BR2_HOST_GCC_AT_LEAST_9
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages in need of javac in order to build
|
||||
# (example: classpath)
|
||||
config BR2_NEEDS_HOST_JAVAC
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages in need of jar in order to build
|
||||
# (example: classpath)
|
||||
config BR2_NEEDS_HOST_JAR
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by pre-built packages for x86, when they
|
||||
# need to run on x86-64 machines (example: pre-built external
|
||||
# toolchains, binary tools like SAM-BA, etc.).
|
||||
@@ -531,6 +556,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
|
||||
@@ -685,24 +711,6 @@ config BR2_REPRODUCIBLE
|
||||
This is labeled as an experimental feature, as not all
|
||||
packages behave properly to ensure reproducibility.
|
||||
|
||||
config BR2_PER_PACKAGE_DIRECTORIES
|
||||
bool "Use per-package directories (experimental)"
|
||||
help
|
||||
This option will change the build process of Buildroot
|
||||
package to use per-package target and host directories.
|
||||
|
||||
This is useful for two related purposes:
|
||||
|
||||
- Cleanly isolate the build of each package, so that a
|
||||
given package only "sees" the dependencies it has
|
||||
explicitly expressed, and not other packages that may
|
||||
have by chance been built before.
|
||||
|
||||
- Enable top-level parallel build.
|
||||
|
||||
This is labeled as an experimental feature, as not all
|
||||
packages behave properly with per-package directories.
|
||||
|
||||
endmenu
|
||||
|
||||
comment "Security Hardening Options"
|
||||
@@ -753,7 +761,6 @@ config BR2_SSP_REGULAR
|
||||
|
||||
config BR2_SSP_STRONG
|
||||
bool "-fstack-protector-strong"
|
||||
depends on BR2_TOOLCHAIN_HAS_SSP_STRONG
|
||||
help
|
||||
Like -fstack-protector but includes additional functions to be
|
||||
protected - those that have local array definitions, or have
|
||||
|
||||
421
Config.in.legacy
421
Config.in.legacy
@@ -144,427 +144,6 @@ endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
comment "Legacy options removed in 2020.05"
|
||||
|
||||
config BR2_PACKAGE_COLLECTD_LVM
|
||||
bool "lvm support in collectd was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
collectd removed LVM plugin, liblvm2app has been deprecated
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PYASN
|
||||
bool "duplicate python-pyasn1 package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_PYTHON_PYASN1
|
||||
help
|
||||
This package was a duplicate of python-pyasn1.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PYASN_MODULES
|
||||
bool "duplicate python-pyasn1-modules package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_PYTHON_PYASN1_MODULES
|
||||
help
|
||||
This package was a duplicate of python-pyasn1-modules.
|
||||
|
||||
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA6174
|
||||
bool "duplicate QCA6174 firmware symbol removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174
|
||||
help
|
||||
This config symbol duplicates existing symbol for QCA6174
|
||||
firmware.
|
||||
|
||||
config BR2_PACKAGE_QT5CANVAS3D
|
||||
bool "qt5canvas3d was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This Qt5 module was removed by the upstream Qt project since
|
||||
Qt 5.13, so the corresponding Buildroot package was removed
|
||||
as well.
|
||||
|
||||
config BR2_PACKAGE_KODI_LIBTHEORA
|
||||
bool "libtheora support in Kodi was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Kodi does not need libtheora
|
||||
|
||||
config BR2_PACKAGE_CEGUI06
|
||||
bool "BR2_PACKAGE_CEGUI06 was renamed"
|
||||
select BR2_PACKAGE_CEGUI
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_CEGUI06 config symbol was renamed to
|
||||
BR2_PACKAGE_CEGUI.
|
||||
|
||||
config BR2_GCC_VERSION_5_X
|
||||
bool "gcc 5.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 5.x has been removed. The current
|
||||
default version (8.x or later) has been selected instead.
|
||||
|
||||
comment "Legacy options removed in 2020.02"
|
||||
|
||||
config BR2_PACKAGE_JAMVM
|
||||
bool "jamvm removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JamVM has not had a release since 2014 and is unmaintained.
|
||||
|
||||
config BR2_PACKAGE_CLASSPATH
|
||||
bool "classpath removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
GNU Classpath package was removed. The last upstream
|
||||
release was in 2012 and there hasn't been a commit
|
||||
since 2016.
|
||||
|
||||
config BR2_PACKAGE_QT5_VERSION_5_6
|
||||
bool "qt 5.6 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for Qt 5.6 is EOL and has been removed. The current
|
||||
version (5.12 or later) has been selected instead.
|
||||
|
||||
config BR2_PACKAGE_CURL
|
||||
bool "BR2_PACKAGE_CURL was renamed"
|
||||
select BR2_PACKAGE_LIBCURL_CURL
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_CURL config symbol was renamed to
|
||||
BR2_PACKAGE_LIBCURL_CURL.
|
||||
|
||||
config BR2_PACKAGE_GSTREAMER
|
||||
bool "gstreamer-0.10 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer-0.10 package was removed. It has been deprecated
|
||||
upstream since 2012, and is missing a lot of features and
|
||||
fixes compared to gstreamer-1.x.
|
||||
|
||||
config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS
|
||||
bool "nvidia-tegra23 binaries gstreamer 0.10.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer 0.10.x is no longer available in Buildroot, so
|
||||
neither is the support in nvidia-tegra23 binaries.
|
||||
|
||||
config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS
|
||||
bool "nvidia-tegra23 binaries sample apps removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer 0.10.x is no longer available in Buildroot, so
|
||||
neither is the support in nvidia-tegra23 binaries.
|
||||
|
||||
config BR2_PACKAGE_FREERDP_GSTREAMER
|
||||
bool "freerdp gstreamer 0.10.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer 0.10.x is no longer available in Buildroot, so
|
||||
neither is the support in freerdp.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER
|
||||
bool "opencv3 gstreamer 0.10.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer 0.10.x is no longer available in Buildroot, so
|
||||
neither is the support in opencv3.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
||||
bool "opencv gstreamer 0.10.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Gstreamer 0.10.x is no longer available in Buildroot, so
|
||||
neither is the support in opencv.
|
||||
|
||||
config BR2_PACKAGE_LIBPLAYER
|
||||
bool "libplayer package was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libplayer package was removed. The latest release is
|
||||
from 2010 and none of the backends are available in
|
||||
Buildroot any more.
|
||||
|
||||
config BR2_GCC_VERSION_OR1K
|
||||
bool "gcc 5.x fork for or1k has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc 5.x for or1k has been removed. The current
|
||||
default version (9.x or later) has been selected instead.
|
||||
|
||||
config BR2_PACKAGE_BLUEZ_UTILS
|
||||
bool "bluez-utils was removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_BLUEZ5_UTILS if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \
|
||||
&& BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
help
|
||||
The bluez-utils (BlueZ 4.x) package was removed as it is
|
||||
deprecated since a long time. As an alternative, the
|
||||
bluez5-utils (BlueZ 5.x) has been automatically selected in
|
||||
your configuration.
|
||||
|
||||
config BR2_PACKAGE_GADGETFS_TEST
|
||||
bool "gadgetfs-test was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gadgetfs-test package was removed. Gadgetfs has been
|
||||
deprecated in favour of functionfs. Consider using
|
||||
gadget-tool (gt) instead.
|
||||
|
||||
config BR2_PACKAGE_FIS
|
||||
bool "fis was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The fis package was removed.
|
||||
|
||||
config BR2_PACKAGE_REFPOLICY_POLICY_VERSION
|
||||
string "refpolicy policy version"
|
||||
help
|
||||
The refpolicy policy version option has been moved to the
|
||||
libsepol package.
|
||||
|
||||
config BR2_PACKAGE_REFPOLICY_POLICY_VERSION_WRAP
|
||||
bool
|
||||
default y if BR2_PACKAGE_REFPOLICY_POLICY_VERSION != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_CELT051
|
||||
bool "celt051 package was removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPUS
|
||||
help
|
||||
The celt051 package was removed as it is now obsolete since
|
||||
the CELT codec has been merged into the IETF Opus codec. As
|
||||
a result, the opus package has been automatically selected
|
||||
in your configuration.
|
||||
|
||||
config BR2_PACKAGE_WIREGUARD
|
||||
bool "wireguard package renamed"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_WIREGUARD_LINUX_COMPAT if BR2_LINUX_KERNEL
|
||||
select BR2_PACKAGE_WIREGUARD_TOOLS
|
||||
help
|
||||
The wireguard package has been renamed to wireguard-tools
|
||||
for the userspace tooling and wireguard-linux-compat for the
|
||||
kernel side for legacy (<5.6) kernels to match upstream.
|
||||
|
||||
config BR2_PACKAGE_PERL_NET_PING
|
||||
bool "perl-net-ping was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Net::Ping is a Perl core module (ie. bundled with perl).
|
||||
|
||||
config BR2_PACKAGE_PERL_MIME_BASE64
|
||||
bool "perl-mime-base64 was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
MIME::Base64 is a Perl core module (ie. bundled with perl).
|
||||
|
||||
config BR2_PACKAGE_PERL_DIGEST_MD5
|
||||
bool "perl-digest-md5 was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Digest::MD5 is a Perl core module (ie. bundled with perl).
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_ICONV
|
||||
bool "erlang-p1-iconv has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The erlang-p1-iconv package was no longer used by ejabberd,
|
||||
and was no longer maintained upstream, so it was removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_3
|
||||
bool "kernel headers version 5.3.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.3.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_SCAPY3K
|
||||
bool "python-scapy3k is replaced by python-scapy"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_PYTHON_SCAPY
|
||||
help
|
||||
python-scapy3k has been deprecated, since python-scapy has
|
||||
gained Python 3 support. Use BR2_PACKAGE_PYTHON_SCAPY
|
||||
instead.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_30_X
|
||||
bool "binutils version 2.30 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for binutils version 2.30 has been removed. The
|
||||
current default version (2.31 or later) has been selected
|
||||
instead.
|
||||
|
||||
config BR2_PACKAGE_RPI_USERLAND_START_VCFILED
|
||||
bool "rpi-userland start vcfiled was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The vcfiled support was removed upstream.
|
||||
|
||||
comment "Legacy options removed in 2019.11"
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS_PROCPS
|
||||
bool "openvmtools' procps support was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Upstream stopped supporting this option a while ago.
|
||||
|
||||
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
|
||||
|
||||
396
DEVELOPERS
396
DEVELOPERS
File diff suppressed because it is too large
Load Diff
93
Makefile
93
Makefile
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2014 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2014-2020 by the Buildroot developers <buildroot@buildroot.org>
|
||||
# Copyright (C) 2014-2019 by the Buildroot developers <buildroot@buildroot.org>
|
||||
#
|
||||
# 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
|
||||
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2020.05-rc1
|
||||
export BR2_VERSION := 2019.08.2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1588882900
|
||||
BR2_VERSION_EPOCH = 1573328000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -188,9 +188,6 @@ ifneq ($(BR2_EXTERNAL_ERROR),)
|
||||
$(error $(BR2_EXTERNAL_ERROR))
|
||||
endif
|
||||
|
||||
# Workaround bug in make-4.3: https://savannah.gnu.org/bugs/?57676
|
||||
$(BASE_DIR)/.br2-external.mk:;
|
||||
|
||||
# To make sure that the environment variable overrides the .config option,
|
||||
# set this before including .config.
|
||||
ifneq ($(BR2_DL_DIR),)
|
||||
@@ -207,7 +204,6 @@ BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
||||
BUILD_DIR := $(BASE_DIR)/build
|
||||
BINARIES_DIR := $(BASE_DIR)/images
|
||||
BASE_TARGET_DIR := $(BASE_DIR)/target
|
||||
PER_PACKAGE_DIR := $(BASE_DIR)/per-package
|
||||
# initial definition so that 'make clean' works for most users, even without
|
||||
# .config. HOST_DIR will be overwritten later when .config is included.
|
||||
HOST_DIR := $(BASE_DIR)/host
|
||||
@@ -230,12 +226,21 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
-include $(BR2_CONFIG)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),)
|
||||
# Disable top-level parallel build if per-package directories is not
|
||||
# used. Indeed, per-package directories is necessary to guarantee
|
||||
# determinism and reproducibility with top-level parallel build.
|
||||
# Parallel execution of this Makefile is disabled because it changes
|
||||
# the packages building order, that can be a problem for two reasons:
|
||||
# - If a package has an unspecified optional dependency and that
|
||||
# dependency is present when the package is built, it is used,
|
||||
# otherwise it isn't (but compilation happily proceeds) so the end
|
||||
# result will differ if the order is swapped due to parallel
|
||||
# building.
|
||||
# - Also changing the building order can be a problem if two packages
|
||||
# manipulate the same file in the target directory.
|
||||
#
|
||||
# Taking into account the above considerations, if you still want to execute
|
||||
# this top-level Makefile in parallel comment the ".NOTPARALLEL" line and
|
||||
# use the -j<jobs> option when building, e.g:
|
||||
# make -j$((`getconf _NPROCESSORS_ONLN`+1))
|
||||
.NOTPARALLEL:
|
||||
endif
|
||||
|
||||
# timezone and locale may affect build output
|
||||
ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
@@ -343,7 +348,7 @@ export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \
|
||||
|
||||
# When adding a new host gcc version in Config.in,
|
||||
# update the HOSTCC_MAX_VERSION variable:
|
||||
HOSTCC_MAX_VERSION := 9
|
||||
HOSTCC_MAX_VERSION := 8
|
||||
|
||||
HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \
|
||||
sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \
|
||||
@@ -447,24 +452,19 @@ XZCAT := $(call qstrip,$(BR2_XZCAT))
|
||||
LZCAT := $(call qstrip,$(BR2_LZCAT))
|
||||
TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
|
||||
ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
|
||||
HOST_DIR = $(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/host,$(call qstrip,$(BR2_HOST_DIR)))
|
||||
TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/target,$(BASE_TARGET_DIR)))
|
||||
else
|
||||
# packages compiled for the host go here
|
||||
HOST_DIR := $(call qstrip,$(BR2_HOST_DIR))
|
||||
|
||||
# The target directory is common to all packages,
|
||||
# but there is one that is specific to each filesystem.
|
||||
TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(BASE_TARGET_DIR))
|
||||
endif
|
||||
|
||||
ifneq ($(HOST_DIR),$(BASE_DIR)/host)
|
||||
HOST_DIR_SYMLINK = $(BASE_DIR)/host
|
||||
$(HOST_DIR_SYMLINK): $(BASE_DIR)
|
||||
ln -snf $(HOST_DIR) $(HOST_DIR_SYMLINK)
|
||||
ln -snf $(HOST_DIR) $(BASE_DIR)/host
|
||||
endif
|
||||
|
||||
STAGING_DIR_SYMLINK = $(BASE_DIR)/staging
|
||||
$(STAGING_DIR_SYMLINK): $(BASE_DIR)
|
||||
ln -snf $(STAGING_DIR) $(STAGING_DIR_SYMLINK)
|
||||
|
||||
# Quotes are needed for spaces and all in the original PATH content.
|
||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)"
|
||||
|
||||
@@ -593,8 +593,8 @@ world: target-post-image
|
||||
.PHONY: prepare-sdk
|
||||
prepare-sdk: world
|
||||
@$(call MESSAGE,"Rendering the SDK relocatable")
|
||||
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host
|
||||
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging
|
||||
$(TOPDIR)/support/scripts/fix-rpath host
|
||||
$(TOPDIR)/support/scripts/fix-rpath staging
|
||||
$(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh
|
||||
mkdir -p $(HOST_DIR)/share/buildroot
|
||||
echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location
|
||||
@@ -698,9 +698,8 @@ define PURGE_LOCALES
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
for i in $(LOCALE_NOPURGE) locale-archive; do echo $$i >> $(LOCALE_WHITELIST); done
|
||||
|
||||
for dir in $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/lib/locale); \
|
||||
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/lib/locale)); \
|
||||
do \
|
||||
if [ ! -d $$dir ]; then continue; fi; \
|
||||
for langdir in $$dir/*; \
|
||||
do \
|
||||
if [ -e "$${langdir}" ]; \
|
||||
@@ -728,30 +727,26 @@ $(TARGETS_ROOTFS): target-finalize
|
||||
# Avoid the rootfs name leaking down the dependency chain
|
||||
target-finalize: ROOTFS=
|
||||
|
||||
TARGET_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list.txt))
|
||||
HOST_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-host.txt))
|
||||
STAGING_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.txt))
|
||||
|
||||
.PHONY: host-finalize
|
||||
host-finalize: $(PACKAGES) $(HOST_DIR) $(HOST_DIR_SYMLINK)
|
||||
@$(call MESSAGE,"Finalizing host directory")
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR))
|
||||
host-finalize: $(HOST_DIR_SYMLINK)
|
||||
|
||||
.PHONY: staging-finalize
|
||||
staging-finalize: $(STAGING_DIR_SYMLINK)
|
||||
staging-finalize:
|
||||
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
||||
|
||||
.PHONY: target-finalize
|
||||
target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize
|
||||
target-finalize: $(PACKAGES) host-finalize
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR))
|
||||
# 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 \
|
||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \
|
||||
$(TARGET_DIR)/usr/doc
|
||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
|
||||
find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/lib/ $(TARGET_DIR)/usr/lib/ $(TARGET_DIR)/usr/libexec/ \
|
||||
\( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f
|
||||
\( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/gdb
|
||||
endif
|
||||
@@ -784,7 +779,7 @@ endif
|
||||
ln -sf ../usr/lib/os-release $(TARGET_DIR)/etc
|
||||
|
||||
@$(call MESSAGE,"Sanitizing RPATH in target tree")
|
||||
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath target
|
||||
$(TOPDIR)/support/scripts/fix-rpath target
|
||||
|
||||
# For a merged /usr, ensure that /lib, /bin and /sbin and their /usr
|
||||
# counterparts are appropriately setup as symlinks ones to the others.
|
||||
@@ -806,13 +801,6 @@ endif # merged /usr
|
||||
$(call MESSAGE,"Copying overlay $(d)"); \
|
||||
$(call SYSTEM_RSYNC,$(d),$(TARGET_DIR))$(sep))
|
||||
|
||||
$(if $(TARGET_DIR_FILES_LISTS), \
|
||||
cat $(TARGET_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list.txt
|
||||
$(if $(HOST_DIR_FILES_LISTS), \
|
||||
cat $(HOST_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-host.txt
|
||||
$(if $(STAGING_DIR_FILES_LISTS), \
|
||||
cat $(STAGING_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-staging.txt
|
||||
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-build script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
@@ -904,8 +892,7 @@ 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:
|
||||
@@ -1029,7 +1016,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
# staging and target directories do NOT list these as
|
||||
# dependencies anywhere else
|
||||
$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) $(PER_PACKAGE_DIR):
|
||||
$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
|
||||
@mkdir -p $@
|
||||
|
||||
# outputmakefile generates a Makefile in the output directory, if using a
|
||||
@@ -1061,7 +1048,7 @@ printvars:
|
||||
clean:
|
||||
rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
|
||||
$(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR)
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR)
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
||||
@@ -15,17 +15,11 @@ config BR2_archs38
|
||||
bool "ARC HS38"
|
||||
help
|
||||
Generic ARC HS capable of running Linux, i.e. with MMU,
|
||||
caches and 32-bit multiplier. Also it corresponds to the
|
||||
default configuration in older GNU toolchain versions.
|
||||
caches and multiplier. Also it corresponds to the default
|
||||
configuration in older GNU toolchain versions.
|
||||
|
||||
config BR2_archs38_64mpy
|
||||
bool "ARC HS38 with 64-bit mpy"
|
||||
help
|
||||
Fully featured ARC HS capable of running Linux, i.e. with
|
||||
MMU, caches and 64-bit multiplier.
|
||||
|
||||
If you're not sure which version of ARC HS core you build
|
||||
for use this one.
|
||||
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"
|
||||
@@ -49,7 +43,7 @@ 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_64mpy || BR2_archs38_full || BR2_archs4x_rel31
|
||||
default y if BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
|
||||
config BR2_ARCH
|
||||
default "arc" if BR2_arcle
|
||||
@@ -67,13 +61,12 @@ config BR2_GCC_TARGET_CPU
|
||||
default "arc700" if BR2_arc750d
|
||||
default "arc700" if BR2_arc770d
|
||||
default "archs" if BR2_archs38
|
||||
default "hs38" if BR2_archs38_64mpy
|
||||
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_64mpy || BR2_archs38_full || BR2_archs4x_rel31
|
||||
default "ARCv2" if BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
|
||||
choice
|
||||
prompt "MMU Page Size"
|
||||
@@ -93,7 +86,7 @@ choice
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_4K
|
||||
bool "4KB"
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_8K
|
||||
bool "8KB"
|
||||
@@ -103,7 +96,7 @@ config BR2_ARC_PAGE_SIZE_8K
|
||||
|
||||
config BR2_ARC_PAGE_SIZE_16K
|
||||
bool "16KB"
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
|
||||
depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,17 +1,4 @@
|
||||
ifeq ($(BR2_arc),y)
|
||||
|
||||
# -matomic is always required when the ARC core has the atomic extensions
|
||||
ifeq ($(BR2_ARC_ATOMIC_EXT),y)
|
||||
ifeq ($(BR2_arc)$(BR2_ARC_ATOMIC_EXT),yy)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS = -matomic
|
||||
endif
|
||||
|
||||
# Explicitly set LD's "max-page-size" instead of relying on some defaults
|
||||
ifeq ($(BR2_ARC_PAGE_SIZE_4K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=4096
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_8K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=8192
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_16K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=16384
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
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}"
|
||||
@@ -10,4 +10,3 @@ CONFIG_DRM_OMAP_WB_M2M=y
|
||||
CONFIG_DRM_TILCDC=y
|
||||
CONFIG_DRM_I2C_NXP_TDA998X=y
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_LEGACY=y
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
29
board/beaglebone/post-image.sh
Executable file
29
board/beaglebone/post-image.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
# post-image.sh for CircuitCo BeagleBone and TI am335x-evm
|
||||
# 2014, Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
|
||||
# 2016, Lothar Felten <lothar.felten@gmail.com>
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
# copy the uEnv.txt to the output/images directory
|
||||
cp board/beaglebone/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
|
||||
# the 4.1 kernel does not provide a dtb for beaglebone green, so we
|
||||
# use a different genimage config if am335x-bonegreen.dtb is not
|
||||
# built:
|
||||
if [ -e ${BINARIES_DIR}/am335x-bonegreen.dtb ] ; then
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
else
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage_linux41.cfg"
|
||||
fi
|
||||
|
||||
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}"
|
||||
@@ -3,9 +3,6 @@ devtype=mmc
|
||||
bootdir=
|
||||
bootfile=zImage
|
||||
bootpartition=mmcblk0p2
|
||||
console=ttyS0,115200n8
|
||||
loadaddr=0x82000000
|
||||
fdtaddr=0x88000000
|
||||
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
|
||||
set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
|
||||
|
||||
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,4 +0,0 @@
|
||||
label linux
|
||||
kernel /Image
|
||||
devicetree /sun50i-h6-beelink-gs1.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
@@ -1,33 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-h6-beelink-gs1.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
@@ -9,9 +9,9 @@ if itest.s x51 == "x${imx_cpu}" ; then
|
||||
a_base=0x90000000
|
||||
elif itest.s x53 == "x${imx_cpu}"; then
|
||||
a_base=0x70000000
|
||||
elif itest.s x6SX == "x${imx_cpu}" || itest.s x6ULL == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
|
||||
elif itest.s x6SX == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
|
||||
a_base=0x80000000
|
||||
elif itest.s x8MQ == "x${imx_cpu}" || itest.s x8MM == "x${imx_cpu}" || itest.s x8MMQ == "x${imx_cpu}" || itest.s x8MNano == "x${imx_cpu}"; then
|
||||
elif itest.s x8MQ == "x${imx_cpu}"; then
|
||||
a_base=0x40000000
|
||||
kernelimage=Image
|
||||
bootcommand=booti
|
||||
@@ -43,18 +43,10 @@ if itest.s "x" == "x${fdt_file}" ; then
|
||||
fdt_file=imx6qp-${board}.dtb;
|
||||
elif itest.s x6SX == "x${imx_cpu}" ; then
|
||||
fdt_file=imx6sx-${board}${m4}.dtb;
|
||||
elif itest.s x6ULL == "x${imx_cpu}" ; then
|
||||
fdt_file=imx6ull-${board}.dtb;
|
||||
elif itest.s x7D == "x${imx_cpu}" ; then
|
||||
fdt_file=imx7d-${board}${m4}.dtb;
|
||||
elif itest.s x8MQ == "x${imx_cpu}" ; then
|
||||
fdt_file=imx8mq-${board}${m4}.dtb;
|
||||
elif itest.s x8MM == "x${imx_cpu}" ; then
|
||||
fdt_file=imx8mm-${board}${m4}.dtb;
|
||||
elif itest.s x8MMQ == "x${imx_cpu}" ; then
|
||||
fdt_file=imx8mm-${board}${m4}.dtb;
|
||||
elif itest.s x8MNano == "x${imx_cpu}" ; then
|
||||
fdt_file=imx8mn-${board}${m4}.dtb;
|
||||
elif itest.s x51 == "x${imx_cpu}" ; then
|
||||
fdt_file=imx51-${board}.dtb;
|
||||
elif itest.s x53 == "x${imx_cpu}" ; then
|
||||
@@ -71,6 +63,7 @@ fi
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} uEnv.txt ; then
|
||||
env import -t ${a_script} ${filesize}
|
||||
fi
|
||||
|
||||
setenv bootargs ${bootargs} console=${console},115200 vmalloc=400M consoleblank=0 rootwait fixrtc cpu=${imx_cpu} board=${board}
|
||||
|
||||
if load ${devtype} ${devnum}:${distro_bootpart} ${a_fdt} ${prefix}${fdt_file} ; then
|
||||
@@ -81,20 +74,21 @@ else
|
||||
exit;
|
||||
fi
|
||||
|
||||
fdt resize 4096
|
||||
if itest.s "x" != "x${cmd_board}" ; then
|
||||
run cmd_board
|
||||
fi
|
||||
fdt resize
|
||||
if itest.s "x" != "x${cmd_custom}" ; then
|
||||
run cmd_custom
|
||||
fi
|
||||
if itest.s "x" != "x${cmd_hdmi}" ; then
|
||||
run cmd_hdmi
|
||||
if itest.s x != x${allow_noncea} ; then
|
||||
if itest.s x == x${allow_noncea} ; then
|
||||
setenv bootargs ${bootargs} mxc_hdmi.only_cea=1;
|
||||
echo "only CEA modes allowed on HDMI port";
|
||||
else
|
||||
setenv bootargs ${bootargs} mxc_hdmi.only_cea=0;
|
||||
echo "non-CEA modes allowed on HDMI, audio may be affected";
|
||||
fi
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${cmd_lcd}" ; then
|
||||
run cmd_lcd
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg
|
||||
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 $?
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Buildroot for Boundary Devices platforms:
|
||||
|
||||
https://boundarydevices.com/nitrogen-sbcs-and-soms/
|
||||
https://boundarydevices.com/product-category/popular-sbc-and-som-modules/
|
||||
|
||||
Here is the list of targeted platforms per defconfig:
|
||||
|
||||
@@ -19,19 +19,7 @@ Here is the list of targeted platforms per defconfig:
|
||||
- nitrogen7_defconfig
|
||||
- Nitrogen7
|
||||
|
||||
- nitrogen8m_defconfig
|
||||
- Nitrogen8M
|
||||
- Nitrogen8M_SOM
|
||||
|
||||
- nitrogen8mm_defconfig
|
||||
- Nitrogen8MMini
|
||||
- Nitrogen8MMini_SOM
|
||||
|
||||
- nitrogen8mn_defconfig
|
||||
- Nitrogen8MNano
|
||||
- Nitrogen8MNano_SOM
|
||||
|
||||
To install, simply copy the image to your storage (SD, eMMC, USB):
|
||||
To install, simply copy the image to a uSD card:
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
|
||||
@@ -13,14 +13,11 @@ if itest.s x51 == "x${imx_cpu}"; then
|
||||
a_base=0x92000000
|
||||
elif itest.s x53 == "x${imx_cpu}"; then
|
||||
a_base=0x72000000
|
||||
elif itest.s x6SX == "x${imx_cpu}" || itest.s x6ULL == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
|
||||
elif itest.s x6SX == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
|
||||
a_base=0x82000000
|
||||
elif itest.s x8MQ == "x${imx_cpu}" || itest.s x8MM == "x${imx_cpu}" || itest.s x8MMQ == "x${imx_cpu}"; then
|
||||
elif itest.s x8MQ == "x${imx_cpu}"; then
|
||||
a_base=0x42000000
|
||||
offset=0x8400
|
||||
elif itest.s x8MNano == "x${imx_cpu}"; then
|
||||
a_base=0x42000000
|
||||
offset=0x8000
|
||||
fi
|
||||
|
||||
qspi_match=1
|
||||
@@ -59,7 +56,6 @@ mmc dev ${env_dev} ${env_part}
|
||||
mmc read ${a_uImage2} ${cntoffset} ${cntfile}
|
||||
if cmp.b ${a_uImage1} ${a_uImage2} ${filesize} ; then
|
||||
echo "------- U-Boot versions match" ;
|
||||
echo "------- U-Boot upgrade NOT needed" ;
|
||||
exit ;
|
||||
fi
|
||||
|
||||
@@ -138,7 +134,7 @@ fi
|
||||
if cmp.b ${a_uImage1} ${a_uImage2} $filesize ; then
|
||||
echo "------- U-Boot versions match" ;
|
||||
if itest.s "${qspi_match}" == "1" ; then
|
||||
echo "------- U-Boot upgrade NOT needed" ;
|
||||
echo "------- upgrade not needed" ;
|
||||
if itest.s "x" != "x${next}" ; then
|
||||
if ${fs}load ${devtype} ${devnum}:${distro_bootpart} ${a_script} ${next} ; then
|
||||
source ${a_script}
|
||||
@@ -210,12 +206,6 @@ if itest.s "x" != "x${next}" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if itest.s "xno" == "x${reset}" ; then
|
||||
while echo "---- U-Boot upgraded. Please reset the board" ; do
|
||||
sleep 120
|
||||
done
|
||||
fi
|
||||
echo "---- U-Boot upgraded. The board will now reset."
|
||||
sleep 1
|
||||
reset
|
||||
while echo "---- U-Boot upgraded. Please reset the board" ; do
|
||||
sleep 120
|
||||
done
|
||||
|
||||
@@ -24,5 +24,6 @@ image sdcard.img {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
offset = 2M
|
||||
size = 60M
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"pbuffers": true,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "LVDS1",
|
||||
"name": "LVDS-1",
|
||||
"mode": "1280x800"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"pbuffers": true,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "LVDS1",
|
||||
"name": "LVDS-1",
|
||||
"mode": "1280x480"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"pbuffers": true,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "LVDS1",
|
||||
"name": "LVDS-1",
|
||||
"mode": "800x480"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
label RK3399RocPC linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/rk3399-roc-pc.dtb
|
||||
append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p1 rootwait
|
||||
@@ -1,22 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "idbloader.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 8M
|
||||
size = 30M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
||||
@@ -1,40 +0,0 @@
|
||||
Libre Computer Board ROC-RK3399-PC
|
||||
===================================
|
||||
|
||||
Build:
|
||||
|
||||
$ make roc_pc_rk3399_defconfig
|
||||
$ make
|
||||
|
||||
Files created in output directory
|
||||
=================================
|
||||
|
||||
output/images
|
||||
|
||||
├── bl31.elf
|
||||
├── idbloader.img
|
||||
├── Image
|
||||
├── rk3399-roc-pc.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
└── u-boot.itb
|
||||
|
||||
Creating bootable SD card:
|
||||
==========================
|
||||
|
||||
Simply invoke (as root)
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
|
||||
|
||||
Where X is your SD card device
|
||||
|
||||
Serial console
|
||||
--------------
|
||||
|
||||
Baudrate for this board is 1500000
|
||||
|
||||
Wiki link:
|
||||
https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/roc-rk3399-pc.html
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
label = "boot"
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
label = "boot"
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
label = "boot"
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
|
||||
@@ -10,35 +10,25 @@ main ()
|
||||
|
||||
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-nodtb.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
|
||||
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-nodtb.bin ATF_LOAD_ADDR=0x00920000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
|
||||
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
|
||||
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=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-nodtb.bin ATF_LOAD_ADDR=0x00960000 ${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 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
else
|
||||
${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit
|
||||
cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin
|
||||
cp ${BINARIES_DIR}/bl31.bin ${BINARIES_DIR}/u-boot-atf.bin
|
||||
dd if=${BINARIES_DIR}/u-boot-hash.bin of=${BINARIES_DIR}/u-boot-atf.bin bs=1K seek=128
|
||||
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then
|
||||
${HOST_DIR}/bin/mkimage_imx8 -soc QM -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qm-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a53 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
else
|
||||
${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
fi
|
||||
|
||||
${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
|
||||
|
||||
exit $?
|
||||
|
||||
@@ -32,9 +32,7 @@ linux_image()
|
||||
|
||||
genimage_type()
|
||||
{
|
||||
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_imx8"
|
||||
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
|
||||
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"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
label = "boot"
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
# ondemand governor with a mainline kernel.
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
|
||||
CONFIG_VIDEO_CODA=m
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
"pbuffers": true,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "HDMI1",
|
||||
"name": "HDMI-1",
|
||||
"mode": "off"
|
||||
},
|
||||
{
|
||||
"name": "LVDS1",
|
||||
"name": "LVDS-1",
|
||||
"mode": "1024x768"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
From 27a2cd6a1980adf3002412678c8fdec6528dc47d Mon Sep 17 00:00:00 2001
|
||||
From: Trent Piepho <tpiepho@impinj.com>
|
||||
Date: Fri, 6 Apr 2018 17:11:27 -0700
|
||||
Subject: [PATCH] imx: Create distinct pre-processed mkimage config files
|
||||
|
||||
Each imx image is created by a separate sub-make and during this process
|
||||
the mkimage config file is run though cpp.
|
||||
|
||||
The cpp output is to the same file no matter what imx image is being
|
||||
created.
|
||||
|
||||
This means if two imx images are generated in parallel they will attempt
|
||||
to independently produce the same pre-processed mkimage config file at
|
||||
the same time.
|
||||
|
||||
Avoid the problem by making the pre-processed config file name unique
|
||||
based on the imx image it will be used in. This way each image will
|
||||
create a unique config file and they won't clobber each other when run
|
||||
in parallel.
|
||||
|
||||
This should fixed the build bug referenced in b5b0e4e3 ("imximage:
|
||||
Remove failure when no IVT offset is found").
|
||||
|
||||
Cc: Breno Lima <breno.lima@nxp.com>
|
||||
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Cc: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
|
||||
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
[fabio: Adapted to imx_v2017.03_4.9.11_1.0.0_ga]
|
||||
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
||||
---
|
||||
arch/arm/imx-common/Makefile | 15 ++++++++-------
|
||||
1 file changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile
|
||||
index d862258..f1bae8d 100644
|
||||
--- a/arch/arm/imx-common/Makefile
|
||||
+++ b/arch/arm/imx-common/Makefile
|
||||
@@ -69,9 +69,11 @@ endif
|
||||
quiet_cmd_cpp_cfg = CFGS $@
|
||||
cmd_cpp_cfg = $(CPP) $(cpp_flags) -x c -o $@ $<
|
||||
|
||||
-IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%).cfgtmp
|
||||
+# mkimage source config file
|
||||
+IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%)
|
||||
|
||||
-$(IMX_CONFIG): %.cfgtmp: % FORCE
|
||||
+# How to create a cpp processed config file, they all use the same source
|
||||
+%.cfgout: $(IMX_CONFIG) FORCE
|
||||
$(Q)mkdir -p $(dir $@)
|
||||
$(call if_changed_dep,cpp_cfg)
|
||||
|
||||
@@ -79,7 +81,7 @@ MKIMAGEFLAGS_u-boot.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imxim
|
||||
-e $(CONFIG_SYS_TEXT_BASE)
|
||||
u-boot.imx: MKIMAGEOUTPUT = u-boot.imx.log
|
||||
|
||||
-u-boot.imx: u-boot.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+u-boot.imx: u-boot.bin u-boot.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
|
||||
ifeq ($(CONFIG_OF_SEPARATE),y)
|
||||
@@ -87,16 +89,15 @@ MKIMAGEFLAGS_u-boot-dtb.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T i
|
||||
-e $(CONFIG_SYS_TEXT_BASE)
|
||||
u-boot-dtb.imx: MKIMAGEOUTPUT = u-boot-dtb.imx.log
|
||||
|
||||
-u-boot-dtb.imx: u-boot-dtb.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+u-boot-dtb.imx: u-boot-dtb.bin u-boot-dtb.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
endif
|
||||
|
||||
MKIMAGEFLAGS_SPL = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imximage \
|
||||
-e $(CONFIG_SPL_TEXT_BASE)
|
||||
-
|
||||
SPL: MKIMAGEOUTPUT = SPL.log
|
||||
|
||||
-SPL: spl/u-boot-spl.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+SPL: spl/u-boot-spl.bin spl/u-boot-spl.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
|
||||
MKIMAGEFLAGS_u-boot.uim = -A arm -O U-Boot -a $(CONFIG_SYS_TEXT_BASE) \
|
||||
@@ -124,4 +125,4 @@ cmd_u-boot-nand-spl_imx = (printf '\000\000\000\000\106\103\102\040\001' && \
|
||||
spl/u-boot-nand-spl.imx: SPL FORCE
|
||||
$(call if_changed,u-boot-nand-spl_imx)
|
||||
|
||||
-targets += $(addprefix ../../../,$(IMX_CONFIG) SPL u-boot.uim spl/u-boot-nand-spl.imx)
|
||||
+targets += $(addprefix ../../../,SPL spl/u-boot-spl.cfgout u-boot-dtb.cfgout u-boot.cfgout u-boot.uim spl/u-boot-nand-spl.imx)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From e9b507b695331ef6fa941b471be0a7f284ec6980 Mon Sep 17 00:00:00 2001
|
||||
From 90ecc0ad14337898b75843efc6530fc4a34f7808 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@freescale.com>
|
||||
Date: Tue, 12 Aug 2014 10:17:31 +0200
|
||||
Subject: [PATCH] mx6qsabre_common: boot Linux to /init in mfgtools mode
|
||||
@@ -14,24 +14,23 @@ This patch tells u-boot to tell the kernel to boot into /init (instead of
|
||||
buildroot system entirely through USB.
|
||||
|
||||
Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
|
||||
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
|
||||
---
|
||||
include/configs/imx_env.h | 2 +-
|
||||
include/configs/mx6sabre_common.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/configs/imx_env.h b/include/configs/imx_env.h
|
||||
index 234af33e55..7e31d208dc 100644
|
||||
--- a/include/configs/imx_env.h
|
||||
+++ b/include/configs/imx_env.h
|
||||
@@ -20,7 +20,7 @@
|
||||
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
|
||||
index 93d4c4b..d2e7efd 100644
|
||||
--- a/include/configs/mx6sabre_common.h
|
||||
+++ b/include/configs/mx6sabre_common.h
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
#define CONFIG_MFG_ENV_SETTINGS_DEFAULT \
|
||||
"mfgtool_args=setenv bootargs console=${console},${baudrate} " \
|
||||
#define CONFIG_MFG_ENV_SETTINGS \
|
||||
"mfgtool_args=setenv bootargs console=" CONSOLE_DEV ",115200 " \
|
||||
- "rdinit=/linuxrc " \
|
||||
+ "rdinit=/init " \
|
||||
"clk_ignore_unused "\
|
||||
"\0" \
|
||||
"kboot="MFG_BOOT_CMD"\0"\
|
||||
"g_mass_storage.stall=0 g_mass_storage.removable=1 " \
|
||||
"g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\
|
||||
"g_mass_storage.iSerialNumber=\"\" "\
|
||||
--
|
||||
2.25.1
|
||||
2.1.4
|
||||
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
****************************
|
||||
Freescale i.MX6ULL EVK board
|
||||
****************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX6ULL EVK board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your i.MX6ULL EVK board:
|
||||
|
||||
make freescale_imx6ullevk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- boot.vfat
|
||||
- imx6ull-14x14-evk.dtb
|
||||
- rootfs.ext2
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.bin
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=./output/images/sdcard.img of=/dev/<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.
|
||||
|
||||
Boot the i.MX6ULL EVK board
|
||||
===========================
|
||||
|
||||
To boot your newly created system (refer to the i.MX 6ULL EVK Quick Start Guide [1] for guidance):
|
||||
- insert the SD card in the micro SD slot of the board;
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
|
||||
References
|
||||
==========
|
||||
[1] https://www.nxp.com/files-static/32bit/doc/brochure/IMX6ULLQSG.pdf
|
||||
@@ -0,0 +1,89 @@
|
||||
From 27a2cd6a1980adf3002412678c8fdec6528dc47d Mon Sep 17 00:00:00 2001
|
||||
From: Trent Piepho <tpiepho@impinj.com>
|
||||
Date: Fri, 6 Apr 2018 17:11:27 -0700
|
||||
Subject: [PATCH] imx: Create distinct pre-processed mkimage config files
|
||||
|
||||
Each imx image is created by a separate sub-make and during this process
|
||||
the mkimage config file is run though cpp.
|
||||
|
||||
The cpp output is to the same file no matter what imx image is being
|
||||
created.
|
||||
|
||||
This means if two imx images are generated in parallel they will attempt
|
||||
to independently produce the same pre-processed mkimage config file at
|
||||
the same time.
|
||||
|
||||
Avoid the problem by making the pre-processed config file name unique
|
||||
based on the imx image it will be used in. This way each image will
|
||||
create a unique config file and they won't clobber each other when run
|
||||
in parallel.
|
||||
|
||||
This should fixed the build bug referenced in b5b0e4e3 ("imximage:
|
||||
Remove failure when no IVT offset is found").
|
||||
|
||||
Cc: Breno Lima <breno.lima@nxp.com>
|
||||
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Cc: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
|
||||
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
[fabio: Adapted to imx_v2017.03_4.9.11_1.0.0_ga]
|
||||
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
||||
---
|
||||
arch/arm/imx-common/Makefile | 15 ++++++++-------
|
||||
1 file changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile
|
||||
index d862258..f1bae8d 100644
|
||||
--- a/arch/arm/imx-common/Makefile
|
||||
+++ b/arch/arm/imx-common/Makefile
|
||||
@@ -69,9 +69,11 @@ endif
|
||||
quiet_cmd_cpp_cfg = CFGS $@
|
||||
cmd_cpp_cfg = $(CPP) $(cpp_flags) -x c -o $@ $<
|
||||
|
||||
-IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%).cfgtmp
|
||||
+# mkimage source config file
|
||||
+IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%)
|
||||
|
||||
-$(IMX_CONFIG): %.cfgtmp: % FORCE
|
||||
+# How to create a cpp processed config file, they all use the same source
|
||||
+%.cfgout: $(IMX_CONFIG) FORCE
|
||||
$(Q)mkdir -p $(dir $@)
|
||||
$(call if_changed_dep,cpp_cfg)
|
||||
|
||||
@@ -79,7 +81,7 @@ MKIMAGEFLAGS_u-boot.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imxim
|
||||
-e $(CONFIG_SYS_TEXT_BASE)
|
||||
u-boot.imx: MKIMAGEOUTPUT = u-boot.imx.log
|
||||
|
||||
-u-boot.imx: u-boot.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+u-boot.imx: u-boot.bin u-boot.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
|
||||
ifeq ($(CONFIG_OF_SEPARATE),y)
|
||||
@@ -87,16 +89,15 @@ MKIMAGEFLAGS_u-boot-dtb.imx = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T i
|
||||
-e $(CONFIG_SYS_TEXT_BASE)
|
||||
u-boot-dtb.imx: MKIMAGEOUTPUT = u-boot-dtb.imx.log
|
||||
|
||||
-u-boot-dtb.imx: u-boot-dtb.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+u-boot-dtb.imx: u-boot-dtb.bin u-boot-dtb.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
endif
|
||||
|
||||
MKIMAGEFLAGS_SPL = -n $(filter-out $(PLUGIN).bin $< $(PHONY),$^) -T imximage \
|
||||
-e $(CONFIG_SPL_TEXT_BASE)
|
||||
-
|
||||
SPL: MKIMAGEOUTPUT = SPL.log
|
||||
|
||||
-SPL: spl/u-boot-spl.bin $(IMX_CONFIG) $(PLUGIN).bin FORCE
|
||||
+SPL: spl/u-boot-spl.bin spl/u-boot-spl.cfgout $(PLUGIN).bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
|
||||
MKIMAGEFLAGS_u-boot.uim = -A arm -O U-Boot -a $(CONFIG_SYS_TEXT_BASE) \
|
||||
@@ -124,4 +125,4 @@ cmd_u-boot-nand-spl_imx = (printf '\000\000\000\000\106\103\102\040\001' && \
|
||||
spl/u-boot-nand-spl.imx: SPL FORCE
|
||||
$(call if_changed,u-boot-nand-spl_imx)
|
||||
|
||||
-targets += $(addprefix ../../../,$(IMX_CONFIG) SPL u-boot.uim spl/u-boot-nand-spl.imx)
|
||||
+targets += $(addprefix ../../../,SPL spl/u-boot-spl.cfgout u-boot-dtb.cfgout u-boot.cfgout u-boot.uim spl/u-boot-nand-spl.imx)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
***************************
|
||||
Freescale i.MX8QM MEK board
|
||||
***************************
|
||||
|
||||
This file documents the Buildroot support for the NXP i.MX8QM MEK board.
|
||||
|
||||
You will find a reference to the board on nxp.com:
|
||||
https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8quadmax-multisensory-enablement-kit-mek:MCIMX8QM-CPU
|
||||
|
||||
You can also find the get started guide here:
|
||||
https://www.nxp.com/document/guide/get-started-with-the-i.mx-8quadmax-mek:GS-iMX-8QM-MEK
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX8QM MEK board:
|
||||
|
||||
$ make freescale_imx8qmmek_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
$ make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- ahab-container.img
|
||||
- bl31.bin
|
||||
- boot.vfat
|
||||
- fsl-imx8qm-mek.dtb
|
||||
- Image
|
||||
- imx8-boot-sd.bin
|
||||
- mkimg.commit
|
||||
- mx8qm-mek-scfw-tcm.bin
|
||||
- mx8qm-val-scfw-tcm.bin
|
||||
- mx8qm-a0-ddr4-scfw-tcm.bin
|
||||
- mx8qm-a0-mek-scfw-tcm.bin
|
||||
- mx8qm-a0-val-scfw-tcm.bin
|
||||
- mx8qm-ddr4-scfw-tcm.bin
|
||||
- rootfs.ext2
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot-atf.bin
|
||||
- u-boot.bin
|
||||
- u-boot-hash.bin
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<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.MX8QM MEK board
|
||||
==========================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- Configure the boot switch as follows:
|
||||
SW2: OFF OFF ON ON OFF OFF
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,4 +0,0 @@
|
||||
label linux
|
||||
kernel /Image
|
||||
devicetree /sun50i-h5-nanopi-neo-plus2.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
@@ -1,39 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-h5-nanopi-neo-plus2.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
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,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
@@ -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
|
||||
@@ -29,5 +29,6 @@ image sdcard.img {
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 32M
|
||||
}
|
||||
}
|
||||
|
||||
12
board/friendlyarm/nanopi-neo/post-build.sh
Executable file
12
board/friendlyarm/nanopi-neo/post-build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# post-build.sh for Nanopi NEO, based on the Orange Pi PC
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
# 2016, "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
BOARD_DIR="$( dirname "${0}" )"
|
||||
MKIMAGE="${HOST_DIR}/bin/mkimage"
|
||||
BOOT_CMD="${BOARD_DIR}/boot.cmd"
|
||||
BOOT_CMD_H="${BINARIES_DIR}/boot.scr"
|
||||
|
||||
# U-Boot script
|
||||
"${MKIMAGE}" -C none -A arm -T script -d "${BOOT_CMD}" "${BOOT_CMD_H}"
|
||||
15
board/friendlyarm/nanopi-neo/post-image.sh
Executable file
15
board/friendlyarm/nanopi-neo/post-image.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# post-image.sh for Nanopi NEO, based on the Orange Pi PC
|
||||
|
||||
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,4 +0,0 @@
|
||||
label NanoPi Neo4 linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/rk3399-nanopi-neo4.dtb
|
||||
append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p1 rootwait
|
||||
@@ -1,22 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "idbloader.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 8M
|
||||
size = 30M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
||||
@@ -1,53 +0,0 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
NanoPi Neo4 is a RK3399 SoC based ARM64 board.
|
||||
|
||||
|
||||
Official wiki: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO4
|
||||
Mainline wiki: https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/neo4.html
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
Run NanoPi Neo4 configuration
|
||||
|
||||
$ make nanopi_neo4_defconfig
|
||||
|
||||
To build, run make comamnd.
|
||||
|
||||
$ make
|
||||
|
||||
Files created in output directory
|
||||
=================================
|
||||
|
||||
output/images
|
||||
|
||||
├── bl31.bin
|
||||
├── bl31.elf
|
||||
├── Image
|
||||
├── rk3399-nanopi-neo4.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
├── u-boot.itb
|
||||
├── u-boot-spl-dtb.bin
|
||||
├── u-boot-tpl-dtb.bin
|
||||
├── u-boot-tpl-dtb.img
|
||||
└── u-boot-tpl-spl-dtb.img
|
||||
|
||||
Creating bootable SD card:
|
||||
=========================
|
||||
|
||||
Simply invoke (as root)
|
||||
|
||||
# dd if=output/images/sdcard.img of=/dev/sdX && sync
|
||||
|
||||
Where X is your SD card device
|
||||
|
||||
Serial console
|
||||
--------------
|
||||
|
||||
Baudrate for this board is 1500000
|
||||
@@ -1,8 +0,0 @@
|
||||
setenv fdt_high ffffffff
|
||||
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun8i-h3-nanopi-r1.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,36 +0,0 @@
|
||||
# Minimal SD card image for the NanoPi M1
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h3-nanopi-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,2 +0,0 @@
|
||||
# USB ethernet
|
||||
CONFIG_USB_RTL8152=y
|
||||
@@ -1,170 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Igor Pecovnik <igor@armbian.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 = "FriendlyElec NanoPi-R1";
|
||||
compatible = "friendlyarm,nanopi-r1", "allwinner,sun8i-h3";
|
||||
|
||||
aliases {
|
||||
serial1 = &uart3;
|
||||
ethernet0 = &emac;
|
||||
ethernet1 = &emac;
|
||||
ethernet2 = &sdio_wifi;
|
||||
};
|
||||
|
||||
wifi_pwrseq: wifi_pwrseq {
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
|
||||
};
|
||||
|
||||
reg_gmac_3v3: gmac-3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "gmac-3v3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
startup-delay-us = <100000>;
|
||||
enable-active-high;
|
||||
gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
leds {
|
||||
/delete-node/ status;
|
||||
/delete-node/ pwr;
|
||||
led1 {
|
||||
label = "LED1";
|
||||
gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led2 {
|
||||
label = "LED2";
|
||||
gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "netdev";
|
||||
};
|
||||
|
||||
led3 {
|
||||
label = "LED3";
|
||||
gpios = <&pio 0 9 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "netdev";
|
||||
};
|
||||
};
|
||||
|
||||
r_gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
input-name = "k1";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sw_r_npi>;
|
||||
|
||||
/delete-node/ k1;
|
||||
reset {
|
||||
label = "reset";
|
||||
linux,code = <BTN_1>;
|
||||
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&emac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_rgmii_pins>;
|
||||
phy-supply = <®_gmac_3v3>;
|
||||
phy-handle = <&ext_rgmii_phy>;
|
||||
phy-mode = "rgmii";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&external_mdio {
|
||||
ext_rgmii_phy: ethernet-phy@1 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <7>;
|
||||
};
|
||||
};
|
||||
|
||||
&mmc1 {
|
||||
vmmc-supply = <®_vcc3v3>;
|
||||
vqmmc-supply = <®_vcc3v3>;
|
||||
mmc-pwrseq = <&wifi_pwrseq>;
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
|
||||
sdio_wifi: sdio_wifi@1 {
|
||||
reg = <1>;
|
||||
compatible = "brcm,bcm4329-fmac";
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <6 10 IRQ_TYPE_LEVEL_LOW>; /* PG10 / EINT10 */
|
||||
interrupt-names = "host-wake";
|
||||
};
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_8bit_pins>;
|
||||
vmmc-supply = <®_vcc3v3>;
|
||||
vqmmc-supply = <®_vcc3v3>;
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_otg {
|
||||
dr_mode = "peripheral";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -1,29 +0,0 @@
|
||||
NanoPi R1
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the NanoPi 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 nanopi_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
|
||||
@@ -1,22 +0,0 @@
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_SUNXI=y
|
||||
CONFIG_SPL=y
|
||||
CONFIG_MACH_SUN8I_H3=y
|
||||
CONFIG_DRAM_CLK=408
|
||||
CONFIG_DRAM_ZQ=3881979
|
||||
CONFIG_DRAM_ODT_EN=y
|
||||
CONFIG_MACPWR="PD6"
|
||||
# CONFIG_VIDEO_DE2 is not set
|
||||
CONFIG_NR_DRAM_BANKS=1
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
CONFIG_SYS_CLK_FREQ=480000000
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-r1"
|
||||
CONFIG_SUN8I_EMAC=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
@@ -1,102 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Igor Pecovnik <igor@armbian.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 R1";
|
||||
compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3";
|
||||
|
||||
reg_gmac_3v3: gmac-3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
regulator-name = "gmac-3v3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
startup-delay-us = <100000>;
|
||||
enable-active-high;
|
||||
gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pio {
|
||||
gmac_power_pin_nanopi: gmac_power_pin@0 {
|
||||
pins = "PD6";
|
||||
function = "gpio_out";
|
||||
};
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_8bit_pins>;
|
||||
vmmc-supply = <®_vcc3v3>;
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
cap-mmc-hw-reset;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_rgmii_pins>;
|
||||
phy-supply = <®_gmac_3v3>;
|
||||
phy-handle = <&ext_rgmii_phy>;
|
||||
phy-mode = "rgmii";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&external_mdio {
|
||||
ext_rgmii_phy: ethernet-phy@1 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <7>;
|
||||
};
|
||||
};
|
||||
14
board/grinn/chiliboard/post-image.sh
Executable file
14
board/grinn/chiliboard/post-image.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
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}"
|
||||
14
board/grinn/liteboard/post-image.sh
Executable file
14
board/grinn/liteboard/post-image.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
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}"
|
||||
176
board/hardkernel/odroidc2/boot.ini
Normal file
176
board/hardkernel/odroidc2/boot.ini
Normal file
@@ -0,0 +1,176 @@
|
||||
ODROIDC2-UBOOT-CONFIG
|
||||
|
||||
########################################################################
|
||||
# Changes made to this are overwritten every time there's a new upgrade
|
||||
# To make your changes permanent change it on
|
||||
# boot.ini.default
|
||||
# After changing it on boot.ini.default run the bootini command to
|
||||
# rewrite this file with your personal permanent settings.
|
||||
# Documentation: http://odroid.com/dokuwiki/doku.php?id=en:c2_persistent_bootini
|
||||
########################################################################
|
||||
|
||||
# Possible screen resolutions
|
||||
# Uncomment only a single Line! The line with setenv written.
|
||||
# At least one mode must be selected.
|
||||
|
||||
# Custom modeline!
|
||||
# To use custom modeline you need to disable all the below resolutions
|
||||
# and setup your own!
|
||||
# For more information check our wiki:
|
||||
# http://odroid.com/dokuwiki/doku.php?id=en:c2_hdmi_autosetting
|
||||
# Example below:
|
||||
# setenv m "custombuilt"
|
||||
# setenv modeline "1920,1200,154000,74040,60,1920,1968,2000,2080,1200,1202,1208,1235,1,0,1"
|
||||
|
||||
# 480 Lines (720x480)
|
||||
# setenv m "480i60hz" # Interlaced 60Hz
|
||||
# setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
|
||||
# setenv m "480p60hz" # 480 Progressive 60Hz
|
||||
# setenv m "480p_rpt" # 480 Progressive for Rear Projection Televisions 60Hz
|
||||
|
||||
# 576 Lines (720x576)
|
||||
# setenv m "576i50hz" # Interlaced 50Hz
|
||||
# setenv m "576i_rpt" # Interlaced for Rear Projection Televisions 50Hz
|
||||
# setenv m "576p50hz" # Progressive 50Hz
|
||||
# setenv m "576p_rpt" # Progressive for Rear Projection Televisions 50Hz
|
||||
|
||||
# 720 Lines (1280x720)
|
||||
# setenv m "720p50hz" # 50Hz
|
||||
# setenv m "720p60hz" # 60Hz
|
||||
|
||||
# 1080 Lines (1920x1080)
|
||||
# setenv m "1080i60hz" # Interlaced 60Hz
|
||||
setenv m "1080p60hz" # Progressive 60Hz
|
||||
# setenv m "1080i50hz" # Interlaced 50Hz
|
||||
# setenv m "1080p50hz" # Progressive 50Hz
|
||||
# setenv m "1080p24hz" # Progressive 24Hz
|
||||
|
||||
# 4K (3840x2160)
|
||||
# setenv m "2160p30hz" # Progressive 30Hz
|
||||
# setenv m "2160p25hz" # Progressive 25Hz
|
||||
# setenv m "2160p24hz" # Progressive 24Hz
|
||||
# setenv m "smpte24hz" # Progressive 24Hz SMPTE
|
||||
# setenv m "2160p50hz" # Progressive 50Hz
|
||||
# setenv m "2160p60hz" # Progressive 60Hz
|
||||
# setenv m "2160p50hz420" # Progressive 50Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
||||
# setenv m "2160p60hz420" # Progressive 60Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
||||
|
||||
### VESA modes ###
|
||||
# setenv m "640x480p60hz"
|
||||
# setenv m "800x480p60hz"
|
||||
# setenv m "480x800p60hz"
|
||||
# setenv m "800x600p60hz"
|
||||
# setenv m "1024x600p60hz"
|
||||
# setenv m "1024x768p60hz"
|
||||
# setenv m "1280x800p60hz"
|
||||
# setenv m "1280x1024p60hz"
|
||||
# setenv m "1360x768p60hz"
|
||||
# setenv m "1440x900p60hz"
|
||||
# setenv m "1600x900p60hz"
|
||||
# setenv m "1680x1050p60hz"
|
||||
# setenv m "1600x1200p60hz"
|
||||
# setenv m "1920x1200p60hz"
|
||||
# setenv m "2560x1080p60hz"
|
||||
# setenv m "2560x1440p60hz"
|
||||
# setenv m "2560x1600p60hz"
|
||||
# setenv m "3440x1440p60hz"
|
||||
|
||||
# HDMI BPP Mode
|
||||
setenv m_bpp "32"
|
||||
# setenv m_bpp "24"
|
||||
# setenv m_bpp "16"
|
||||
|
||||
# HDMI DVI/VGA modes
|
||||
# By default its set to HDMI, if needed change below.
|
||||
# Uncomment only a single Line.
|
||||
# setenv vout "dvi"
|
||||
# setenv vout "vga"
|
||||
|
||||
# HDMI HotPlug Detection control
|
||||
# Allows you to force HDMI thinking that the cable is connected.
|
||||
# true = HDMI will believe that cable is always connected
|
||||
# false = will let board/monitor negotiate the connection status
|
||||
setenv hpd "true"
|
||||
# setenv hpd "false"
|
||||
|
||||
# Monitor output
|
||||
# Controls if HDMI PHY should output anything to the monitor
|
||||
setenv monitor_onoff "false" # true or false
|
||||
|
||||
# Server Mode (aka. No Graphics)
|
||||
# Setting nographics to 1 will disable all video subsystem
|
||||
# This mode is ideal of server type usage. (Saves ~300Mb of RAM)
|
||||
setenv nographics "0"
|
||||
|
||||
# Meson Timer
|
||||
# 1 - Meson Timer
|
||||
# 0 - Arch Timer
|
||||
# Using meson_timer improves the video playback however it breaks KVM (virtualization).
|
||||
# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
|
||||
setenv mesontimer "1"
|
||||
|
||||
# UHS (Ultra High Speed) MicroSD mode enable/disable
|
||||
setenv disableuhs "false"
|
||||
|
||||
# MicroSD Card Detection enable/disable
|
||||
# Force the MMC controlled to believe that a card is connected.
|
||||
setenv mmc_removable "true"
|
||||
|
||||
# USB Multi WebCam tweak
|
||||
# Only enable this if you use it.
|
||||
setenv usbmulticam "false"
|
||||
|
||||
# Default Console Device Setting
|
||||
setenv condev "console=ttyS0,115200n8 console=tty0" # on both
|
||||
|
||||
# CPU Frequency / Cores control
|
||||
###########################################
|
||||
### WARNING!!! WARNING!!! WARNING!!!
|
||||
# Before changing anything here please read the wiki entry:
|
||||
# http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq
|
||||
#
|
||||
# MAX CPU's
|
||||
# setenv maxcpus "1"
|
||||
# setenv maxcpus "2"
|
||||
# setenv maxcpus "3"
|
||||
setenv maxcpus "4"
|
||||
|
||||
# MAX Frequency
|
||||
# setenv max_freq "2016" # 2.016GHz
|
||||
# setenv max_freq "1944" # 1.944GHz
|
||||
# setenv max_freq "1944" # 1.944GHz
|
||||
# setenv max_freq "1920" # 1.920GHz
|
||||
# setenv max_freq "1896" # 1.896GHz
|
||||
# setenv max_freq "1752" # 1.752GHz
|
||||
# setenv max_freq "1680" # 1.680GHz
|
||||
# setenv max_freq "1656" # 1.656GHz
|
||||
setenv max_freq "1536" # 1.536GHz
|
||||
|
||||
|
||||
|
||||
###########################################
|
||||
|
||||
# Boot Arguments
|
||||
if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
|
||||
|
||||
setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam}"
|
||||
|
||||
# Booting
|
||||
|
||||
setenv loadaddr "0x11000000"
|
||||
setenv dtb_loadaddr "0x1000000"
|
||||
setenv initrd_loadaddr "0x13000000"
|
||||
|
||||
fatload mmc 0:1 ${loadaddr} Image
|
||||
fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
|
||||
fdt addr ${dtb_loadaddr}
|
||||
|
||||
if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu@0/timer; fdt rm /cpus/cpu@1/timer; fdt rm /cpus/cpu@2/timer; fdt rm /cpus/cpu@3/timer; fi
|
||||
if test "${mesontimer}" = "1"; then fdt rm /timer; fi
|
||||
|
||||
if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi
|
||||
if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
|
||||
if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
|
||||
if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi
|
||||
|
||||
booti ${loadaddr} - ${dtb_loadaddr}
|
||||
@@ -1,24 +1,22 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img",
|
||||
"zImage",
|
||||
"am5729-beagleboneai.dtb",
|
||||
"uEnv.txt"
|
||||
"boot.ini",
|
||||
"Image",
|
||||
"meson64_odroidc2.dtb"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition vfat {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
image = "boot.vfat"
|
||||
offset = 1048576
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
19
board/hardkernel/odroidc2/post-image.sh
Executable file
19
board/hardkernel/odroidc2/post-image.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
cp ${BOARD_DIR}/boot.ini ${BINARIES_DIR}/
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
dd if=${BINARIES_DIR}/u-boot.bin of=${BINARIES_DIR}/sdcard.img bs=1 count=442 conv=sync,notrunc
|
||||
dd if=${BINARIES_DIR}/u-boot.bin of=${BINARIES_DIR}/sdcard.img bs=512 skip=1 seek=1 conv=fsync,notrunc
|
||||
53
board/hardkernel/odroidc2/readme.txt
Normal file
53
board/hardkernel/odroidc2/readme.txt
Normal file
@@ -0,0 +1,53 @@
|
||||
ODROID-C2
|
||||
|
||||
Intro
|
||||
=====
|
||||
To be able to use ODROID-C2 board with the images generated by
|
||||
Buildroot, you have to prepare the SDCard or eMMC.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make odroidc2_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- Image
|
||||
+-- boot.ini [1]
|
||||
+-- boot.vfat
|
||||
+-- meson64_odroidc2.dtb
|
||||
+-- rootfs.ext2
|
||||
+-- rootfs.ext4
|
||||
+-- rootfs.tar
|
||||
+-- sdcard.img
|
||||
`-- u-boot.bin
|
||||
|
||||
[1] This is the ODROID-C2 configuration file used in u-boot.
|
||||
|
||||
How to write the SD card or eMMC
|
||||
================================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card or eMMC with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Insert the SDcard into your ODROID-C2, and power it up. Your new system
|
||||
should come up now.
|
||||
@@ -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.
|
||||
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}"
|
||||
@@ -1,9 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_LIBERTAS=m
|
||||
CONFIG_INPUT_MOUSEDEV=y
|
||||
CONFIG_INPUT_MOUSEDEV_PSAUX=y
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1200
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=900
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_INPUT_TABLET=y
|
||||
CONFIG_SERIO_OLPC_APSP=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_BATTERY_OLPC=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_MEDIA_CONTROLLER=y
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
CONFIG_MEDIA_USB_SUPPORT=y
|
||||
CONFIG_USB_VIDEO_CLASS=m
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_PANEL_SIMPLE=m
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FB_SIMPLE=y
|
||||
CONFIG_LCD_CLASS_DEVICE=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_TER16x32=y
|
||||
@@ -1,46 +0,0 @@
|
||||
\ OLPC XO boot script
|
||||
|
||||
: (visible) " unfreeze visible" evaluate ;
|
||||
' (visible) catch drop forget (visible)
|
||||
|
||||
" /aliases" find-device " last" get-property
|
||||
abort" No last alias"
|
||||
" /pci/sd@c" 2over substring? if " root=/dev/mmcblk0p1 " to boot-file then
|
||||
" /sd/sdhci@d4280000" 2over substring? if " root=/dev/mmcblk1p1 " to boot-file then
|
||||
" /pci/usb@" 2over substring? if " root=/dev/sda1 " to boot-file then
|
||||
" /usb@" 2over substring? if " root=/dev/sda1 " to boot-file then
|
||||
2drop
|
||||
|
||||
root-device " compatible" get-property dend if 0 0 then ( compatible$ )
|
||||
" olpc,xo-1.75" 2over sindex -1 > if ( compatible$ )
|
||||
\ Version check on XO-1.75
|
||||
" mrvl,mmp2" 2over sindex -1 = if ( compatible$ )
|
||||
2drop ( )
|
||||
cr
|
||||
." Firmware Q4E00 or newer is needed to boot a Devicetree enabled kernel." cr
|
||||
cr
|
||||
." One way to update is to copy http://dev.laptop.org/~quozl/q4e00ja.rom" cr
|
||||
." to a FAT partition on a USB flash stick and run ""flash u:\q4e00ja.rom""" cr
|
||||
cr
|
||||
." Aborting boot." cr
|
||||
" show-sad" evaluate
|
||||
abort
|
||||
then
|
||||
then ( compatible$ )
|
||||
|
||||
" mmp" 2swap sindex -1 > if
|
||||
\ A Marvell MMP-based machine
|
||||
" last:\boot\zImage" to boot-device
|
||||
boot-file " console=ttyS2,115200 " $cat2 to boot-file
|
||||
else
|
||||
\ Assume XO-1
|
||||
" last:\boot\bzImage" to boot-device
|
||||
boot-file " console=ttyS0,115200 reboot=pci " $cat2 to boot-file
|
||||
then
|
||||
|
||||
\ Pick a terminal that looks better on the XO screen
|
||||
root-device " architecture" get-property dend if 0 0 else 1- then
|
||||
" OLPC" $= if boot-file " fbcon=font:TER16x32 vt.color=0xf0 " $cat2 to boot-file then
|
||||
|
||||
boot-file " console=tty0 rootwait" $cat2 to boot-file
|
||||
boot
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
install -m 0644 -D $BOARD_DIR/olpc.fth $TARGET_DIR/boot/olpc.fth
|
||||
@@ -1,78 +0,0 @@
|
||||
OLPC XO Laptops
|
||||
===============
|
||||
|
||||
This document explains how to build and run images that run on the OLPC
|
||||
XO laptops.
|
||||
|
||||
Supported models
|
||||
----------------
|
||||
|
||||
* OLPC XO-1
|
||||
The original NS Geode based OLPC laptop, uses the x86 architecture.
|
||||
|
||||
* OLPC XO-7.5
|
||||
The ARM-based laptop. Needs a recent enough firmware to provide a good
|
||||
enough flattened device tree to the kernel.
|
||||
|
||||
Configure and build
|
||||
===================
|
||||
|
||||
$ make olpc_xo1_defconfig # Configure for XO-1
|
||||
|
||||
or:
|
||||
|
||||
$ make olpc_xo175_defconfig # Configure for XO-1.75
|
||||
|
||||
Then:
|
||||
|
||||
$ make menuconfig # Customize the build configuration
|
||||
$ make # Build
|
||||
|
||||
Create the bootable media
|
||||
=========================
|
||||
|
||||
When the build is finished, the resulting image file will be called
|
||||
"sdcard.img". It can be written directly to a SD-card or and USB flash stick.
|
||||
|
||||
Please double check that you're using the right device (e.g. with "lsblk"
|
||||
command). Doing the following will DESTROY ALL DATA that's currently on the
|
||||
media.
|
||||
|
||||
# cat output/images/sdcard.img >/dev/<device>
|
||||
|
||||
Preparing the machine
|
||||
=====================
|
||||
|
||||
Firmware security
|
||||
-----------------
|
||||
|
||||
Most OLPC machines were shipped with the security system that disallows
|
||||
booting unsigned software. If this is the case with your machine, in order
|
||||
to run the image you've built on it you'll need to get a developer key and
|
||||
deactivate the security system.
|
||||
|
||||
The procedure is descriped in the OLPC wiki:
|
||||
http://wiki.laptop.org/go/Activation_and_Developer_Keys
|
||||
|
||||
Firmware upgrade
|
||||
----------------
|
||||
|
||||
It is always preferrable to use an up to date firmware. The firmware images
|
||||
are available at http://wiki.laptop.org/go/Firmware. For the XO-1.75 laptop
|
||||
to boot the mainline kernel a firmware Q4E00JA or newer is needed. You can
|
||||
get it at http://dev.laptop.org/~quozl/q4e00ja.rom.
|
||||
|
||||
To update the firmware, place the .rom file on to your bootable media,
|
||||
connect a charged battery pack and a wall adapter, and enter the Open
|
||||
Firmware prompt by pressing ESC during the early boot (needs an unlocked
|
||||
laptop -- see "Firmware security" above). Then use the "flash" command
|
||||
to update the firmware:
|
||||
|
||||
ok flash ext:\q4e00ja.rom \ Flash the "q4e00ja.rom" from the SD card
|
||||
ok flash u:\q4e00ja.rom \ Flash the "q4e00ja.rom" from USB stick
|
||||
|
||||
Booting the machine
|
||||
===================
|
||||
|
||||
Once your machine is unlocked, it will automatically boot from your media
|
||||
wherever it will detect it attached to the USB bus or the SD card slot.
|
||||
@@ -1,47 +0,0 @@
|
||||
CONFIG_ARCH_MMP=y
|
||||
CONFIG_MACH_MMP2_DT=y
|
||||
CONFIG_MACH_MMP3_DT=y
|
||||
CONFIG_USB_EHCI_MV_U2O=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=16
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_REGULATOR_88PG86X=m
|
||||
CONFIG_VIDEO_MMP_CAMERA=y
|
||||
CONFIG_DRM_ARMADA=y
|
||||
CONFIG_DRM_DISPLAY_CONNECTOR=m
|
||||
CONFIG_DRM_SIMPLE_BRIDGE=m
|
||||
CONFIG_DRM_ETNAVIV=m
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_USB_EHCI_MV=y
|
||||
CONFIG_MMC_SDHCI_PXAV3=y
|
||||
CONFIG_OLPC_XO175=y
|
||||
CONFIG_OLPC_XO175_EC=y
|
||||
CONFIG_PHY_PXA_USB=y
|
||||
CONFIG_PHY_MMP3_USB=y
|
||||
CONFIG_CRYPTO_LZO=m
|
||||
CONFIG_LIBERTAS_SDIO=m
|
||||
CONFIG_LIBERTAS_THINFIRM=m
|
||||
CONFIG_MWIFIEX=m
|
||||
CONFIG_MWIFIEX_SDIO=m
|
||||
CONFIG_MTD_SPI_NOR=m
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_SPI_NOR=m
|
||||
CONFIG_I2C_PXA=y
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_PXA2XX=y
|
||||
CONFIG_SPI_SLAVE=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SOC_RT5631=y
|
||||
CONFIG_PWRSEQ_SD8787=m
|
||||
CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_ZFORCE=y
|
||||
@@ -1,81 +0,0 @@
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_IOSF_MBI=y
|
||||
CONFIG_MGEODE_LX=y
|
||||
CONFIG_X86_MSR=y
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_PHYSICAL_START=0x400000
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
# CONFIG_ACPI is not set
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_CPU_IDLE_GOV_LADDER=y
|
||||
CONFIG_OLPC=y
|
||||
CONFIG_OLPC_XO1_PM=y
|
||||
CONFIG_OLPC_XO1_RTC=y
|
||||
CONFIG_OLPC_XO1_SCI=y
|
||||
# CONFIG_FIRMWARE_MEMMAP is not set
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
CONFIG_ARCH_MMAP_RND_BITS=16
|
||||
CONFIG_REFCOUNT_FULL=y
|
||||
CONFIG_SPARSEMEM_MANUAL=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_REDBOOT_PARTS=y
|
||||
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=0
|
||||
CONFIG_MTD_ONENAND_GENERIC=y
|
||||
CONFIG_MTD_NAND_CAFE=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_CS5535_MFGPT=y
|
||||
CONFIG_CS5535_CLOCK_EVENT_SRC=y
|
||||
CONFIG_SENSORS_LIS3_SPI=y
|
||||
CONFIG_MOUSE_PS2_OLPC=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=1
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
# CONFIG_HW_RANDOM_VIA is not set
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_SCx200_ACB=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_CS5535=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_GEODE_WDT=y
|
||||
CONFIG_MFD_CS5535=y
|
||||
CONFIG_MFD_MAX8925=y
|
||||
CONFIG_VIDEO_CAFE_CCIC=y
|
||||
CONFIG_FB_TILEBLITTING=y
|
||||
CONFIG_FB_VESA=y
|
||||
CONFIG_FB_GEODE=y
|
||||
CONFIG_FB_GEODE_LX=y
|
||||
CONFIG_BACKLIGHT_MAX8925=y
|
||||
CONFIG_VGACON_SOFT_SCROLLBACK=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
||||
CONFIG_SND_OSSEMUL=y
|
||||
CONFIG_SND_DYNAMIC_MINORS=y
|
||||
CONFIG_SND_AC97_POWER_SAVE=y
|
||||
CONFIG_SND_CS5535AUDIO=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_FB_OLPC_DCON=y
|
||||
CONFIG_XO1_RFKILL=y
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
CONFIG_GENERIC_PHY=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_HUGETLBFS=y
|
||||
CONFIG_JFFS2_FS_WBUF_VERIFY=y
|
||||
CONFIG_JFFS2_SUMMARY=y
|
||||
CONFIG_JFFS2_FS_XATTR=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_LIBERTAS_USB=m
|
||||
CONFIG_LIBERTAS_MESH=y
|
||||
CONFIG_LIBERTAS_THINFIRM=m
|
||||
CONFIG_LIBERTAS_THINFIRM_USB=m
|
||||
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 $?
|
||||
@@ -1,35 +0,0 @@
|
||||
image efi-part.vfat {
|
||||
vfat {
|
||||
file startup.nsh {
|
||||
image = "efi-part/startup.nsh"
|
||||
}
|
||||
file EFI {
|
||||
image = "efi-part/EFI"
|
||||
}
|
||||
file bzImage {
|
||||
image = "bzImage"
|
||||
}
|
||||
}
|
||||
size = 16777216
|
||||
}
|
||||
|
||||
image disk.img {
|
||||
hdimage {
|
||||
gpt = true
|
||||
}
|
||||
|
||||
partition boot {
|
||||
image = "efi-part.vfat"
|
||||
partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
|
||||
offset = 32768
|
||||
size = 16777216
|
||||
bootable = true
|
||||
}
|
||||
|
||||
partition root {
|
||||
partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a
|
||||
partition-uuid = UUID_TMP
|
||||
image = "rootfs.ext2"
|
||||
offset = 16809984
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /bzImage root=PARTUUID=UUID_TMP rootwait console=tty1
|
||||
}
|
||||
@@ -4,12 +4,7 @@ set -e
|
||||
|
||||
BOARD_DIR=$(dirname "$0")
|
||||
|
||||
# Detect boot strategy, EFI or BIOS
|
||||
if [ -f "$BINARIES_DIR/efi-part/startup.nsh" ]; then
|
||||
cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
|
||||
else
|
||||
cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg"
|
||||
cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg"
|
||||
|
||||
# Copy grub 1st stage to binaries, required for genimage
|
||||
cp -f "$HOST_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR"
|
||||
fi
|
||||
# Copy grub 1st stage to binaries, required for genimage
|
||||
cp -f "$HOST_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR"
|
||||
|
||||
62
board/pc/post-image-efi-gpt.sh
Executable file
62
board/pc/post-image-efi-gpt.sh
Executable file
@@ -0,0 +1,62 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd ${BINARIES_DIR}
|
||||
|
||||
# GPT partition type UUIDs
|
||||
esp_type=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
|
||||
linux_type=44479540-f297-41b2-9af7-d131d5f0458a
|
||||
|
||||
# Partition UUIDs
|
||||
efi_part_uuid=$(uuidgen)
|
||||
root_part_uuid=$(uuidgen)
|
||||
|
||||
# Boot partition offset and size, in 512-byte sectors
|
||||
efi_part_start=64
|
||||
efi_part_size=32768
|
||||
|
||||
# Rootfs partition offset and size, in 512-byte sectors
|
||||
root_part_start=$(( efi_part_start + efi_part_size ))
|
||||
root_part_size=$(( $(stat -c %s rootfs.ext2) / 512 ))
|
||||
|
||||
first_lba=34
|
||||
last_lba=$(( root_part_start + root_part_size ))
|
||||
|
||||
# Disk image size in 512-byte sectors
|
||||
image_size=$(( last_lba + first_lba ))
|
||||
|
||||
cat > efi-part/EFI/BOOT/grub.cfg <<EOF
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /bzImage root=PARTUUID=$root_part_uuid rootwait console=tty1
|
||||
}
|
||||
EOF
|
||||
|
||||
# Create EFI system partition
|
||||
rm -f efi-part.vfat
|
||||
dd if=/dev/zero of=efi-part.vfat bs=512 count=0 seek=$efi_part_size
|
||||
mkdosfs efi-part.vfat
|
||||
mcopy -bsp -i efi-part.vfat efi-part/startup.nsh ::startup.nsh
|
||||
mcopy -bsp -i efi-part.vfat efi-part/EFI ::EFI
|
||||
mcopy -bsp -i efi-part.vfat bzImage ::bzImage
|
||||
|
||||
rm -f disk.img
|
||||
dd if=/dev/zero of=disk.img bs=512 count=0 seek=$image_size
|
||||
|
||||
sfdisk disk.img <<EOF
|
||||
label: gpt
|
||||
label-id: $(uuidgen)
|
||||
device: /dev/foobar0
|
||||
unit: sectors
|
||||
first-lba: $first_lba
|
||||
last-lba: $last_lba
|
||||
|
||||
/dev/foobar0p1 : start=$efi_part_start, size=$efi_part_size, type=$esp_type, uuid=$efi_part_uuid, name="efi-part.vfat"
|
||||
/dev/foobar0p2 : start=$root_part_start, size=$root_part_size, type=$linux_type, uuid=$root_part_uuid, name="rootfs.ext2"
|
||||
EOF
|
||||
|
||||
dd if=efi-part.vfat of=disk.img bs=512 count=$efi_part_size seek=$efi_part_start conv=notrunc
|
||||
dd if=rootfs.ext2 of=disk.img bs=512 count=$root_part_size seek=$root_part_start conv=notrunc
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
UUID=$(dumpe2fs "$BINARIES_DIR/rootfs.ext2" 2>/dev/null | sed -n 's/^Filesystem UUID: *\(.*\)/\1/p')
|
||||
sed -i "s/UUID_TMP/$UUID/g" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
|
||||
sed "s/UUID_TMP/$UUID/g" board/pc/genimage-efi.cfg > "$BINARIES_DIR/genimage-efi.cfg"
|
||||
support/scripts/genimage.sh -c "$BINARIES_DIR/genimage-efi.cfg"
|
||||
@@ -1,5 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 # qemu_aarch64_virt_defconfig
|
||||
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
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.12.0
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user # qemu_arm_versatile_defconfig
|
||||
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
|
||||
|
||||
Or for the noMMU emulation:
|
||||
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -append "console=ttyAMA0,115200" -serial stdio -net user -net nic,model=smc91c111 # qemu_arm_versatile_nommu_defconfig
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -append "console=ttyAMA0,115200" -serial stdio -net user -net nic,model=smc91c111
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.12.0
|
||||
|
||||
@@ -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
|
||||
@@ -1,136 +0,0 @@
|
||||
Board qemu_arm_vexpress_tz builds a QEMU ARMv7-A target system with
|
||||
OP-TEE running in the TrustZone secure world and a Linux based
|
||||
OS running in the non-secure world. The board configuration enables
|
||||
builds of the QEMU host ARM target emulator.
|
||||
|
||||
make qemu_arm_vexpress_tz_defconfig
|
||||
make
|
||||
|
||||
The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A). TF-A
|
||||
uses QEMU semihosting file access to access boot image files. The
|
||||
QEMU platform is quite specific for that in TF-A and one needs to
|
||||
run the emulation from the image directory for TF-A to boot the
|
||||
secure and non-secure worlds.
|
||||
|
||||
cd output/images && ../host/bin/qemu-system-arm \
|
||||
-machine virt -machine secure=on -cpu cortex-a15 \
|
||||
-smp 1 -s -m 1024 -d unimp \
|
||||
-serial stdio \
|
||||
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
|
||||
-semihosting-config enable,target=native \
|
||||
-bios bl1.bin
|
||||
|
||||
The boot stage traces (if any) followed by the login prompt will appear
|
||||
in the terminal that started QEMU.
|
||||
|
||||
If you want to emulate more cores, use "-smp {1|2|3|4}" to select the
|
||||
number of cores.
|
||||
|
||||
Note: "-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic"
|
||||
brings network support that is used i.e. in OP-TEE regression tests.
|
||||
|
||||
|
||||
-- Boot Details --
|
||||
|
||||
TF-A is used as QEMU BIOS. Its BL1 image boots and load its BL2 image. In turn,
|
||||
this image loads the OP-TEE secure world (ARMv7-A BL32 stage) and the U-boot as
|
||||
non-secure bootloader (BL33 stage).
|
||||
|
||||
QEMU natively hosts and loads in RAM the QEMU ARM target device tree. OP-TEE
|
||||
reads and modifies its content according to OP-TEE configuration.
|
||||
|
||||
Enable TF-A traces from LOG_LEVEL (I.e LOG_LEVEL=40) from
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES.
|
||||
|
||||
|
||||
-- OP-TEE Traces --
|
||||
|
||||
Secure boot stages and/or secure runtime services may use a serial link for
|
||||
their traces.
|
||||
|
||||
The ARM Trusted Firmware outputs its traces on the QEMU standard (first)
|
||||
serial interface.
|
||||
|
||||
The OP-TEE OS uses the QEMU second serial interface.
|
||||
|
||||
To get the OP-TEE OS traces, append a second -serial argument after
|
||||
-serial stdio in the QEMU command line. I.e, the following enables 2 serial
|
||||
consoles over telnet connections:
|
||||
|
||||
cd output/images && ../host/bin/qemu-system-arm \
|
||||
-machine virt -machine secure=on -cpu cortex-a15 \
|
||||
-smp 1 -s -m 1024 -d unimp \
|
||||
-serial telnet:127.0.0.1:1235,server \
|
||||
-serial telnet:127.0.0.1:1236,server \
|
||||
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
|
||||
-semihosting-config enable,target=native \
|
||||
-bios bl1.bin
|
||||
|
||||
QEMU is now waiting for the telnet connection. From another shell, open a
|
||||
telnet connection on the port for the U-boot and Linux consoles:
|
||||
|
||||
telnet 127.0.0.1 1235
|
||||
|
||||
and again for the secure console
|
||||
|
||||
telnet 127.0.0.1 1236
|
||||
|
||||
|
||||
-- Using gdb --
|
||||
|
||||
One can debug the OP-TEE secure world using GDB through the QEMU host.
|
||||
To do so, simply run the qemu-system-arm emulation, then run a GDB client
|
||||
and connect the QEMU internal GDB server.
|
||||
|
||||
The example below assumes we run QEMU and the GDB client from the same
|
||||
host computer. We use option -S of qemu-system-arm to make QEMU
|
||||
waiting for the GDB continue instruction before booting the images.
|
||||
|
||||
From a first shell:
|
||||
cd output/images && ../host/bin/qemu-system-arm \
|
||||
-machine virt -machine secure=on -cpu cortex-a15 \
|
||||
-smp 1 -s -m 1024 -d unimp \
|
||||
-serial stdio \
|
||||
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
|
||||
-semihosting-config enable,target=native \
|
||||
-bios bl1.bin \
|
||||
-S
|
||||
|
||||
From a second shell:
|
||||
./output/host/bin/arm-linux-gdb
|
||||
GNU gdb (GNU Toolchain for the A-profile Architecture 8.2-2018-08 (arm-rel-8.23)) 8.1.1.20180704-git
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
...
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word".
|
||||
(gdb)
|
||||
|
||||
From this GDB console, connect to the target, load the OP-TEE core symbols,
|
||||
set a breakpoint to its entry point (__text_start) and start emulation:
|
||||
|
||||
(gdb) target remote 127.0.0.1:1234
|
||||
(gdb) symbol-file ./output/build/optee-os-<reference>/out/arm/core/tee.elf
|
||||
(gdb) hbreak __text_start
|
||||
Hardware assisted breakpoint 1 at 0xe100000: file core/arch/arm/kernel/generic_entry_a32.S, line 246.
|
||||
(gdb) cont
|
||||
Continuing.
|
||||
|
||||
Thread 1 hit Breakpoint 1, _start () at core/arch/arm/kernel/generic_entry_a32.S:246
|
||||
246 bootargs_entry
|
||||
(gdb)
|
||||
|
||||
|
||||
Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and
|
||||
has booted OP-TEE. Emulation stopped at OP-TEE core entry.
|
||||
|
||||
Note: QEMU hosts a GDB service listening to TCP port 1234, as set through
|
||||
qemu-system-arm command line option -s.
|
||||
|
||||
Note: To build the GDB server, the following extra options have to be added to
|
||||
the Buildroot configuration:
|
||||
|
||||
BR2_ENABLE_DEBUG=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
@@ -1,7 +0,0 @@
|
||||
CONFIG_SYS_TEXT_BASE=0x60000000
|
||||
CONFIG_BOOTCOMMAND="fdt addr ${fdt_addr} && fdt resize 1000 && smhload zImage ${kernel_addr_r} && smhload rootfs.cpio.gz ${ramdisk_addr_r} ramdisk_addr_end && setenv bootargs console=ttyAMA0,115200 earlyprintk=serial,ttyAMA0,115200 && fdt chosen ${ramdisk_addr_r} ${ramdisk_addr_end} && bootz ${kernel_addr_r} - ${fdt_addr}"
|
||||
CONFIG_SEMIHOSTING=y
|
||||
# Drop flash accesses
|
||||
CONFIG_ENV_IS_IN_FLASH=n
|
||||
CONFIG_MTD=n
|
||||
CONFIG_MTD_NOR_FLASH=n
|
||||
@@ -1,9 +1,11 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user # qemu_arm_vexpress_defconfig
|
||||
qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
If you want to emulate more cores change "-smp 1" to "-smp 2" for
|
||||
dual-core or even "smp -4" for a quad-core configuration.
|
||||
|
||||
Tested with QEMU 2.12.0
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
Run with qemu:
|
||||
|
||||
For ck860 smp:
|
||||
qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -nographic -kernel vmlinux # qemu_csky860_virt_defconfig
|
||||
qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -nographic -kernel vmlinux
|
||||
|
||||
For ck807:
|
||||
qemu-system-cskyv2 -M virt -nographic -kernel vmlinux # qemu_csky807_virt_defconfig
|
||||
|
||||
For ck810:
|
||||
qemu-system-cskyv2 -M virt -nographic -kernel vmlinux # qemu_csky810_virt_defconfig
|
||||
For ck810/ck807:
|
||||
qemu-system-cskyv2 -M virt -nographic -kernel vmlinux
|
||||
|
||||
For ck610:
|
||||
qemu-system-cskyv1 -M virt -nographic -kernel vmlinux # qemu_csky610_virt_defconfig
|
||||
qemu-system-cskyv1 -M virt -nographic -kernel vmlinux
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. Username is root and no password.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel output/images/vmlinux -nographic # qemu_m68k_mcf5208_defconfig
|
||||
qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel output/images/vmlinux -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.12.0
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0" # qemu_m68k_q800_defconfig
|
||||
qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.11.0 from https://github.com/vivier/qemu-m68k
|
||||
You need following branch: q800-v2.11.0
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user