mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-11 14:10:13 +03:00
Compare commits
83 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf01d69e1b | ||
|
|
40185d3bff | ||
|
|
d51608ac63 | ||
|
|
411067de8a | ||
|
|
3abd9c659c | ||
|
|
17a052f38a | ||
|
|
2797084634 | ||
|
|
cd7e3cb079 | ||
|
|
e10d8f3cf2 | ||
|
|
f2da4a526f | ||
|
|
29fd237aa3 | ||
|
|
0c2eff408c | ||
|
|
4b4b74b056 | ||
|
|
0d74852e6d | ||
|
|
bf6a402f77 | ||
|
|
cae567ffc5 | ||
|
|
ca84b0177e | ||
|
|
dc7fd80cc9 | ||
|
|
21dc9299a2 | ||
|
|
b5c365b3c0 | ||
|
|
3edd35cac8 | ||
|
|
2aa63f06cf | ||
|
|
3a2a910b21 | ||
|
|
7ca8ea399f | ||
|
|
2599d77cbe | ||
|
|
ba416e0f48 | ||
|
|
841fc4f3c5 | ||
|
|
0d09bfa43f | ||
|
|
b8e588e623 | ||
|
|
e08b1f9484 | ||
|
|
9227779188 | ||
|
|
7979d1ba71 | ||
|
|
b13040fa27 | ||
|
|
c54287b527 | ||
|
|
af96b7fd09 | ||
|
|
5bd3fdec11 | ||
|
|
7aea7079fb | ||
|
|
bfa4b1a65e | ||
|
|
3f72645e89 | ||
|
|
fc4e332ec7 | ||
|
|
f35878bdfb | ||
|
|
7f4c1ac310 | ||
|
|
de8b6b0bf1 | ||
|
|
2dd14234c9 | ||
|
|
fccadb5c12 | ||
|
|
dd03ff0774 | ||
|
|
9ad143d02f | ||
|
|
710a3094f8 | ||
|
|
c4c87ef8c6 | ||
|
|
4c7a18f644 | ||
|
|
f55695b405 | ||
|
|
0e1605409a | ||
|
|
14eb89da47 | ||
|
|
a0690cc883 | ||
|
|
bf8fdcc2fa | ||
|
|
65d7b45bdd | ||
|
|
0f8f5a7711 | ||
|
|
03f286cd85 | ||
|
|
5f691d11d4 | ||
|
|
04cc75c622 | ||
|
|
d1bd3e4104 | ||
|
|
d12c6df2fc | ||
|
|
b1cd530b3c | ||
|
|
c5c78f258a | ||
|
|
3df927248e | ||
|
|
9bff460146 | ||
|
|
738a80e2eb | ||
|
|
e9da17dead | ||
|
|
f3820f83d4 | ||
|
|
3a8611ea04 | ||
|
|
f3d5197a46 | ||
|
|
34bd0869b6 | ||
|
|
7dbd36d931 | ||
|
|
59bd179c35 | ||
|
|
a9a6bfd6c1 | ||
|
|
c4954457b5 | ||
|
|
6531f267bf | ||
|
|
105727951a | ||
|
|
1ca7ab6022 | ||
|
|
0757d8db1c | ||
|
|
8d58e8af95 | ||
|
|
7567aff8fc | ||
|
|
722b2d11a0 |
257
.gitlab-ci.yml
257
.gitlab-ci.yml
@@ -1,257 +0,0 @@
|
||||
# Configuration for Gitlab-CI.
|
||||
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
||||
# The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base
|
||||
|
||||
.defconfig_script: &defconfig_script
|
||||
- echo 'Configure Buildroot'
|
||||
- make ${CI_BUILD_NAME}
|
||||
- echo 'Build buildroot'
|
||||
- |
|
||||
make > >(tee build.log |grep '>>>') 2>&1 || {
|
||||
echo 'Failed build last output'
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-DEVELOPERS:
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
.defconfig: &defconfig
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
script: *defconfig_script
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
paths:
|
||||
- build.log
|
||||
- output/images/
|
||||
- output/build/build-time.log
|
||||
- output/build/packages-file-list.txt
|
||||
|
||||
.runtime_test: &runtime_test
|
||||
# Keep build directories so the rootfs can be an artifact of the job. The
|
||||
# runner will clean up those files for us.
|
||||
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
||||
# elastic runners.
|
||||
script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
paths:
|
||||
- test-output/*.log
|
||||
- test-output/*/images/*
|
||||
acmesystems_aria_g25_128mb_defconfig: *defconfig
|
||||
acmesystems_aria_g25_256mb_defconfig: *defconfig
|
||||
acmesystems_arietta_g25_128mb_defconfig: *defconfig
|
||||
acmesystems_arietta_g25_256mb_defconfig: *defconfig
|
||||
arcturus_ucp1020_defconfig: *defconfig
|
||||
arm_foundationv8_defconfig: *defconfig
|
||||
arm_juno_defconfig: *defconfig
|
||||
armadeus_apf27_defconfig: *defconfig
|
||||
armadeus_apf28_defconfig: *defconfig
|
||||
armadeus_apf51_defconfig: *defconfig
|
||||
at91sam9260eknf_defconfig: *defconfig
|
||||
at91sam9g20dfc_defconfig: *defconfig
|
||||
at91sam9g45m10ek_defconfig: *defconfig
|
||||
at91sam9rlek_defconfig: *defconfig
|
||||
at91sam9x5ek_defconfig: *defconfig
|
||||
at91sam9x5ek_dev_defconfig: *defconfig
|
||||
at91sam9x5ek_mmc_defconfig: *defconfig
|
||||
at91sam9x5ek_mmc_dev_defconfig: *defconfig
|
||||
atmel_sama5d2_xplained_mmc_defconfig: *defconfig
|
||||
atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
|
||||
atmel_sama5d3_xplained_defconfig: *defconfig
|
||||
atmel_sama5d3_xplained_dev_defconfig: *defconfig
|
||||
atmel_sama5d3_xplained_mmc_defconfig: *defconfig
|
||||
atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
|
||||
atmel_sama5d3xek_defconfig: *defconfig
|
||||
atmel_sama5d4_xplained_defconfig: *defconfig
|
||||
atmel_sama5d4_xplained_dev_defconfig: *defconfig
|
||||
atmel_sama5d4_xplained_mmc_defconfig: *defconfig
|
||||
atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
|
||||
bananapro_defconfig: *defconfig
|
||||
beagleboardx15_defconfig: *defconfig
|
||||
beaglebone_defconfig: *defconfig
|
||||
beaglebone_qt5_defconfig: *defconfig
|
||||
chromebook_snow_defconfig: *defconfig
|
||||
ci20_defconfig: *defconfig
|
||||
ci40_defconfig: *defconfig
|
||||
csky_gx6605s_defconfig: *defconfig
|
||||
cubieboard2_defconfig: *defconfig
|
||||
engicam_imx6qdl_icore_defconfig: *defconfig
|
||||
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
|
||||
engicam_imx6ul_geam_defconfig: *defconfig
|
||||
engicam_imx6ul_isiot_defconfig: *defconfig
|
||||
firefly_rk3288_defconfig: *defconfig
|
||||
firefly_rk3288_demo_defconfig: *defconfig
|
||||
freescale_imx28evk_defconfig: *defconfig
|
||||
freescale_imx31_3stack_defconfig: *defconfig
|
||||
freescale_imx6dlsabreauto_defconfig: *defconfig
|
||||
freescale_imx6dlsabresd_defconfig: *defconfig
|
||||
freescale_imx6qsabreauto_defconfig: *defconfig
|
||||
freescale_imx6qsabresd_defconfig: *defconfig
|
||||
freescale_imx6sololiteevk_defconfig: *defconfig
|
||||
freescale_imx6sxsabresd_defconfig: *defconfig
|
||||
freescale_imx6ulevk_defconfig: *defconfig
|
||||
freescale_imx7dsabresd_defconfig: *defconfig
|
||||
freescale_mpc8315erdb_defconfig: *defconfig
|
||||
freescale_p1010rdb_pa_defconfig: *defconfig
|
||||
galileo_defconfig: *defconfig
|
||||
gdb_bfin_bf512_defconfig: *defconfig
|
||||
grinn_chiliboard_defconfig: *defconfig
|
||||
grinn_liteboard_defconfig: *defconfig
|
||||
imx23evk_defconfig: *defconfig
|
||||
imx6q-sabresd_defconfig: *defconfig
|
||||
imx6ulpico_defconfig: *defconfig
|
||||
lego_ev3_defconfig: *defconfig
|
||||
linksprite_pcduino_defconfig: *defconfig
|
||||
minnowboard_max-graphical_defconfig: *defconfig
|
||||
minnowboard_max_defconfig: *defconfig
|
||||
mx25pdk_defconfig: *defconfig
|
||||
mx51evk_defconfig: *defconfig
|
||||
mx53loco_defconfig: *defconfig
|
||||
mx6cubox_defconfig: *defconfig
|
||||
mx6sx_udoo_neo_defconfig: *defconfig
|
||||
mx6udoo_defconfig: *defconfig
|
||||
nanopi_m1_defconfig: *defconfig
|
||||
nanopi_m1_plus_defconfig: *defconfig
|
||||
nanopi_neo_defconfig: *defconfig
|
||||
nexbox_a95x_defconfig: *defconfig
|
||||
nitrogen6sx_defconfig: *defconfig
|
||||
nitrogen6x_defconfig: *defconfig
|
||||
nitrogen7_defconfig: *defconfig
|
||||
odroidc2_defconfig: *defconfig
|
||||
olimex_a13_olinuxino_defconfig: *defconfig
|
||||
olimex_a20_olinuxino_lime2_defconfig: *defconfig
|
||||
olimex_a20_olinuxino_lime_defconfig: *defconfig
|
||||
olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
|
||||
olimex_a20_olinuxino_micro_defconfig: *defconfig
|
||||
olimex_imx233_olinuxino_defconfig: *defconfig
|
||||
openblocks_a6_defconfig: *defconfig
|
||||
orangepi_one_defconfig: *defconfig
|
||||
orangepi_pc_defconfig: *defconfig
|
||||
orangepi_plus_defconfig: *defconfig
|
||||
orangepi_zero_defconfig: *defconfig
|
||||
pandaboard_defconfig: *defconfig
|
||||
pc_x86_64_bios_defconfig: *defconfig
|
||||
pc_x86_64_efi_defconfig: *defconfig
|
||||
qemu_aarch64_virt_defconfig: *defconfig
|
||||
qemu_arm_versatile_defconfig: *defconfig
|
||||
qemu_arm_versatile_nommu_defconfig: *defconfig
|
||||
qemu_arm_vexpress_defconfig: *defconfig
|
||||
qemu_m68k_mcf5208_defconfig: *defconfig
|
||||
qemu_m68k_q800_defconfig: *defconfig
|
||||
qemu_microblazebe_mmu_defconfig: *defconfig
|
||||
qemu_microblazeel_mmu_defconfig: *defconfig
|
||||
qemu_mips32r2_malta_defconfig: *defconfig
|
||||
qemu_mips32r2el_malta_defconfig: *defconfig
|
||||
qemu_mips32r6_malta_defconfig: *defconfig
|
||||
qemu_mips32r6el_malta_defconfig: *defconfig
|
||||
qemu_mips64_malta_defconfig: *defconfig
|
||||
qemu_mips64el_malta_defconfig: *defconfig
|
||||
qemu_mips64r6_malta_defconfig: *defconfig
|
||||
qemu_mips64r6el_malta_defconfig: *defconfig
|
||||
qemu_nios2_10m50_defconfig: *defconfig
|
||||
qemu_or1k_defconfig: *defconfig
|
||||
qemu_ppc64_pseries_defconfig: *defconfig
|
||||
qemu_ppc_g3beige_defconfig: *defconfig
|
||||
qemu_ppc_mpc8544ds_defconfig: *defconfig
|
||||
qemu_ppc_virtex_ml507_defconfig: *defconfig
|
||||
qemu_sh4_r2d_defconfig: *defconfig
|
||||
qemu_sh4eb_r2d_defconfig: *defconfig
|
||||
qemu_sparc64_sun4u_defconfig: *defconfig
|
||||
qemu_sparc_ss10_defconfig: *defconfig
|
||||
qemu_x86_64_defconfig: *defconfig
|
||||
qemu_x86_defconfig: *defconfig
|
||||
qemu_xtensa_lx60_defconfig: *defconfig
|
||||
qemu_xtensa_lx60_nommu_defconfig: *defconfig
|
||||
raspberrypi0_defconfig: *defconfig
|
||||
raspberrypi2_defconfig: *defconfig
|
||||
raspberrypi3_64_defconfig: *defconfig
|
||||
raspberrypi3_defconfig: *defconfig
|
||||
raspberrypi_defconfig: *defconfig
|
||||
riotboard_defconfig: *defconfig
|
||||
roseapplepi_defconfig: *defconfig
|
||||
s6lx9_microboard_defconfig: *defconfig
|
||||
sheevaplug_defconfig: *defconfig
|
||||
snps_aarch64_vdk_defconfig: *defconfig
|
||||
snps_arc700_axs101_defconfig: *defconfig
|
||||
snps_archs38_axs103_defconfig: *defconfig
|
||||
snps_archs38_haps_defconfig: *defconfig
|
||||
snps_archs38_vdk_defconfig: *defconfig
|
||||
socrates_cyclone5_defconfig: *defconfig
|
||||
stm32f429_disco_defconfig: *defconfig
|
||||
stm32f469_disco_defconfig: *defconfig
|
||||
telit_evk_pro3_defconfig: *defconfig
|
||||
toradex_apalis_imx6_defconfig: *defconfig
|
||||
ts4800_defconfig: *defconfig
|
||||
ts4900_defconfig: *defconfig
|
||||
ts5x00_defconfig: *defconfig
|
||||
wandboard_defconfig: *defconfig
|
||||
warp7_defconfig: *defconfig
|
||||
warpboard_defconfig: *defconfig
|
||||
zynq_microzed_defconfig: *defconfig
|
||||
zynq_zc706_defconfig: *defconfig
|
||||
zynq_zed_defconfig: *defconfig
|
||||
zynq_zybo_defconfig: *defconfig
|
||||
tests.core.test_post_scripts.TestPostScripts: *runtime_test
|
||||
tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
|
||||
tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
|
||||
tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
|
||||
tests.core.test_timezone.TestNoTimezone: *runtime_test
|
||||
tests.fs.test_ext.TestExt2: *runtime_test
|
||||
tests.fs.test_ext.TestExt2r1: *runtime_test
|
||||
tests.fs.test_ext.TestExt3: *runtime_test
|
||||
tests.fs.test_ext.TestExt4: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660GrubExternal: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660GrubInternal: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
|
||||
tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
|
||||
tests.fs.test_jffs2.TestJffs2: *runtime_test
|
||||
tests.fs.test_squashfs.TestSquashfs: *runtime_test
|
||||
tests.fs.test_ubi.TestUbi: *runtime_test
|
||||
tests.fs.test_yaffs2.TestYaffs2: *runtime_test
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
|
||||
tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
|
||||
tests.init.test_none.TestInitSystemNone: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
|
||||
tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
|
||||
tests.package.test_dropbear.TestDropbear: *runtime_test
|
||||
tests.package.test_ipython.TestIPythonPy2: *runtime_test
|
||||
tests.package.test_ipython.TestIPythonPy3: *runtime_test
|
||||
tests.package.test_python.TestPython2: *runtime_test
|
||||
tests.package.test_python.TestPython3: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test
|
||||
@@ -1,60 +0,0 @@
|
||||
# Configuration for Gitlab-CI.
|
||||
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
||||
# The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base
|
||||
|
||||
.defconfig_script: &defconfig_script
|
||||
- echo 'Configure Buildroot'
|
||||
- make ${CI_BUILD_NAME}
|
||||
- echo 'Build buildroot'
|
||||
- |
|
||||
make > >(tee build.log |grep '>>>') 2>&1 || {
|
||||
echo 'Failed build last output'
|
||||
tail -200 build.log
|
||||
exit 1
|
||||
}
|
||||
|
||||
check-gitlab-ci.yml:
|
||||
script:
|
||||
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
||||
- make .gitlab-ci.yml
|
||||
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
||||
|
||||
check-DEVELOPERS:
|
||||
# get-developers should print just "No action specified"; if it prints
|
||||
# anything else, it's a parse error.
|
||||
# The initial ! is removed by YAML so we need to quote it.
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
.defconfig: &defconfig
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
# explicit triggers through the API.
|
||||
only:
|
||||
- triggers
|
||||
- tags
|
||||
script: *defconfig_script
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
paths:
|
||||
- build.log
|
||||
- output/images/
|
||||
- output/build/build-time.log
|
||||
- output/build/packages-file-list.txt
|
||||
|
||||
.runtime_test: &runtime_test
|
||||
# Keep build directories so the rootfs can be an artifact of the job. The
|
||||
# runner will clean up those files for us.
|
||||
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
||||
# elastic runners.
|
||||
script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME}
|
||||
artifacts:
|
||||
when: always
|
||||
expire_in: 2 weeks
|
||||
paths:
|
||||
- test-output/*.log
|
||||
- test-output/*/images/*
|
||||
786
CHANGES
786
CHANGES
@@ -1,789 +1,3 @@
|
||||
2017.08, Released September 1st, 2017
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Toolchain: Don't allow internal toolchain builds for MIPS
|
||||
M6201/P6600, as support for these are not yet in mainline GCC.
|
||||
|
||||
Updated/fixed packages: bcusdk, connman, dialog, dnsmasq,
|
||||
gnupg, grub2, iostat, iucode-tool, libgcrypt, libkcapi,
|
||||
libphidget, libv4l, linux-tools, mediastreamer, minidlna,
|
||||
nss-pam-ldapd, nvidia-driver, qt-webkit-kiosk, rpcbind, squid,
|
||||
transmission, vde2, vim
|
||||
|
||||
Updated/fixed defconfigs:
|
||||
|
||||
Removed packages: simicfs.
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#10261: Grub2 fails to build for x86_64
|
||||
|
||||
2017.08-rc3, Released August 23rd, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: alsa-lib, alsa-utils, cc-tool,
|
||||
dbus-cpp, e2fsprogs, elf2flt, faad2, fakeroot, gcc, git, gpsd,
|
||||
gst1-validate, kvmtool, libconfuse, libepoxy, librsync,
|
||||
libspatialindex, libunwind, linux, linux-headers, lua,
|
||||
mariadb, mesa3d, mtd, openocd, python3, syslinux, sysvinit,
|
||||
whois, xen, zmqpp.
|
||||
|
||||
Updated/fixed defconfigs: ci20, socrates_cyclone5,
|
||||
toradex_apalis_imx6.
|
||||
|
||||
Removed defconfig: Armadeus APF9328.
|
||||
|
||||
skeleton-* packages introduced in -rc1 have been renamed to
|
||||
skeleton-init-* instead.
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#10141: Squashfs extended attribute failures
|
||||
|
||||
2017.08-rc2, Released August 11th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: bind, dbus, erlang-p1-xml, faad2,
|
||||
ficl, gcc, gdb, glibc, jack2, libcurl, linux, linux-headers,
|
||||
lua, mutt, nvme, qt5base, skeleton-common, snappy, stella,
|
||||
swupdate, uclibc, valgrind, webkitgtk.
|
||||
|
||||
Updated/fixed defconfigs: beaglebone_qt5, minnowboard_max,
|
||||
nanopi_m1{, _plus}, olimex_a20_olinuxino_lime, qemu_sparc,
|
||||
qemu_sparc64.
|
||||
|
||||
The cmake-package infrastructure for host packages has been
|
||||
fixed to not incorrectly detect target packages through
|
||||
pkg-config.
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9926: systemd-resolved.service: Failed at step NAMESPACE (systemd 233)
|
||||
#10021: libqeglfs-viv-integration.so file is missing for qt5 on armv7
|
||||
#10026: lua-5.3.4: fix lua linker error in swupdate
|
||||
#10146: package/skeleton-common fix recursive variable
|
||||
#10156: glibc compilation fails for X86 32bits (i386)
|
||||
#10201: toolchain-wrapper.c:192: (error) Memory leak:
|
||||
#10221: Buildroot Support
|
||||
|
||||
2017.08-rc1, Released August 2nd, 2017
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- The skeleton package has been split into multiple packages:
|
||||
skeleton-sysv (when Busybox or SysV init are used),
|
||||
skeleton-systemd (when systemd is used), skeleton-none (when
|
||||
no init system is used) and skeleton-custom (when a custom
|
||||
skeleton is used). Those packages, except skeleton-custom,
|
||||
share common logic and data in a new package called
|
||||
skeleton-common. The skeleton package becomes a virtual
|
||||
package. This change allows to generate a filesystem that is
|
||||
compliant with systemd expectations.
|
||||
|
||||
- Support for using a read-only filesystem with systemd has
|
||||
been fixed.
|
||||
|
||||
- Major revamp of the gettext handling, with user-visible
|
||||
effect:
|
||||
|
||||
- prior to this revamp, when BR2_ENABLE_LOCALE=y, each
|
||||
package could decide to enable or not NLS support. When
|
||||
BR2_ENABLE_LOCALE was disabled, NLS support was forced off
|
||||
by passing --disable-nls to packages.
|
||||
|
||||
- after this revamp, a new BR2_SYSTEM_ENABLE_NLS option
|
||||
controls whether NLS support should be enabled or not in
|
||||
packages. This option defaults to disabled, which means
|
||||
that now, NLS support is by default disabled in all
|
||||
packages.
|
||||
|
||||
Therefore, if you need NLS support in packages, you must now
|
||||
explicitly enable the BR2_SYSTEM_ENABLE_NLS option.
|
||||
|
||||
- The host directory no longer has a usr/ component. This
|
||||
makes it much more natural to use that directory as an
|
||||
externally used toolchain. For compatibility with existing
|
||||
scripts, a usr -> . link is still added.
|
||||
|
||||
- Hashes are now checked on tarballs by Buildroot when a
|
||||
package is sourced from a Git repository.
|
||||
|
||||
- Patches are no longer being downloaded from Github, since
|
||||
auto-generated patches could change over time, and break
|
||||
hashes. All patches that were downloaded from Github are now
|
||||
stored in their respective package directories.
|
||||
|
||||
- Hash files in packages can now contain hashes for the
|
||||
license files contained in the package source code. This
|
||||
allows to detect changes in such license files.
|
||||
|
||||
- Binaries in $(TARGET_DIR) are now cleaned up from invalid
|
||||
RPATHs at the end of the build.
|
||||
|
||||
- A new "make sdk" target prepares $(HOST_DIR) to be
|
||||
relocatable: turns RPATHs in host binaries into relocatable
|
||||
ones, removes bogus RPATHs from staging binaries/libraries,
|
||||
and provides a relocate-sdk script that can be executed to
|
||||
relocate the SDK after installation.
|
||||
|
||||
- Addition of utils/genrandconfig which generates a random
|
||||
configuration based on a set of pre-defined toolchain
|
||||
configurations (support/config-fragments/autobuild/) and a
|
||||
random selection of packages. It is now used by the
|
||||
autobuilders to generate the random configurations.
|
||||
|
||||
Filesystems:
|
||||
|
||||
- ext2/3/4 filesystems are now generated using mkfs.ext from
|
||||
e2fsprogs instead of using genext2fs.
|
||||
|
||||
Architecture:
|
||||
|
||||
- Addition of support for ARM big.LITTLE variants
|
||||
- Improved MIPS support, with options to select NaN encoding
|
||||
and FP32 mode.
|
||||
|
||||
Toolchain:
|
||||
|
||||
- Switch to gcc 6.x as the default gcc version, add support
|
||||
for gcc 7.x, remove support for gcc 4.8
|
||||
- Switch to binutils 2.28 as the default binutils version, add
|
||||
support for binutils 2.29, remove support for binutils 2.26
|
||||
- Support added for gdb 8.0
|
||||
- uClibc-ng bumped to 1.0.26
|
||||
- CodeSourcery toolchains for x86 and SuperH have been
|
||||
removed, they were using a too old glibc version
|
||||
(2.17). External toolchains with glibc 2.17 or earlier are
|
||||
no longer supported.
|
||||
- The version selection in the glibc package has been
|
||||
removed. Like musl and uClibc-ng, we now use the latest
|
||||
glibc version.
|
||||
- Improved support for Xtensa toolchain overlays, which can
|
||||
now be downloaded.
|
||||
|
||||
Tools:
|
||||
|
||||
- Numerous improvements to the runtime test infrastructure
|
||||
- Tests are now executed by Gitlab CI on a regular basis
|
||||
- Tools that are directly useful to the user have been moved
|
||||
from support/scripts/ to utils/: brmake, check-package,
|
||||
get-developers, scancpan, scanpipy, size-stats-compare,
|
||||
test-pkg.
|
||||
|
||||
New defconfigs: A13 Olinuxino, Engicam platforms (i.CoreM6
|
||||
Solo/Dual/DualLite/Quad, RQS SOM, GEAM6UL SOM, Is.IoT MX6UL
|
||||
SOM), Nano Pi M1 (Plus), OrangePi Zero and Plus.
|
||||
|
||||
New packages: azure-iot-sdk-c, cracklib, dt-utils, easy-rsa,
|
||||
erlang-jiffy, erlang-p1-oauth2, erlang-p1-xmpp,
|
||||
ifupdown-scripts, irrlicht, kodi-inputstream-adaptive,
|
||||
kodi-inputstream-rtmp, kvazaar, let-me-create, libloki,
|
||||
libpwquality, libressl, libspatialindex, libva-utils,
|
||||
linuxconsoletools, linuxptp, luaossl, lua-sdl2, lua-stdlib,
|
||||
lsscsi, paxtest, pcre2, pixz, python-asn1crypto,
|
||||
python-backports-shutil-get-terminal-size, python-bcrypt,
|
||||
python-cheroot, python-h2, python-hpack, python-hyperframe,
|
||||
python-hyperlink, python-ipython-genutils, python-pathlib2,
|
||||
python-pickleshare, python-priority, python-portend,
|
||||
python-scandir, python-systemd, python-tempora,
|
||||
python-traitlets, python-typepy, qt5virtualkeyboard,
|
||||
ratpoison, rauc, refpolicy, rhash, sdl2_mixer, sdl2_net,
|
||||
xr819-xradio, zstd
|
||||
|
||||
Removed packages: cloog, input-tools, mke2img
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#7892: systemd-journald is broken
|
||||
#9341: avahi-utils does not compile with uClibc + libglib2
|
||||
#9441: Link BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY to
|
||||
BR2_ENABLE_DEBUG
|
||||
#9746: ext4 image generated by Buildroot is not working
|
||||
properly with U-Boot
|
||||
#9886: Build fails with "unexpected EOF while looking for
|
||||
matching `"'" if PATH contains a newline
|
||||
#9891: parted 3.1 => 3.2?
|
||||
#9911: qt5 does not build on sparc
|
||||
#9916: qt5 does not build on
|
||||
arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
|
||||
#9936: Host QEMU does not build with SDL support because of
|
||||
pkg-config
|
||||
#9941: nodejs option disappears for arm
|
||||
#9951: SCANCPAN failure
|
||||
#9966: util-linux-2.30/.stamp_built' failed
|
||||
#9976: License file for package 'rtl8821au' incorrect
|
||||
#9991: SGX Error implicit declaration of function
|
||||
‘dmac_map_area’
|
||||
#10011: wget does not work from Buildroot
|
||||
#10036: Buildroot builds Raspbian Jessie headless image
|
||||
presenting incorrect prompt
|
||||
#10051: make: *** No rule to make target
|
||||
'raspberrpi3_defconfig'. Stop reported with Buildroot
|
||||
v2017.05.1
|
||||
#10056: No .config file was produced in /buildroot folder
|
||||
#10061: gcc5.4 buildroot toolchain for powerpc libsanitizer
|
||||
failure
|
||||
#10071: fakeroot: replace hard-coded paths in post install
|
||||
#10076: Makefile:4113: recipe for target 'all-gcc' failed
|
||||
#10091: gcc7.1 does not build with graphite support due to old
|
||||
isl
|
||||
#10121: webkit without the multimedia option causes build
|
||||
error
|
||||
|
||||
2017.05.2, Released July 27th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Webkitgtk bumped to the 2.16.x series, fixing a large number
|
||||
of security issues.
|
||||
|
||||
host-aespipe compile fix for Debian/Gentoo/Ubuntu toolchains
|
||||
which default to PIE mode.
|
||||
|
||||
Updated/fixed packages: aespipe, apache, bind, binutils,
|
||||
busybox, ccache, collectd, dieharder, efibootmgr, efivar,
|
||||
expat, ffmpeg, gcc, heimdal, iproute2, irssi, libglib2,
|
||||
libmemcached, libosip2, libtirpc, libxml-parser-perl,
|
||||
linux-fusion, linux-zigbee, mpg123, orc, pcre, php, protobuf,
|
||||
pulseaudio, python-setproctitle, qt5base, rpi-firmware,
|
||||
samba4, syslinux, systemd, spice, tcpdump, tiff, uboot-tools,
|
||||
webkitgtk, x265, xserver_xorg-server, xvisor
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#10061: gcc5.4 buildroot toolchain for powerpc libsanitizer...
|
||||
|
||||
2017.05.1, Released July 4th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Update support/scripts/scancpan to use METACPAN v1 API as v0
|
||||
has been shutdown.
|
||||
|
||||
Update support/scripts/mkusers to handle setups where
|
||||
/etc/shadow is a symlink.
|
||||
|
||||
External toolchain: Don't create musl dynamic loader symlink
|
||||
for static builds.
|
||||
|
||||
Setlocalversion: Correct detection of mercurial revisions for
|
||||
non-tagged versions.
|
||||
|
||||
Defconfigs: at91sam9x5ek_mmc: workaround boot rom issue.
|
||||
|
||||
Updated/fixed packages: apache, automake, bind, botan, c-ares,
|
||||
dhcp, expat, fcgiwrap, gcc, gdb, gesftpserver, glibc, glmark2,
|
||||
gnutls, gst1-plugins-bad, imagemagick, imx-uuc, intltool,
|
||||
iperf, ipsec-tools, irssi, kmod, libcurl, libgcrypt, libmad,
|
||||
libnl, lugaro, mosquitto, mpg123, ncurses, nodejs, ntp,
|
||||
openssh, openvpn, pngquant, python-simplegeneric, qt5base,
|
||||
qt5multimedia, rtl8821au, socat, spice, systemd, tor, trinity,
|
||||
tslib, vlc, x264, xen, xlib_libxshmfenc, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9976: License file for package 'rtl8821au' incorrect
|
||||
|
||||
2017.05, Released May 31st, 2017
|
||||
|
||||
Minor fixes.
|
||||
|
||||
External toolchain: musl dynamic linker symlink for mips-sf
|
||||
corrected.
|
||||
|
||||
Updated/fixed packages: agentpp, bash, exim, hans, madplay,
|
||||
qpid-proton, rtl8188eu, snmppp, stm32flash, strongswan, sudo,
|
||||
xen
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9906: genimage: Disk full
|
||||
|
||||
2017.05-rc3, Released May 30th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
ARC toolchain bumped to 2017.03
|
||||
|
||||
Runtime testing improvements and cleanups.
|
||||
|
||||
Updated/fixed packages: acpica, armadillo, audiofile, c-icap,
|
||||
cppcms, dhcp, docker-engine, dropbear, elfutils, erlang,
|
||||
fbgrab, ffmpeg, flashrom, ftop, gnutls, google-breakpad,
|
||||
keepalived, kodi, libcdio, libepoxy, libev, libminiupnpc,
|
||||
libqmi, libtasn1, libv4l, mariadb, mono, mosh, mosquitto,
|
||||
mxml, ntp, opencv, openpowerlink, oracle-mysql, popt,
|
||||
pulseview, python-enum34, rabbitmq-c, redis, samba4, stella,
|
||||
xen
|
||||
|
||||
Removed packages: firejail, ola
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set
|
||||
#9876: aarch64 support with gcc 4.8 toolchain
|
||||
#9896: host-gcc-initial error downloading because incorrect URL
|
||||
|
||||
2017.05-rc2, Released May 17th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
ARC toolchain bumped to 2017.03-rc2
|
||||
|
||||
Updated/fixed packages: bluez_utils, boost, clamav, daemon,
|
||||
efibootmgr, efl, espeak, expedite, faketime, ffmpeg, fxload,
|
||||
git, gpsd, kvm-unit-tests, libcdio, libv4l, lua, mke2img,
|
||||
mpir, mpv, odroid-scripts, openblas, opencv3, openvpn, php,
|
||||
postgresql, protobuf, qt5declarative, qwt, radvd, rpcbind,
|
||||
rtmpdump, strongswan, sudo, ltp-testsuite, uclibc-ng-test,
|
||||
vlc, x11vnc, xfsprogs
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9796: source-check broken for Git downloads
|
||||
#9866: BASE_DIR usage
|
||||
|
||||
2017.05-rc1, Released May 8th, 2017
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- Installed binaries are now checked for correct architecture
|
||||
to catch natively built binaries or binaries built for other
|
||||
architecture variants.
|
||||
|
||||
- Luarocks infrastructure improvements to extraction handling,
|
||||
support for upstream name != Buildroot package name.
|
||||
|
||||
- 'make printvars' output format has changed to make it easier
|
||||
to use in scripts. It now has options to quote the variables
|
||||
and to show the expanded/unexpanded values.
|
||||
|
||||
- Automatic ext2 rootfs size calculation has been removed. The
|
||||
logic was not working working reliable in all setups as it
|
||||
depends on the host filesystem behaviour, so instead now the
|
||||
size has to be specified explicitly (defaults to 60MB).
|
||||
|
||||
- The git download infrastructure now ensures that GNU format
|
||||
tar files are created.
|
||||
|
||||
- Fixed a variable clashing issue in the mkusers script with
|
||||
internal bash variables.
|
||||
|
||||
- Fakeroot now links against libacl to fix issues on
|
||||
distributions using acls.
|
||||
|
||||
- Correct permissions for /dev/pts/ptmx when systemd is used
|
||||
with recent glibc versions.
|
||||
|
||||
- br2-external: Improve error reporting.
|
||||
|
||||
- A wrapper script for genimage has been added in
|
||||
support/scripts/genimage.sh for easy use of genimage from
|
||||
post-image scripts.
|
||||
|
||||
- A script to check for common style issues in new packages
|
||||
before submitting has been added in support/scripts/check-package
|
||||
|
||||
- Defconfigs are now tested by gitlab-CI instead of Travis:
|
||||
https://gitlab.com/buildroot.org/buildroot
|
||||
|
||||
- Infrastructure for runtime testing has been added to
|
||||
support/testing
|
||||
|
||||
Toolchain:
|
||||
|
||||
- External linaro toolchains updated to 2017.02, ARC toolchain
|
||||
updated to 2017.03-rc1, NIOSII CodeSourcery to 2017.05
|
||||
|
||||
- A number of fixes and improvements to the external toolchain
|
||||
handling, including C library detection, multilib and ld.so
|
||||
handling
|
||||
|
||||
- Glibc 2.25 and uClibc-ng 1.0.24 added, wordexp support enabled
|
||||
for uClibc-ng
|
||||
|
||||
- Binutils 2.28 added and default changed to 2.27
|
||||
|
||||
|
||||
Architectures:
|
||||
|
||||
- Support for the C-SKY architecture has been added.
|
||||
|
||||
|
||||
License handling:
|
||||
|
||||
- The package license markings for legal info now uses the
|
||||
SPDX short identifiers for the license string where possible.
|
||||
|
||||
- License info has been improved / added for a number of packages.
|
||||
|
||||
|
||||
Misc:
|
||||
|
||||
- Cmake 3.7.x installed on the host is no longer ignored as a
|
||||
workaround for the RPATH issues has been implemented.
|
||||
|
||||
- Docker-engine can now be built statically on an otherwise
|
||||
dynamic linked build for docker-in-docker setups.
|
||||
|
||||
- U-Boot now supports out-of-tree device trees, similar to
|
||||
Linux
|
||||
|
||||
- Nodejs 0.10.x support (and with it, support for <ARMv6) has
|
||||
been removed as this is now EOL upstream.
|
||||
|
||||
New defconfigs: AT91sam9x5ek dev/mmc/mmc-dev, banana pro,
|
||||
Nationalchip gx6605s, MIPS creator ci40, nexbox a95x, 64bit
|
||||
defconfig for raspberry pi 3, stm32f429-disc1.
|
||||
|
||||
The raspberry pi zero-w and rpi3 compute module are now also
|
||||
supported by the rpi0 / rpi3 defconfigs, beaglebone green is
|
||||
supported by the beaglebone defconfig.
|
||||
|
||||
Removed defconfig: minnowboard, via imx6 vab820, altera
|
||||
socdk/sockit
|
||||
|
||||
New packages: arp-scan, atest, augeas, bluez-tools, daemon,
|
||||
dc3dd, dieharder, execline, fmt, ghostscript, gqrx,
|
||||
gst1-vaapi, jo, keepalived, kmscube, kodi-jsonschemabuilder,
|
||||
kodi-skin-confluence, kodi-texturepacker, lensfun, leptonica,
|
||||
libbson, libcsv, libgphoto2, libkcapi, libmaxminddb,
|
||||
libmediaart, libnpth, libscrypt, lua-bit32, lua-resty-http,
|
||||
lugaru, memtool, mpir, nanomsg, physfs, phytool, pngquant,
|
||||
python-decorator, python-simplegeneric,
|
||||
python-sortedcontainers, rpi-bt-firmware, rpi-wifi-firmware,
|
||||
s6, s6-dns, s6-linux-init, s6-linux-utils, s6-networking,
|
||||
s6-portable-utils, s6-rc, supertux, tesseract-ocr,
|
||||
uccp420wlan, wilink-bt-firmware
|
||||
|
||||
Broken packages: ola
|
||||
|
||||
Removed packages: cosmo, kodi-visualisation-fountain,
|
||||
polarssl, portmap, xdriver_xf86-video-glide,
|
||||
xdriver_xf86-video-v4l, xdriver_xf86-video-wsfb
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#8831: image generation fails on host ZFS due to "no free space"
|
||||
#9436: e2fsprogs remove busybox applets even of unselected e2fs..
|
||||
#9456: mkusers script bash errors
|
||||
#9496: mke2img fails during build on ntfs-3g host partition
|
||||
#9531: NPM fails to build embedded modules
|
||||
#9596: KODI: --enable-lirc needs "HAVE_LIRC" compiler definition..
|
||||
#9691: Wrong cryptsetup package include files location
|
||||
#9696: Wrong cryptsetup package include files location
|
||||
#9706: Can't download newer revisions of package from PyPI
|
||||
#9711: Recent libCEC version bump seems to break kodi package
|
||||
#9716: exit, shutdown, reboot from kodi
|
||||
#9721: version 2017.02: no acceptable m4 could be found in $PATH
|
||||
#9726: Raspberry Pi version B - Problems with UART speed in..
|
||||
#9751: expat legal info - manifest.csv: GPLv2 Source site: MIT..
|
||||
#9756: glibc fails to build on buildroot-sh4*-buildroot-linux-gnu
|
||||
#9766: support/scripts/pkgutil.py conflicts with the pkgutil.py..
|
||||
#9776: libubox build failed
|
||||
#9791: Python searches for packages in the user site directory
|
||||
#9806: libseccomp is not available when BR2_arm=y
|
||||
#9826: post-build scritp - symlinks created in post-build script..
|
||||
#9836: triggerhappy: systemd unit broken
|
||||
#9846: musl libc not installed correctly in target folder
|
||||
#9856: build libubox failed on ubuntu 17.04 64bit
|
||||
|
||||
2017.02.5, Released July 27th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Webkitgtk bumped to the 2.16.x series, fixing a large number
|
||||
of security issues.
|
||||
|
||||
host-aespipe compile fix for Debian/Gentoo/Ubuntu toolchains
|
||||
which default to PIE mode.
|
||||
|
||||
Updated/fixed packages: aespipe, apache, bind, binutils,
|
||||
busybox, ccache, collectd, efibootmgr, efivar, expat, ffmpeg,
|
||||
gcc, heimdal, iproute2, irssi, libglib2, libmemcached,
|
||||
libosip2, libtirpc, libxml-parser-perl, linux-fusion,
|
||||
linux-zigbee, mpg123, nodejs, orc, pcre, php, pulseaudio,
|
||||
python-setproctitle, qt5base, rpi-firmware, samba4, syslinux,
|
||||
systemd, spice, tcpdump, tiff, webkitgtk, x265, xen,
|
||||
xserver_xorg-server, xvisor
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#10061: gcc5.4 buildroot toolchain for powerpc libsanitizer...
|
||||
|
||||
2017.02.4, Released July 4th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Update support/scripts/scancpan to use METACPAN v1 API as v0
|
||||
has been shutdown.
|
||||
|
||||
Update support/scripts/mkusers to handle setups where
|
||||
/etc/shadow is a symlink.
|
||||
|
||||
External toolchain: Don't create musl dynamic loader symlink
|
||||
for static builds.
|
||||
|
||||
Setlocalversion: Correct detection of mercurial revisions for
|
||||
non-tagged versions.
|
||||
|
||||
Updated/fixed packages: apache, automake, bind, botan, c-ares,
|
||||
dhcp, expat, fcgiwrap, gcc, gdb, gesftpserver, glibc, gnutls,
|
||||
gst1-plugins-bad, imagemagick, imx-uuc, intltool, iperf,
|
||||
ipsec-tools, irssi, libgcrypt, libmad, libnl, mosquitto,
|
||||
mpg123, ncurses, nodejs, ntp, openssh, openvpn, qt5base,
|
||||
qt5multimedia, rtl8821au, socat, spice, systemd, tor, tslib,
|
||||
vlc, x264, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9976: License file for package 'rtl8821au' incorrect
|
||||
|
||||
2017.02.3, Released June 2nd, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Download: <pkg>-source-check fixed for packages from git.
|
||||
|
||||
External toolchain: musl dynamic linker symlink for mips-sf
|
||||
corrected.
|
||||
|
||||
Updated/fixed packages: armadillo, audiofile, bash,
|
||||
bluez_utils, cppcms, dbus, dhcp, dropbear, efibootmgr, efl,
|
||||
elfutils, faketime, fbgrab, flashrom, ftop, gdb, git,
|
||||
google-breakpad, gpsd, hans, kvm-unit-tests, kyua, libev,
|
||||
libmicrohttpd, libminiupnpc, libtasn1, libubox, ltp-testsuite,
|
||||
lua, madplay, mariadb, mono, mosquitto, mxml, ntp,
|
||||
nvidia-driver, openblas, openvpn, oracle-mysql, picocom, popt,
|
||||
postgresql, pulseview, qt5base, qwt, rabbitmq-c, redis,
|
||||
rpcbind, rtmpdump, samba4, strongswan, sudo, vlc
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9796: source-check broken for Git downloads
|
||||
#9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set
|
||||
|
||||
2017.02.2, Released May 1st, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Use HTTPS for the Codesourcery external toolchains as the HTTP
|
||||
URLs no longer work.
|
||||
|
||||
Updated/fixed packages: bind, busybox, dovecot, freetype,
|
||||
ghostscript, glibc, granite, hiredis, icu, imagemagick,
|
||||
gst-plugins-base, gst1-plugins-base, libcroco, libcurl, libnl,
|
||||
libnspr, libnss, libsamplerate, libsndfile, libunwind,
|
||||
minicom, mplayer, mpv, nodejs, python-django, python-pyyaml,
|
||||
python-web2py, samba4, syslinux, systemd, tiff, trinity,
|
||||
uboot, wireshark, xen
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9791: Python searches for packages in the user site directory
|
||||
|
||||
2017.02.1, Released April 4th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Fix a variable clashing issue in the mkusers script with
|
||||
internal bash variables.
|
||||
|
||||
Improve external toolchain version detection.
|
||||
|
||||
Correct permissions for /dev/pts/ptmx when systemd is used
|
||||
with recent glibc versions.
|
||||
|
||||
Fix python module name clash for graph-depends.
|
||||
|
||||
Fakeroot now links against libacl to fix issues on
|
||||
distributions using acls.
|
||||
|
||||
Ensure that the git download infrastructure creates GNU format
|
||||
tar files.
|
||||
|
||||
br2-external: Improve error reporting.
|
||||
|
||||
Updated/fixed packages: acl, apr, audiofile, busybox, cairo,
|
||||
dbus-cpp, dbus-glib, dbus-triggerd, domoticz, elfutils,
|
||||
fakeroot, filemq, fmc, gdb, git, gnutls, gst-ffmpeg,
|
||||
gst1-plygins-bad, harfbuzz, htop, imagemagick, jasper, libcec,
|
||||
libiio, libplatform, librsvg, libselinux, libsidplay2, libsoc,
|
||||
libwebsockets, libxkbcommon, linux-firmware, logrotate,
|
||||
lpt-testsuite, lttng-libust, mariadb, mbedtls, memcached,
|
||||
mesa3d, mpd, mplayer, nbd, ncftp, ntp, openssh, opentyrian,
|
||||
pcre, perl-gd, python, qt5base, rpi-userland, rpm, samba4,
|
||||
skalibs, slang, sngrep, squashfs, syslog-ng, taglib,
|
||||
tcpreplay, tor, upmpdcli, wget, wireshark,
|
||||
xdriver_xf86-video-vmware, xlib_libXv, zmqpp
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9456: mkusers script bash errors
|
||||
|
||||
2017.02, Released February 28th, 2017
|
||||
|
||||
Minor fixes, mainly fixing autobuilder issues.
|
||||
|
||||
Don't use cmake 3.7.x from the build host as it is also
|
||||
affected by the RPATH handling issues, and instead build our
|
||||
own if needed.
|
||||
|
||||
Updated/fixed packages: assimp, classpath, genimage, mplayer,
|
||||
mpv, openocd, python-libconfig, qt5base, qt5quickcontrols,
|
||||
vlc, xterm
|
||||
|
||||
2017.02-rc3, Released February 26th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Cmake reverted to version 3.6.3 to workaround regressions
|
||||
related to RPATH handling.
|
||||
|
||||
Updated/fixed packages: bctoolbox, berkeleydb, binutils,
|
||||
btrfs-progs, classpath, directfb, glibc, gstreamer1,
|
||||
gst1-plugins-{base,good,bad,ugly}, gst1-libav,
|
||||
gst1-rtsp-server, gst1-validate, gst-omx, htop, libcurl,
|
||||
libepoxy, libimxvpuapi, libpcap, libuv, ncurses, openssh,
|
||||
oracle-mysql, poco, python, qt5base, qt5webkit, sslh, synergy,
|
||||
trousers, uclibc-ng-test, util-linux, vlc, xfsprogs
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9251: Shared C++ libraries for Microblaze results in Segmentation...
|
||||
#9456: mkusers script bash errors
|
||||
#9506: Collectd 5.7.0 fails to build with libcrypt
|
||||
#9581: VagrantFile provisioning step fails due to issue with grub-pc
|
||||
#9586: usbmount: usbmount slows down the system... to a state of...
|
||||
#9616: CMake host packages cannot provide CONF_ENV
|
||||
#9641: Need raptor package installed in staging
|
||||
#9671: stunnel build error
|
||||
|
||||
2017.02-rc2, Released February 20th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Support for SOURCE_DATE_EPOCH in the toolchain wrapper for
|
||||
older gcc versions for reproducible builds has been
|
||||
(temporarily) reverted because of licensing compatiblity
|
||||
concerns.
|
||||
|
||||
Defconfigs: SD card generation fix for the Udoo Neo board
|
||||
|
||||
Infrastructure to handle .lz compressed tarballs added, and
|
||||
affected packages updated to use it.
|
||||
|
||||
Updated/fixed packages: bctoolbox, bind, canelloni,
|
||||
cbootimage, ccache, classpath, cups, dbus, ddrescue, directfb,
|
||||
ed, erlang, gcc, gdb, glmark2, gstreamer, gstreamer1, hiredis,
|
||||
kmod, kmsxx, lcdapi, libasplib, libgpiod, libnss, libraw,
|
||||
libv4l, mesa3d-headers, mosquitto, mpd, mpv, musl, ntfs-3g,
|
||||
ocrad, openswan, postgresql, qt5base, qt5quickcontrols, redis,
|
||||
riemann-c-client, samba4, sunxi-mali, tcping, trousers,
|
||||
uclibc, util-linux, vim, wavpack, wget, wiringpi, xfsprogs,
|
||||
xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#8941: Valgrind fails to build with stack protection turned on
|
||||
#9291: perl: SysV message queues not configured, even if available
|
||||
#9651: libxcb-1.12 built Error
|
||||
#9656: util-linux: schedutils doesn't build on target w/o enabl...
|
||||
#9666: qt5quickcontrols install fails
|
||||
|
||||
2017.02-rc1, Released February 11th, 2017
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- numerous improvements to support reproducible builds
|
||||
|
||||
- new waf-package package infrastructure to support packages
|
||||
that use the Waf build system. 6 packages converted to
|
||||
this infrastructure.
|
||||
|
||||
- add option <pkg>_PREFER_INSTALLER to the perl package
|
||||
infrastructure
|
||||
|
||||
Architecture:
|
||||
|
||||
- add support for the OpenRISC CPU architecture
|
||||
|
||||
- merge description of the ARM and ARM64 options, and add
|
||||
support for selecting a specific ARM64 core
|
||||
|
||||
Toolchain:
|
||||
|
||||
- major rework of the external toolchain support. It is now
|
||||
split into several packages, one per external toolchain,
|
||||
and a common infrastructure.
|
||||
|
||||
- important fix for musl to prevent a conflict between musl
|
||||
and kernel headers (fixes the build of numerous packages
|
||||
with musl)
|
||||
|
||||
- uClibc-ng bumped to 1.0.22, and therefore enable uClibc
|
||||
for ARM64, mips32r6 and mips64r6
|
||||
|
||||
- add gdb 7.12.1, and switch to gdb 7.11 as the default
|
||||
|
||||
- Linaro toolchains updated to 2016.11, ARC toolchain
|
||||
components updated to arc-2016.09, MIPS Codescape
|
||||
toolchains bumped to 2016.05-06, CodeSourcery AMD64 and
|
||||
NIOS2 toolchains bumped
|
||||
|
||||
- remove Analog Devices toolchain for the Blackfin
|
||||
architecture, remove pre-built musl toolchains from
|
||||
musl.codu.org
|
||||
|
||||
New defconfigs: Freescale i.MX23EVK, Qemu OpenRISC emulation,
|
||||
Qemu NIOS2 emulation, Grinn chiliBoard, Freescale i.MX6Q
|
||||
SabreSD, BeagleBoard X15, OrangePi One, ARC HS38 HAPS
|
||||
|
||||
New packages: angular-websocket, aubio, bctoolbox, darkhttpd,
|
||||
ddrescue, easydbus, fakedate, git-crypt, hiredis, ifenslave,
|
||||
jsmn, libgpiod, libgsm, linux-syscall-support, mariadb, mimic,
|
||||
nginx-dav-ext, nmon, opkg-utils, policycoreutils,
|
||||
pru-software-support, python-arrow, python-attrs,
|
||||
python-babel, python-bitstring, python-chardet,
|
||||
python-constantly, python-flask-babel, python-gunicorn,
|
||||
python-incremental, python-jsonschema, python-logbook,
|
||||
python-markdown2, python-mbstrdecoder, python-mutagen,
|
||||
python-pathpy, python-pudb, python-pyqrcode,
|
||||
python-pytablereader, python-setuptools-scm, python-sh,
|
||||
python-toml, python-vcversioner, python-whoosh,
|
||||
raspberrypi-usbboot, riemann-c-client, rtl8723bs, skalibs,
|
||||
sslh, sngrep, ti-cgt-pru, uclibc-ng-test, udpxy, uhttpd,
|
||||
upower, ustream-ssl, waf, xlib_libXfont2
|
||||
|
||||
Removed packages: perl-db-file, snowball-hdmiservice,
|
||||
snowball-init
|
||||
|
||||
Tooling: addition of a test-pkg script to help contributors
|
||||
build test their package.
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#8946: Valgrind fails to build with stack protection turned on
|
||||
#9461: odroidc2 - toolchain Linaro AArch64 2016.11 compile error
|
||||
#9466: VIM_REMOVE_DOCS removes rgb.txt
|
||||
#9486: xorg-server 1.19 fails to compile for glibc with systemd init (x86_64)
|
||||
#9501: eudev fails to build with older kernel headers
|
||||
#9526: Embedded NPM fails to start with "no such file or directory" error
|
||||
#9541: Platform drivers autoloading from info in device tree does not work
|
||||
#9546: seems BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS do nothing
|
||||
#9551: Coreutils fails to build target src/src_libsinglebin_pinky_a-pinky.o
|
||||
#9566: [kmod] Compilation fails with uclibc
|
||||
#9571: buildroot fails while building opencv for arm64 platform
|
||||
#9576: External tree with BR 2016.11 does not work anymore
|
||||
#9606: xorg-server cannot build for ARM target
|
||||
|
||||
2016.11.3, Released March 9th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
42
Config.in
42
Config.in
@@ -57,11 +57,6 @@ config BR2_HOST_GCC_AT_LEAST_6
|
||||
default y if BR2_HOST_GCC_VERSION = "6"
|
||||
select BR2_HOST_GCC_AT_LEAST_5
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_7
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "7"
|
||||
select BR2_HOST_GCC_AT_LEAST_6
|
||||
|
||||
# Hidden boolean selected by packages in need of Java in order to build
|
||||
# (example: xbmc)
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
@@ -89,11 +84,6 @@ config BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
config BR2_HOSTARCH_NEEDS_IA32_COMPILER
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages that need the host to have an
|
||||
# UTF8 locale.
|
||||
config BR2_NEEDS_HOST_UTF8_LOCALE
|
||||
bool
|
||||
|
||||
source "arch/Config.in"
|
||||
|
||||
menu "Build options"
|
||||
@@ -163,13 +153,6 @@ config BR2_XZCAT
|
||||
Command to be used to extract a xz'ed file to stdout.
|
||||
Default is "xzcat"
|
||||
|
||||
config BR2_LZCAT
|
||||
string "lzcat command"
|
||||
default "lzip -d -c"
|
||||
help
|
||||
Command to be used to extract a lzip'ed file to stdout.
|
||||
Default is "lzip -d -c"
|
||||
|
||||
config BR2_TAR_OPTIONS
|
||||
string "Tar options"
|
||||
default ""
|
||||
@@ -419,10 +402,13 @@ config BR2_DEBUG_3
|
||||
endchoice
|
||||
endif
|
||||
|
||||
choice
|
||||
prompt "strip command for binaries on target"
|
||||
default BR2_STRIP_strip
|
||||
|
||||
config BR2_STRIP_strip
|
||||
bool "strip target binaries"
|
||||
bool "strip"
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
default y
|
||||
help
|
||||
Binaries and libraries in the target filesystem will be
|
||||
stripped using the normal 'strip' command. This allows to save
|
||||
@@ -430,9 +416,15 @@ config BR2_STRIP_strip
|
||||
on the target are needed for native debugging, but not when
|
||||
remote debugging is used.
|
||||
|
||||
config BR2_STRIP_none
|
||||
bool "none"
|
||||
help
|
||||
Do not strip binaries and libraries in the target filesystem.
|
||||
endchoice
|
||||
|
||||
config BR2_STRIP_EXCLUDE_FILES
|
||||
string "executables that should not be stripped"
|
||||
depends on BR2_STRIP_strip
|
||||
depends on !BR2_STRIP_none
|
||||
default ""
|
||||
help
|
||||
You may specify a space-separated list of binaries and
|
||||
@@ -440,7 +432,7 @@ config BR2_STRIP_EXCLUDE_FILES
|
||||
|
||||
config BR2_STRIP_EXCLUDE_DIRS
|
||||
string "directories that should be skipped when stripping"
|
||||
depends on BR2_STRIP_strip
|
||||
depends on !BR2_STRIP_none
|
||||
default ""
|
||||
help
|
||||
You may specify a space-separated list of directories that
|
||||
@@ -532,8 +524,6 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
bool "Enable google-breakpad support"
|
||||
select BR2_PACKAGE_GOOGLE_BREAKPAD
|
||||
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
|
||||
depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
@@ -717,12 +707,6 @@ config BR2_REPRODUCIBLE
|
||||
this allows to generate exactly identical binaries from one
|
||||
build to the other, including on different machines.
|
||||
|
||||
The current implementation is restricted to builds with the
|
||||
same output directory. Many (absolute) paths are recorded in
|
||||
intermediary files, and it is very likely that some of these
|
||||
paths leak into the target rootfs. If you build with the
|
||||
same O=... path, however, the result is identical.
|
||||
|
||||
This is labeled as an experimental feature, as not all
|
||||
packages behave properly to ensure reproducibility.
|
||||
|
||||
|
||||
565
Config.in.legacy
565
Config.in.legacy
@@ -142,539 +142,6 @@ comment "build, or run, in unpredictable ways. "
|
||||
comment "----------------------------------------------------"
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2017.08"
|
||||
|
||||
config BR2_PACKAGE_SIMICSFS
|
||||
bool "simicsfs support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for simicsfs kernel driver that provides access to a
|
||||
host computer's local filesystem when the target is
|
||||
executing within a SIMICS simulation has been removed.
|
||||
|
||||
Simics is now moving away from the simicsfs kernel module,
|
||||
as the kernel module has required too much maintenance
|
||||
work. Users should move to the user mode Simics agent
|
||||
instead.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_26_X
|
||||
bool "binutils version 2.26 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for binutils version 2.26 has been removed. The
|
||||
current default version (2.28 or later) has been selected
|
||||
instead.
|
||||
|
||||
config BR2_XTENSA_OVERLAY_DIR
|
||||
string "The BR2_XTENSA_OVERLAY_DIR option has been removed"
|
||||
help
|
||||
The BR2_XTENSA_OVERLAY_DIR has been removed in favour of
|
||||
BR2_XTENSA_OVERLAY_FILE. You must now pass the complete
|
||||
path to the overlay file, not to the directory containing
|
||||
it.
|
||||
|
||||
config BR2_XTENSA_OVERLAY_DIR_WRAP
|
||||
bool
|
||||
default y if BR2_XTENSA_OVERLAY_DIR != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_XTENSA_CUSTOM_NAME
|
||||
string "The BR2_XTENSA_CUSTOM_NAME option has been removed"
|
||||
help
|
||||
The BR2_XTENSA_CUSTOM_NAME option has been removed.
|
||||
|
||||
config BR2_XTENSA_CUSTOM_NAME_WRAP
|
||||
bool
|
||||
default y if BR2_XTENSA_CUSTOM_NAME != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_HOST_MKE2IMG
|
||||
bool "host mke2img has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
We now call mkfs directly to generate ext2/3/4 filesystem
|
||||
image, so mke2img is no longer necessary.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_BLOCKS
|
||||
int "exact size in blocks has been removed"
|
||||
default 0
|
||||
help
|
||||
This option has been removed in favor of
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE. It has been set automatically
|
||||
to the value you had before. Set to 0 here to remove the
|
||||
warning.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP
|
||||
bool
|
||||
default y if BR2_TARGET_ROOTFS_EXT2_BLOCKS != 0 && \
|
||||
BR2_TARGET_ROOTFS_EXT2_BLOCKS != 61440 # deprecated default value
|
||||
select BR2_LEGACY
|
||||
|
||||
# Note: BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP still referenced in fs/ext2/Config.in
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES
|
||||
int "ext2 extra inodes has been removed" if BR2_TARGET_ROOTFS_EXT2_INODES = 0
|
||||
default 0
|
||||
help
|
||||
Buildroot now uses mkfs.ext2/3/4 to generate ext2/3/4
|
||||
images. It now automatically selects the number of inodes
|
||||
based on the image size. The extra number of inodes can no
|
||||
longer be provided; instead, provide the total number of
|
||||
inodes needed in BR2_TARGET_ROOTFS_EXT2_INODES.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES_WRAP
|
||||
bool
|
||||
default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES != 0
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE
|
||||
bool "cdxaparse removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC
|
||||
bool "dataurisrc moved to gstreamer1"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Dataurisrc has moved to gstreamer core and is always built.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP
|
||||
bool "dccp removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE
|
||||
bool "hdvparse removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE
|
||||
bool "mve removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX
|
||||
bool "nuvdemux removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT
|
||||
bool "patchdetect removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI
|
||||
bool "sdi removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA
|
||||
bool "tta removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE
|
||||
bool "videomeasure removed"
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA
|
||||
select BR2_LEGACY
|
||||
help
|
||||
videomeasure plugin has been removed and has been replaced by
|
||||
iqa, which has automatically been enabled.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK
|
||||
bool "apexsink removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL
|
||||
bool "sdl removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD
|
||||
bool "mad (*.mp3 audio) removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
|
||||
bool "gst1-plugins-bad webrtc renamed to webrtcdsp"
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The WebRTC plugin in GStreamer 1.x has always been named
|
||||
webrtcdsp, but was wrongly introduced in Buildroot under the
|
||||
name webrtc. Therefore, we have renamed the option to match
|
||||
the actual name of the GStreamer plugin.
|
||||
|
||||
config BR2_STRIP_none
|
||||
bool "Strip command 'none' has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The strip command choice has been changed into a single
|
||||
boolean option. Please check that the new setting is
|
||||
correct (in the "Build options" sub-menu)
|
||||
|
||||
config BR2_PACKAGE_BEECRYPT_CPP
|
||||
bool "C++ support removed in beecrypt"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for C++ depends on icu. The beecrypt package is
|
||||
incompatible with icu 59+.
|
||||
|
||||
config BR2_PACKAGE_SPICE_CLIENT
|
||||
bool "spice client support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Spice client support has been removed upstream. The
|
||||
functionality now lives in the spice-gtk widget and
|
||||
virt-viewer.
|
||||
|
||||
config BR2_PACKAGE_SPICE_GUI
|
||||
bool "spice gui support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Spice gui support has been removed upstream. The
|
||||
functionality now lives in the spice-gtk widget and
|
||||
virt-viewer.
|
||||
|
||||
config BR2_PACKAGE_SPICE_TUNNEL
|
||||
bool "spice network redirection removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Spice network redirection, aka tunnelling has been removed
|
||||
upstream.
|
||||
|
||||
config BR2_PACKAGE_INPUT_TOOLS
|
||||
bool "input-tools removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS
|
||||
help
|
||||
input-tools has been removed, it is replaced by
|
||||
linuxconsoletools, which has automatically been enabled.
|
||||
|
||||
config BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH
|
||||
bool "inputattach moved to linuxconsoletools"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH
|
||||
help
|
||||
input-tools has been removed, inputattach is now part
|
||||
of linuxconsoletools, which has automatically been
|
||||
enabled.
|
||||
|
||||
config BR2_PACKAGE_INPUT_TOOLS_JSCAL
|
||||
bool "jscal moved to linuxconsoletools"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK
|
||||
help
|
||||
input-tools has been removed, jscal is now part
|
||||
of linuxconsoletools, which has automatically been
|
||||
enabled.
|
||||
|
||||
config BR2_PACKAGE_INPUT_TOOLS_JSTEST
|
||||
bool "jstest moved to linuxconsoletools"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS
|
||||
select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK
|
||||
help
|
||||
input-tools has been removed, jstest is now part
|
||||
of linuxconsoletools, which has automatically been
|
||||
enabled.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
||||
bool "SH Sourcery toolchain has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Sourcery CodeBench toolchain for the sh architecture has
|
||||
been removed, since it uses glibc older than 2.17 that requires
|
||||
-lrt to link executables using clock_* system calls. This makes
|
||||
this toolchain difficult to maintain over time.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
||||
bool "x86 Sourcery toolchain has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Sourcery CodeBench toolchain for the x86 architecture has
|
||||
been removed, since it uses glibc older than 2.17 that requires
|
||||
-lrt to link executables using clock_* system calls. This makes
|
||||
this toolchain difficult to maintain over time.
|
||||
|
||||
config BR2_GCC_VERSION_4_8_X
|
||||
bool "gcc 4.8.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 4.8.x has been removed. The current
|
||||
default version (5.x or later) has been selected instead.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2017.05"
|
||||
|
||||
config BR2_PACKAGE_SUNXI_MALI_R2P4
|
||||
bool "sunxi-mali r2p4 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
sunxi-mali libMali for r2p4 Mali kernel module has been
|
||||
removed since the libump package only provides libUMP.so.3.
|
||||
libMali for r2p4 Mali kernel module requires libUMP.so.2.
|
||||
|
||||
config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT
|
||||
bool "CoffeeScript option has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option to enable NodeJS CoffeeScript has been removed.
|
||||
To continue using it, add "coffee-script" to
|
||||
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL.
|
||||
|
||||
config BR2_PACKAGE_NODEJS_MODULES_EXPRESS
|
||||
bool "Express web application framework option has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option to enable the NodeJS Express web application
|
||||
framework has been removed. To continue using it, add
|
||||
"express" to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL.
|
||||
|
||||
config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
|
||||
bool "bluez5_utils gatttool install option removed"
|
||||
select BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
|
||||
help
|
||||
The option to install gatttool specifically has been removed.
|
||||
Since version 5.44 gatttool is in the list of deprecated
|
||||
tools. The option to build and install deprecated tools has
|
||||
been automatically enabled.
|
||||
|
||||
config BR2_PACKAGE_OPENOCD_FT2XXX
|
||||
bool "openocd ft2232 support has been removed"
|
||||
select BR2_PACKAGE_OPENOCD_FTDI
|
||||
select BR2_LEGACY
|
||||
help
|
||||
FT2232 support in OpenOCD has been removed, it's replaced by
|
||||
FDTI support, which has automatically been enabled.
|
||||
|
||||
config BR2_PACKAGE_KODI_RTMPDUMP
|
||||
bool "kodi rtmp has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_KODI_INPUTSTREAM_RTMP
|
||||
help
|
||||
Internal rtmp support was removed from Kodi.
|
||||
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN
|
||||
bool "kodi-visualisation-fountain has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
According to upstream 'the visualization is not currently
|
||||
in a working shape.'
|
||||
|
||||
config BR2_PACKAGE_PORTMAP
|
||||
bool "portmap has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_RPCBIND
|
||||
help
|
||||
The portmap upstream tarball is removed, no releases since
|
||||
ten years and latest change in upstream git in 2014.
|
||||
You should better use rpcbind as a RPC portmapper.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_25_X
|
||||
bool "binutils version 2.25 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for binutils version 2.25 has been removed. The
|
||||
current default version (2.27 or later) has been selected
|
||||
instead.
|
||||
|
||||
config BR2_TOOLCHAIN_BUILDROOT_INET_RPC
|
||||
bool "uclibc RPC support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
uClibc-ng removed internal RPC implementation in 1.0.23. You
|
||||
should use libtirpc instead.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS
|
||||
int "extra size in blocks has been removed"
|
||||
default 0
|
||||
help
|
||||
Since the support for auto calculation of the filesystem size has been
|
||||
removed, this option is now useless and must be 0.
|
||||
You may want to check that BR2_TARGET_ROOTFS_EXT2_BLOCKS matchs
|
||||
your needs.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS_WRAP
|
||||
bool
|
||||
default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS != 0
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_KDBUS
|
||||
bool "systemd-kdbus has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
--enable/disable-kdbus configure option has been removed since
|
||||
systemd-231.
|
||||
|
||||
config BR2_PACKAGE_POLARSSL
|
||||
bool "polarssl has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The polarssl crypto library has been removed since the 1.2.x
|
||||
release branch is no longer maintained. Newer upstream
|
||||
branches/releases (mbedtls) have API changes so they're not
|
||||
drop-in replacements.
|
||||
|
||||
config BR2_NBD_CLIENT
|
||||
bool "nbd client option was renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_NBD_CLIENT
|
||||
help
|
||||
The nbd client option has been renamed to BR2_PACKAGE_NBD_CLIENT.
|
||||
|
||||
config BR2_NBD_SERVER
|
||||
bool "nbd server option was renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_NBD_SERVER
|
||||
help
|
||||
The nbd server option has been renamed to BR2_PACKAGE_NBD_SERVER.
|
||||
|
||||
config BR2_PACKAGE_GMOCK
|
||||
bool "gmock merged into gtest package"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_GTEST
|
||||
select BR2_PACKAGE_GTEST_GMOCK
|
||||
help
|
||||
GMock is now a suboption of the GTest package.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_8
|
||||
bool "kernel headers version 4.8.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_4_4
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.8.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 4.4.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_18
|
||||
bool "kernel headers version 3.18.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.18.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 3.12.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_GLIBC_VERSION_2_22
|
||||
bool "glibc 2.22 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for glibc version 2.22 has been removed. The current
|
||||
default version has been selected instead.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2017.02"
|
||||
|
||||
config BR2_PACKAGE_PERL_DB_FILE
|
||||
bool "perl-db-file removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_BERKELEYDB
|
||||
select BR2_PACKAGE_PERL
|
||||
help
|
||||
DB_File can be built as a core Perl module, so the separate
|
||||
perl-db-file package has been removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_7
|
||||
bool "kernel headers version 4.7.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_4_4
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.7.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 4.4.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_6
|
||||
bool "kernel headers version 4.6.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_4_4
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.6.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 4.4.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_5
|
||||
bool "kernel headers version 4.5.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_4_4
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.5.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 4.4.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_14
|
||||
bool "kernel headers version 3.14.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.14.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed. As an alternative,
|
||||
version 3.12.x of the headers have been automatically
|
||||
selected in your configuration.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
|
||||
bool "musl-cross 1.1.12 toolchain removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The support for the prebuilt toolchain based on the Musl C
|
||||
library provided by the musl-cross project has been removed.
|
||||
Upstream doesn't provide any prebuilt toolchain anymore, use the
|
||||
Buildroot toolchain instead.
|
||||
|
||||
config BR2_UCLIBC_INSTALL_TEST_SUITE
|
||||
bool "uClibc tests now in uclibc-ng-test"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_UCLIBC_NG_TEST
|
||||
help
|
||||
The test suite of the uClibc C library has been moved into a
|
||||
separate package, uclibc-ng-test.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
||||
bool "Blackfin.uclinux.org 2014R1 toolchain removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The ADI Blackfin toolchain has many bugs which are fixed in
|
||||
more recent gcc and uClibc-ng releases. Use the Buildroot
|
||||
toolchain instead.
|
||||
|
||||
config BR2_PACKAGE_MAKEDEVS
|
||||
bool "makedevs removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The makedevs tool is part of busybox. The Buildroot fork
|
||||
should not be used outside of the Buildroot infrastructure.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
||||
bool "Arago ARMv7 2011.09 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Arago toolchains are every old and not updated anymore.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
||||
bool "Arago ARMv5 2011.09 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Arago toolchains are every old and not updated anymore.
|
||||
|
||||
config BR2_PACKAGE_SNOWBALL_HDMISERVICE
|
||||
bool "snowball-hdmiservice removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
We no longer have support for the Snowball platform in
|
||||
Buildroot, so this package was no longer useful.
|
||||
|
||||
config BR2_PACKAGE_SNOWBALL_INIT
|
||||
bool "snowball-init removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
We no longer have support for the Snowball platform in
|
||||
Buildroot, so this package was no longer useful.
|
||||
|
||||
config BR2_GDB_VERSION_7_9
|
||||
bool "gdb 7.9 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 7.9 version of gdb has been removed. Use a newer version
|
||||
instead.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.11"
|
||||
|
||||
@@ -828,22 +295,22 @@ config BR2_GCC_VERSION_4_8_ARC
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_0
|
||||
bool "kernel headers version 4.0.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_KERNEL_HEADERS_3_18
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.0.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.12.x of the headers have been
|
||||
As an alternative, version 3.18.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_19
|
||||
bool "kernel headers version 3.19.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_KERNEL_HEADERS_3_18
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.19.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.12.x of the headers have been
|
||||
As an alternative, version 3.18.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
|
||||
@@ -873,14 +340,6 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.08"
|
||||
|
||||
config BR2_PACKAGE_EFL_JP2K
|
||||
bool "libevas jp2k loader has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JP2K support in EFL requires openjpeg 1.x (libopenjpeg1.pc)
|
||||
while Buildroot only packages openjpeg 2.x. Therefore, the
|
||||
JP2K loader has been removed from EFL.
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_COMPAT
|
||||
bool "systemd compatibility libraries have been removed"
|
||||
select BR2_LEGACY
|
||||
@@ -1062,12 +521,12 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_VOID
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_17
|
||||
bool "kernel headers version 3.17.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_KERNEL_HEADERS_3_14
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.17.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.12.x of the headers have been
|
||||
As an alternative, version 3.14.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_GDB_VERSION_7_7
|
||||
@@ -1129,7 +588,7 @@ config BR2_GCC_VERSION_4_5_X
|
||||
version instead.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_READLINE
|
||||
bool "sqlite command-line editing support was updated"
|
||||
bool "command-line editing support was updated"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_LEGACY
|
||||
@@ -1163,7 +622,7 @@ config BR2_PACKAGE_E2FSPROGS_FINDFS
|
||||
This option attempted to enable findfs capabilities from
|
||||
e2fsprogs but has not worked since July 2015 (due to
|
||||
packaging changes). One can use BusyBox's findfs support or
|
||||
enable the BR2_PACKAGE_UTIL_LINUX_BINARIES option.
|
||||
enable the BR2_PACKAGE_UTIL_LINUX_FINDFS option.
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL
|
||||
bool "openpowerlink debug option has been removed"
|
||||
@@ -1208,12 +667,12 @@ config BR2_PACKAGE_CUPS_PDFTOPS
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_16
|
||||
bool "kernel headers version 3.16.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_KERNEL_HEADERS_3_14
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.16.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.12.x of the headers have been
|
||||
As an alternative, version 3.14.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PYXML
|
||||
@@ -1444,12 +903,12 @@ config BR2_KERNEL_HEADERS_3_13
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_15
|
||||
bool "kernel headers version 3.15.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_12
|
||||
select BR2_KERNEL_HEADERS_3_14
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.15.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.12.x of the headers have been
|
||||
As an alternative, version 3.14.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI
|
||||
|
||||
325
DEVELOPERS
325
DEVELOPERS
@@ -30,24 +30,7 @@ N: Abhilash Tuse <abhilash.tuse@imgtec.com>
|
||||
F: package/gstreamer1/gst1-rtsp-server/
|
||||
|
||||
N: Adam Duskett <aduskett@gmail.com>
|
||||
F: package/audit/
|
||||
F: package/checkpolicy/
|
||||
F: package/gstreamer1/gst1-vaapi/
|
||||
F: package/janus-gateway/
|
||||
F: package/libressl/
|
||||
F: package/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/nginx-naxsi/
|
||||
F: package/policycoreutils/
|
||||
F: package/python-mutagen/
|
||||
F: package/refpolicy/
|
||||
F: package/sepolgen/
|
||||
F: package/setools/
|
||||
F: package/sngrep/
|
||||
|
||||
N: Adrian Perez de Castro <aperez@igalia.com>
|
||||
F: package/webkitgtk/
|
||||
|
||||
N: Alex Suykov <alex.suykov@gmail.com>
|
||||
F: package/vboot-utils/
|
||||
@@ -69,10 +52,6 @@ F: package/liblog4c-localtime/
|
||||
N: Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
||||
F: package/tz/
|
||||
|
||||
N: Alexandre Esse <alexandre.esse.dev@gmail.com>
|
||||
F: package/kvazaar/
|
||||
F: package/v4l2loopback/
|
||||
|
||||
N: Alistair Francis <alistair.francis@xilinx.com>
|
||||
F: package/xen/
|
||||
|
||||
@@ -85,25 +64,12 @@ N: Anders Darander <anders@chargestorm.se>
|
||||
F: package/ktap/
|
||||
|
||||
N: André Hentschel <nerv@dawncrow.de>
|
||||
F: package/azure-iot-sdk-c/
|
||||
F: package/openal/
|
||||
F: package/p7zip/
|
||||
F: package/wine/
|
||||
|
||||
N: Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||
F: package/python-backports-shutil-get-terminal-size/
|
||||
F: package/python-decorator/
|
||||
F: package/python-ipython-genutils/
|
||||
F: package/python-pathlib2/
|
||||
F: package/python-pickleshare/
|
||||
F: package/python-scandir/
|
||||
F: package/python-simplegeneric/
|
||||
F: package/python-systemd/
|
||||
F: package/python-traitlets/
|
||||
F: package/zstd/
|
||||
|
||||
N: Andrey Yurovsky <yurovsky@gmail.com>
|
||||
F: package/rauc/
|
||||
N: Andrew Ruder <andrew.ruder@elecsyscorp.com>
|
||||
F: package/expect/
|
||||
|
||||
N: Andy Kennedy <andy.kennedy@adtran.com>
|
||||
F: package/libunwind/
|
||||
@@ -118,9 +84,6 @@ F: package/python-pydal/
|
||||
F: package/python-web2py/
|
||||
F: package/sysdig/
|
||||
|
||||
N: Antony Pavlov <antonynpavlov@gmail.com>
|
||||
F: package/lsscsi/
|
||||
|
||||
N: Anthony Viallard <viallard@syscom-instruments.com>
|
||||
F: package/gnuplot/
|
||||
|
||||
@@ -138,20 +101,14 @@ N: Arnaud Aujon <arnaud@intelibre.fr>
|
||||
F: package/espeak/
|
||||
|
||||
N: Arnout Vandecappelle <arnout@mind.be>
|
||||
F: package/arp-scan/
|
||||
F: package/freescale-imx/firmware-imx/
|
||||
F: package/freescale-imx/imx-lib/
|
||||
F: package/gstreamer/gst-fsl-plugins/
|
||||
F: package/lua-bit32/
|
||||
F: package/owfs/
|
||||
F: package/python-bottle/
|
||||
F: package/sqlcipher/
|
||||
F: package/stress/
|
||||
|
||||
N: Ash Charles <ash.charles@savoirfairelinux.com>
|
||||
F: package/pru-software-support/
|
||||
F: package/ti-cgt-pru/
|
||||
|
||||
N: Assaf Inbal <shmuelzon@gmail.com>
|
||||
F: package/lbase64/
|
||||
F: package/luabitop/
|
||||
@@ -162,10 +119,9 @@ F: package/luasec/
|
||||
F: package/lua-ev/
|
||||
F: package/orbit/
|
||||
|
||||
N: Bartosz Golaszewski <brgl@bgdev.pl>
|
||||
N: Bartosz Golaszewski <bgolaszewski@baylibre.com>
|
||||
F: package/autoconf-archive/
|
||||
F: package/doxygen/
|
||||
F: package/libgpiod/
|
||||
F: package/libserialport/
|
||||
F: package/libsigrok/
|
||||
F: package/libsigrokdecode/
|
||||
@@ -174,10 +130,8 @@ F: package/pulseview/
|
||||
F: package/sigrok-cli/
|
||||
|
||||
N: Baruch Siach <baruch@tkos.co.il>
|
||||
F: package/daemon/
|
||||
F: package/ebtables/
|
||||
F: package/openipmi/
|
||||
F: package/ti-uim/
|
||||
|
||||
N: Ben Boeckel <mathstuf@gmail.com>
|
||||
F: package/taskd/
|
||||
@@ -186,12 +140,9 @@ N: Benjamin Kamath <kamath.ben@gmail.com>
|
||||
F: package/lapack/
|
||||
|
||||
N: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
F: package/alsa-lib/
|
||||
F: package/alsa-utils/
|
||||
F: package/apache/
|
||||
F: package/apr/
|
||||
F: package/apr-util/
|
||||
F: package/bluez-tools/
|
||||
F: package/clamav/
|
||||
F: package/dovecot/
|
||||
F: package/dovecot-pigeonhole/
|
||||
@@ -201,10 +152,8 @@ F: package/exim/
|
||||
F: package/fetchmail/
|
||||
F: package/freeswitch/
|
||||
F: package/ffmpeg/
|
||||
F: package/ghostscript/
|
||||
F: package/giflib/
|
||||
F: package/glmark2/
|
||||
F: package/hdparm/
|
||||
F: package/jsoncpp/
|
||||
F: package/kodi*
|
||||
F: package/lame/
|
||||
@@ -237,7 +186,6 @@ F: package/libldns/
|
||||
F: package/libmicrohttpd/
|
||||
F: package/libminiupnpc/
|
||||
F: package/libnatpmp/
|
||||
F: package/libnpth/
|
||||
F: package/libogg/
|
||||
F: package/libopenh264/
|
||||
F: package/libpciaccess/
|
||||
@@ -251,7 +199,6 @@ F: package/libsquish/
|
||||
F: package/liburiparser/
|
||||
F: package/libva/
|
||||
F: package/libva-intel-driver/
|
||||
F: package/libva-utils/
|
||||
F: package/libvorbis/
|
||||
F: package/libvpx/
|
||||
F: package/libyuv/
|
||||
@@ -261,6 +208,7 @@ F: package/mjpg-streamer/
|
||||
F: package/mplayer/
|
||||
F: package/perl-crypt-openssl-random/
|
||||
F: package/perl-crypt-openssl-rsa/
|
||||
F: package/perl-db-file/
|
||||
F: package/perl-digest-sha1/
|
||||
F: package/perl-encode-detect/
|
||||
F: package/perl-encode-locale/
|
||||
@@ -285,7 +233,6 @@ F: package/perl-timedate/
|
||||
F: package/perl-uri/
|
||||
F: package/perl-www-robotrules/
|
||||
F: package/pixman/
|
||||
F: package/pngquant/
|
||||
F: package/pound/
|
||||
F: package/pure-ftpd/
|
||||
F: package/python-couchdb/
|
||||
@@ -333,6 +280,7 @@ N: Carlo Caione <carlo.caione@gmail.com>
|
||||
F: package/sunxi-boards/
|
||||
|
||||
N: Carlos Santos <casantos@datacom.ind.br>
|
||||
F: package/gmock/
|
||||
F: package/gtest/
|
||||
F: package/libpam-radius-auth/
|
||||
F: package/libpam-tacplus/
|
||||
@@ -345,25 +293,12 @@ F: package/libdvbsi/
|
||||
F: package/libsvg/
|
||||
F: package/libsvg-cairo/
|
||||
|
||||
N: Chakra Divi <chakra@openedev.com>
|
||||
F: board/friendlyarm/nanopi-m1
|
||||
F: board/friendlyarm/nanopi-m1-plus
|
||||
F: board/olimex/a13_olinuxino
|
||||
F: board/orangepi/orangepi-plus
|
||||
F: configs/nanopi_m1_defconfig
|
||||
F: configs/nanopi_m1_plus_defconfig
|
||||
F: configs/olimex_a13_olinuxino_defconfig
|
||||
F: configs/orangepi_plus_defconfig
|
||||
|
||||
N: Chris Packham <judge.packham@gmail.com>
|
||||
F: package/eventlog/
|
||||
F: package/micropython/
|
||||
F: package/micropython-lib/
|
||||
F: package/syslog-ng/
|
||||
|
||||
N: Christian Kellermann <christian.kellermann@solectrix.de>
|
||||
F: package/python-pylibftdi/
|
||||
|
||||
N: Christian Stewart <christian@paral.in>
|
||||
F: linux/linux-ext-aufs.mk
|
||||
F: package/aufs/
|
||||
@@ -385,8 +320,10 @@ F: package/targetcli-fb/
|
||||
|
||||
N: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
|
||||
F: package/audit/
|
||||
F: package/checkpolicy/
|
||||
F: package/cpio/
|
||||
|
||||
N: Clayton Shotwell <clshotwe@rockwellcollins.com>
|
||||
F: package/checkpolicy/
|
||||
F: package/libcgroup/
|
||||
F: package/libee/
|
||||
F: package/libestr/
|
||||
@@ -394,13 +331,9 @@ F: package/liblogging/
|
||||
F: package/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/policycoreutils/
|
||||
F: package/sepolgen/
|
||||
F: package/ustr/
|
||||
|
||||
N: Corentin Guillevic <corentin.guillevic@smile.fr>
|
||||
F: package/libloki/
|
||||
|
||||
N: Cédric Chépied <cedric.chepied@gmail.com>
|
||||
F: package/znc/
|
||||
|
||||
@@ -437,14 +370,14 @@ F: package/lua-cjson/
|
||||
F: package/luaexpat/
|
||||
F: package/xinetd/
|
||||
|
||||
N: Dave Skok <blanco.ether@gmail.com>
|
||||
F: package/ola/
|
||||
|
||||
N: David Bachelart <david.bachelart@bbright.com>
|
||||
F: package/ccrypt/
|
||||
F: package/dos2unix/
|
||||
F: package/ipmiutil/
|
||||
F: package/jsmn/
|
||||
F: package/python-daemon/
|
||||
F: package/sslh/
|
||||
F: package/udpxy/
|
||||
|
||||
N: David Bender <codehero@gmail.com>
|
||||
F: package/benejson/
|
||||
@@ -455,9 +388,6 @@ F: package/openldap/
|
||||
N: David du Colombier <0intro@gmail.com>
|
||||
F: package/x264/
|
||||
|
||||
N: David Graziano <david.graziano@rockwellcollins.com>
|
||||
F: package/libcsv/
|
||||
|
||||
N: David Lechner <david@lechnology.com>
|
||||
F: board/lego/ev3/
|
||||
F: configs/lego_ev3_defconfig
|
||||
@@ -490,20 +420,10 @@ F: package/xxhash/
|
||||
|
||||
N: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
F: package/adwaita-icon-theme/
|
||||
F: package/darkhttpd/
|
||||
F: package/eudev/
|
||||
F: package/execline/
|
||||
F: package/hicolor-icon-theme/
|
||||
F: package/jemalloc/
|
||||
F: package/ninja/
|
||||
F: package/s6/
|
||||
F: package/s6-dns/
|
||||
F: package/s6-linux-init/
|
||||
F: package/s6-linux-utils/
|
||||
F: package/s6-networking/
|
||||
F: package/s6-portable-utils/
|
||||
F: package/s6-rc/
|
||||
F: package/skalibs/
|
||||
F: package/smack/
|
||||
F: package/xvisor/
|
||||
|
||||
@@ -534,10 +454,8 @@ F: arch/Config.in.nios2
|
||||
F: package/fio/
|
||||
F: package/iptraf-ng/
|
||||
F: package/jimtcl/
|
||||
F: package/mimic/
|
||||
F: package/nodm/
|
||||
F: package/openbox/
|
||||
F: package/rtl8723bs/
|
||||
F: package/supertuxkart/
|
||||
|
||||
N: Fabio Estevam <festevam@gmail.com>
|
||||
@@ -545,20 +463,14 @@ F: board/warp7/
|
||||
F: configs/freescale_imx*
|
||||
F: configs/imx6ulpico_defconfig
|
||||
F: configs/mx6cubox_defconfig
|
||||
F: configs/mx6sx_udoo_neo_defconfig
|
||||
F: configs/mx6udoo_defconfig
|
||||
F: configs/wandboard_defconfig
|
||||
F: configs/warp7_defconfig
|
||||
F: package/atest/
|
||||
F: package/kmscube/
|
||||
|
||||
N: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
F: package/netsurf-buildsystem/
|
||||
|
||||
N: Fabrice Fontaine <fabrice.fontaine@orange.com>
|
||||
F: package/domoticz/
|
||||
F: package/libmediaart/
|
||||
F: package/libmaxminddb/
|
||||
F: package/openzwave/
|
||||
|
||||
N: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
@@ -571,10 +483,8 @@ F: package/gssdp/
|
||||
F: package/gupnp/
|
||||
F: package/gupnp-dlna/
|
||||
F: package/gupnp-tools/
|
||||
F: package/hiredis/
|
||||
F: package/igd2-for-linux/
|
||||
F: package/minissdpd/
|
||||
F: package/motion/
|
||||
F: package/tinycbor/
|
||||
F: package/tinydtls/
|
||||
|
||||
@@ -590,6 +500,7 @@ F: board/olimex/a20_olinuxino
|
||||
F: configs/olimex_a20_olinuxino_*
|
||||
F: package/4th/
|
||||
F: package/botan/
|
||||
F: package/cosmo/
|
||||
F: package/dado/
|
||||
F: package/ficl/
|
||||
F: package/gdbm/
|
||||
@@ -610,14 +521,11 @@ F: package/perl*
|
||||
F: package/pkg-perl.mk
|
||||
F: package/pkg-luarocks.mk
|
||||
F: package/qemu/
|
||||
F: package/sdl2_mixer/
|
||||
F: package/sdl2_net/
|
||||
F: package/tekui/
|
||||
F: utils/scancpan
|
||||
F: support/scripts/scancpan
|
||||
|
||||
N: Frank Hunleth <fhunleth@troodon-software.com>
|
||||
F: package/am335x-pru-package/
|
||||
F: package/libconfuse/
|
||||
F: package/libdmtx/
|
||||
F: package/libsodium/
|
||||
F: package/php-amqp/
|
||||
@@ -628,9 +536,6 @@ F: package/ucl/
|
||||
F: package/upx/
|
||||
F: package/zxing-cpp/
|
||||
|
||||
N: Gaël Portay <gael.portay@savoirfairelinux.com>
|
||||
F: package/qt5/qt5virtualkeyboard/
|
||||
|
||||
N: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
F: board/boundarydevices/
|
||||
F: configs/nitrogen*
|
||||
@@ -652,9 +557,7 @@ N: Gilles Talis <gilles.talis@gmail.com>
|
||||
F: package/fdk-aac/
|
||||
F: package/httping/
|
||||
F: package/iozone/
|
||||
F: package/leptonica/
|
||||
F: package/ocrad/
|
||||
F: package/tesseract-ocr/
|
||||
F: package/webp/
|
||||
|
||||
N: Gregory Dymarek <gregd72002@gmail.com>
|
||||
@@ -674,11 +577,6 @@ F: package/sdl2/
|
||||
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
|
||||
F: package/liquid-dsp/
|
||||
|
||||
N: Guo Ren <ren_guo@c-sky.com>
|
||||
F: arch/Config.in.csky
|
||||
F: board/csky/
|
||||
F: configs/csky_*
|
||||
|
||||
N: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
F: arch/Config.in.powerpc
|
||||
F: board/qemu/
|
||||
@@ -832,7 +730,6 @@ F: package/zd1211-firmware/
|
||||
|
||||
N: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
|
||||
F: package/gnuradio/
|
||||
F: package/gqrx/
|
||||
F: package/gr-osmosdr/
|
||||
F: package/libusbgx/
|
||||
F: package/python-cheetah/
|
||||
@@ -854,16 +751,6 @@ F: package/python-rpi-gpio/
|
||||
N: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
|
||||
F: package/angularjs/
|
||||
|
||||
N: Ilias Apalodimas <apalos@gmail.com>
|
||||
F: package/keepalived/
|
||||
|
||||
N: Jagan Teki <jagan@amarulasolutions.com>
|
||||
F: board/engicam/
|
||||
F: configs/engicam_imx6qdl_icore_defconfig
|
||||
F: configs/engicam_imx6qdl_icore_rqs_defconfig
|
||||
F: configs/engicam_imx6ul_geam_defconfig
|
||||
F: configs/engicam_imx6ul_isiot_defconfig
|
||||
|
||||
N: James Knight <james.knight@rockwellcollins.com>
|
||||
F: package/atkmm/
|
||||
F: package/cairomm/
|
||||
@@ -872,7 +759,6 @@ F: package/glibmm/
|
||||
F: package/gtkmm3/
|
||||
F: package/libpqxx/
|
||||
F: package/pangomm/
|
||||
F: package/rpm/
|
||||
F: package/yad/
|
||||
|
||||
N: Jan Pedersen <jp@jp-embedded.com>
|
||||
@@ -907,21 +793,17 @@ F: package/python-libconfig/
|
||||
N: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
F: package/ejabberd/
|
||||
F: package/erlang-goldrush/
|
||||
F: package/erlang-jiffy/
|
||||
F: package/erlang-lager/
|
||||
F: package/erlang-p1-cache-tab/
|
||||
F: package/erlang-p1-iconv/
|
||||
F: package/erlang-p1-oauth2/
|
||||
F: package/erlang-p1-sip/
|
||||
F: package/erlang-p1-stringprep/
|
||||
F: package/erlang-p1-stun/
|
||||
F: package/erlang-p1-tls/
|
||||
F: package/erlang-p1-utils/
|
||||
F: package/erlang-p1-xml/
|
||||
F: package/erlang-p1-xmpp/
|
||||
F: package/erlang-p1-yaml/
|
||||
F: package/erlang-p1-zlib/
|
||||
F: package/nginx-dav-ext/
|
||||
|
||||
N: John Stile <johns@msli.com>
|
||||
F: package/dhcpcd/
|
||||
@@ -950,6 +832,9 @@ F: package/rabbitmq-c/
|
||||
N: Juha Rantanen <juha@codercoded.com>
|
||||
F: package/acsccid/
|
||||
|
||||
N: Julian Lunz <git@jlunz.de>
|
||||
F: package/freerdp/
|
||||
|
||||
N: Julian Scheel <julian@jusst.de>
|
||||
F: package/bitstream/
|
||||
F: package/cbootimage/
|
||||
@@ -974,10 +859,6 @@ F: package/qt5/
|
||||
N: Julien Floret <julien.floret@6wind.com>
|
||||
F: package/lldpd/
|
||||
|
||||
N: Julien Viard de Galbert <julien@vdg.name>
|
||||
F: package/dieharder/
|
||||
F: package/easy-rsa/
|
||||
|
||||
N: Justin Maggard <jmaggard@netgear.com>
|
||||
F: package/dtach/
|
||||
|
||||
@@ -996,10 +877,6 @@ F: package/x11r7/xdriver_xf86-video-imx/
|
||||
F: package/x11r7/xdriver_xf86-video-imx-viv/
|
||||
|
||||
N: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
F: board/lemaker/bananapro/
|
||||
F: configs/bananapro_defconfig
|
||||
F: package/augeas/
|
||||
F: package/bctoolbox/
|
||||
F: package/libshout/
|
||||
F: package/libupnpp/
|
||||
F: package/luv/
|
||||
@@ -1020,28 +897,12 @@ F: package/cpuload/
|
||||
F: package/bwm-ng/
|
||||
F: package/ramsmp/
|
||||
|
||||
N: Kevin Joly <kevin.joly@sensefly.com>
|
||||
F: package/libgphoto2/
|
||||
|
||||
N: Koen Martens <gmc@sonologic.nl>
|
||||
F: package/linuxconsoletools/
|
||||
|
||||
N: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
|
||||
F: package/bcusdk/
|
||||
F: package/libpthsem/
|
||||
|
||||
N: Laurent Cans <laurent.cans@gmail.com>
|
||||
F: package/aircrack-ng/
|
||||
|
||||
N: Lee Jones <lee.jones@linaro.org>
|
||||
F: boot/afboot-stm32/
|
||||
|
||||
N: Lionel Flandrin <lionel@svkt.org>
|
||||
F: package/python-babel/
|
||||
F: package/python-flask/
|
||||
F: package/python-flask-babel/
|
||||
F: package/python-gunicorn/
|
||||
|
||||
N: Lionel Orry <lionel.orry@gmail.com>
|
||||
F: package/mongrel2/
|
||||
|
||||
@@ -1090,48 +951,26 @@ F: package/cc-tool/
|
||||
F: package/ecryptfs-utils/
|
||||
|
||||
N: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
F: board/grinn/
|
||||
F: configs/grinn_*
|
||||
F: package/argparse/
|
||||
F: package/dt-utils/
|
||||
F: package/easydbus/
|
||||
F: package/lua-flu/
|
||||
F: package/lua-stdlib/
|
||||
F: package/luaossl/
|
||||
F: package/rs485conf/
|
||||
F: package/turbolua/
|
||||
|
||||
N: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
|
||||
F: package/libkcapi/
|
||||
|
||||
N: Marek Belisko <marek.belisko@open-nandra.com>
|
||||
F: package/libatasmart/
|
||||
F: package/polkit/
|
||||
F: package/sg3_utils/
|
||||
F: package/udisks/
|
||||
|
||||
N: Mario Rugiero <mrugiero@gmail.com>
|
||||
F: package/ratpoison/
|
||||
|
||||
N: Markos Chandras <markos.chandras@imgtec.com>
|
||||
F: package/harfbuzz/
|
||||
F: package/libsecret/
|
||||
|
||||
N: Martin Bark <martin@barkynet.com>
|
||||
F: package/ca-certificates/
|
||||
F: package/connman/
|
||||
F: package/nodejs/
|
||||
F: package/tzdata/
|
||||
F: package/zic/
|
||||
|
||||
N: Martin Hicks <mort@bork.org>
|
||||
F: package/cryptsetup/
|
||||
|
||||
N: Martin Kepplinger <martink@posteo.de>
|
||||
F: package/tslib/
|
||||
F: package/x11r7/xdriver_xf86-input-tslib/
|
||||
F: package/x11vnc/
|
||||
|
||||
N: Mathieu Audat <mathieu.audat@savoirfairelinux.com>
|
||||
F: board/technologic/ts4900/
|
||||
F: configs/ts4900_defconfig
|
||||
@@ -1139,32 +978,21 @@ F: package/ts4900-fpga/
|
||||
|
||||
N: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
F: package/bc/
|
||||
F: package/checkpolicy/
|
||||
F: package/cgroupfs-mount/
|
||||
F: package/eigen/
|
||||
F: package/fmc/
|
||||
F: package/fmlib/
|
||||
F: package/igmpproxy/
|
||||
F: package/iputils/
|
||||
F: package/libcsv/
|
||||
F: package/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/libqmi/
|
||||
F: package/nginx-upload/
|
||||
F: package/omniorb/
|
||||
F: package/paxtest/
|
||||
F: package/policycoreutils/
|
||||
F: package/python-ipy/
|
||||
F: package/python-posix-ipc/
|
||||
F: package/python-pypcap/
|
||||
F: package/python-pyrex/
|
||||
F: package/raptor/
|
||||
F: package/sepolgen/
|
||||
F: package/setools/
|
||||
F: package/simicsfs/
|
||||
F: package/smcroute/
|
||||
F: package/tclap/
|
||||
F: package/valijson/
|
||||
|
||||
N: Mauro Condarelli <mc5686@mclink.it>
|
||||
F: package/mc/
|
||||
@@ -1233,10 +1061,6 @@ F: package/python-pyzmq/
|
||||
N: Michael Trimarchi <michael@amarulasolutions.com>
|
||||
F: package/python-spidev/
|
||||
|
||||
N: Michał Łyszczek <michal.lyszczek@bofc.pl>
|
||||
F: board/altera/socrates_cyclone5/
|
||||
F: configs/socrates_cyclone5_defconfig
|
||||
|
||||
N: Mikhail Boiko <mikhailboiko85@gmail.com>
|
||||
F: package/libfribidi/
|
||||
|
||||
@@ -1247,9 +1071,6 @@ N: Murat Demirten <mdemirten@yh.com.tr>
|
||||
F: package/jpeg-turbo/
|
||||
F: package/libgeotiff/
|
||||
|
||||
N: Naoki Matsumoto <n-matsumoto@melcoinc.co.jp>
|
||||
F: package/pcre2/
|
||||
|
||||
N: Nathan Lynch <ntl@pobox.com>
|
||||
F: package/chrony/
|
||||
|
||||
@@ -1269,6 +1090,9 @@ F: package/nvidia-tegra23/nvidia-tegra23-codecs/
|
||||
N: Nimai Mahajan <nimaim@gmail.com>
|
||||
F: package/libucl/
|
||||
|
||||
N: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
|
||||
F: package/cgroupfs-mount/
|
||||
|
||||
N: Noé Rubinstein <noe.rubinstein@gmail.com>
|
||||
F: package/tpm-tools/
|
||||
F: package/trousers/
|
||||
@@ -1301,6 +1125,10 @@ F: package/google-breakpad/
|
||||
N: Patrick Gerber <kpa_info@yahoo.fr>
|
||||
F: package/yavta/
|
||||
|
||||
N: Patrick Ziegler <patrick.ziegler@fh-kl.de>
|
||||
F: package/aespipe/
|
||||
F: package/libqmi/
|
||||
|
||||
N: Paul Cercueil <paul.cercueil@analog.com>
|
||||
F: package/libiio/
|
||||
|
||||
@@ -1312,12 +1140,10 @@ F: package/libunistring/
|
||||
|
||||
N: Peter Korsgaard <peter@korsgaard.com>
|
||||
F: board/orangepi/
|
||||
F: configs/orangepi_pc_defconfig
|
||||
F: configs/orangepipc_defconfig
|
||||
F: package/flickcurl/
|
||||
F: package/jo/
|
||||
F: package/libfastjson/
|
||||
F: package/lzop/
|
||||
F: package/memtool/
|
||||
F: package/mosquitto/
|
||||
F: package/python-alsaaudio/
|
||||
F: package/python-enum/
|
||||
@@ -1332,7 +1158,6 @@ F: board/raspberrypi/
|
||||
F: configs/raspberrypi3_defconfig
|
||||
F: package/assimp/
|
||||
F: package/bcm2835/
|
||||
F: package/ddrescue/
|
||||
F: package/dejavu/
|
||||
F: package/dillo/
|
||||
F: package/edid-decode/
|
||||
@@ -1341,7 +1166,9 @@ F: package/gstreamer1/gst1-validate/
|
||||
F: package/libevdev/
|
||||
F: package/log4cplus/
|
||||
F: package/postgresql/
|
||||
F: package/qt5/
|
||||
F: package/qt5/qt53d/
|
||||
F: package/qt5/qt5quickcontrols2/
|
||||
F: package/qt5/qt5tools/
|
||||
F: package/racehound/
|
||||
F: package/wiringpi/
|
||||
|
||||
@@ -1350,12 +1177,8 @@ F: package/sdl2_gfx/
|
||||
F: package/sdl2_image/
|
||||
F: package/sdl2_ttf/
|
||||
|
||||
N: Petr Kulhavy <brain@jikos.cz>
|
||||
F: package/linuxptp/
|
||||
|
||||
N: Petr Vorel <petr.vorel@gmail.com>
|
||||
F: package/linux-backports/
|
||||
F: package/ltp-testsuite/
|
||||
|
||||
N: Phil Eichinger <phil.eichinger@gmail.com>
|
||||
F: package/libqrencode/
|
||||
@@ -1384,7 +1207,6 @@ F: package/libvips/
|
||||
N: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
|
||||
F: package/libdvbpsi/
|
||||
F: package/mraa/
|
||||
F: package/synergy/
|
||||
|
||||
N: Pranit Sirsat <Pranit.Sirsat@imgtec.com>
|
||||
F: package/paho-mqtt-c/
|
||||
@@ -1392,33 +1214,22 @@ F: package/paho-mqtt-c/
|
||||
N: Qais Yousef <Qais.Yousef@imgtec.com>
|
||||
F: package/bellagio/
|
||||
|
||||
N: Rahul Bedarkar <rahulbedarkar89@gmail.com>
|
||||
N: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
|
||||
F: package/cxxtest/
|
||||
F: package/gflags/
|
||||
F: package/glog/
|
||||
F: package/gssdp/
|
||||
F: package/gupnp/
|
||||
F: package/gupnp-av/
|
||||
F: package/let-me-create/
|
||||
F: package/nanomsg/
|
||||
|
||||
N: Rahul Jain <rahul.jain@imgtec.com>
|
||||
F: package/uhttpd/
|
||||
F: package/ustream-ssl/
|
||||
|
||||
N: Renaud Aubin <root@renaud.io>
|
||||
F: package/libhttpparser/
|
||||
|
||||
N: Rhys Williams <github@wilberforce.co.nz>
|
||||
F: package/lirc-tools/
|
||||
|
||||
N: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
|
||||
F: package/atop/
|
||||
|
||||
N: Ricardo Martincoski <ricardo.martincoski@gmail.com>
|
||||
F: support/testing/
|
||||
F: utils/check-package
|
||||
F: utils/checkpackagelib/
|
||||
N: Rhys Williams <github@wilberforce.co.nz>
|
||||
F: package/lirc-tools/
|
||||
|
||||
N: Richard Braun <rbraun@sceen.net>
|
||||
F: package/curlftpfs/
|
||||
@@ -1434,25 +1245,16 @@ F: package/irssi/
|
||||
F: package/vnstat/
|
||||
|
||||
N: Romain Naour <romain.naour@gmail.com>
|
||||
F: package/aubio/
|
||||
F: package/bullet/
|
||||
F: package/efl/
|
||||
F: package/enlightenment/
|
||||
F: package/expedite/
|
||||
F: package/iqvlinux/
|
||||
F: package/irrlicht/
|
||||
F: package/liblinear/
|
||||
F: package/lensfun/
|
||||
F: package/libspatialindex/
|
||||
F: package/linux-syscall-support/
|
||||
F: package/lugaru/
|
||||
F: package/mcelog/
|
||||
F: package/openpowerlink/
|
||||
F: package/physfs/
|
||||
F: package/stress-ng/
|
||||
F: package/supertux/
|
||||
F: package/terminology/
|
||||
F: package/upower/
|
||||
F: package/xenomai/
|
||||
|
||||
N: Romain Perier <romain.perier@free-electrons.com>
|
||||
@@ -1471,7 +1273,6 @@ F: package/python-tornado/
|
||||
N: Ryan Coe <bluemrp9@gmail.com>
|
||||
F: package/inadyn/
|
||||
F: package/libite/
|
||||
F: package/mariadb/
|
||||
|
||||
N: Ryan Wilkins <ryan@deadfrog.net>
|
||||
F: package/biosdevname/
|
||||
@@ -1479,6 +1280,14 @@ F: package/biosdevname/
|
||||
N: Rémi Rérolle <remi.rerolle@gmail.com>
|
||||
F: package/libfreeimage/
|
||||
|
||||
N: Sagaert Johan <sagaert.johan@skynet.be>
|
||||
F: package/git/
|
||||
F: package/gsl/
|
||||
F: package/jquery-mobile/
|
||||
F: package/libgsasl/
|
||||
F: package/qdecoder/
|
||||
F: package/qlibc/
|
||||
|
||||
N: Sam Bobroff <sam.bobroff@au1.ibm.com>
|
||||
F: arch/Config.in.powerpc
|
||||
F: package/librtas/
|
||||
@@ -1514,15 +1323,6 @@ F: package/kyua/
|
||||
F: package/lutok/
|
||||
F: package/yaml-cpp/
|
||||
|
||||
N: Semyon Kolganov <semenak94@mail.ru>
|
||||
F: package/fmt/
|
||||
F: package/libbson/
|
||||
F: package/lua-resty-http/
|
||||
F: package/mpir/
|
||||
|
||||
N: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
F: package/xr819-xradio/
|
||||
|
||||
N: Sergio Prado <sergio.prado@e-labworks.com>
|
||||
F: package/libgdiplus/
|
||||
F: package/mongodb/
|
||||
@@ -1580,11 +1380,6 @@ F: package/libtasn1/
|
||||
F: package/proxychains-ng/
|
||||
F: package/yasm/
|
||||
|
||||
N: Stefan Sørensen <stefan.sorensen@spectralink.com>
|
||||
F: package/cracklib/
|
||||
F: package/libpwquality/
|
||||
F: package/libscrypt/
|
||||
|
||||
N: Stephan Hoffmann <sho@relinux.de>
|
||||
F: package/cache-calibrator/
|
||||
F: package/gtest/
|
||||
@@ -1609,6 +1404,7 @@ F: package/tovid/
|
||||
F: package/xorriso/
|
||||
|
||||
N: Steve Thomas <scjthm@live.com>
|
||||
F: package/cloog/
|
||||
F: package/isl/
|
||||
|
||||
N: Steven Noonan <steven@uplinklabs.net>
|
||||
@@ -1644,12 +1440,10 @@ F: package/fcgiwrap/
|
||||
N: Thomas Davis <sunsetbrew@sunsetbrew.com>
|
||||
F: package/civetweb/
|
||||
|
||||
N: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
F: docs/manual/
|
||||
F: package/opkg-utils/
|
||||
F: support/scripts/size-stats
|
||||
F: utils/size-stats-compare
|
||||
F: toolchain/
|
||||
N: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
|
||||
F: package/libpfm4/
|
||||
F: package/mkpasswd/
|
||||
F: package/zeromq/
|
||||
|
||||
N: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
F: arch/Config.in.arm
|
||||
@@ -1692,6 +1486,7 @@ F: package/ne10/
|
||||
F: package/pkg-python.mk
|
||||
F: package/pkg-autotools.mk
|
||||
F: package/pkg-generic.mk
|
||||
F: package/polarssl/
|
||||
F: package/python/
|
||||
F: package/python3/
|
||||
F: package/python-mad/
|
||||
@@ -1709,6 +1504,12 @@ F: toolchain/
|
||||
N: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
|
||||
F: package/aer-inject/
|
||||
|
||||
N: Tom Sparks <tom_a_sparks@yahoo.com.au>
|
||||
F: package/ibrcommon/
|
||||
F: package/ibrdtn/
|
||||
F: package/ibrdtn-tools/
|
||||
F: package/ibrdtnd/
|
||||
|
||||
N: Tzu-Jung Lee <roylee17@gmail.com>
|
||||
F: package/dropwatch/
|
||||
F: package/tstools/
|
||||
@@ -1729,10 +1530,9 @@ F: package/openmpi/
|
||||
F: package/pinentry/
|
||||
F: package/trinity/
|
||||
|
||||
N: Vincent Stehlé <vincent.stehle@laposte.net>
|
||||
N: Vincent Stehlé <vincent.stehle@intel.com>
|
||||
F: package/i7z/
|
||||
F: package/msr-tools/
|
||||
F: package/pixz/
|
||||
|
||||
N: Vinicius Tinti <viniciustinti@gmail.com>
|
||||
F: package/python-thrift/
|
||||
@@ -1747,13 +1547,14 @@ F: package/ngrep/
|
||||
|
||||
N: Waldemar Brodkorb <wbx@openadk.org>
|
||||
F: arch/Config.in.bfin
|
||||
F: arch/Config.in.m68k
|
||||
F: arch/Config.in.or1k
|
||||
F: arch/Config.in.sparc
|
||||
F: package/glibc/
|
||||
F: package/mksh/
|
||||
F: arch/Config.in.m68k
|
||||
F: package/uclibc/
|
||||
F: package/uclibc-ng-test/
|
||||
F: package/mksh/
|
||||
|
||||
N: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
|
||||
F: package/ccid/
|
||||
F: package/pcsc-lite/
|
||||
|
||||
N: Will Newton <will.newton@gmail.com>
|
||||
F: package/enchant/
|
||||
@@ -1778,29 +1579,25 @@ N: Wojciech Niziński <niziak@spox.org>
|
||||
F: package/fwup/
|
||||
|
||||
N: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
F: fs/squashfs/
|
||||
F: package/cegui06/
|
||||
F: package/celt051/
|
||||
F: package/dtc/
|
||||
F: package/dtv-scan-tables/
|
||||
F: package/dvb-apps/
|
||||
F: package/freerdp/
|
||||
F: package/keyutils/
|
||||
F: package/libbsd/
|
||||
F: package/libedit/
|
||||
F: package/libgsm/
|
||||
F: package/libinput/
|
||||
F: package/libiscsi/
|
||||
F: package/libseccomp/
|
||||
F: package/linux-tools/
|
||||
F: package/mesa3d-headers/
|
||||
F: package/nbd/
|
||||
F: package/mke2img/
|
||||
F: package/nut/
|
||||
F: package/nvidia-driver/
|
||||
F: package/omxplayer/
|
||||
F: package/python-pyparsing/
|
||||
F: package/pkg-download.mk
|
||||
F: package/pkg-waf.mk
|
||||
F: package/slirp/
|
||||
F: package/snappy/
|
||||
F: package/spice/
|
||||
@@ -1823,7 +1620,6 @@ F: package/bluez_utils/
|
||||
F: package/boost/
|
||||
F: package/bootstrap/
|
||||
F: package/cannelloni/
|
||||
F: package/can-utils/
|
||||
F: package/circus/
|
||||
F: package/feh/
|
||||
F: package/giblib/
|
||||
@@ -1843,7 +1639,6 @@ F: package/linux-firmware/
|
||||
F: package/modem-manager/
|
||||
F: package/nuttcp/
|
||||
F: package/parted/
|
||||
F: package/phytool/
|
||||
F: package/python*
|
||||
F: package/ser2net/
|
||||
F: package/socketcand/
|
||||
@@ -1853,7 +1648,7 @@ F: package/ti-utils/
|
||||
F: package/x11r7/xapp_xconsole/
|
||||
F: package/x11r7/xapp_xinput-calibrator/
|
||||
F: package/zlog/
|
||||
F: utils/scanpypi
|
||||
F: support/scripts/scanpypi
|
||||
|
||||
N: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
|
||||
F: package/crudini/
|
||||
|
||||
174
Makefile
174
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-2017 by the Buildroot developers <buildroot@buildroot.org>
|
||||
# Copyright (C) 2014-2016 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
|
||||
@@ -24,9 +24,6 @@
|
||||
# You shouldn't need to mess with anything beyond this point...
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Delete default rules. We don't use them. This saves a bit of time.
|
||||
.SUFFIXES:
|
||||
|
||||
# we want bash as shell
|
||||
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
@@ -84,12 +81,9 @@ else # umask / $(CURDIR) / $(O)
|
||||
|
||||
# This is our default rule, so must come first
|
||||
all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2017.08
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1504300000
|
||||
export BR2_VERSION := 2016.11.3
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -126,11 +120,10 @@ DATE := $(shell date +%Y%m%d)
|
||||
# Need to export it, so it can be got from environment in children (eg. mconf)
|
||||
export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
|
||||
|
||||
# List of targets and target patterns for which .config doesn't need to be read in
|
||||
noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig %_defconfig allyesconfig allnoconfig alldefconfig silentoldconfig release \
|
||||
defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
print-version olddefconfig distclean manual manual-%
|
||||
print-version olddefconfig distclean
|
||||
|
||||
# Some global targets do not trigger a build, but are used to collect
|
||||
# metadata, or do various checks. When such targets are triggered,
|
||||
@@ -141,12 +134,9 @@ noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconf
|
||||
# We're building in two situations: when MAKECMDGOALS is empty
|
||||
# (default target is to build), or when MAKECMDGOALS contains
|
||||
# something else than one of the nobuild_targets.
|
||||
nobuild_targets := source %-source source-check \
|
||||
legal-info %-legal-info external-deps _external-deps \
|
||||
clean distclean help show-targets graph-depends \
|
||||
%-graph-depends %-show-depends %-show-version \
|
||||
graph-build graph-size list-defconfigs \
|
||||
savedefconfig printvars
|
||||
nobuild_targets := source source-check \
|
||||
legal-info external-deps _external-deps \
|
||||
clean distclean help
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
BR_BUILDING = y
|
||||
else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),)
|
||||
@@ -175,10 +165,10 @@ endif
|
||||
|
||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||
# set, so unset it here to not cause problems. Notice that the export
|
||||
# line doesn't affect the environment of $(shell ..) calls.
|
||||
# line doesn't affect the environment of $(shell ..) calls, so
|
||||
# explictly throw away any output from 'cd' here.
|
||||
export CDPATH :=
|
||||
|
||||
BASE_DIR := $(CANONICAL_O)
|
||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
|
||||
|
||||
@@ -249,13 +239,9 @@ endif
|
||||
|
||||
# timezone and locale may affect build output
|
||||
ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
export TZ = UTC
|
||||
export LANG = C
|
||||
export LC_ALL = C
|
||||
export GZIP = -n
|
||||
BR2_VERSION_GIT_EPOCH = $(shell GIT_DIR=$(TOPDIR)/.git $(GIT) log -1 --format=%at)
|
||||
export SOURCE_DATE_EPOCH = $(if $(wildcard $(TOPDIR)/.git),$(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
|
||||
DEPENDENCIES_HOST_PREREQ += host-fakedate
|
||||
export TZ=UTC
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
@@ -324,7 +310,6 @@ HOSTLN := $(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||
HOSTNM := $(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||
HOSTOBJCOPY := $(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy)
|
||||
HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib)
|
||||
SED := $(shell which sed || type -p sed) -i -e
|
||||
|
||||
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTLD
|
||||
export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
||||
@@ -403,7 +388,6 @@ unexport QMAKESPEC
|
||||
unexport TERMINFO
|
||||
unexport MACHINE
|
||||
unexport O
|
||||
unexport GCC_COLORS
|
||||
|
||||
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||
|
||||
@@ -423,7 +407,6 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
||||
-e s/aarch64.*/arm64/ \
|
||||
-e s/bfin/blackfin/ \
|
||||
-e s/or1k/openrisc/ \
|
||||
-e s/parisc64/parisc/ \
|
||||
-e s/powerpc64.*/powerpc/ \
|
||||
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
|
||||
@@ -433,21 +416,20 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
ZCAT := $(call qstrip,$(BR2_ZCAT))
|
||||
BZCAT := $(call qstrip,$(BR2_BZCAT))
|
||||
XZCAT := $(call qstrip,$(BR2_XZCAT))
|
||||
LZCAT := $(call qstrip,$(BR2_LZCAT))
|
||||
TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
|
||||
# packages compiled for the host go here
|
||||
HOST_DIR := $(call qstrip,$(BR2_HOST_DIR))
|
||||
|
||||
# Quotes are needed for spaces and all in the original PATH content.
|
||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)"
|
||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin:$(PATH)"
|
||||
|
||||
# Location of a file giving a big fat warning that output/target
|
||||
# should not be used as the root filesystem.
|
||||
TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
CCACHE := $(HOST_DIR)/bin/ccache
|
||||
CCACHE := $(HOST_DIR)/usr/bin/ccache
|
||||
BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
export BR_CACHE_DIR
|
||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||
@@ -479,11 +461,7 @@ all: world
|
||||
# may rely on it.
|
||||
include Makefile.legacy
|
||||
|
||||
include system/system.mk
|
||||
include package/Makefile.in
|
||||
# arch/arch.mk.* must be after package/Makefile.in because it may need to
|
||||
# complement variables defined therein, like BR_NO_CHECK_HASH_FOR.
|
||||
-include $(wildcard arch/arch.mk.*)
|
||||
include support/dependencies/dependencies.mk
|
||||
|
||||
include toolchain/*.mk
|
||||
@@ -540,30 +518,19 @@ $(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\
|
||||
|
||||
endif
|
||||
|
||||
.PHONY: dirs
|
||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(HOST_DIR)/usr $(BINARIES_DIR)
|
||||
$(HOST_DIR) $(BINARIES_DIR)
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
|
||||
$(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
|
||||
|
||||
.PHONY: prepare
|
||||
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||
|
||||
.PHONY: world
|
||||
world: target-post-image
|
||||
|
||||
.PHONY: sdk
|
||||
sdk: world
|
||||
@$(call MESSAGE,"Rendering the SDK relocatable")
|
||||
$(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
|
||||
echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location
|
||||
|
||||
# Compatibility symlink in case a post-build script still uses $(HOST_DIR)/usr
|
||||
$(HOST_DIR)/usr: $(HOST_DIR)
|
||||
@ln -snf . $@
|
||||
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
|
||||
legal-info legal-info-prepare legal-info-clean printvars help \
|
||||
list-defconfigs target-finalize target-post-image source-check
|
||||
|
||||
# Populating the staging with the base directories is handled by the skeleton package
|
||||
$(STAGING_DIR):
|
||||
@@ -617,7 +584,7 @@ define GENERATE_GLIBC_LOCALES
|
||||
fi ; \
|
||||
echo "Generating locale $${inputfile}.$${charmap}" ; \
|
||||
I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \
|
||||
$(HOST_DIR)/bin/localedef \
|
||||
$(HOST_DIR)/usr/bin/localedef \
|
||||
--prefix=$(TARGET_DIR) \
|
||||
--$(call LOWERCASE,$(BR2_ENDIAN))-endian \
|
||||
-i $${inputfile} -f $${charmap} \
|
||||
@@ -667,7 +634,6 @@ endif
|
||||
|
||||
$(TARGETS_ROOTFS): target-finalize
|
||||
|
||||
.PHONY: target-finalize
|
||||
target-finalize: $(PACKAGES)
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
$(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep))
|
||||
@@ -690,7 +656,7 @@ endif
|
||||
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
||||
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||
rmdir $(TARGET_DIR)/usr/share 2>/dev/null || true
|
||||
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
||||
$(STRIP_FIND_CMD) | xargs -0 $(STRIPCMD) 2>/dev/null || true
|
||||
|
||||
# See http://sourceware.org/gdb/wiki/FAQ, "GDB does not see any threads
|
||||
@@ -718,9 +684,6 @@ endif
|
||||
echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \
|
||||
) > $(TARGET_DIR)/etc/os-release
|
||||
|
||||
@$(call MESSAGE,"Sanitizing RPATH in target tree")
|
||||
$(TOPDIR)/support/scripts/fix-rpath target
|
||||
|
||||
@$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
$(call MESSAGE,"Copying overlay $(d)"); \
|
||||
rsync -a --ignore-times --keep-dirlinks $(RSYNC_VCS_EXCLUSIONS) \
|
||||
@@ -731,39 +694,32 @@ endif
|
||||
$(call MESSAGE,"Executing post-build script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
.PHONY: target-post-image
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
.PHONY: source
|
||||
source: $(foreach p,$(PACKAGES),$(p)-all-source)
|
||||
|
||||
.PHONY: _external-deps external-deps
|
||||
_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps)
|
||||
external-deps:
|
||||
@$(MAKE1) -Bs $(EXTRAMAKEARGS) _external-deps | sort -u
|
||||
|
||||
# check if download URLs are outdated
|
||||
.PHONY: source-check
|
||||
source-check: $(foreach p,$(PACKAGES),$(p)-all-source-check)
|
||||
|
||||
.PHONY: legal-info-clean
|
||||
legal-info-clean:
|
||||
@rm -fr $(LEGAL_INFO_DIR)
|
||||
|
||||
.PHONY: legal-info-prepare
|
||||
legal-info-prepare: $(LEGAL_INFO_DIR)
|
||||
@$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info")
|
||||
@$(call legal-license-file,buildroot,buildroot,support/legal-info,COPYING,COPYING,HOST)
|
||||
@$(call MESSAGE,"Collecting legal info")
|
||||
@$(call legal-license-file,buildroot,COPYING,COPYING,HOST)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,TARGET)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,HOST)
|
||||
@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved,HOST)
|
||||
@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPLv2+,COPYING,not saved,not saved,HOST)
|
||||
@$(call legal-warning,the Buildroot source code has not been saved)
|
||||
@cp $(BR2_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config
|
||||
|
||||
.PHONY: legal-info
|
||||
legal-info: dirs legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p)-all-legal-info) \
|
||||
$(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST)
|
||||
@cat support/legal-info/README.header >>$(LEGAL_REPORT)
|
||||
@@ -778,14 +734,9 @@ legal-info: dirs legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p
|
||||
mv .legal-info.sha256 legal-info.sha256)
|
||||
@echo "Legal info produced in $(LEGAL_INFO_DIR)"
|
||||
|
||||
.PHONY: show-targets
|
||||
show-targets:
|
||||
@echo $(PACKAGES) $(TARGETS_ROOTFS)
|
||||
|
||||
.PHONY: show-build-order
|
||||
show-build-order: $(patsubst %,%-show-build-order,$(PACKAGES))
|
||||
|
||||
.PHONY: graph-build
|
||||
graph-build: $(O)/build/build-time.log
|
||||
@install -d $(GRAPHS_DIR)
|
||||
$(foreach o,name build duration,./support/scripts/graph-build-time \
|
||||
@@ -797,12 +748,10 @@ graph-build: $(O)/build/build-time.log
|
||||
--output=$(GRAPHS_DIR)/build.pie-$(t).$(BR_GRAPH_OUT) \
|
||||
$(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep))
|
||||
|
||||
.PHONY: graph-depends-requirements
|
||||
graph-depends-requirements:
|
||||
@dot -? >/dev/null 2>&1 || \
|
||||
{ echo "ERROR: The 'dot' program from Graphviz is needed for graph-depends" >&2; exit 1; }
|
||||
|
||||
.PHONY: graph-depends
|
||||
graph-depends: graph-depends-requirements
|
||||
@$(INSTALL) -d $(GRAPHS_DIR)
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
@@ -812,7 +761,6 @@ graph-depends: graph-depends-requirements
|
||||
-o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT) \
|
||||
$(GRAPHS_DIR)/$(@).dot
|
||||
|
||||
.PHONY: graph-size
|
||||
graph-size:
|
||||
$(Q)mkdir -p $(GRAPHS_DIR)
|
||||
$(Q)$(TOPDIR)/support/scripts/size-stats --builddir $(BASE_DIR) \
|
||||
@@ -820,21 +768,13 @@ graph-size:
|
||||
--file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \
|
||||
--package-size-csv $(GRAPHS_DIR)/package-size-stats.csv
|
||||
|
||||
.PHONY: check-dependencies
|
||||
check-dependencies:
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends -C
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
# Some subdirectories are also package names. To avoid that "make linux"
|
||||
# on an unconfigured tree produces "Nothing to be done", add an explicit
|
||||
# rule for it.
|
||||
# Also for 'all' we error out and ask the user to configure first.
|
||||
.PHONY: linux toolchain
|
||||
linux toolchain all: outputmakefile
|
||||
$(error Please configure Buildroot first (e.g. "make menuconfig"))
|
||||
@exit 1
|
||||
all: menuconfig
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
@@ -886,20 +826,50 @@ config: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
# no values are set for the legacy options so a subsequent oldconfig
|
||||
# will query them. Therefore, run an additional olddefconfig.
|
||||
|
||||
randconfig allyesconfig alldefconfig allnoconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --$@ $(CONFIG_CONFIG_IN)
|
||||
oldconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< --oldconfig $(CONFIG_CONFIG_IN)
|
||||
|
||||
randconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --randconfig $(CONFIG_CONFIG_IN)
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
allyesconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --allyesconfig $(CONFIG_CONFIG_IN)
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
allnoconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --allnoconfig $(CONFIG_CONFIG_IN)
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
randpackageconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
$< --$(subst package,,$@) $(CONFIG_CONFIG_IN)
|
||||
$< --randconfig $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
oldconfig silentoldconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< --$@ $(CONFIG_CONFIG_IN)
|
||||
allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
$< --allyesconfig $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
$< --allnoconfig $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null
|
||||
|
||||
silentoldconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
$(COMMON_CONFIG_ENV) $< --silentoldconfig $(CONFIG_CONFIG_IN)
|
||||
|
||||
olddefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN)
|
||||
|
||||
defconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
@$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN)
|
||||
@@ -929,7 +899,6 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
# outputmakefile generates a Makefile in the output directory, if using a
|
||||
# separate output directory. This allows convenient use of make in the
|
||||
# output directory.
|
||||
.PHONY: outputmakefile
|
||||
outputmakefile:
|
||||
ifeq ($(NEED_WRAPPER),y)
|
||||
$(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O)
|
||||
@@ -946,24 +915,18 @@ $(BUILD_DIR)/.br2-external.in: $(BUILD_DIR)
|
||||
# Makefiles. Alternatively, if a non-empty VARS variable is passed,
|
||||
# only the variables matching the make pattern passed in VARS are
|
||||
# displayed.
|
||||
.PHONY: printvars
|
||||
printvars:
|
||||
@:$(foreach V, \
|
||||
@$(foreach V, \
|
||||
$(sort $(if $(VARS),$(filter $(VARS),$(.VARIABLES)),$(.VARIABLES))), \
|
||||
$(if $(filter-out environment% default automatic, \
|
||||
$(origin $V)), \
|
||||
$(if $(QUOTED_VARS),\
|
||||
$(info $V='$(subst ','\'',$(if $(RAW_VARS),$(value $V),$($V)))'), \
|
||||
$(info $V=$(if $(RAW_VARS),$(value $V),$($V))))))
|
||||
# ' Syntax colouring...
|
||||
$(info $V=$($V) ($(value $V)))))
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR)
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
ifeq ($(O),$(CURDIR)/output)
|
||||
rm -rf $(O)
|
||||
@@ -971,7 +934,6 @@ endif
|
||||
rm -rf $(TOPDIR)/dl $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \
|
||||
$(CONFIG_DIR)/.auto.deps $(BR2_EXTERNAL_FILE)
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo 'Cleaning:'
|
||||
@echo ' clean - delete all files created by build'
|
||||
@@ -980,7 +942,6 @@ help:
|
||||
@echo 'Build:'
|
||||
@echo ' all - make world'
|
||||
@echo ' toolchain - build toolchain'
|
||||
@echo ' sdk - build relocatable SDK'
|
||||
@echo
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@@ -996,7 +957,6 @@ help:
|
||||
@echo ' savedefconfig - Save current config to BR2_DEFCONFIG (minimal config)'
|
||||
@echo ' allyesconfig - New config where all options are accepted with yes'
|
||||
@echo ' allnoconfig - New config where all options are answered with no'
|
||||
@echo ' alldefconfig - New config where all options are set to default'
|
||||
@echo ' randpackageconfig - New config with random answer to package options'
|
||||
@echo ' allyespackageconfig - New config where pkg options are accepted with yes'
|
||||
@echo ' allnopackageconfig - New config where package options are answered with no'
|
||||
@@ -1038,7 +998,6 @@ help:
|
||||
@echo ' source-check - check selected packages for valid download URLs'
|
||||
@echo ' external-deps - list external packages used'
|
||||
@echo ' legal-info - generate info about license compliance'
|
||||
@echo ' printvars - dump all the internal variables'
|
||||
@echo
|
||||
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
|
||||
@echo ' make O=dir - Locate all output files in "dir", including .config'
|
||||
@@ -1070,7 +1029,6 @@ endef
|
||||
|
||||
# We iterate over BR2_EXTERNAL_NAMES rather than BR2_EXTERNAL_DIRS,
|
||||
# because we want to display the name of the br2-external tree.
|
||||
.PHONY: list-defconfigs
|
||||
list-defconfigs:
|
||||
$(call list-defconfigs,$(TOPDIR))
|
||||
$(foreach name,$(BR2_EXTERNAL_NAMES),\
|
||||
@@ -1093,12 +1051,6 @@ release:
|
||||
print-version:
|
||||
@echo $(BR2_VERSION_FULL)
|
||||
|
||||
.PHONY: .gitlab-ci.yml
|
||||
.gitlab-ci.yml: .gitlab-ci.yml.in
|
||||
cp $< $@
|
||||
(cd configs; LC_ALL=C ls -1 *_defconfig) | sed 's/$$/: *defconfig/' >> $@
|
||||
./support/testing/run-tests -l 2>&1 | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: *runtime_test/' | LC_ALL=C sort >> $@
|
||||
|
||||
include docs/manual/manual.mk
|
||||
-include $(foreach dir,$(BR2_EXTERNAL_DIRS),$(dir)/docs/*/*.mk)
|
||||
|
||||
|
||||
@@ -85,14 +85,6 @@ config BR2_bfin
|
||||
http://www.analog.com/
|
||||
http://en.wikipedia.org/wiki/Blackfin
|
||||
|
||||
config BR2_csky
|
||||
bool "csky"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
csky is processor IP from china.
|
||||
http://www.c-sky.com/
|
||||
http://www.github.com/c-sky
|
||||
|
||||
config BR2_i386
|
||||
bool "i386"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
@@ -167,13 +159,6 @@ config BR2_nios2
|
||||
http://www.altera.com/
|
||||
http://en.wikipedia.org/wiki/Nios_II
|
||||
|
||||
config BR2_or1k
|
||||
bool "OpenRISC"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
OpenRISC is a free and open processor for embedded system.
|
||||
http://openrisc.io
|
||||
|
||||
config BR2_powerpc
|
||||
bool "PowerPC"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
@@ -264,12 +249,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
config BR2_GCC_TARGET_ABI
|
||||
string
|
||||
|
||||
config BR2_GCC_TARGET_NAN
|
||||
string
|
||||
|
||||
config BR2_GCC_TARGET_FP32_MODE
|
||||
string
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
string
|
||||
|
||||
@@ -298,12 +277,6 @@ config BR2_GCC_TARGET_MODE
|
||||
config BR2_BINFMT_SUPPORTS_SHARED
|
||||
bool
|
||||
|
||||
# Must match the name of the architecture from readelf point of view,
|
||||
# i.e the "Machine:" field of readelf output. See get_machine_name()
|
||||
# in binutils/readelf.c for the list of possible values.
|
||||
config BR2_READELF_ARCH_NAME
|
||||
string
|
||||
|
||||
# Set up target binary format
|
||||
choice
|
||||
prompt "Target Binary Format"
|
||||
@@ -381,18 +354,18 @@ if BR2_arcle || BR2_arceb
|
||||
source "arch/Config.in.arc"
|
||||
endif
|
||||
|
||||
if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
|
||||
if BR2_arm || BR2_armeb
|
||||
source "arch/Config.in.arm"
|
||||
endif
|
||||
|
||||
if BR2_aarch64 || BR2_aarch64_be
|
||||
source "arch/Config.in.aarch64"
|
||||
endif
|
||||
|
||||
if BR2_bfin
|
||||
source "arch/Config.in.bfin"
|
||||
endif
|
||||
|
||||
if BR2_csky
|
||||
source "arch/Config.in.csky"
|
||||
endif
|
||||
|
||||
if BR2_m68k
|
||||
source "arch/Config.in.m68k"
|
||||
endif
|
||||
@@ -409,10 +382,6 @@ if BR2_nios2
|
||||
source "arch/Config.in.nios2"
|
||||
endif
|
||||
|
||||
if BR2_or1k
|
||||
source "arch/Config.in.or1k"
|
||||
endif
|
||||
|
||||
if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
source "arch/Config.in.powerpc"
|
||||
endif
|
||||
|
||||
7
arch/Config.in.aarch64
Normal file
7
arch/Config.in.aarch64
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_ARCH
|
||||
default "aarch64" if BR2_aarch64
|
||||
default "aarch64_be" if BR2_aarch64_be
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_aarch64
|
||||
default "BIG" if BR2_aarch64_be
|
||||
@@ -38,10 +38,6 @@ config BR2_GCC_TARGET_CPU
|
||||
default "arc700" if BR2_arc770d
|
||||
default "archs" if BR2_archs38
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "ARCompact" if BR2_arc750d || BR2_arc770d
|
||||
default "ARCv2" if BR2_archs38
|
||||
|
||||
choice
|
||||
prompt "MMU Page Size"
|
||||
default BR2_ARC_PAGE_SIZE_8K
|
||||
|
||||
@@ -31,10 +31,6 @@ config BR2_ARM_CPU_HAS_VFPV4
|
||||
bool
|
||||
select BR2_ARM_CPU_HAS_VFPV3
|
||||
|
||||
config BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
bool
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
|
||||
config BR2_ARM_CPU_HAS_ARM
|
||||
bool
|
||||
|
||||
@@ -59,11 +55,9 @@ config BR2_ARM_CPU_ARMV7A
|
||||
config BR2_ARM_CPU_ARMV7M
|
||||
bool
|
||||
|
||||
config BR2_ARM_CPU_ARMV8
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_arm || BR2_armeb
|
||||
default BR2_arm926t
|
||||
help
|
||||
Specific CPU variant to use
|
||||
@@ -74,14 +68,12 @@ config BR2_arm920t
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV4
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm922t
|
||||
bool "arm922t"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV4
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm926t
|
||||
bool "arm926t"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -89,14 +81,12 @@ config BR2_arm926t
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV5
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm1136j_s
|
||||
bool "arm1136j-s"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm1136jf_s
|
||||
bool "arm1136jf-s"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -104,14 +94,12 @@ config BR2_arm1136jf_s
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm1176jz_s
|
||||
bool "arm1176jz-s"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm1176jzf_s
|
||||
bool "arm1176jzf-s"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -119,7 +107,6 @@ config BR2_arm1176jzf_s
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_arm11mpcore
|
||||
bool "mpcore"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -127,7 +114,6 @@ config BR2_arm11mpcore
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a5
|
||||
bool "cortex-A5"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -136,7 +122,6 @@ config BR2_cortex_a5
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a7
|
||||
bool "cortex-A7"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -145,7 +130,6 @@ config BR2_cortex_a7
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a8
|
||||
bool "cortex-A8"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -154,7 +138,6 @@ config BR2_cortex_a8
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a9
|
||||
bool "cortex-A9"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -163,7 +146,6 @@ config BR2_cortex_a9
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a12
|
||||
bool "cortex-A12"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -172,7 +154,6 @@ config BR2_cortex_a12
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a15
|
||||
bool "cortex-A15"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -181,16 +162,6 @@ config BR2_cortex_a15
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a15_a7
|
||||
bool "cortex-A15/A7 big.LITTLE"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a17
|
||||
bool "cortex-A17"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -199,98 +170,41 @@ config BR2_cortex_a17
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a17_a7
|
||||
bool "cortex-A17/A7 big.LITTLE"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_a53
|
||||
bool "cortex-A53"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a57
|
||||
bool "cortex-A57"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a57_a53
|
||||
bool "cortex-A57/A53 big.LITTLE"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a72
|
||||
bool "cortex-A72"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a72_a53
|
||||
bool "cortex-A72/A53 big.LITTLE"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_m3
|
||||
bool "cortex-M3"
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7M
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_cortex_m4
|
||||
bool "cortex-M4"
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7M
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_fa526
|
||||
bool "fa526/626"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_ARMV4
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_pj4
|
||||
bool "pj4"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_VFPV3
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_strongarm
|
||||
bool "strongarm sa110/sa1100"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_ARMV4
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_xscale
|
||||
bool "xscale"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV5
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_iwmmxt
|
||||
bool "iwmmxt"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_ARMV5
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
depends on !BR2_ARCH_IS_64
|
||||
endchoice
|
||||
|
||||
config BR2_ARM_ENABLE_NEON
|
||||
@@ -370,7 +284,7 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "Floating point strategy"
|
||||
default BR2_ARM_FPU_FP_ARMV8 if BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
depends on BR2_ARM_EABI || BR2_ARM_EABIHF
|
||||
default BR2_ARM_FPU_VFPV4D16 if BR2_ARM_CPU_HAS_VFPV4
|
||||
default BR2_ARM_FPU_VFPV3D16 if BR2_ARM_CPU_HAS_VFPV3
|
||||
default BR2_ARM_FPU_VFPV2 if BR2_ARM_CPU_HAS_VFPV2
|
||||
@@ -481,25 +395,10 @@ config BR2_ARM_FPU_NEON_VFPV4
|
||||
example on Cortex-A5 and Cortex-A7, support for VFPv4 and
|
||||
NEON is optional.
|
||||
|
||||
config BR2_ARM_FPU_FP_ARMV8
|
||||
bool "FP-ARMv8"
|
||||
depends on BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
help
|
||||
This option allows to use the ARMv8 floating point unit.
|
||||
|
||||
config BR2_ARM_FPU_NEON_FP_ARMV8
|
||||
bool "NEON/FP-ARMv8"
|
||||
depends on BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
depends on BR2_ARM_CPU_HAS_NEON
|
||||
help
|
||||
This option allows to use both the ARMv8 floating point unit
|
||||
and the NEON SIMD unit for floating point operations.
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "ARM instruction set"
|
||||
depends on BR2_arm || BR2_armeb
|
||||
|
||||
config BR2_ARM_INSTRUCTIONS_ARM
|
||||
bool "ARM"
|
||||
@@ -535,14 +434,12 @@ config BR2_ARM_INSTRUCTIONS_THUMB2
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "arm" if BR2_arm
|
||||
default "armeb" if BR2_armeb
|
||||
default "aarch64" if BR2_aarch64
|
||||
default "aarch64_be" if BR2_aarch64_be
|
||||
default "arm" if BR2_arm
|
||||
default "armeb" if BR2_armeb
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if (BR2_arm || BR2_aarch64)
|
||||
default "BIG" if (BR2_armeb || BR2_aarch64_be)
|
||||
default "LITTLE" if BR2_arm
|
||||
default "BIG" if BR2_armeb
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "arm920t" if BR2_arm920t
|
||||
@@ -560,9 +457,7 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a9" if BR2_cortex_a9
|
||||
default "cortex-a12" if BR2_cortex_a12
|
||||
default "cortex-a15" if BR2_cortex_a15
|
||||
default "cortex-a15.cortex-a7" if BR2_cortex_a15_a7
|
||||
default "cortex-a17" if BR2_cortex_a17
|
||||
default "cortex-a17.cortex-a7" if BR2_cortex_a17_a7
|
||||
default "cortex-m3" if BR2_cortex_m3
|
||||
default "cortex-m4" if BR2_cortex_m4
|
||||
default "fa526" if BR2_fa526
|
||||
@@ -570,27 +465,18 @@ config BR2_GCC_TARGET_CPU
|
||||
default "strongarm" if BR2_strongarm
|
||||
default "xscale" if BR2_xscale
|
||||
default "iwmmxt" if BR2_iwmmxt
|
||||
default "cortex-a53" if BR2_cortex_a53
|
||||
default "cortex-a57" if BR2_cortex_a57
|
||||
default "cortex-a57.cortex-a53" if BR2_cortex_a57_a53
|
||||
default "cortex-a72" if BR2_cortex_a72
|
||||
default "cortex-a72.cortex-a53" if BR2_cortex_a72_a53
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "aapcs-linux" if BR2_arm || BR2_armeb
|
||||
default "lp64" if BR2_aarch64 || BR2_aarch64_be
|
||||
default "aapcs-linux"
|
||||
|
||||
config BR2_GCC_TARGET_FPU
|
||||
depends on BR2_arm || BR2_armeb
|
||||
default "vfp" if BR2_ARM_FPU_VFPV2
|
||||
default "vfpv3" if BR2_ARM_FPU_VFPV3
|
||||
default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
|
||||
default "vfpv4" if BR2_ARM_FPU_VFPV4
|
||||
default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16
|
||||
default "neon" if BR2_ARM_FPU_NEON
|
||||
default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
|
||||
default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8
|
||||
default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8
|
||||
default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
|
||||
default "vfpv4" if BR2_ARM_FPU_VFPV4
|
||||
default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16
|
||||
default "neon" if BR2_ARM_FPU_NEON
|
||||
default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
|
||||
|
||||
config BR2_GCC_TARGET_FLOAT_ABI
|
||||
default "soft" if BR2_ARM_SOFT_FLOAT
|
||||
@@ -600,7 +486,3 @@ config BR2_GCC_TARGET_FLOAT_ABI
|
||||
config BR2_GCC_TARGET_MODE
|
||||
default "arm" if BR2_ARM_INSTRUCTIONS_ARM
|
||||
default "thumb" if BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "ARM" if BR2_arm || BR2_armeb
|
||||
default "AArch64" if BR2_aarch64 || BR2_aarch64_be
|
||||
|
||||
@@ -105,6 +105,3 @@ config BR2_GCC_TARGET_CPU_REVISION
|
||||
value of the -mcpu option. For example, if the selected CPU is
|
||||
bf609, and then selected CPU revision is "0.0", then gcc will
|
||||
receive the -mcpu=bf609-0.0 option.
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Analog Devices Blackfin"
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_ck610
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_ck610
|
||||
bool "ck610"
|
||||
|
||||
config BR2_ck807
|
||||
bool "ck807"
|
||||
|
||||
config BR2_ck810
|
||||
bool "ck810"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_CSKY_FPU
|
||||
bool "Enable FPU coprocessor"
|
||||
depends on BR2_ck810 || BR2_ck807
|
||||
help
|
||||
You can say N here if your C-SKY CPU doesn't have a
|
||||
Floating-Point Coprocessor or if you don't need FPU support
|
||||
for your user-space programs.
|
||||
|
||||
config BR2_CSKY_DSP
|
||||
bool "Enable DSP enhanced instructions"
|
||||
depends on BR2_ck810 || BR2_ck807
|
||||
|
||||
config BR2_ARCH
|
||||
default "csky"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "ck610" if (BR2_ck610 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807" if (BR2_ck807 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807e" if (BR2_ck807 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck807f" if (BR2_ck807 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck807ef" if (BR2_ck807 && BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck810" if (BR2_ck810 && !BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck810e" if (BR2_ck810 && !BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
default "ck810f" if (BR2_ck810 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
|
||||
default "ck810ef" if (BR2_ck810 && BR2_CSKY_FPU && BR2_CSKY_DSP)
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "CSKY"
|
||||
@@ -35,6 +35,3 @@ endchoice
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "68040" if BR2_m68k_68040
|
||||
default "5208" if BR2_m68k_cf5208
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "MC68000"
|
||||
|
||||
@@ -6,9 +6,6 @@ config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_microblazeel
|
||||
default "BIG" if BR2_microblazebe
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Xilinx MicroBlaze"
|
||||
|
||||
config BR2_microblaze
|
||||
bool
|
||||
default y if BR2_microblazeel || BR2_microblazebe
|
||||
|
||||
@@ -1,26 +1,20 @@
|
||||
# mips default CPU ISAs
|
||||
config BR2_MIPS_CPU_MIPS32
|
||||
bool
|
||||
select BR2_MIPS_NAN_LEGACY
|
||||
config BR2_MIPS_CPU_MIPS32R2
|
||||
bool
|
||||
select BR2_MIPS_NAN_LEGACY
|
||||
config BR2_MIPS_CPU_MIPS32R5
|
||||
bool
|
||||
config BR2_MIPS_CPU_MIPS32R6
|
||||
bool
|
||||
select BR2_MIPS_NAN_2008
|
||||
config BR2_MIPS_CPU_MIPS64
|
||||
bool
|
||||
select BR2_MIPS_NAN_LEGACY
|
||||
config BR2_MIPS_CPU_MIPS64R2
|
||||
bool
|
||||
select BR2_MIPS_NAN_LEGACY
|
||||
config BR2_MIPS_CPU_MIPS64R5
|
||||
bool
|
||||
config BR2_MIPS_CPU_MIPS64R6
|
||||
bool
|
||||
select BR2_MIPS_NAN_2008
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
@@ -57,7 +51,6 @@ config BR2_mips_m5150
|
||||
bool "M5150"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_MIPS_CPU_MIPS32R5
|
||||
select BR2_MIPS_NAN_2008
|
||||
config BR2_mips_m6250
|
||||
bool "M6250"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
@@ -66,7 +59,6 @@ config BR2_mips_p5600
|
||||
bool "P5600"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_MIPS_CPU_MIPS32R5
|
||||
select BR2_MIPS_NAN_2008
|
||||
config BR2_mips_xburst
|
||||
bool "XBurst"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
@@ -134,64 +126,6 @@ config BR2_MIPS_SOFT_FLOAT
|
||||
floating point functions, then everything will need to be
|
||||
compiled with soft floating point support (-msoft-float).
|
||||
|
||||
choice
|
||||
prompt "FP mode"
|
||||
depends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT
|
||||
default BR2_MIPS_FP32_MODE_XX if BR2_TOOLCHAIN_HAS_MFPXX_OPTION
|
||||
help
|
||||
MIPS32 supports different FP modes (32,xx,64). Information about FP
|
||||
modes can be found here:
|
||||
https://sourceware.org/binutils/docs/as/MIPS-Options.html
|
||||
https://dmz-portal.imgtec.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#5._Generating_modeless_code
|
||||
|
||||
config BR2_MIPS_FP32_MODE_32
|
||||
bool "32"
|
||||
depends on !BR2_MIPS_CPU_MIPS32R6
|
||||
|
||||
config BR2_MIPS_FP32_MODE_XX
|
||||
bool "xx"
|
||||
depends on BR2_TOOLCHAIN_HAS_MFPXX_OPTION
|
||||
|
||||
config BR2_MIPS_FP32_MODE_64
|
||||
bool "64"
|
||||
depends on !BR2_MIPS_CPU_MIPS32
|
||||
endchoice
|
||||
|
||||
config BR2_GCC_TARGET_FP32_MODE
|
||||
default "32" if BR2_MIPS_FP32_MODE_32
|
||||
default "xx" if BR2_MIPS_FP32_MODE_XX
|
||||
default "64" if BR2_MIPS_FP32_MODE_64
|
||||
|
||||
config BR2_MIPS_NAN_LEGACY
|
||||
bool
|
||||
|
||||
config BR2_MIPS_NAN_2008
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target NaN"
|
||||
depends on BR2_TOOLCHAIN_HAS_MNAN_OPTION
|
||||
depends on BR2_mips_32r5 || BR2_mips_64r5
|
||||
default BR2_MIPS_ENABLE_NAN_2008
|
||||
help
|
||||
MIPS supports two different NaN encodings, legacy and 2008.
|
||||
Information about MIPS NaN encodings can be found here:
|
||||
https://sourceware.org/binutils/docs/as/MIPS-NaN-Encodings.html
|
||||
|
||||
config BR2_MIPS_ENABLE_NAN_LEGACY
|
||||
bool "legacy"
|
||||
select BR2_MIPS_NAN_LEGACY
|
||||
|
||||
config BR2_MIPS_ENABLE_NAN_2008
|
||||
bool "2008"
|
||||
depends on !BR2_MIPS_SOFT_FLOAT
|
||||
select BR2_MIPS_NAN_2008
|
||||
endchoice
|
||||
|
||||
config BR2_GCC_TARGET_NAN
|
||||
default "legacy" if BR2_MIPS_NAN_LEGACY
|
||||
default "2008" if BR2_MIPS_NAN_2008
|
||||
|
||||
config BR2_ARCH
|
||||
default "mips" if BR2_mips
|
||||
default "mipsel" if BR2_mipsel
|
||||
@@ -200,7 +134,7 @@ config BR2_ARCH
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_mipsel || BR2_mips64el
|
||||
default "BIG" if BR2_mips || BR2_mips64
|
||||
default "BIG" if BR2_mips || BR2_mips64
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "mips32" if BR2_mips_32
|
||||
@@ -227,6 +161,3 @@ config BR2_GCC_TARGET_ABI
|
||||
default "32" if BR2_MIPS_OABI32
|
||||
default "n32" if BR2_MIPS_NABI32
|
||||
default "64" if BR2_MIPS_NABI64
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "MIPS R3000"
|
||||
|
||||
@@ -3,6 +3,3 @@ config BR2_ARCH
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Altera Nios II"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
config BR2_ARCH
|
||||
default "or1k"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "BIG"
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "OpenRISC 1000"
|
||||
@@ -212,7 +212,3 @@ config BR2_GCC_TARGET_ABI
|
||||
default "no-spe" if BR2_PPC_ABI_no-spe
|
||||
default "ibmlongdouble" if BR2_PPC_ABI_ibmlongdouble
|
||||
default "ieeelongdouble" if BR2_PPC_ABI_ieeelongdouble
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "PowerPC" if BR2_powerpc
|
||||
default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le
|
||||
|
||||
@@ -27,6 +27,3 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_sh4 || BR2_sh4a
|
||||
default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Renesas / SuperH SH"
|
||||
|
||||
@@ -28,7 +28,3 @@ config BR2_GCC_TARGET_CPU
|
||||
default "leon3" if BR2_sparc_leon3
|
||||
default "v8" if BR2_sparc_v8
|
||||
default "ultrasparc" if BR2_sparc_v9
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Sparc" if BR2_sparc
|
||||
default "Sparc v9" if BR2_sparc64
|
||||
|
||||
@@ -275,7 +275,3 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "c3" if BR2_x86_c3
|
||||
default "c3-2" if BR2_x86_c32
|
||||
default "geode" if BR2_x86_geode
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Intel 80386" if BR2_i386
|
||||
default "Advanced Micro Devices X86-64" if BR2_x86_64
|
||||
|
||||
@@ -2,32 +2,39 @@ choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_xtensa
|
||||
default BR2_xtensa_fsf
|
||||
|
||||
config BR2_XTENSA_CUSTOM
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
bool "Custom Xtensa processor configuration"
|
||||
|
||||
config BR2_xtensa_fsf
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
bool "fsf - Default configuration"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_XTENSA_OVERLAY_FILE
|
||||
string "Overlay file for custom configuration"
|
||||
config BR2_XTENSA_CUSTOM_NAME
|
||||
string "Custom Xtensa processor configuration name"
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
default ""
|
||||
help
|
||||
Enter the path to the overlay tarball for a custom processor
|
||||
configuration.
|
||||
Name given to a custom Xtensa processor configuration.
|
||||
|
||||
config BR2_XTENSA_CORE_NAME
|
||||
string
|
||||
default BR2_XTENSA_CUSTOM_NAME if BR2_XTENSA_CUSTOM
|
||||
default "" if BR2_xtensa_fsf
|
||||
|
||||
config BR2_XTENSA_OVERLAY_DIR
|
||||
string "Overlay directory for custom configuration"
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
default ""
|
||||
help
|
||||
Provide the directory path that contains the overlay file
|
||||
for a custom processor configuration. The path is relative
|
||||
to the top directory of buildroot.
|
||||
These overlay files are tar packages with updated configuration
|
||||
files for various toolchain packages and Xtensa processor
|
||||
configurations. They are provided by the processor vendor or
|
||||
directly from Tensilica.
|
||||
|
||||
The path can be either absolute, or relative to the top directory
|
||||
of buildroot.
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Endianness"
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
@@ -47,6 +54,3 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_ARCH
|
||||
default "xtensa" if BR2_xtensa
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Tensilica Xtensa Processor"
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
################################################################################
|
||||
# This variable can be used by packages that need to extract the overlay.
|
||||
#
|
||||
# ARCH_XTENSA_OVERLAY_FILE is the path to the overlay tarball; empty if not
|
||||
# using any overlay
|
||||
#
|
||||
# Example:
|
||||
# ifneq ($(ARCH_XTENSA_OVERLAY_FILE),)
|
||||
# tar xf $(ARCH_XTENSA_OVERLAY_FILE) -C $(@D) --strip-components=1 gcc
|
||||
# endif
|
||||
################################################################################
|
||||
BR_ARCH_XTENSA_OVERLAY_FILE = $(call qstrip,$(BR2_XTENSA_OVERLAY_FILE))
|
||||
ifneq ($(filter http://% https://% ftp://% scp://%,$(BR_ARCH_XTENSA_OVERLAY_FILE)),)
|
||||
ARCH_XTENSA_OVERLAY_URL = $(BR_ARCH_XTENSA_OVERLAY_FILE)
|
||||
ARCH_XTENSA_OVERLAY_FILE = $(DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
|
||||
# Do not check that file, we can't know its hash
|
||||
BR_NO_CHECK_HASH_FOR += $(notdir $(ARCH_XTENSA_OVERLAY_URL))
|
||||
else
|
||||
ARCH_XTENSA_OVERLAY_FILE = $(BR_ARCH_XTENSA_OVERLAY_FILE)
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
# arch-xtensa-overlay-extract -- extract an extensa overlay
|
||||
#
|
||||
# argument 1 is the path in which to extract
|
||||
# argument 2 is the component to extract, one of: gcc, binutils, gdb, linux,
|
||||
# u-boot
|
||||
#
|
||||
# Example:
|
||||
# $(call arch-xtensa-overlay-extract,/path/to/overlay.tar,$(@D),gcc)
|
||||
################################################################################
|
||||
define arch-xtensa-overlay-extract
|
||||
$(call suitable-extractor,$(ARCH_XTENSA_OVERLAY_FILE)) \
|
||||
$(ARCH_XTENSA_OVERLAY_FILE) | \
|
||||
$(TAR) --strip-components=1 -C $(1) $(TAR_OPTIONS) - $(2)
|
||||
endef
|
||||
8
board/altera/post-image.sh
Executable file
8
board/altera/post-image.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# post-image.sh for SoCkit/SoCDK
|
||||
# 2014, "Roman Diouskine" <roman.diouskine@savoirfairelinux.com>
|
||||
# 2014, "Sebastien Bourdelin" <sebastien.bourdelin@savoirfairelinux.com>
|
||||
|
||||
# create a DTB file copy with the name expected by the u-boot config
|
||||
# Name of the DTB is passed as the second argument to the script.
|
||||
cp -af $BINARIES_DIR/${2}.dtb $BINARIES_DIR/socfpga.dtb
|
||||
165
board/altera/readme.txt
Normal file
165
board/altera/readme.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
SoCkit, SoC Development Kit
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This is the buildroot board support for the Arrow SoCkit Evaluation Board
|
||||
and the Altera Cyclone 5 Development Board.
|
||||
|
||||
A good source of information for Arrow SoCkit:
|
||||
http://www.rocketboards.org/foswiki/Documentation/ArrowSoCKitEvaluationBoard
|
||||
|
||||
More information about SoC DK:
|
||||
https://www.altera.com/products/boards_and_kits/dev-kits/altera/kit-cyclone-v-soc.html
|
||||
|
||||
How it works
|
||||
============
|
||||
|
||||
Boot process:
|
||||
-------------
|
||||
|
||||
In summary, the bootloader has multiple stages, an hardcoded boot routine is
|
||||
loaded from an on-chip ROM.
|
||||
|
||||
- That first stage is scanning the SD card's partition table to find
|
||||
partition having the 0xA2 type.
|
||||
- This partition is expected to contain a boot image on its first 60 Kb,
|
||||
because u-boot is bigger, we must fill it with a preloader (u-boot-spl)
|
||||
which will load the u-boot image.
|
||||
- Then the u-boot image will load the Linux kernel.
|
||||
|
||||
A good source of information for the boot process is:
|
||||
http://xillybus.com/tutorials/u-boot-image-altera-soc
|
||||
|
||||
Note for the SPL:
|
||||
The SPL generated by the u-boot from Rocketboards doesn't seems to work,
|
||||
therefore we provide a patch for {uboot-PKG}/board/altera/socfpga_cyclone5/*
|
||||
based on the files generated with the Altera example design.
|
||||
|
||||
For more information about this files please look at:
|
||||
http://www.rocketboards.org/foswiki/Documentation/PreloaderUbootCustomization#Common_Source_Code
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The altera_sockit_defconfig configuration is a minimal configuration with
|
||||
all that is required to bring the SoCkit:
|
||||
|
||||
$ make altera_sockit_defconfig
|
||||
|
||||
and for the SoC Development Board:
|
||||
|
||||
$ make altera_sockdk_defconfig
|
||||
|
||||
Build everything
|
||||
----------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext3 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── socfpga_cyclone5_sockit.dtb or socfpga_cyclone5_socdk.dtb
|
||||
├── socfpga.dtb
|
||||
├── u-boot.img
|
||||
├── u-boot-spl.bin
|
||||
└── uImage
|
||||
|
||||
|
||||
Signing the Preloader
|
||||
---------------------
|
||||
|
||||
*** BEWARE ****
|
||||
The u-boot-spl.bin must be signed using the Altera's tool "mkpimage".
|
||||
This tool comes as a part of the Altera development environnment (SoC EDS).
|
||||
A fork of this tool have been done by Maxime Hadjinlian and can be found here:
|
||||
https://github.com/maximeh/mkpimage
|
||||
|
||||
Remember that without signing the u-boot-spl.bin, the board will not boot !!!
|
||||
|
||||
$ mkpimage u-boot-spl.bin -o u-boot-spl-signed.bin
|
||||
|
||||
Prepare your SDcard
|
||||
===================
|
||||
|
||||
A good source of information for the partitioning process is:
|
||||
http://www.rocketboards.org/foswiki/view/Projects/SoCKitLinaroLinuxDesktop#Partition_the_SD_Card
|
||||
|
||||
Create the SDcard partition table
|
||||
----------------------------------
|
||||
|
||||
Determine the device associated to the SD card:
|
||||
|
||||
$ cat /proc/partitions
|
||||
|
||||
let's assume it is /dev/mmcblk0:
|
||||
|
||||
$ sudo fdisk /dev/mmcblk0
|
||||
|
||||
Delete all previous partitions with 'd' then create the new partition table,
|
||||
using these options, pressing enter after each one:
|
||||
|
||||
* n p 1 9000000 +20480K t 1 b
|
||||
* n p 2 4096 +4496384K t 83
|
||||
* n p 3 2048 +1024K t 3 a2
|
||||
|
||||
Using the 'p' option, the SD card's partition must look like this:
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/mmcblk0p1 9000000 9041919 20960 b W95 FAT32
|
||||
/dev/mmcblk0p2 4096 8996863 4496384 83 Linux
|
||||
/dev/mmcblk0p3 2048 4095 1024 a2 Unknown
|
||||
|
||||
Then write the partition table using 'w' and exit.
|
||||
|
||||
Make partition one a DOS partition:
|
||||
|
||||
$ sudo mkdosfs /dev/mmcblk0p1
|
||||
|
||||
Install the binaries to the SDcard
|
||||
----------------------------------
|
||||
|
||||
Remember your binaries are located in output/images/, go inside that directory:
|
||||
|
||||
$ cd output/images
|
||||
|
||||
The partition with type a2 is the partition scan by the first bootloader stage
|
||||
in the SoCkit ROM to find the next bootloader stage so we must write the signed
|
||||
preloader and the u-boot binaries in that partition:
|
||||
|
||||
$ sudo dd if=u-boot-spl-signed.bin of=/dev/mmcblk0p3 bs=64k seek=0
|
||||
$ sudo dd if=u-boot.img of=/dev/mmcblk0p3 bs=64k seek=4
|
||||
|
||||
Copy the Linux kernel and its Device tree:
|
||||
|
||||
$ sudo mkdir /mnt/sdcard
|
||||
$ sudo mount /dev/mmcblk0p1 /mnt/sdcard
|
||||
$ sudo cp socfpga.dtb uImage /mnt/sdcard
|
||||
$ sudo umount /mnt/sdcard
|
||||
|
||||
Copy the rootfs:
|
||||
|
||||
$ sudo dd if=rootfs.ext2 of=/dev/mmcblk0p2 bs=64k
|
||||
$ sudo sync
|
||||
|
||||
It's Done!
|
||||
|
||||
Finish
|
||||
======
|
||||
|
||||
Eject your SDcard, insert it in your SoCkit, and power it up.
|
||||
|
||||
if you want a serial console, you can plug a micro B USB cable on the USB-UART
|
||||
port, the serial port config to used is 57600/8-N-1.
|
||||
820
board/altera/sockit/uboot-sockit-preloader-sample-design.patch
Normal file
820
board/altera/sockit/uboot-sockit-preloader-sample-design.patch
Normal file
@@ -0,0 +1,820 @@
|
||||
From c70f2ebb350da20af1a0ed4b7960b8e5a1952713 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
|
||||
Date: Thu, 20 Feb 2014 11:51:31 -0500
|
||||
Subject: [PATCH] board: add to sockit a working preloader design
|
||||
|
||||
---
|
||||
board/altera/socfpga_cyclone5/build.h | 2 +-
|
||||
board/altera/socfpga_cyclone5/iocsr_config.c | 314 ++++++++++-----------
|
||||
board/altera/socfpga_cyclone5/pinmux_config.c | 32 +--
|
||||
board/altera/socfpga_cyclone5/pinmux_config.h | 8 +-
|
||||
board/altera/socfpga_cyclone5/sdram/sdram_config.h | 14 +-
|
||||
.../altera/socfpga_cyclone5/sdram/sequencer_auto.h | 16 +-
|
||||
.../sdram/sequencer_auto_ac_init.c | 16 +-
|
||||
.../socfpga_cyclone5/sdram/sequencer_defines.h | 34 +--
|
||||
8 files changed, 218 insertions(+), 218 deletions(-)
|
||||
|
||||
diff --git a/board/altera/socfpga_cyclone5/build.h b/board/altera/socfpga_cyclone5/build.h
|
||||
index e5d9c3c..a369015 100644
|
||||
--- a/board/altera/socfpga_cyclone5/build.h
|
||||
+++ b/board/altera/socfpga_cyclone5/build.h
|
||||
@@ -29,7 +29,7 @@
|
||||
* Handoff files must provide user option whether to
|
||||
* enable watchdog during preloader execution phase
|
||||
*/
|
||||
-#define CONFIG_PRELOADER_WATCHDOG_ENABLE (0)
|
||||
+#define CONFIG_PRELOADER_WATCHDOG_ENABLE (1)
|
||||
|
||||
/*
|
||||
* Handoff files must provide user option whether to enable
|
||||
diff --git a/board/altera/socfpga_cyclone5/iocsr_config.c b/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
index fa663e1..90fc154 100644
|
||||
--- a/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
+++ b/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
@@ -7,113 +7,113 @@ const unsigned long iocsr_scan_chain0_table[((CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH
|
||||
0xC0000000,
|
||||
0x0000003F,
|
||||
0x00008000,
|
||||
- 0x00020080,
|
||||
- 0x08020000,
|
||||
- 0x08000000,
|
||||
- 0x00018020,
|
||||
+ 0x00060180,
|
||||
+ 0x18060000,
|
||||
+ 0x18000000,
|
||||
+ 0x00018060,
|
||||
0x00000000,
|
||||
0x00004000,
|
||||
- 0x00010040,
|
||||
- 0x04010000,
|
||||
- 0x04000000,
|
||||
- 0x00000010,
|
||||
- 0x00004010,
|
||||
+ 0x000300C0,
|
||||
+ 0x0C030000,
|
||||
+ 0x0C000000,
|
||||
+ 0x00000030,
|
||||
+ 0x0000C030,
|
||||
0x00002000,
|
||||
- 0x00020000,
|
||||
- 0x02008000,
|
||||
- 0x02000000,
|
||||
- 0x00000008,
|
||||
- 0x00002008,
|
||||
+ 0x00018060,
|
||||
+ 0x06018000,
|
||||
+ 0x06000000,
|
||||
+ 0x00000018,
|
||||
+ 0x00006018,
|
||||
0x00001000,
|
||||
};
|
||||
|
||||
const unsigned long iocsr_scan_chain1_table[((CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH / 32) + 1)] = {
|
||||
- 0x000C0300,
|
||||
- 0x10040000,
|
||||
- 0x100000C0,
|
||||
- 0x00000040,
|
||||
- 0x00010040,
|
||||
+ 0x00100000,
|
||||
+ 0x300C0000,
|
||||
+ 0x300000C0,
|
||||
+ 0x000000C0,
|
||||
+ 0x000300C0,
|
||||
0x00008000,
|
||||
0x00080000,
|
||||
- 0x18060000,
|
||||
- 0x18000000,
|
||||
- 0x00000060,
|
||||
- 0x00018060,
|
||||
+ 0x20000000,
|
||||
+ 0x00000000,
|
||||
+ 0x00000080,
|
||||
+ 0x00020000,
|
||||
0x00004000,
|
||||
- 0x00010040,
|
||||
+ 0x000300C0,
|
||||
0x10000000,
|
||||
- 0x04000000,
|
||||
- 0x00000010,
|
||||
- 0x00004010,
|
||||
+ 0x0C000000,
|
||||
+ 0x00000030,
|
||||
+ 0x0000C030,
|
||||
0x00002000,
|
||||
- 0x06008020,
|
||||
- 0x02008000,
|
||||
+ 0x06018060,
|
||||
+ 0x06018000,
|
||||
0x01FE0000,
|
||||
0xF8000000,
|
||||
0x00000007,
|
||||
0x00001000,
|
||||
- 0x00004010,
|
||||
- 0x01004000,
|
||||
- 0x01000000,
|
||||
- 0x00003004,
|
||||
- 0x00001004,
|
||||
+ 0x0000C030,
|
||||
+ 0x0300C000,
|
||||
+ 0x03000000,
|
||||
+ 0x0000300C,
|
||||
+ 0x0000300C,
|
||||
0x00000800,
|
||||
0x00000000,
|
||||
0x00000000,
|
||||
- 0x00800000,
|
||||
- 0x00000002,
|
||||
+ 0x01800000,
|
||||
+ 0x00000006,
|
||||
0x00002000,
|
||||
0x00000400,
|
||||
0x00000000,
|
||||
- 0x00401000,
|
||||
+ 0x00C03000,
|
||||
0x00000003,
|
||||
0x00000000,
|
||||
0x00000000,
|
||||
0x00000200,
|
||||
- 0x00600802,
|
||||
+ 0x00601806,
|
||||
0x00000000,
|
||||
- 0x80200000,
|
||||
- 0x80000600,
|
||||
- 0x00000200,
|
||||
+ 0x80600000,
|
||||
+ 0x80000601,
|
||||
+ 0x00000601,
|
||||
0x00000100,
|
||||
- 0x00300401,
|
||||
- 0xC0100400,
|
||||
- 0x40100000,
|
||||
- 0x40000300,
|
||||
- 0x000C0100,
|
||||
+ 0x00300C03,
|
||||
+ 0xC0300C00,
|
||||
+ 0xC0300000,
|
||||
+ 0xC0000300,
|
||||
+ 0x000C0300,
|
||||
0x00000080,
|
||||
};
|
||||
|
||||
const unsigned long iocsr_scan_chain2_table[((CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH / 32) + 1)] = {
|
||||
- 0x80040100,
|
||||
+ 0x300C0300,
|
||||
0x00000000,
|
||||
0x0FF00000,
|
||||
0x00000000,
|
||||
- 0x0C010040,
|
||||
+ 0x0C0300C0,
|
||||
0x00008000,
|
||||
- 0x18020080,
|
||||
- 0x00000000,
|
||||
- 0x08000000,
|
||||
- 0x00040020,
|
||||
- 0x06018060,
|
||||
+ 0x18060180,
|
||||
+ 0x18060000,
|
||||
+ 0x18000000,
|
||||
+ 0x00018060,
|
||||
+ 0x00018060,
|
||||
0x00004000,
|
||||
- 0x0C010040,
|
||||
- 0x04010000,
|
||||
+ 0x000300C0,
|
||||
+ 0x0C030000,
|
||||
0x00000030,
|
||||
0x00000000,
|
||||
- 0x03004010,
|
||||
+ 0x0300C030,
|
||||
0x00002000,
|
||||
- 0x06008020,
|
||||
- 0x02008000,
|
||||
- 0x02000018,
|
||||
- 0x00006008,
|
||||
- 0x01802008,
|
||||
+ 0x00018060,
|
||||
+ 0x06018000,
|
||||
+ 0x06000000,
|
||||
+ 0x00000018,
|
||||
+ 0x00006018,
|
||||
0x00001000,
|
||||
- 0x03004010,
|
||||
- 0x01004000,
|
||||
- 0x0100000C,
|
||||
- 0x00003004,
|
||||
- 0x00C01004,
|
||||
+ 0x0000C030,
|
||||
+ 0x00000000,
|
||||
+ 0x03000000,
|
||||
+ 0x0000000C,
|
||||
+ 0x00C0300C,
|
||||
0x00000800,
|
||||
};
|
||||
|
||||
@@ -170,14 +170,14 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xA0000034,
|
||||
0x0D000001,
|
||||
0x6068030C,
|
||||
- 0xC7034018,
|
||||
- 0x0E381A01,
|
||||
+ 0xCF034059,
|
||||
+ 0x1E781A03,
|
||||
0x8030C0D0,
|
||||
- 0x34018606,
|
||||
- 0x01A01C70,
|
||||
+ 0x34059606,
|
||||
+ 0x01A03CF0,
|
||||
0x0C0D0000,
|
||||
- 0x18606803,
|
||||
- 0x01C70340,
|
||||
+ 0x59606803,
|
||||
+ 0x03CF0340,
|
||||
0xD000001A,
|
||||
0x068030C0,
|
||||
0x10040000,
|
||||
@@ -244,15 +244,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xA0000034,
|
||||
0x0D000001,
|
||||
0x6068030C,
|
||||
- 0xC7034018,
|
||||
- 0x0E381A01,
|
||||
+ 0xCF034059,
|
||||
+ 0x1E781A03,
|
||||
0x8030C0D0,
|
||||
- 0x34018606,
|
||||
+ 0x34059606,
|
||||
0x01A00000,
|
||||
0x0C0D0000,
|
||||
- 0x18606803,
|
||||
- 0x01C70340,
|
||||
- 0xD00E381A,
|
||||
+ 0x59606803,
|
||||
+ 0x03CF0340,
|
||||
+ 0xD01E781A,
|
||||
0x068030C0,
|
||||
0x10040000,
|
||||
0x00200000,
|
||||
@@ -273,7 +273,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -301,7 +301,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -321,15 +321,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x01860680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -347,7 +347,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -375,7 +375,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00015000,
|
||||
@@ -395,15 +395,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
- 0x821A00C3,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
+ 0x821A02CB,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -421,7 +421,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -449,7 +449,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -469,15 +469,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -495,7 +495,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -523,7 +523,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -543,15 +543,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -567,80 +567,80 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x04000002,
|
||||
0x00820000,
|
||||
0x00489000,
|
||||
- 0x001A1A1A,
|
||||
- 0x085506A0,
|
||||
- 0x0000E1D4,
|
||||
- 0x045506A0,
|
||||
- 0x0000E1D4,
|
||||
- 0x085506A0,
|
||||
- 0x8000E1D4,
|
||||
+ 0x801A1A1A,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
0x00000200,
|
||||
0x00000004,
|
||||
- 0x04000000,
|
||||
- 0x00000009,
|
||||
- 0x00002410,
|
||||
+ 0x00040000,
|
||||
+ 0x10000000,
|
||||
+ 0x00000000,
|
||||
0x00000040,
|
||||
- 0x41000000,
|
||||
- 0x00002082,
|
||||
- 0x00000350,
|
||||
- 0x000000DA,
|
||||
+ 0x00010000,
|
||||
+ 0x40002000,
|
||||
+ 0x00000100,
|
||||
+ 0x40000002,
|
||||
+ 0x00000100,
|
||||
+ 0x40000002,
|
||||
0x00000100,
|
||||
0x40000002,
|
||||
0x00000100,
|
||||
0x00000002,
|
||||
- 0x042A8350,
|
||||
- 0x000070EA,
|
||||
- 0x86000000,
|
||||
- 0x08000004,
|
||||
+ 0x00020000,
|
||||
+ 0x08000000,
|
||||
0x00000000,
|
||||
- 0x00482000,
|
||||
- 0x21800000,
|
||||
- 0x00101061,
|
||||
- 0x021541A8,
|
||||
- 0x00003875,
|
||||
- 0x011541A8,
|
||||
- 0x00003875,
|
||||
- 0x021541A8,
|
||||
- 0x20003875,
|
||||
+ 0x00000020,
|
||||
+ 0x00008000,
|
||||
+ 0x20001000,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
0x00000080,
|
||||
0x00000001,
|
||||
- 0x41000000,
|
||||
- 0x00000002,
|
||||
- 0x00FF0904,
|
||||
+ 0x00010000,
|
||||
+ 0x04000000,
|
||||
+ 0x00FF0000,
|
||||
0x00000000,
|
||||
- 0x90400000,
|
||||
- 0x00000820,
|
||||
+ 0x00004000,
|
||||
+ 0x00000800,
|
||||
0x80000001,
|
||||
- 0x38D612AF,
|
||||
- 0x86F8E38E,
|
||||
- 0x0A0A78B4,
|
||||
- 0x000D020A,
|
||||
+ 0x00041419,
|
||||
+ 0x40000000,
|
||||
+ 0x04000816,
|
||||
+ 0x000D0000,
|
||||
0x00006800,
|
||||
- 0x028A4320,
|
||||
- 0xEBB4D23D,
|
||||
- 0x8F65E791,
|
||||
- 0xA47A0F3C,
|
||||
- 0x0001A769,
|
||||
- 0x00410D00,
|
||||
+ 0x00000340,
|
||||
+ 0xD000001A,
|
||||
+ 0x06800000,
|
||||
+ 0x00340000,
|
||||
+ 0x0001A000,
|
||||
+ 0x00000D00,
|
||||
0x40000068,
|
||||
- 0x3D000003,
|
||||
- 0x91EBB4D2,
|
||||
- 0x3C8F65E7,
|
||||
- 0x69A47A0F,
|
||||
- 0x000001A7,
|
||||
+ 0x1A000003,
|
||||
+ 0x00D00000,
|
||||
+ 0x00068000,
|
||||
+ 0x00003400,
|
||||
+ 0x000001A0,
|
||||
+ 0x00000401,
|
||||
+ 0x00000008,
|
||||
0x00000401,
|
||||
0x00000008,
|
||||
0x00000401,
|
||||
0x00000008,
|
||||
- 0x00000540,
|
||||
- 0x000003A8,
|
||||
- 0x10AA0D40,
|
||||
- 0x8001C3A8,
|
||||
+ 0x00000401,
|
||||
+ 0x80000008,
|
||||
0x0000007F,
|
||||
+ 0x20000000,
|
||||
0x00000000,
|
||||
- 0x00004060,
|
||||
- 0xE1208000,
|
||||
+ 0xE0000080,
|
||||
0x0000001F,
|
||||
- 0x00004100,
|
||||
+ 0x00004000,
|
||||
};
|
||||
|
||||
diff --git a/board/altera/socfpga_cyclone5/pinmux_config.c b/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
index 730067e..cfd74cd 100644
|
||||
--- a/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
+++ b/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
@@ -23,7 +23,7 @@ unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
||||
0, /* EMACIO18 */
|
||||
0, /* EMACIO19 */
|
||||
3, /* FLASHIO0 */
|
||||
- 3, /* FLASHIO1 */
|
||||
+ 0, /* FLASHIO1 */
|
||||
3, /* FLASHIO2 */
|
||||
3, /* FLASHIO3 */
|
||||
0, /* FLASHIO4 */
|
||||
@@ -34,25 +34,25 @@ unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
||||
3, /* FLASHIO9 */
|
||||
3, /* FLASHIO10 */
|
||||
3, /* FLASHIO11 */
|
||||
- 3, /* GENERALIO0 */
|
||||
- 3, /* GENERALIO1 */
|
||||
- 3, /* GENERALIO2 */
|
||||
- 3, /* GENERALIO3 */
|
||||
- 3, /* GENERALIO4 */
|
||||
- 3, /* GENERALIO5 */
|
||||
- 3, /* GENERALIO6 */
|
||||
- 3, /* GENERALIO7 */
|
||||
- 3, /* GENERALIO8 */
|
||||
+ 0, /* GENERALIO0 */
|
||||
+ 1, /* GENERALIO1 */
|
||||
+ 1, /* GENERALIO2 */
|
||||
+ 1, /* GENERALIO3 */
|
||||
+ 1, /* GENERALIO4 */
|
||||
+ 0, /* GENERALIO5 */
|
||||
+ 0, /* GENERALIO6 */
|
||||
+ 0, /* GENERALIO7 */
|
||||
+ 0, /* GENERALIO8 */
|
||||
3, /* GENERALIO9 */
|
||||
3, /* GENERALIO10 */
|
||||
3, /* GENERALIO11 */
|
||||
3, /* GENERALIO12 */
|
||||
- 2, /* GENERALIO13 */
|
||||
- 2, /* GENERALIO14 */
|
||||
- 3, /* GENERALIO15 */
|
||||
- 3, /* GENERALIO16 */
|
||||
- 2, /* GENERALIO17 */
|
||||
- 2, /* GENERALIO18 */
|
||||
+ 0, /* GENERALIO13 */
|
||||
+ 0, /* GENERALIO14 */
|
||||
+ 1, /* GENERALIO15 */
|
||||
+ 1, /* GENERALIO16 */
|
||||
+ 1, /* GENERALIO17 */
|
||||
+ 1, /* GENERALIO18 */
|
||||
0, /* GENERALIO19 */
|
||||
0, /* GENERALIO20 */
|
||||
0, /* GENERALIO21 */
|
||||
diff --git a/board/altera/socfpga_cyclone5/pinmux_config.h b/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
index fb483ab..64c750a 100644
|
||||
--- a/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
+++ b/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
@@ -11,15 +11,15 @@
|
||||
#define CONFIG_HPS_UART0 (1)
|
||||
#define CONFIG_HPS_UART1 (0)
|
||||
#define CONFIG_HPS_TRACE (0)
|
||||
-#define CONFIG_HPS_I2C0 (1)
|
||||
-#define CONFIG_HPS_I2C1 (0)
|
||||
+#define CONFIG_HPS_I2C0 (0)
|
||||
+#define CONFIG_HPS_I2C1 (1)
|
||||
#define CONFIG_HPS_I2C2 (0)
|
||||
#define CONFIG_HPS_I2C3 (0)
|
||||
#define CONFIG_HPS_SPIM0 (1)
|
||||
-#define CONFIG_HPS_SPIM1 (0)
|
||||
+#define CONFIG_HPS_SPIM1 (1)
|
||||
#define CONFIG_HPS_SPIS0 (0)
|
||||
#define CONFIG_HPS_SPIS1 (0)
|
||||
-#define CONFIG_HPS_CAN0 (1)
|
||||
+#define CONFIG_HPS_CAN0 (0)
|
||||
#define CONFIG_HPS_CAN1 (0)
|
||||
|
||||
#define CONFIG_HPS_SDMMC_BUSWIDTH (4)
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sdram_config.h b/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
index b90d6f3..dd027ef 100755
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
@@ -4,16 +4,16 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMTYPE (2)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMBL (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ADDRORDER (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (1)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCCORREN (1)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (0)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCCORREN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_REORDEREN (1)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_STARVELIMIT (10)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_DQSTRKEN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_NODMPINS (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCWL (6)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCWL (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_AL (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCL (7)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRRD (4)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCL (11)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRRD (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TFAW (12)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRFC (104)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TREFI (3120)
|
||||
@@ -21,7 +21,7 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TRP (6)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TWR (6)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TWTR (4)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP (4)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRAS (14)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRC (20)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TMRD (4)
|
||||
@@ -33,7 +33,7 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_ROWBITS (15)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_BANKBITS (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_CSBITS (1)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMIFWIDTH_IFWIDTH (40)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMIFWIDTH_IFWIDTH (32)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMDEVWIDTH_DEVWIDTH (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMINTR_INTREN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_STATICCFG_MEMBL (2)
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h b/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
index e8c5484..919676d 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
@@ -34,7 +34,7 @@
|
||||
#define __RW_MGR_ac_read_en 0x21
|
||||
#define __RW_MGR_ac_mrs3_mirr 0x0C
|
||||
#define __RW_MGR_ac_mrs2 0x05
|
||||
-#define __RW_MGR_CONTENT_ac_mrs1 0x10090044
|
||||
+#define __RW_MGR_CONTENT_ac_mrs1 0x10090006
|
||||
#define __RW_MGR_CONTENT_ac_mrs3 0x100B0000
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0_nodata_wl_1 0x18980000
|
||||
#define __RW_MGR_CONTENT_ac_act_1 0x106B0000
|
||||
@@ -46,8 +46,8 @@
|
||||
#define __RW_MGR_CONTENT_ac_init_reset_0_cke_0 0x20700000
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_1_norden 0x10580008
|
||||
#define __RW_MGR_CONTENT_ac_pre_all 0x10280400
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_user 0x10080431
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_dll_reset 0x10080530
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_user 0x10080471
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_dll_reset 0x10080570
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_0 0x13580000
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_1 0x1C980008
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_1 0x13580008
|
||||
@@ -55,21 +55,21 @@
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_1_col_1 0x1C9B0008
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0 0x1C980000
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_1_0 0x135B0000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs1_mirr 0x100A0024
|
||||
+#define __RW_MGR_CONTENT_ac_mrs1_mirr 0x100A0006
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_1_1 0x135B0008
|
||||
#define __RW_MGR_CONTENT_ac_des_odt_1 0x38780000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_dll_reset_mirr 0x100804C8
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_dll_reset_mirr 0x100804E8
|
||||
#define __RW_MGR_CONTENT_ac_zqcl 0x10380400
|
||||
#define __RW_MGR_CONTENT_ac_write_predata 0x38F80000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_user_mirr 0x10080449
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_user_mirr 0x10080469
|
||||
#define __RW_MGR_CONTENT_ac_ref 0x10480000
|
||||
#define __RW_MGR_CONTENT_ac_nop 0x30780000
|
||||
#define __RW_MGR_CONTENT_ac_rdimm 0x10780000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs2_mirr 0x10090010
|
||||
+#define __RW_MGR_CONTENT_ac_mrs2_mirr 0x10090218
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0_nodata 0x18180000
|
||||
#define __RW_MGR_CONTENT_ac_read_en 0x33780000
|
||||
#define __RW_MGR_CONTENT_ac_mrs3_mirr 0x100B0000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs2 0x100A0008
|
||||
+#define __RW_MGR_CONTENT_ac_mrs2 0x100A0218
|
||||
|
||||
#define __RW_MGR_READ_B2B_WAIT2 0x6A
|
||||
#define __RW_MGR_LFSR_WR_RD_BANK_0_WAIT 0x31
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c b/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
index e16efa1..20b4ca1 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
@@ -6,16 +6,16 @@ const alt_u32 ac_rom_init[36] =
|
||||
{
|
||||
0x20700000,
|
||||
0x20780000,
|
||||
- 0x10080431,
|
||||
- 0x10080530,
|
||||
- 0x10090044,
|
||||
- 0x100a0008,
|
||||
+ 0x10080471,
|
||||
+ 0x10080570,
|
||||
+ 0x10090006,
|
||||
+ 0x100a0218,
|
||||
0x100b0000,
|
||||
0x10380400,
|
||||
- 0x10080449,
|
||||
- 0x100804c8,
|
||||
- 0x100a0024,
|
||||
- 0x10090010,
|
||||
+ 0x10080469,
|
||||
+ 0x100804e8,
|
||||
+ 0x100a0006,
|
||||
+ 0x10090218,
|
||||
0x100b0000,
|
||||
0x30780000,
|
||||
0x38780000,
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h b/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
index 52faf3f..b85b85c 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
@@ -1,28 +1,28 @@
|
||||
#ifndef _SEQUENCER_DEFINES_H_
|
||||
#define _SEQUENCER_DEFINES_H_
|
||||
|
||||
-#define AC_ROM_MR1_MIRR 0000000100100
|
||||
+#define AC_ROM_MR1_MIRR 0000000000110
|
||||
#define AC_ROM_MR1_OCD_ENABLE
|
||||
-#define AC_ROM_MR2_MIRR 0000000010000
|
||||
+#define AC_ROM_MR2_MIRR 0001000011000
|
||||
#define AC_ROM_MR3_MIRR 0000000000000
|
||||
#define AC_ROM_MR0_CALIB
|
||||
-#define AC_ROM_MR0_DLL_RESET_MIRR 0010011001000
|
||||
-#define AC_ROM_MR0_DLL_RESET 0010100110000
|
||||
-#define AC_ROM_MR0_MIRR 0010001001001
|
||||
-#define AC_ROM_MR0 0010000110001
|
||||
-#define AC_ROM_MR1 0000001000100
|
||||
-#define AC_ROM_MR2 0000000001000
|
||||
+#define AC_ROM_MR0_DLL_RESET_MIRR 0010011101000
|
||||
+#define AC_ROM_MR0_DLL_RESET 0010101110000
|
||||
+#define AC_ROM_MR0_MIRR 0010001101001
|
||||
+#define AC_ROM_MR0 0010001110001
|
||||
+#define AC_ROM_MR1 0000000000110
|
||||
+#define AC_ROM_MR2 0001000011000
|
||||
#define AC_ROM_MR3 0000000000000
|
||||
#define AFI_CLK_FREQ 401
|
||||
#define AFI_RATE_RATIO 1
|
||||
#define ARRIAVGZ 0
|
||||
#define ARRIAV 0
|
||||
-#define AVL_CLK_FREQ 67
|
||||
+#define AVL_CLK_FREQ 81
|
||||
#define BFM_MODE 0
|
||||
#define BURST2 0
|
||||
#define CALIBRATE_BIT_SLIPS 0
|
||||
-#define CALIB_LFIFO_OFFSET 7
|
||||
-#define CALIB_VFIFO_OFFSET 5
|
||||
+#define CALIB_LFIFO_OFFSET 11
|
||||
+#define CALIB_VFIFO_OFFSET 9
|
||||
#define CYCLONEV 1
|
||||
#define DDR2 0
|
||||
#define DDR3 1
|
||||
@@ -89,20 +89,20 @@
|
||||
#define RW_MGR_MEM_CHIP_SELECT_WIDTH 1
|
||||
#define RW_MGR_MEM_CLK_EN_WIDTH 1
|
||||
#define RW_MGR_MEM_CONTROL_WIDTH 1
|
||||
-#define RW_MGR_MEM_DATA_MASK_WIDTH 5
|
||||
-#define RW_MGR_MEM_DATA_WIDTH 40
|
||||
+#define RW_MGR_MEM_DATA_MASK_WIDTH 4
|
||||
+#define RW_MGR_MEM_DATA_WIDTH 32
|
||||
#define RW_MGR_MEM_DQ_PER_READ_DQS 8
|
||||
#define RW_MGR_MEM_DQ_PER_WRITE_DQS 8
|
||||
-#define RW_MGR_MEM_IF_READ_DQS_WIDTH 5
|
||||
-#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 5
|
||||
+#define RW_MGR_MEM_IF_READ_DQS_WIDTH 4
|
||||
+#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 4
|
||||
#define RW_MGR_MEM_NUMBER_OF_CS_PER_DIMM 1
|
||||
#define RW_MGR_MEM_NUMBER_OF_RANKS 1
|
||||
#define RW_MGR_MEM_ODT_WIDTH 1
|
||||
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_READ_DQS 1
|
||||
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_WRITE_DQS 1
|
||||
#define RW_MGR_MR0_BL 1
|
||||
-#define RW_MGR_MR0_CAS_LATENCY 3
|
||||
-#define RW_MGR_TRUE_MEM_DATA_MASK_WIDTH 5
|
||||
+#define RW_MGR_MR0_CAS_LATENCY 7
|
||||
+#define RW_MGR_TRUE_MEM_DATA_MASK_WIDTH 4
|
||||
#define RW_MGR_WRITE_TO_DEBUG_READ 1.0
|
||||
#define SKEW_CALIBRATION 0
|
||||
#define STATIC_FULL_CALIBRATION 1
|
||||
--
|
||||
1.9.0
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
linux_load_address=0x100000
|
||||
linux_dtb_load_address=0x100
|
||||
linux_dtb=socfpga_cyclone5_socrates.dtb
|
||||
linux_load=mmc rescan; fatload mmc 0:1 ${linux_load_address} zImage; fatload mmc 0:1 ${linux_dtb_load_address} ${linux_dtb}
|
||||
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p3 ro rootwait
|
||||
source_env=fatload mmc 0:1 0x2000000 boot.scr; source 0x2000000
|
||||
bootcmd=run linux_load; bootz ${linux_load_address} - ${linux_dtb_load_address}
|
||||
bootdelay=1
|
||||
@@ -1,58 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"socfpga_cyclone5_socrates.dtb"
|
||||
}
|
||||
}
|
||||
size = 8M
|
||||
}
|
||||
|
||||
image uboot.img {
|
||||
hdimage {
|
||||
partition-table = "no"
|
||||
}
|
||||
|
||||
partition spl {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl.bin.crc"
|
||||
offset = 0
|
||||
size = 64k
|
||||
}
|
||||
|
||||
partition uboot-full {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.img"
|
||||
offset = 256k
|
||||
}
|
||||
|
||||
size = 1M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition uboot-env {
|
||||
in-partition-table = "no"
|
||||
image = "uboot-env.bin"
|
||||
offset = 17408 # 512 * 34 -> just after gpt
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xc
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition uboot {
|
||||
partition-type = 0xa2
|
||||
image = "uboot.img"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
size = 500M
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
EBV SoCrates Evaluation Board
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
More information about this board can be found here:
|
||||
https://rocketboards.org/foswiki/Documentation/EBVSoCratesEvaluationBoard
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, load socrates config for buildroot
|
||||
|
||||
make socrates_cyclone5_defconfig
|
||||
|
||||
Build everything
|
||||
|
||||
make
|
||||
|
||||
Following files will be generated in output/images
|
||||
|
||||
.
|
||||
├── boot.vfat
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── socfpga_cyclone5_socrates.dtb
|
||||
├── u-boot-spl.bin
|
||||
├── u-boot-spl.bin.crc
|
||||
├── u-boot.bin
|
||||
├── u-boot.img
|
||||
├── uboot-env.bin
|
||||
├── uboot.img
|
||||
└── zImage
|
||||
|
||||
|
||||
Creating bootable SD card
|
||||
=========================
|
||||
|
||||
Simply invoke
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Where X is your SD card device (not partition)
|
||||
|
||||
Booting
|
||||
=======
|
||||
|
||||
Pins 6:8 on P18 selector is used to determine boot device. To boot socrates from
|
||||
sdcard set these pins to value 0x5 (101b). Remaining pins are used to determine
|
||||
how to configure FPGA and are not associated with booting into Linux kernel.
|
||||
@@ -1,53 +0,0 @@
|
||||
From 35b7ce4f8f290794d3b89db7461e8c568b5defa1 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 25 Apr 2016 09:19:17 -0700
|
||||
Subject: powerpc/ptrace: Fix out of bounds array access warning
|
||||
|
||||
commit 1e407ee3b21f981140491d5b8a36422979ca246f upstream.
|
||||
|
||||
gcc-6 correctly warns about a out of bounds access
|
||||
|
||||
arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
|
||||
offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
^
|
||||
|
||||
check the end of array instead of beginning of next element to fix this
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Cc: Kees Cook <keescook@chromium.org>
|
||||
Cc: Michael Ellerman <mpe@ellerman.id.au>
|
||||
Cc: Segher Boessenkool <segher@kernel.crashing.org>
|
||||
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
|
||||
Acked-by: Olof Johansson <olof@lixom.net>
|
||||
Cc: Arnd Bergmann <arnd@arndb.de>
|
||||
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com>
|
||||
---
|
||||
arch/powerpc/kernel/ptrace.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
|
||||
index f21897b..93f200f 100644
|
||||
--- a/arch/powerpc/kernel/ptrace.c
|
||||
+++ b/arch/powerpc/kernel/ptrace.c
|
||||
@@ -376,7 +376,7 @@ static int fpr_get(struct task_struct *target, const struct user_regset *regset,
|
||||
|
||||
#else
|
||||
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
|
||||
- offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
+ offsetof(struct thread_fp_state, fpr[32]));
|
||||
|
||||
return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
|
||||
&target->thread.fp_state, 0, -1);
|
||||
@@ -404,7 +404,7 @@ static int fpr_set(struct task_struct *target, const struct user_regset *regset,
|
||||
return 0;
|
||||
#else
|
||||
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
|
||||
- offsetof(struct thread_fp_state, fpr[32][0]));
|
||||
+ offsetof(struct thread_fp_state, fpr[32]));
|
||||
|
||||
return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
|
||||
&target->thread.fp_state, 0, -1);
|
||||
--
|
||||
cgit v1.1
|
||||
@@ -33,7 +33,9 @@ CONFIG_IP_PNP_DHCP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_VCAN=m
|
||||
CONFIG_CAN_MCP251X=m
|
||||
@@ -82,13 +84,13 @@ CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_SMSC_PHY=y
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_LIBERTAS=m
|
||||
CONFIG_LIBERTAS_SDIO=m
|
||||
CONFIG_RT2X00=m
|
||||
CONFIG_RT2500USB=m
|
||||
CONFIG_RT73USB=m
|
||||
CONFIG_RT2800USB=m
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_ZD1211RW=m
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
@@ -123,7 +125,11 @@ CONFIG_USB_VIDEO_CLASS=m
|
||||
CONFIG_USB_PWC=m
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
||||
CONFIG_SOC_CAMERA=m
|
||||
CONFIG_VIDEO_MX2=m
|
||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
||||
# CONFIG_DVB_AU8522_V4L is not set
|
||||
# CONFIG_DVB_TUNER_DIB0070 is not set
|
||||
# CONFIG_DVB_TUNER_DIB0090 is not set
|
||||
CONFIG_FB=y
|
||||
# CONFIG_FB_MX3 is not set
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
@@ -151,6 +157,7 @@ CONFIG_USB_PRINTER=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_CHIPIDEA_DEBUG=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||
CONFIG_USB_SERIAL_PL2303=y
|
||||
@@ -178,8 +185,8 @@ CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1374=y
|
||||
CONFIG_RTC_DRV_MXC=m
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_IMX_DMA=y
|
||||
CONFIG_IMX_SDMA=y
|
||||
CONFIG_IMX_DMA=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_IIO=y
|
||||
CONFIG_MAX1027=y
|
||||
@@ -212,5 +219,6 @@ CONFIG_DEBUG_FS=y
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_8x8=y
|
||||
@@ -13,6 +13,7 @@ Supported platforms
|
||||
Buildroot currently supports the following Armadeus platforms with the
|
||||
associated defconfigs:
|
||||
|
||||
* APF9328 SOM + devt boards -> armadeus_apf9328_defconfig
|
||||
* APF27 SOM + devt board -> armadeus_apf27_defconfig
|
||||
* APF51 SOM + devt board -> armadeus_apf51_defconfig
|
||||
* APF28 SOM + devt board -> armadeus_apf28_defconfig
|
||||
@@ -45,12 +46,15 @@ When the build is finished, you will end up with:
|
||||
|
||||
output/images/
|
||||
├── imx**-apfxxdev.dtb [1]
|
||||
├── rootfs.jffs2 [2]
|
||||
├── rootfs.tar
|
||||
├── rootfs.ubi
|
||||
├── rootfs.ubifs
|
||||
├── rootfs.ubi [2]
|
||||
├── rootfs.ubifs [2]
|
||||
└── uImage
|
||||
|
||||
[1] Only if the kernel version used uses a Device Tree.
|
||||
[2] .ubi/.ubifs images are not available on APF9328 and replaced by a
|
||||
.jffs2 one in this case.
|
||||
|
||||
Building U-Boot is currently not supported in these configurations.
|
||||
|
||||
@@ -65,6 +69,7 @@ it:
|
||||
$ cp output/images/uImage /tftpboot/apfxx-linux.bin
|
||||
$ cp output/images/*.dtb /tftpboot/
|
||||
$ cp output/images/rootfs.ubi /tftpboot/apfxx-rootfs.ubi
|
||||
$ cp output/images/rootfs.jffs2 /tftpboot/apfxx-rootfs.jffs2
|
||||
|
||||
where "apfxx" is the version of your SOM, as used with _defconfigs.
|
||||
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# Image for SD card boot on Atmel at91sam9x5ek boards
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91sam9g15ek.dtb",
|
||||
"at91sam9g25ek.dtb",
|
||||
"at91sam9g35ek.dtb",
|
||||
"at91sam9x25ek.dtb",
|
||||
"at91sam9x35ek.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
|
||||
file uboot.env {
|
||||
image = "uboot-env.bin"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 1M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
echo --rootpath "${TARGET_DIR}"
|
||||
echo --tmppath "${GENIMAGE_TMP}"
|
||||
echo --inputpath "${BINARIES_DIR}"
|
||||
echo --outputpath "${BINARIES_DIR}"
|
||||
echo --config "${GENIMAGE_CFG}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,7 +0,0 @@
|
||||
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait video=Unknown-1:800x480-16
|
||||
bootcmd=fatload mmc 0:1 0x21000000 at91sam9g35ek.dtb; fatload mmc 0:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000
|
||||
bootdelay=1
|
||||
ethact=gmac0
|
||||
stderr=serial
|
||||
stdin=serial
|
||||
stdout=serial
|
||||
@@ -44,7 +44,7 @@ using SAM-BA" section below.
|
||||
For the Xplained boards, an alternative Buildroot configuration is
|
||||
provided to boot from an SD card. Those configurations are labeled as
|
||||
'mmc'. In this case, after building Buildroot, follow the instructions
|
||||
in the "Preparing the SD card" section.
|
||||
in the "Preparting the SD card" sction.
|
||||
|
||||
To configure and build Buildroot, run:
|
||||
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img"
|
||||
}
|
||||
}
|
||||
size = 4M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,49 +0,0 @@
|
||||
BeagleBoard X15
|
||||
|
||||
Intro
|
||||
=====
|
||||
This config currently supports the beagleboard x15,
|
||||
and generates a barebone image.
|
||||
|
||||
The image must be flashed to a SD card to be used.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make beagleboardx15_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build a sdcard image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── am57xx-beagle-x15.dtb
|
||||
├── am57xx-beagle-x15-revb1.dtb
|
||||
├── boot.vfat
|
||||
├── MLO
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.img
|
||||
├── u-boot-spl.bin
|
||||
└── zImage
|
||||
|
||||
How to write the microSD card
|
||||
=============================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
@@ -9,7 +9,6 @@ image boot.vfat {
|
||||
"am335x-evmsk.dtb",
|
||||
"am335x-bone.dtb",
|
||||
"am335x-boneblack.dtb",
|
||||
"am335x-bonegreen.dtb",
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img",
|
||||
"zImage",
|
||||
"uEnv.txt",
|
||||
"am335x-evm.dtb",
|
||||
"am335x-evmsk.dtb",
|
||||
"am335x-bone.dtb",
|
||||
"am335x-boneblack.dtb",
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -8,15 +8,7 @@ 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_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
@@ -106,7 +106,6 @@ fi
|
||||
|
||||
if itest.s "x" != "x${wlmac}" ; then
|
||||
setenv bootargs ${bootargs} wlcore.mac=${wlmac}
|
||||
setenv bootargs ${bootargs} wlan.mac=${wlmac}
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${gpumem}" ; then
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
# bd u-boot looks for bootscript here
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
||||
$HOST_DIR/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
||||
-n "boot script" -d $BOARD_DIR/6x_bootscript.txt $TARGET_DIR/6x_bootscript
|
||||
|
||||
# u-boot / update script for bd upgradeu command
|
||||
if [ -e $BINARIES_DIR/u-boot.imx ];
|
||||
then
|
||||
install -D -m 0644 $BINARIES_DIR/u-boot.imx $TARGET_DIR/u-boot.imx
|
||||
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
||||
$HOST_DIR/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
||||
-n "upgrade script" -d $BOARD_DIR/6x_upgrade.txt $TARGET_DIR/6x_upgrade
|
||||
fi
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
# cgpt does not create protective MBR, and the kernel refuses to read
|
||||
# GPT unless there's some kind of MBR in sector 0. So we need parted
|
||||
# to write that single sector before doing anything with the GPT.
|
||||
cgpt=$HOST_DIR/bin/cgpt
|
||||
parted=$HOST_DIR/sbin/parted
|
||||
cgpt=$HOST_DIR/usr/bin/cgpt
|
||||
parted=$HOST_DIR/usr/sbin/parted
|
||||
kernel=$BINARIES_DIR/uImage.kpart
|
||||
rootfs=$BINARIES_DIR/rootfs.ext2
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ you will probably want the rootfs to occupy the whole remaining space.
|
||||
|
||||
cgpt may be used to check current layout:
|
||||
|
||||
output/host/bin/cgpt show $SD
|
||||
output/host/usr/bin/cgpt show $SD
|
||||
|
||||
All sizes and all offsets are in 512-byte blocks.
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
# The resulting file is called uImage.kpart.
|
||||
|
||||
BOARD_DIR=$(dirname $0)
|
||||
mkimage=$HOST_DIR/bin/mkimage
|
||||
futility=$HOST_DIR/bin/futility
|
||||
devkeys=$HOST_DIR/share/vboot/devkeys
|
||||
mkimage=$HOST_DIR/usr/bin/mkimage
|
||||
futility=$HOST_DIR/usr/bin/futility
|
||||
devkeys=$HOST_DIR/usr/share/vboot/devkeys
|
||||
|
||||
run() { echo "$@"; "$@"; }
|
||||
die() { echo "$@" >&2; exit 1; }
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# Minimal SD card image
|
||||
#
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copy to target
|
||||
cp ${BINARIES_DIR}/vmlinux.gz.itb ${TARGET_DIR}/fitImage
|
||||
@@ -1,65 +0,0 @@
|
||||
*********************
|
||||
* MIPS Creator CI40 *
|
||||
*********************
|
||||
|
||||
This document details how to build and run a Buildroot system on the
|
||||
MIPS Creator CI40 platform. For more details about the CI40, see
|
||||
https://creatordev.io/ci40-iot-hub.html.
|
||||
|
||||
How to build
|
||||
------------
|
||||
|
||||
$ make ci40_defconfig
|
||||
$ make
|
||||
|
||||
Prepare USB/MMC for boot
|
||||
------------------------
|
||||
|
||||
On successful build, "sdcard.img" file will be created in 'output/images'
|
||||
folder.
|
||||
|
||||
Use following command to write image to bootable device
|
||||
|
||||
$ sudo dd if=./output/images/sdcard.img of=/dev/<your-microsd-or-usb-device>
|
||||
|
||||
Booting from USB/MMC
|
||||
--------------------
|
||||
|
||||
The boot loader is already present in NOR flash. To boot your newly generated
|
||||
Linux and root filesystem, you need to interrupt U-Boot autoboot. Current
|
||||
U-Boot is configured with 2 seconds of boot-delay, after expiry of this
|
||||
boot-delay timeout U-Boot starts booting the default image. To interrupt
|
||||
autoboot, press any key before the boot-delay time expires, U-Boot will
|
||||
stop the autoboot process and give a U-Boot prompt. You can now boot to
|
||||
your preferred boot method as describe below:
|
||||
|
||||
From USB
|
||||
pistachio # run usbboot
|
||||
|
||||
From SD-Card
|
||||
pistachio # run mmcboot
|
||||
|
||||
Persistent boot command
|
||||
-----------------------
|
||||
|
||||
To boot automatically to your preferred boot method, use following command to
|
||||
make it persistent, for example to automatically boot to usb:
|
||||
|
||||
pistachio # setenv bootcmd run usbboot
|
||||
pistachio # saveenv
|
||||
|
||||
Flash new bootloader
|
||||
--------------------
|
||||
|
||||
The bootloader image will be available in the 'output/images' folder. To flash
|
||||
the new bootloader, copy it to the device and use the following command on the
|
||||
device:
|
||||
|
||||
# flashcp -v u-boot-pistachio_marduk-<version>.img /dev/mtd0
|
||||
|
||||
Online docs
|
||||
-----------
|
||||
|
||||
Mostly for OpenWRT but it is applicable to Buildroot
|
||||
https://docs.creatordev.io/ci40/guides/openwrt-platform/#overview
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
tar jtag jtag://127.0.0.1:1025
|
||||
reset
|
||||
|
||||
# setup CCR (Cache Config Reg)
|
||||
# 0-1:MP,2:IE,3:DE,4:WB,5:RS,6:Z,7:BE
|
||||
set $cr18 = 0x7d
|
||||
|
||||
# vendor custom setup, double cache line & preload
|
||||
set $cr30 = 0xc
|
||||
|
||||
# pin mux for serial8250
|
||||
set *(unsigned int *) 0xa030a14c |= (1 << 22) | (1 << 23)
|
||||
|
||||
# pass devicetree blob
|
||||
# r2 is magic
|
||||
# r3 is address
|
||||
set $r2 = 0x20150401
|
||||
set $r3 = 0x92000000
|
||||
restore gx6605s.dtb binary 0x92000000
|
||||
|
||||
# flush cache
|
||||
set $cr17 = 0x33
|
||||
|
||||
load
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
C-SKY Development Kit
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
C-SKY is a CPU Architecture from www.c-sky.com and has it own instruction set.
|
||||
Just like arm and mips in linux/arch, it named as 'csky'.
|
||||
|
||||
gx6605s develop board is made by Hangzhou Nationalchip and C-SKY.
|
||||
|
||||
Hardware Spec:
|
||||
* CPU: ck610 up to 594Mhz
|
||||
* Integrate with 64MB ddr2 in SOC.
|
||||
* Integrate with hardware Jtag.
|
||||
* Integrate with usb-to-serial chip.
|
||||
* USB ehci controller in SOC.
|
||||
* Power Supply: DC 5V from two micro-usb.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The csky_gx6605s_defconfig configuration is a sample configuration with
|
||||
all that is required to bring the gx6605s Development Board:
|
||||
|
||||
$ make csky_gx6605s_defconfig
|
||||
|
||||
Build everything
|
||||
----------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
├── vmlinux
|
||||
├── rootfs.ext2
|
||||
└── <board name>.dtb
|
||||
|
||||
How to run it
|
||||
=============
|
||||
|
||||
Prepare Jtag-Server
|
||||
-------------------
|
||||
|
||||
Download the Jtag-Server here:
|
||||
|
||||
https://github.com/c-sky/tools/raw/master/DebugServerConsole-linux-x86_64-V4.2.00-20161213.tar.gz
|
||||
|
||||
Go to the unpacked directory:
|
||||
|
||||
$./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
|
||||
|
||||
Perhaps you need to use "sudo", which need libusb to detect c510:b210
|
||||
|
||||
$ sudo ./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
|
||||
|
||||
Prepare USB drive
|
||||
-----------------
|
||||
|
||||
You sould determine which device associated to the usb drive
|
||||
carefully. eg:
|
||||
|
||||
$ cat /proc/partitions
|
||||
8 48 1971712 sdd
|
||||
8 49 976720 sdd1
|
||||
|
||||
$ sudo dd if=rootfs.ext2 of=/dev/sdd1
|
||||
$ sudo sync
|
||||
|
||||
Run
|
||||
---
|
||||
|
||||
Plug the usb drive on gx6605s dev board.
|
||||
|
||||
Setup the Console with the rate 115200/8-N-1.
|
||||
|
||||
$ cd output/images
|
||||
$ ../host/bin/csky-linux-gdb -x ../../board/csky/gx6605s/gdbinit vmlinux
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
# post-build.sh for OrangePi taken from CubieBoard's post-build.sh
|
||||
# post-build.sh for Cubieboard2
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
MKIMAGE=$HOST_DIR/bin/mkimage
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
BOOT_CMD=$BOARD_DIR/boot.cmd
|
||||
BOOT_CMD_H=$BINARIES_DIR/boot.scr
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage",
|
||||
"imx6ul-geam-kit.dtb"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition SPL {
|
||||
in-partition-table = "no"
|
||||
image = "SPL"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
********************************************
|
||||
Buildroot for Engicam GEAM6UL SOM platforms:
|
||||
********************************************
|
||||
|
||||
This file documents the Buildroot support for all Engicam GEAM6UL
|
||||
SOM platform boards.
|
||||
|
||||
GEAM6UL SOM Starter kits:
|
||||
https://www.engicam.com/vis-prod/101115
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the Engicam GEAM6UL SOM:
|
||||
|
||||
- for GEAM6UL SOM:
|
||||
|
||||
make engicam_imx6ul_geam_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find the following files in output/images/:
|
||||
- imx6ul-geam-kit.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- SPL
|
||||
- u-boot-dtb.img
|
||||
- uImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
sync
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/engicam/geam6ul/genimage.cfg
|
||||
|
||||
Boot the GEAM6UL boards with SD boot:
|
||||
====================================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- connect 3-wire RS232 serial port J28 on board, and connect with other
|
||||
serial end or USB cable(if serial-to-usb converter used) using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- close JM3 for sd boot.
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,39 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage",
|
||||
"imx6dl-icore.dtb",
|
||||
"imx6q-icore.dtb"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition SPL {
|
||||
in-partition-table = "no"
|
||||
image = "SPL"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
*********************************************
|
||||
Buildroot for Engicam i.CoreM6 SOM platforms:
|
||||
*********************************************
|
||||
|
||||
This file documents the Buildroot support for Engicam i.CoreM6
|
||||
platform boards.
|
||||
|
||||
i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits:
|
||||
https://www.engicam.com/vis-prod/101120
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the Engicam i.CoreM6:
|
||||
|
||||
- for i.CoreM6 Quad/Dual/DualLite/Solo:
|
||||
|
||||
make engicam_imx6qdl_icore_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find the following files in output/images/:
|
||||
- for i.CoreM6 Quad/Dual:
|
||||
- imx6q-icore.dtb
|
||||
- for i.CoreM6 DualLite/Solo:
|
||||
- imx6dl-icore.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- SPL
|
||||
- u-boot-dtb.img
|
||||
- uImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
sync
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/engicam/icorem6/genimage.cfg
|
||||
|
||||
Boot the i.CoreM6 boards with SD boot:
|
||||
=====================================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- connect 3-wire RS232 serial port J28 on board, and connect with other
|
||||
serial end or USB cable(if serial-to-usb converter used) using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- close JM3 for sd boot.
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,39 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage",
|
||||
"imx6dl-icore-rqs.dtb",
|
||||
"imx6q-icore-rqs.dtb"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition SPL {
|
||||
in-partition-table = "no"
|
||||
image = "SPL"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
*************************************************
|
||||
Buildroot for Engicam i.CoreM6 RQS SOM platforms:
|
||||
*************************************************
|
||||
|
||||
This file documents the Buildroot support for Engicam i.CoreM6 RQS
|
||||
SOM platform boards.
|
||||
|
||||
i.CoreM6 Quad/Dual/DualLite/Solo RQS SOM Starter kits:
|
||||
https://www.engicam.com/vis-prod/101124
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the Engicam i.CoreM6 RQS:
|
||||
|
||||
- for i.CoreM6 RQS Quad/Dual/DualLite/Solo:
|
||||
|
||||
make engicam_imx6qdl_icore_rqs_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find the following files in output/images/:
|
||||
- for i.CoreM6 Quad/Dual RQS:
|
||||
- imx6q-icore-rqs.dtb
|
||||
- for i.CoreM6 DualLite/Solo RQS:
|
||||
- imx6dl-icore-rqs.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- SPL
|
||||
- u-boot-dtb.img
|
||||
- uImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
sync
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/engicam/icorem6_rqs/genimage.cfg
|
||||
|
||||
Boot the i.CoreM6 RQS boards with SD boot:
|
||||
=========================================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- connect 3-wire RS232 serial port J7 on board, and connect with other
|
||||
serial end or USB cable(if serial-to-usb converter used) using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- close JM2 for sd boot.
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,38 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage",
|
||||
"imx6ul-isiot-emmc.dtb"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition SPL {
|
||||
in-partition-table = "no"
|
||||
image = "SPL"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 69K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
********************************************
|
||||
Buildroot for Engicam Is.IoT SOM platforms:
|
||||
********************************************
|
||||
|
||||
This file documents the Buildroot support for all Engicam Is.IoT MX6UL
|
||||
SOM platform boards.
|
||||
|
||||
Is.IoT MX6UL SOM Starter kits:
|
||||
https://www.engicam.com/vis-prod/101122
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the Engicam Is.IoT MX6UL SOM:
|
||||
|
||||
- for Is.IoT MX6UL SOM:
|
||||
|
||||
make engicam_imx6ul_isiot_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find the following files in output/images/:
|
||||
- imx6ul-isiot-emmc.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- SPL
|
||||
- u-boot-dtb.img
|
||||
- uImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
sync
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/engicam/isiot/genimage.cfg
|
||||
|
||||
Boot the Is.IoT MX6UL boards with SD boot:
|
||||
=========================================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- connect 3-wire RS232 serial port J28 on board, and connect with other
|
||||
serial end or USB cable(if serial-to-usb converter used) using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- close JM3 for sd boot.
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/bin/mkimage
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/sd-image.cfg"
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME
|
||||
# in ${BR_CONFIG}, then prints the corresponding list of file names for the
|
||||
# genimage configuration file
|
||||
#
|
||||
dtb_list()
|
||||
{
|
||||
local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
|
||||
for dt in $DTB_LIST; do
|
||||
echo -n "\"$dt.dtb\", "
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in
|
||||
# ${BR_CONFIG}, then prints the corresponding file name for the genimage
|
||||
# configuration file
|
||||
#
|
||||
linux_image()
|
||||
{
|
||||
if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "\"uImage\""
|
||||
else
|
||||
echo "\"zImage\""
|
||||
fi
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
local FILES="$(dtb_list) $(linux_image)"
|
||||
local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)"
|
||||
local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
sed -e "s/%FILES%/${FILES}/" \
|
||||
board/freescale/common/imx/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
rm -f ${GENIMAGE_CFG}
|
||||
|
||||
exit $?
|
||||
}
|
||||
|
||||
main $@
|
||||
@@ -1,39 +0,0 @@
|
||||
# Minimal SD card image for the Freescale MX23/MX28 Template
|
||||
#
|
||||
# We mimic the .sdcard Freescale's MX23/MX28 image format:
|
||||
# * u-boot.sb is placed at offset 1M,
|
||||
# * a FAT partition at offset 16 MB is containing zImage/uImage and DTB files
|
||||
# * a single root filesystem partition is required (ext2, ext3 or ext4)
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0x53
|
||||
image = "u-boot.sd"
|
||||
offset = 1M
|
||||
size = 16M
|
||||
}
|
||||
|
||||
partition kernel {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@ main()
|
||||
local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
sed -e "s/%FILES%/${FILES}/" \
|
||||
board/freescale/common/mxs/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
board/freescale/common/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
**************************
|
||||
Freescale i.MX23 EVK board
|
||||
**************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX23 EVK board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your i.MX23 EVK board:
|
||||
|
||||
make imx23evk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ directory the following files:
|
||||
- imx23-evk.dtb
|
||||
- rootfs.tar
|
||||
- u-boot.sd
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Then, run the following command:
|
||||
|
||||
*** WARNING! The command will destroy all the card content. Use with care! ***
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/<your-microsd-device>
|
||||
|
||||
Boot the i.MX23 EVK board
|
||||
=========================
|
||||
|
||||
- Put the Boot Mode Select jumper as 1 0 0 1 so that it can boot
|
||||
from the SD card
|
||||
- Insert the SD card in the SD Card slot of the board;
|
||||
- Connect an RS232 UART cable to the Debug UART Port and connect using a
|
||||
terminal emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -40,7 +40,7 @@ command as root:
|
||||
*** 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.
|
||||
board/freescale/common/genimage.cfg.template.
|
||||
|
||||
Boot the i.MX25 PDK board
|
||||
=========================
|
||||
|
||||
29
board/freescale/imx28evk/genimage.cfg
Normal file
29
board/freescale/imx28evk/genimage.cfg
Normal file
@@ -0,0 +1,29 @@
|
||||
image kernel.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage", "imx28-evk.dtb"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
partition boot {
|
||||
partition-type = 0x53
|
||||
image = "u-boot.sd"
|
||||
offset = 1M
|
||||
size = 16M
|
||||
}
|
||||
|
||||
partition kernel {
|
||||
partition-type = 0xC
|
||||
image = "kernel.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ command as root:
|
||||
*** 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.
|
||||
board/freescale/common/genimage.cfg.template.
|
||||
|
||||
Boot the i.MX51 EVK board
|
||||
=========================
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
*******************************
|
||||
Freescale i.MX6Q Sabre SD board
|
||||
*******************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX6Q Sabre SD
|
||||
board.
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX6Q Sabre SD board:
|
||||
|
||||
make imx6q-sabresd_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find the following files in output/images/ :
|
||||
- imx6q-sabresd.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<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.MX6Q Sabre SD board
|
||||
==============================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD3 slot of the board (close to the HDMI connector);
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -71,7 +71,7 @@ command as root:
|
||||
*** WARNING! The script will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/common/imx/genimage.cfg.template.
|
||||
board/freescale/common/genimage.cfg.template.
|
||||
|
||||
Boot the SABRE board
|
||||
====================
|
||||
|
||||
@@ -43,7 +43,7 @@ command as root:
|
||||
*** 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.
|
||||
board/freescale/common/genimage.cfg.template.
|
||||
|
||||
Boot the i.MX6UL EVK board
|
||||
=========================
|
||||
|
||||
@@ -40,7 +40,7 @@ command as root:
|
||||
*** 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.
|
||||
board/freescale/common/genimage.cfg.template.
|
||||
|
||||
Boot the i.MX7D SDB board
|
||||
=========================
|
||||
|
||||
@@ -23,7 +23,7 @@ Update uboot
|
||||
|
||||
- Load u-boot.imx in the WarpBoard by using the imx-usb-loader host utility:
|
||||
|
||||
$ ./output/host/bin/imx_usb -c output/host/etc/imx-loader.d/ output/images/u-boot.imx
|
||||
$ ./output/host/usr/bin/imx_usb -c output/host/etc/imx-loader.d/ output/images/u-boot.imx
|
||||
|
||||
- U-Boot will appear in minicom
|
||||
|
||||
@@ -36,7 +36,7 @@ Update uboot
|
||||
|
||||
- Transfer U-Boot into flash by running this command in host side:
|
||||
|
||||
$ sudo ./output/host/bin/dfu-util -D output/images/u-boot.imx -a boot
|
||||
$ sudo ./output/host/usr/bin/dfu-util -D output/images/u-boot.imx -a boot
|
||||
|
||||
- remove power and put the WarpBoard back into normal boot mode by
|
||||
opening the j2 jumper.
|
||||
|
||||
@@ -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-m1-plus.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,35 +0,0 @@
|
||||
# Minimal SD card image for the NanoPi M1 Plus
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h3-nanopi-m1-plus.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"
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
NanoPi M1 Plus
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the NanoPi M1 Plus. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make nanopi_m1_plus_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
@@ -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-m1.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-m1.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,29 +0,0 @@
|
||||
NanoPi M1
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the NanoPi M1. 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_m1_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,10 +1,10 @@
|
||||
Run the simulation with GDB for FDPIC:
|
||||
|
||||
./output/host/bin/bfin-buildroot-linux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
./output/host/usr/bin/bfin-buildroot-linux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
|
||||
Run the simulation with GDB for FLAT:
|
||||
|
||||
./output/host/bin/bfin-buildroot-uclinux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
./output/host/usr/bin/bfin-buildroot-uclinux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
|
||||
The login prompt will appear in the terminal that started GDB.
|
||||
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Minimal microSD card image for Grinn's chiliBoard
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img",
|
||||
"am335x-chiliboard.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 1M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/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}"
|
||||
@@ -1,46 +0,0 @@
|
||||
**********
|
||||
chiliBoard
|
||||
**********
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your chiliBoard:
|
||||
|
||||
make grinn_chiliboard_defconfig
|
||||
|
||||
Build image:
|
||||
|
||||
make
|
||||
|
||||
After building you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── am335x-chiliboard.dtb
|
||||
├── boot.vfat
|
||||
├── MLO
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.img
|
||||
└── zImage
|
||||
|
||||
Create a bootable microSD card
|
||||
==============================
|
||||
|
||||
Buildroot prepares a bootable microSD card image "sdcard.img" in output/images/
|
||||
directory, To flash SD card just run the following command:
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/<sd_card> bs=1M
|
||||
|
||||
where <sd_card> can be sdX or mmcblkX
|
||||
|
||||
*** WARNING! This will destroy all contents of device you specify! ***
|
||||
|
||||
Boot chiliBoard
|
||||
===============
|
||||
|
||||
- insert the microSD card in the microSD slot of the board;
|
||||
- plug micro USB cable to provide power and console interface
|
||||
- use terminal emulator with 115200 bps, 8n1
|
||||
@@ -0,0 +1,112 @@
|
||||
From 35d7c23bde44d18205a2730df9acf75d83220c3a Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Wed, 7 Sep 2016 15:10:45 +0200
|
||||
Subject: [PATCH 1/2] ARM: dts: imx6ul: Add DTS for liteSOM module
|
||||
|
||||
This is a SOM (System on Module), so it will be part of another boards.
|
||||
Hence, this is a "dtsi" file that will be included from another device
|
||||
tree files.
|
||||
|
||||
Hardware specification:
|
||||
* Freescale i.MX6UL SoC
|
||||
* up to 512 MB RAM
|
||||
* eMMC on uSDHC2
|
||||
|
||||
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/imx6ul-litesom.dtsi | 82 +++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 82 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/imx6ul-litesom.dtsi
|
||||
|
||||
diff --git a/arch/arm/boot/dts/imx6ul-litesom.dtsi b/arch/arm/boot/dts/imx6ul-litesom.dtsi
|
||||
new file mode 100644
|
||||
index 0000000..461292d
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6ul-litesom.dtsi
|
||||
@@ -0,0 +1,82 @@
|
||||
+/*
|
||||
+ * Copyright 2016 Grinn
|
||||
+ *
|
||||
+ * Author: Marcin Niestroj <m.niestroj@grinn-global.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
|
||||
+ * version 2 as published by the Free Software Foundation.
|
||||
+ *
|
||||
+ * 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 , 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 "imx6ul.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "Grinn i.MX6UL liteSOM";
|
||||
+ compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";
|
||||
+
|
||||
+ memory {
|
||||
+ reg = <0x80000000 0x20000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl_usdhc2: usdhc2grp {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
|
||||
+ MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059
|
||||
+ MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059
|
||||
+ MX6UL_PAD_NAND_ALE__USDHC2_RESET_B 0x17059
|
||||
+ >;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&usdhc2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_usdhc2>;
|
||||
+ no-1-8-v;
|
||||
+ non-removable;
|
||||
+ keep-power-in-suspend;
|
||||
+ wakeup-source;
|
||||
+ bus-width = <8>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
2.10.0
|
||||
|
||||
@@ -0,0 +1,195 @@
|
||||
From 58669b4a74343673c6e75c5312e87b24634773fb Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Wed, 7 Sep 2016 15:10:53 +0200
|
||||
Subject: [PATCH 2/2] ARM: dts: imx6ul: Add DTS for liteBoard
|
||||
|
||||
liteBoard is a development board which uses liteSOM as its base.
|
||||
|
||||
Hardware specification:
|
||||
* liteSOM (i.MX6UL, DRAM, eMMC)
|
||||
* Ethernet PHY (id 0)
|
||||
* USB host (usb_otg1)
|
||||
* MicroSD slot (uSDHC1)
|
||||
|
||||
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 1 +
|
||||
arch/arm/boot/dts/imx6ul-liteboard.dts | 153 +++++++++++++++++++++++++++++++++
|
||||
2 files changed, 154 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/imx6ul-liteboard.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index faacd52..b149313 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
|
||||
imx6sx-sdb.dtb
|
||||
dtb-$(CONFIG_SOC_IMX6UL) += \
|
||||
imx6ul-14x14-evk.dtb \
|
||||
+ imx6ul-liteboard.dtb \
|
||||
imx6ul-pico-hobbit.dtb \
|
||||
imx6ul-tx6ul-0010.dtb \
|
||||
imx6ul-tx6ul-0011.dtb \
|
||||
diff --git a/arch/arm/boot/dts/imx6ul-liteboard.dts b/arch/arm/boot/dts/imx6ul-liteboard.dts
|
||||
new file mode 100644
|
||||
index 0000000..f2e04f2
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6ul-liteboard.dts
|
||||
@@ -0,0 +1,153 @@
|
||||
+/*
|
||||
+ * Copyright 2016 Grinn
|
||||
+ *
|
||||
+ * Author: Marcin Niestroj <m.niestroj@grinn-global.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
|
||||
+ * version 2 as published by the Free Software Foundation.
|
||||
+ *
|
||||
+ * 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 , 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.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx6ul-litesom.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "Grinn i.MX6UL liteBoard";
|
||||
+ compatible = "grinn,imx6ul-liteboard", "grinn,imx6ul-litesom",
|
||||
+ "fsl,imx6ul";
|
||||
+
|
||||
+ chosen {
|
||||
+ stdout-path = &uart1;
|
||||
+ };
|
||||
+
|
||||
+ regulators {
|
||||
+ compatible = "simple-bus";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ reg_usb_otg1_vbus: usb_otg1_regulator {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_usb_otg1_vbus>;
|
||||
+ regulator-name = "usb_otg1_vbus";
|
||||
+ regulator-min-microvolt = <5000000>;
|
||||
+ regulator-max-microvolt = <5000000>;
|
||||
+ gpio = <&gpio2 8 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl_enet1: enet1grp {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0
|
||||
+ MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
|
||||
+ MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_uart1: uart1grp {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
|
||||
+ MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_usdhc1: usdhc1grp {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059
|
||||
+ MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
|
||||
+ MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071
|
||||
+ MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
|
||||
+ MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
|
||||
+ MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
|
||||
+ MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_usb_otg1_vbus: usb_otg1_vbus {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_ENET2_RX_DATA0__GPIO2_IO08 0x79
|
||||
+ >;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fec1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_enet1>;
|
||||
+ phy-mode = "rmii";
|
||||
+ phy-handle = <ðphy0>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ mdio {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethphy0: ethernet-phy@0 {
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart1>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usbotg1 {
|
||||
+ vbus-supply = <®_usb_otg1_vbus>;
|
||||
+ dr_mode = "host";
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usdhc1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_usdhc1>;
|
||||
+ cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
|
||||
+ no-1-8-v;
|
||||
+ keep-power-in-suspend;
|
||||
+ wakeup-source;
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
2.10.0
|
||||
|
||||
@@ -0,0 +1,311 @@
|
||||
From 0f6c7b874d2cc1d0ba500190f4c3d16eabb5d711 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Tue, 5 Jul 2016 14:59:28 +0200
|
||||
Subject: [PATCH 1/2] ARM: imx6ul: Add support for liteSOM
|
||||
|
||||
liteSOM is a System On Module (http://grinn-global.com/litesom/). It
|
||||
can't exists on its own, but will be used as part of other boards.
|
||||
|
||||
Hardware specification:
|
||||
* NXP i.MX6UL processor
|
||||
* 256M or 512M DDR3 memory
|
||||
* optional eMMC (uSDHC2)
|
||||
|
||||
Here we treat SOM similar to SOC, so we place it inside arch/arm/mach-*
|
||||
directory and make it possible to reuse initialization code (i.e. DDR,
|
||||
eMMC init) for all boards that use it.
|
||||
|
||||
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
---
|
||||
arch/arm/Kconfig | 2 +
|
||||
arch/arm/Makefile | 1 +
|
||||
arch/arm/mach-litesom/Kconfig | 6 +
|
||||
arch/arm/mach-litesom/Makefile | 6 +
|
||||
arch/arm/mach-litesom/include/mach/litesom.h | 16 +++
|
||||
arch/arm/mach-litesom/litesom.c | 200 +++++++++++++++++++++++++++
|
||||
6 files changed, 231 insertions(+)
|
||||
create mode 100644 arch/arm/mach-litesom/Kconfig
|
||||
create mode 100644 arch/arm/mach-litesom/Makefile
|
||||
create mode 100644 arch/arm/mach-litesom/include/mach/litesom.h
|
||||
create mode 100644 arch/arm/mach-litesom/litesom.c
|
||||
|
||||
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
|
||||
index e63309a..bf5ac39 100644
|
||||
--- a/arch/arm/Kconfig
|
||||
+++ b/arch/arm/Kconfig
|
||||
@@ -917,6 +917,8 @@ source "arch/arm/mach-keystone/Kconfig"
|
||||
|
||||
source "arch/arm/mach-kirkwood/Kconfig"
|
||||
|
||||
+source "arch/arm/mach-litesom/Kconfig"
|
||||
+
|
||||
source "arch/arm/mach-mvebu/Kconfig"
|
||||
|
||||
source "arch/arm/cpu/armv7/mx7/Kconfig"
|
||||
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
|
||||
index 42093c2..3e804d7 100644
|
||||
--- a/arch/arm/Makefile
|
||||
+++ b/arch/arm/Makefile
|
||||
@@ -58,6 +58,7 @@ machine-$(CONFIG_ARCH_HIGHBANK) += highbank
|
||||
machine-$(CONFIG_ARCH_KEYSTONE) += keystone
|
||||
# TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
|
||||
machine-$(CONFIG_KIRKWOOD) += kirkwood
|
||||
+machine-$(CONFIG_LITESOM) += litesom
|
||||
machine-$(CONFIG_ARCH_MESON) += meson
|
||||
machine-$(CONFIG_ARCH_MVEBU) += mvebu
|
||||
# TODO: rename CONFIG_TEGRA -> CONFIG_ARCH_TEGRA
|
||||
diff --git a/arch/arm/mach-litesom/Kconfig b/arch/arm/mach-litesom/Kconfig
|
||||
new file mode 100644
|
||||
index 0000000..9b7f36d
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/mach-litesom/Kconfig
|
||||
@@ -0,0 +1,6 @@
|
||||
+config LITESOM
|
||||
+ bool
|
||||
+ select MX6UL
|
||||
+ select DM
|
||||
+ select DM_THERMAL
|
||||
+ select SUPPORT_SPL
|
||||
diff --git a/arch/arm/mach-litesom/Makefile b/arch/arm/mach-litesom/Makefile
|
||||
new file mode 100644
|
||||
index 0000000..b15eb64
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/mach-litesom/Makefile
|
||||
@@ -0,0 +1,6 @@
|
||||
+# (C) Copyright 2016 Grinn
|
||||
+#
|
||||
+# SPDX-License-Identifier: GPL-2.0+
|
||||
+#
|
||||
+
|
||||
+obj-y := litesom.o
|
||||
diff --git a/arch/arm/mach-litesom/include/mach/litesom.h b/arch/arm/mach-litesom/include/mach/litesom.h
|
||||
new file mode 100644
|
||||
index 0000000..6833949
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/mach-litesom/include/mach/litesom.h
|
||||
@@ -0,0 +1,16 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2016 Grinn
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: GPL-2.0+
|
||||
+ */
|
||||
+
|
||||
+#ifndef __ARCH_ARM_MACH_LITESOM_SOM_H__
|
||||
+#define __ARCH_ARM_MACH_LITESOM_SOM_H__
|
||||
+
|
||||
+int litesom_mmc_init(bd_t *bis);
|
||||
+
|
||||
+#ifdef CONFIG_SPL_BUILD
|
||||
+void litesom_init_f(void);
|
||||
+#endif
|
||||
+
|
||||
+#endif
|
||||
diff --git a/arch/arm/mach-litesom/litesom.c b/arch/arm/mach-litesom/litesom.c
|
||||
new file mode 100644
|
||||
index 0000000..ac2eccf
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/mach-litesom/litesom.c
|
||||
@@ -0,0 +1,200 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
|
||||
+ * Copyright (C) 2016 Grinn
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: GPL-2.0+
|
||||
+ */
|
||||
+
|
||||
+#include <asm/arch/clock.h>
|
||||
+#include <asm/arch/iomux.h>
|
||||
+#include <asm/arch/imx-regs.h>
|
||||
+#include <asm/arch/crm_regs.h>
|
||||
+#include <asm/arch/mx6ul_pins.h>
|
||||
+#include <asm/arch/mx6-pins.h>
|
||||
+#include <asm/arch/sys_proto.h>
|
||||
+#include <asm/gpio.h>
|
||||
+#include <asm/imx-common/iomux-v3.h>
|
||||
+#include <asm/imx-common/boot_mode.h>
|
||||
+#include <asm/io.h>
|
||||
+#include <common.h>
|
||||
+#include <fsl_esdhc.h>
|
||||
+#include <linux/sizes.h>
|
||||
+#include <mmc.h>
|
||||
+
|
||||
+DECLARE_GLOBAL_DATA_PTR;
|
||||
+
|
||||
+#define USDHC_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \
|
||||
+ PAD_CTL_PUS_22K_UP | PAD_CTL_SPEED_LOW | \
|
||||
+ PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
|
||||
+
|
||||
+int dram_init(void)
|
||||
+{
|
||||
+ gd->ram_size = imx_ddr_size();
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static iomux_v3_cfg_t const emmc_pads[] = {
|
||||
+ MX6_PAD_NAND_RE_B__USDHC2_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_WE_B__USDHC2_CMD | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA00__USDHC2_DATA0 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA01__USDHC2_DATA1 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA02__USDHC2_DATA2 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA03__USDHC2_DATA3 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA04__USDHC2_DATA4 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA05__USDHC2_DATA5 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA06__USDHC2_DATA6 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_NAND_DATA07__USDHC2_DATA7 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+
|
||||
+ /* RST_B */
|
||||
+ MX6_PAD_NAND_ALE__GPIO4_IO10 | MUX_PAD_CTRL(NO_PAD_CTRL),
|
||||
+};
|
||||
+
|
||||
+#ifdef CONFIG_FSL_ESDHC
|
||||
+static struct fsl_esdhc_cfg emmc_cfg = {USDHC2_BASE_ADDR, 0, 8};
|
||||
+
|
||||
+#define EMMC_PWR_GPIO IMX_GPIO_NR(4, 10)
|
||||
+
|
||||
+int litesom_mmc_init(bd_t *bis)
|
||||
+{
|
||||
+ int ret;
|
||||
+
|
||||
+ /* eMMC */
|
||||
+ imx_iomux_v3_setup_multiple_pads(emmc_pads, ARRAY_SIZE(emmc_pads));
|
||||
+ gpio_direction_output(EMMC_PWR_GPIO, 0);
|
||||
+ udelay(500);
|
||||
+ gpio_direction_output(EMMC_PWR_GPIO, 1);
|
||||
+ emmc_cfg.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK);
|
||||
+
|
||||
+ ret = fsl_esdhc_initialize(bis, &emmc_cfg);
|
||||
+ if (ret) {
|
||||
+ printf("Warning: failed to initialize mmc dev 1 (eMMC)\n");
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_SPL_BUILD
|
||||
+#include <libfdt.h>
|
||||
+#include <spl.h>
|
||||
+#include <asm/arch/mx6-ddr.h>
|
||||
+
|
||||
+
|
||||
+static struct mx6ul_iomux_grp_regs mx6_grp_ioregs = {
|
||||
+ .grp_addds = 0x00000030,
|
||||
+ .grp_ddrmode_ctl = 0x00020000,
|
||||
+ .grp_b0ds = 0x00000030,
|
||||
+ .grp_ctlds = 0x00000030,
|
||||
+ .grp_b1ds = 0x00000030,
|
||||
+ .grp_ddrpke = 0x00000000,
|
||||
+ .grp_ddrmode = 0x00020000,
|
||||
+ .grp_ddr_type = 0x000c0000,
|
||||
+};
|
||||
+
|
||||
+static struct mx6ul_iomux_ddr_regs mx6_ddr_ioregs = {
|
||||
+ .dram_dqm0 = 0x00000030,
|
||||
+ .dram_dqm1 = 0x00000030,
|
||||
+ .dram_ras = 0x00000030,
|
||||
+ .dram_cas = 0x00000030,
|
||||
+ .dram_odt0 = 0x00000030,
|
||||
+ .dram_odt1 = 0x00000030,
|
||||
+ .dram_sdba2 = 0x00000000,
|
||||
+ .dram_sdclk_0 = 0x00000030,
|
||||
+ .dram_sdqs0 = 0x00000030,
|
||||
+ .dram_sdqs1 = 0x00000030,
|
||||
+ .dram_reset = 0x00000030,
|
||||
+};
|
||||
+
|
||||
+static struct mx6_mmdc_calibration mx6_mmcd_calib = {
|
||||
+ .p0_mpwldectrl0 = 0x00000000,
|
||||
+ .p0_mpdgctrl0 = 0x41570155,
|
||||
+ .p0_mprddlctl = 0x4040474A,
|
||||
+ .p0_mpwrdlctl = 0x40405550,
|
||||
+};
|
||||
+
|
||||
+struct mx6_ddr_sysinfo ddr_sysinfo = {
|
||||
+ .dsize = 0,
|
||||
+ .cs_density = 20,
|
||||
+ .ncs = 1,
|
||||
+ .cs1_mirror = 0,
|
||||
+ .rtt_wr = 2,
|
||||
+ .rtt_nom = 1, /* RTT_Nom = RZQ/2 */
|
||||
+ .walat = 0, /* Write additional latency */
|
||||
+ .ralat = 5, /* Read additional latency */
|
||||
+ .mif3_mode = 3, /* Command prediction working mode */
|
||||
+ .bi_on = 1, /* Bank interleaving enabled */
|
||||
+ .sde_to_rst = 0x10, /* 14 cycles, 200us (JEDEC default) */
|
||||
+ .rst_to_cke = 0x23, /* 33 cycles, 500us (JEDEC default) */
|
||||
+ .ddr_type = DDR_TYPE_DDR3,
|
||||
+ .refsel = 0, /* Refresh cycles at 64KHz */
|
||||
+ .refr = 1, /* 2 refresh commands per refresh cycle */
|
||||
+};
|
||||
+
|
||||
+static struct mx6_ddr3_cfg mem_ddr = {
|
||||
+ .mem_speed = 800,
|
||||
+ .density = 4,
|
||||
+ .width = 16,
|
||||
+ .banks = 8,
|
||||
+ .rowaddr = 15,
|
||||
+ .coladdr = 10,
|
||||
+ .pagesz = 2,
|
||||
+ .trcd = 1375,
|
||||
+ .trcmin = 4875,
|
||||
+ .trasmin = 3500,
|
||||
+};
|
||||
+
|
||||
+static void ccgr_init(void)
|
||||
+{
|
||||
+ struct mxc_ccm_reg *ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
|
||||
+
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR0);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR1);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR2);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR3);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR4);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR5);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR6);
|
||||
+ writel(0xFFFFFFFF, &ccm->CCGR7);
|
||||
+}
|
||||
+
|
||||
+static void spl_dram_init(void)
|
||||
+{
|
||||
+ unsigned long ram_size;
|
||||
+
|
||||
+ mx6ul_dram_iocfg(mem_ddr.width, &mx6_ddr_ioregs, &mx6_grp_ioregs);
|
||||
+ mx6_dram_cfg(&ddr_sysinfo, &mx6_mmcd_calib, &mem_ddr);
|
||||
+
|
||||
+ /*
|
||||
+ * Get actual RAM size, so we can adjust DDR row size for <512M
|
||||
+ * memories
|
||||
+ */
|
||||
+ ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_512M);
|
||||
+ if (ram_size < SZ_512M) {
|
||||
+ mem_ddr.rowaddr = 14;
|
||||
+ mx6_dram_cfg(&ddr_sysinfo, &mx6_mmcd_calib, &mem_ddr);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void litesom_init_f(void)
|
||||
+{
|
||||
+ ccgr_init();
|
||||
+
|
||||
+ /* setup AIPS and disable watchdog */
|
||||
+ arch_cpu_init();
|
||||
+
|
||||
+#ifdef CONFIG_BOARD_EARLY_INIT_F
|
||||
+ board_early_init_f();
|
||||
+#endif
|
||||
+
|
||||
+ /* setup GP timer */
|
||||
+ timer_init();
|
||||
+
|
||||
+ /* UART clocks enabled and gd valid - init serial console */
|
||||
+ preloader_console_init();
|
||||
+
|
||||
+ /* DDR initialization */
|
||||
+ spl_dram_init();
|
||||
+}
|
||||
+#endif
|
||||
--
|
||||
2.10.0
|
||||
|
||||
@@ -0,0 +1,621 @@
|
||||
From 31fcf28e63781d2de1bc0f5f2bce1e72cac4961e Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Fri, 16 Sep 2016 14:44:27 +0200
|
||||
Subject: [PATCH 2/2] board/liteboard: Add support for liteBoard
|
||||
|
||||
liteBoard is a development board which uses liteSOM as its base.
|
||||
|
||||
Hardware specification:
|
||||
* liteSOM (i.MX6UL, DRAM, eMMC)
|
||||
* Ethernet PHY (id 0)
|
||||
* USB host (usb_otg1)
|
||||
* MicroSD slot (uSDHC1)
|
||||
|
||||
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
---
|
||||
arch/arm/cpu/armv7/mx6/Kconfig | 5 +
|
||||
board/grinn/liteboard/Kconfig | 12 ++
|
||||
board/grinn/liteboard/MAINTAINERS | 6 +
|
||||
board/grinn/liteboard/Makefile | 6 +
|
||||
board/grinn/liteboard/README | 31 +++++
|
||||
board/grinn/liteboard/board.c | 270 ++++++++++++++++++++++++++++++++++++++
|
||||
configs/liteboard_defconfig | 22 ++++
|
||||
include/configs/liteboard.h | 174 ++++++++++++++++++++++++
|
||||
8 files changed, 526 insertions(+)
|
||||
create mode 100644 board/grinn/liteboard/Kconfig
|
||||
create mode 100644 board/grinn/liteboard/MAINTAINERS
|
||||
create mode 100644 board/grinn/liteboard/Makefile
|
||||
create mode 100644 board/grinn/liteboard/README
|
||||
create mode 100644 board/grinn/liteboard/board.c
|
||||
create mode 100644 configs/liteboard_defconfig
|
||||
create mode 100644 include/configs/liteboard.h
|
||||
|
||||
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
index 4214ab5..e24d0a1 100644
|
||||
--- a/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
@@ -144,6 +144,10 @@ config TARGET_PICO_IMX6UL
|
||||
bool "PICO-IMX6UL-EMMC"
|
||||
select MX6UL
|
||||
|
||||
+config TARGET_LITEBOARD
|
||||
+ bool "Grinn liteBoard (i.MX6UL)"
|
||||
+ select LITESOM
|
||||
+
|
||||
config TARGET_PLATINUM_PICON
|
||||
bool "platinum-picon"
|
||||
select SUPPORT_SPL
|
||||
@@ -222,6 +226,7 @@ source "board/freescale/mx6slevk/Kconfig"
|
||||
source "board/freescale/mx6sxsabresd/Kconfig"
|
||||
source "board/freescale/mx6sxsabreauto/Kconfig"
|
||||
source "board/freescale/mx6ul_14x14_evk/Kconfig"
|
||||
+source "board/grinn/liteboard/Kconfig"
|
||||
source "board/phytec/pcm058/Kconfig"
|
||||
source "board/gateworks/gw_ventana/Kconfig"
|
||||
source "board/kosagi/novena/Kconfig"
|
||||
diff --git a/board/grinn/liteboard/Kconfig b/board/grinn/liteboard/Kconfig
|
||||
new file mode 100644
|
||||
index 0000000..e035872
|
||||
--- /dev/null
|
||||
+++ b/board/grinn/liteboard/Kconfig
|
||||
@@ -0,0 +1,12 @@
|
||||
+if TARGET_LITEBOARD
|
||||
+
|
||||
+config SYS_BOARD
|
||||
+ default "liteboard"
|
||||
+
|
||||
+config SYS_VENDOR
|
||||
+ default "grinn"
|
||||
+
|
||||
+config SYS_CONFIG_NAME
|
||||
+ default "liteboard"
|
||||
+
|
||||
+endif
|
||||
diff --git a/board/grinn/liteboard/MAINTAINERS b/board/grinn/liteboard/MAINTAINERS
|
||||
new file mode 100644
|
||||
index 0000000..b4474f1
|
||||
--- /dev/null
|
||||
+++ b/board/grinn/liteboard/MAINTAINERS
|
||||
@@ -0,0 +1,6 @@
|
||||
+LITEBOARD
|
||||
+M: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
+S: Maintained
|
||||
+F: board/grinn/liteboard/
|
||||
+F: include/configs/liteboard.h
|
||||
+F: configs/liteboard_defconfig
|
||||
diff --git a/board/grinn/liteboard/Makefile b/board/grinn/liteboard/Makefile
|
||||
new file mode 100644
|
||||
index 0000000..e2492d6
|
||||
--- /dev/null
|
||||
+++ b/board/grinn/liteboard/Makefile
|
||||
@@ -0,0 +1,6 @@
|
||||
+# (C) Copyright 2016 Grinn
|
||||
+#
|
||||
+# SPDX-License-Identifier: GPL-2.0+
|
||||
+#
|
||||
+
|
||||
+obj-y := board.o
|
||||
diff --git a/board/grinn/liteboard/README b/board/grinn/liteboard/README
|
||||
new file mode 100644
|
||||
index 0000000..bee0394
|
||||
--- /dev/null
|
||||
+++ b/board/grinn/liteboard/README
|
||||
@@ -0,0 +1,31 @@
|
||||
+How to use U-Boot on Grinn's liteBoard
|
||||
+--------------------------------------
|
||||
+
|
||||
+- Build U-Boot for liteBoard:
|
||||
+
|
||||
+$ make mrproper
|
||||
+$ make liteboard_defconfig
|
||||
+$ make
|
||||
+
|
||||
+This will generate the SPL image called SPL and the u-boot.img.
|
||||
+
|
||||
+- Flash the SPL image into the micro SD card:
|
||||
+
|
||||
+sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
|
||||
+
|
||||
+- Flash the u-boot.img image into the micro SD card:
|
||||
+
|
||||
+sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
|
||||
+
|
||||
+- Jumper settings:
|
||||
+
|
||||
+S1: 0 1 0 1 1 1
|
||||
+
|
||||
+where 0 means bottom position and 1 means top position (from the
|
||||
+switch label numbers reference).
|
||||
+
|
||||
+- Insert the micro SD card in the board.
|
||||
+
|
||||
+- Connect USB cable between liteBoard and the PC for the power and console.
|
||||
+
|
||||
+- U-Boot messages should come up.
|
||||
diff --git a/board/grinn/liteboard/board.c b/board/grinn/liteboard/board.c
|
||||
new file mode 100644
|
||||
index 0000000..89d525a
|
||||
--- /dev/null
|
||||
+++ b/board/grinn/liteboard/board.c
|
||||
@@ -0,0 +1,270 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
|
||||
+ * Copyright (C) 2016 Grinn
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: GPL-2.0+
|
||||
+ */
|
||||
+
|
||||
+#include <asm/arch/clock.h>
|
||||
+#include <asm/arch/iomux.h>
|
||||
+#include <asm/arch/imx-regs.h>
|
||||
+#include <asm/arch/crm_regs.h>
|
||||
+#include <asm/arch/mx6ul_pins.h>
|
||||
+#include <asm/arch/mx6-pins.h>
|
||||
+#include <asm/arch/sys_proto.h>
|
||||
+#include <asm/gpio.h>
|
||||
+#include <asm/imx-common/iomux-v3.h>
|
||||
+#include <asm/imx-common/boot_mode.h>
|
||||
+#include <asm/io.h>
|
||||
+#include <common.h>
|
||||
+#include <fsl_esdhc.h>
|
||||
+#include <linux/sizes.h>
|
||||
+#include <linux/fb.h>
|
||||
+#include <mach/litesom.h>
|
||||
+#include <miiphy.h>
|
||||
+#include <mmc.h>
|
||||
+#include <netdev.h>
|
||||
+#include <usb.h>
|
||||
+#include <usb/ehci-ci.h>
|
||||
+
|
||||
+DECLARE_GLOBAL_DATA_PTR;
|
||||
+
|
||||
+#define UART_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \
|
||||
+ PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \
|
||||
+ PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
|
||||
+
|
||||
+#define USDHC_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \
|
||||
+ PAD_CTL_PUS_22K_UP | PAD_CTL_SPEED_LOW | \
|
||||
+ PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
|
||||
+
|
||||
+#define ENET_PAD_CTRL (PAD_CTL_PUS_100K_UP | PAD_CTL_PUE | \
|
||||
+ PAD_CTL_SPEED_HIGH | \
|
||||
+ PAD_CTL_DSE_48ohm | PAD_CTL_SRE_FAST)
|
||||
+
|
||||
+#define MDIO_PAD_CTRL (PAD_CTL_PUS_100K_UP | PAD_CTL_PUE | \
|
||||
+ PAD_CTL_DSE_48ohm | PAD_CTL_SRE_FAST | PAD_CTL_ODE)
|
||||
+
|
||||
+#define ENET_CLK_PAD_CTRL (PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST)
|
||||
+
|
||||
+static iomux_v3_cfg_t const uart1_pads[] = {
|
||||
+ MX6_PAD_UART1_TX_DATA__UART1_DCE_TX | MUX_PAD_CTRL(UART_PAD_CTRL),
|
||||
+ MX6_PAD_UART1_RX_DATA__UART1_DCE_RX | MUX_PAD_CTRL(UART_PAD_CTRL),
|
||||
+};
|
||||
+
|
||||
+static iomux_v3_cfg_t const sd_pads[] = {
|
||||
+ MX6_PAD_SD1_CLK__USDHC1_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_SD1_CMD__USDHC1_CMD | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_SD1_DATA0__USDHC1_DATA0 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_SD1_DATA1__USDHC1_DATA1 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_SD1_DATA2__USDHC1_DATA2 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+ MX6_PAD_SD1_DATA3__USDHC1_DATA3 | MUX_PAD_CTRL(USDHC_PAD_CTRL),
|
||||
+
|
||||
+ /* CD */
|
||||
+ MX6_PAD_UART1_RTS_B__GPIO1_IO19 | MUX_PAD_CTRL(NO_PAD_CTRL),
|
||||
+};
|
||||
+
|
||||
+#ifdef CONFIG_FEC_MXC
|
||||
+static iomux_v3_cfg_t const fec1_pads[] = {
|
||||
+ MX6_PAD_GPIO1_IO06__ENET1_MDIO | MUX_PAD_CTRL(MDIO_PAD_CTRL),
|
||||
+ MX6_PAD_GPIO1_IO07__ENET1_MDC | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_TX_DATA0__ENET1_TDATA00 | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_TX_DATA1__ENET1_TDATA01 | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_TX_EN__ENET1_TX_EN | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 | MUX_PAD_CTRL(ENET_CLK_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_RX_DATA0__ENET1_RDATA00 | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_RX_DATA1__ENET1_RDATA01 | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_RX_ER__ENET1_RX_ER | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+ MX6_PAD_ENET1_RX_EN__ENET1_RX_EN | MUX_PAD_CTRL(ENET_PAD_CTRL),
|
||||
+};
|
||||
+
|
||||
+static void setup_iomux_fec(void)
|
||||
+{
|
||||
+ imx_iomux_v3_setup_multiple_pads(fec1_pads, ARRAY_SIZE(fec1_pads));
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+static void setup_iomux_uart(void)
|
||||
+{
|
||||
+ imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
|
||||
+}
|
||||
+
|
||||
+#ifdef CONFIG_FSL_ESDHC
|
||||
+static struct fsl_esdhc_cfg sd_cfg = {USDHC1_BASE_ADDR, 0, 4};
|
||||
+
|
||||
+#define SD_CD_GPIO IMX_GPIO_NR(1, 19)
|
||||
+
|
||||
+static int mmc_get_env_devno(void)
|
||||
+{
|
||||
+ u32 soc_sbmr = readl(SRC_BASE_ADDR + 0x4);
|
||||
+ int dev_no;
|
||||
+ u32 bootsel;
|
||||
+
|
||||
+ bootsel = (soc_sbmr & 0x000000FF) >> 6;
|
||||
+
|
||||
+ /* If not boot from sd/mmc, use default value */
|
||||
+ if (bootsel != 1)
|
||||
+ return CONFIG_SYS_MMC_ENV_DEV;
|
||||
+
|
||||
+ /* BOOT_CFG2[3] and BOOT_CFG2[4] */
|
||||
+ dev_no = (soc_sbmr & 0x00001800) >> 11;
|
||||
+
|
||||
+ return dev_no;
|
||||
+}
|
||||
+
|
||||
+int board_mmc_getcd(struct mmc *mmc)
|
||||
+{
|
||||
+ struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
|
||||
+ int ret = 0;
|
||||
+
|
||||
+ switch (cfg->esdhc_base) {
|
||||
+ case USDHC1_BASE_ADDR:
|
||||
+ ret = !gpio_get_value(SD_CD_GPIO);
|
||||
+ break;
|
||||
+ case USDHC2_BASE_ADDR:
|
||||
+ ret = 1;
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+int board_mmc_init(bd_t *bis)
|
||||
+{
|
||||
+ int ret;
|
||||
+
|
||||
+ /* SD */
|
||||
+ imx_iomux_v3_setup_multiple_pads(sd_pads, ARRAY_SIZE(sd_pads));
|
||||
+ gpio_direction_input(SD_CD_GPIO);
|
||||
+ sd_cfg.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK);
|
||||
+
|
||||
+ ret = fsl_esdhc_initialize(bis, &sd_cfg);
|
||||
+ if (ret) {
|
||||
+ printf("Warning: failed to initialize mmc dev 0 (SD)\n");
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ return litesom_mmc_init(bis);
|
||||
+}
|
||||
+
|
||||
+static int check_mmc_autodetect(void)
|
||||
+{
|
||||
+ char *autodetect_str = getenv("mmcautodetect");
|
||||
+
|
||||
+ if ((autodetect_str != NULL) &&
|
||||
+ (strcmp(autodetect_str, "yes") == 0)) {
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+void board_late_mmc_init(void)
|
||||
+{
|
||||
+ char cmd[32];
|
||||
+ char mmcblk[32];
|
||||
+ u32 dev_no = mmc_get_env_devno();
|
||||
+
|
||||
+ if (!check_mmc_autodetect())
|
||||
+ return;
|
||||
+
|
||||
+ setenv_ulong("mmcdev", dev_no);
|
||||
+
|
||||
+ /* Set mmcblk env */
|
||||
+ sprintf(mmcblk, "/dev/mmcblk%dp2 rootwait rw",
|
||||
+ dev_no);
|
||||
+ setenv("mmcroot", mmcblk);
|
||||
+
|
||||
+ sprintf(cmd, "mmc dev %d", dev_no);
|
||||
+ run_command(cmd, 0);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_FEC_MXC
|
||||
+int board_eth_init(bd_t *bis)
|
||||
+{
|
||||
+ setup_iomux_fec();
|
||||
+
|
||||
+ return fecmxc_initialize(bis);
|
||||
+}
|
||||
+
|
||||
+static int setup_fec(void)
|
||||
+{
|
||||
+ struct iomuxc *const iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR;
|
||||
+ int ret;
|
||||
+
|
||||
+ /* Use 50M anatop loopback REF_CLK1 for ENET1, clear gpr1[13],
|
||||
+ set gpr1[17]*/
|
||||
+ clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC1_MASK,
|
||||
+ IOMUX_GPR1_FEC1_CLOCK_MUX1_SEL_MASK);
|
||||
+
|
||||
+ ret = enable_fec_anatop_clock(0, ENET_50MHZ);
|
||||
+ if (ret)
|
||||
+ return ret;
|
||||
+
|
||||
+ enable_enet_clk(1);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_USB_EHCI_MX6
|
||||
+int board_usb_phy_mode(int port)
|
||||
+{
|
||||
+ return USB_INIT_HOST;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+int board_early_init_f(void)
|
||||
+{
|
||||
+ setup_iomux_uart();
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+int board_init(void)
|
||||
+{
|
||||
+ /* Address of boot parameters */
|
||||
+ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
|
||||
+
|
||||
+#ifdef CONFIG_FEC_MXC
|
||||
+ setup_fec();
|
||||
+#endif
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#ifdef CONFIG_CMD_BMODE
|
||||
+static const struct boot_mode board_boot_modes[] = {
|
||||
+ /* 4 bit bus width */
|
||||
+ {"sd", MAKE_CFGVAL(0x42, 0x20, 0x00, 0x00)},
|
||||
+ {"emmc", MAKE_CFGVAL(0x40, 0x28, 0x00, 0x00)},
|
||||
+ {NULL, 0},
|
||||
+};
|
||||
+#endif
|
||||
+
|
||||
+int board_late_init(void)
|
||||
+{
|
||||
+#ifdef CONFIG_CMD_BMODE
|
||||
+ add_board_boot_modes(board_boot_modes);
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_ENV_IS_IN_MMC
|
||||
+ board_late_mmc_init();
|
||||
+#endif
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+int checkboard(void)
|
||||
+{
|
||||
+ puts("Board: Grinn liteBoard\n");
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#ifdef CONFIG_SPL_BUILD
|
||||
+void board_init_f(ulong dummy)
|
||||
+{
|
||||
+ litesom_init_f();
|
||||
+}
|
||||
+#endif
|
||||
diff --git a/configs/liteboard_defconfig b/configs/liteboard_defconfig
|
||||
new file mode 100644
|
||||
index 0000000..f853461
|
||||
--- /dev/null
|
||||
+++ b/configs/liteboard_defconfig
|
||||
@@ -0,0 +1,22 @@
|
||||
+CONFIG_ARM=y
|
||||
+CONFIG_ARCH_MX6=y
|
||||
+CONFIG_TARGET_LITEBOARD=y
|
||||
+CONFIG_SPL=y
|
||||
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
|
||||
+CONFIG_BOOTDELAY=1
|
||||
+CONFIG_HUSH_PARSER=y
|
||||
+CONFIG_CMD_BOOTZ=y
|
||||
+# CONFIG_CMD_IMLS is not set
|
||||
+CONFIG_CMD_MEMTEST=y
|
||||
+CONFIG_CMD_MMC=y
|
||||
+CONFIG_CMD_USB=y
|
||||
+CONFIG_CMD_GPIO=y
|
||||
+CONFIG_CMD_DHCP=y
|
||||
+CONFIG_CMD_PING=y
|
||||
+CONFIG_CMD_CACHE=y
|
||||
+CONFIG_CMD_EXT2=y
|
||||
+CONFIG_CMD_EXT4=y
|
||||
+CONFIG_CMD_EXT4_WRITE=y
|
||||
+CONFIG_CMD_FAT=y
|
||||
+CONFIG_CMD_FS_GENERIC=y
|
||||
+CONFIG_OF_LIBFDT=y
|
||||
diff --git a/include/configs/liteboard.h b/include/configs/liteboard.h
|
||||
new file mode 100644
|
||||
index 0000000..19b961f
|
||||
--- /dev/null
|
||||
+++ b/include/configs/liteboard.h
|
||||
@@ -0,0 +1,174 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
|
||||
+ * Copyright (C) 2016 Grinn
|
||||
+ *
|
||||
+ * Configuration settings for the Grinn liteBoard (i.MX6UL).
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: GPL-2.0+
|
||||
+ */
|
||||
+#ifndef __LITEBOARD_CONFIG_H
|
||||
+#define __LITEBOARD_CONFIG_H
|
||||
+
|
||||
+#include <asm/arch/imx-regs.h>
|
||||
+#include <linux/sizes.h>
|
||||
+#include "mx6_common.h"
|
||||
+
|
||||
+/* SPL options */
|
||||
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
+#define CONFIG_SPL_MMC_SUPPORT
|
||||
+#include "imx6_spl.h"
|
||||
+
|
||||
+/* Size of malloc() pool */
|
||||
+#define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M)
|
||||
+
|
||||
+#define CONFIG_BOARD_EARLY_INIT_F
|
||||
+#define CONFIG_BOARD_LATE_INIT
|
||||
+
|
||||
+#define CONFIG_MXC_UART
|
||||
+#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||
+
|
||||
+/* MMC Configs */
|
||||
+#ifdef CONFIG_FSL_USDHC
|
||||
+#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR
|
||||
+#endif
|
||||
+
|
||||
+#define CONFIG_DEFAULT_FDT_FILE "imx6ul-liteboard.dtb"
|
||||
+
|
||||
+#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
||||
+
|
||||
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
+ "script=boot.scr\0" \
|
||||
+ "image=zImage\0" \
|
||||
+ "console=ttymxc0\0" \
|
||||
+ "fdt_high=0xffffffff\0" \
|
||||
+ "initrd_high=0xffffffff\0" \
|
||||
+ "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
|
||||
+ "fdt_addr=0x83000000\0" \
|
||||
+ "boot_fdt=try\0" \
|
||||
+ "ip_dyn=yes\0" \
|
||||
+ "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
|
||||
+ "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
|
||||
+ "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
|
||||
+ "mmcautodetect=yes\0" \
|
||||
+ "mmcargs=setenv bootargs console=${console},${baudrate} " \
|
||||
+ "root=${mmcroot}\0" \
|
||||
+ "loadbootscript=" \
|
||||
+ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
|
||||
+ "bootscript=echo Running bootscript from mmc ...; " \
|
||||
+ "source\0" \
|
||||
+ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
|
||||
+ "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
|
||||
+ "mmcboot=echo Booting from mmc ...; " \
|
||||
+ "run mmcargs; " \
|
||||
+ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
|
||||
+ "if run loadfdt; then " \
|
||||
+ "bootz ${loadaddr} - ${fdt_addr}; " \
|
||||
+ "else " \
|
||||
+ "if test ${boot_fdt} = try; then " \
|
||||
+ "bootz; " \
|
||||
+ "else " \
|
||||
+ "echo WARN: Cannot load the DT; " \
|
||||
+ "fi; " \
|
||||
+ "fi; " \
|
||||
+ "else " \
|
||||
+ "bootz; " \
|
||||
+ "fi;\0" \
|
||||
+ "netargs=setenv bootargs console=${console},${baudrate} " \
|
||||
+ "root=/dev/nfs " \
|
||||
+ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
|
||||
+ "netboot=echo Booting from net ...; " \
|
||||
+ "run netargs; " \
|
||||
+ "if test ${ip_dyn} = yes; then " \
|
||||
+ "setenv get_cmd dhcp; " \
|
||||
+ "else " \
|
||||
+ "setenv get_cmd tftp; " \
|
||||
+ "fi; " \
|
||||
+ "${get_cmd} ${image}; " \
|
||||
+ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
|
||||
+ "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
|
||||
+ "bootz ${loadaddr} - ${fdt_addr}; " \
|
||||
+ "else " \
|
||||
+ "if test ${boot_fdt} = try; then " \
|
||||
+ "bootz; " \
|
||||
+ "else " \
|
||||
+ "echo WARN: Cannot load the DT; " \
|
||||
+ "fi; " \
|
||||
+ "fi; " \
|
||||
+ "else " \
|
||||
+ "bootz; " \
|
||||
+ "fi;\0"
|
||||
+
|
||||
+#define CONFIG_BOOTCOMMAND \
|
||||
+ "mmc dev ${mmcdev};" \
|
||||
+ "if mmc rescan; then " \
|
||||
+ "if run loadbootscript; then " \
|
||||
+ "run bootscript; " \
|
||||
+ "else " \
|
||||
+ "if run loadimage; then " \
|
||||
+ "run mmcboot; " \
|
||||
+ "else run netboot; " \
|
||||
+ "fi; " \
|
||||
+ "fi; " \
|
||||
+ "else run netboot; fi"
|
||||
+
|
||||
+/* Miscellaneous configurable options */
|
||||
+#define CONFIG_SYS_MEMTEST_START 0x80000000
|
||||
+#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + SZ_128M)
|
||||
+
|
||||
+#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
||||
+#define CONFIG_SYS_HZ 1000
|
||||
+
|
||||
+#define CONFIG_CMDLINE_EDITING
|
||||
+#define CONFIG_STACKSIZE SZ_128K
|
||||
+
|
||||
+/* Physical Memory Map */
|
||||
+#define CONFIG_NR_DRAM_BANKS 1
|
||||
+#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
+
|
||||
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
|
||||
+#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
|
||||
+#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
|
||||
+
|
||||
+#define CONFIG_SYS_INIT_SP_OFFSET \
|
||||
+ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
|
||||
+#define CONFIG_SYS_INIT_SP_ADDR \
|
||||
+ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
|
||||
+
|
||||
+/* FLASH and environment organization */
|
||||
+#define CONFIG_ENV_SIZE SZ_8K
|
||||
+#define CONFIG_ENV_IS_IN_MMC
|
||||
+#define CONFIG_ENV_OFFSET (8 * SZ_64K)
|
||||
+#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
+#define CONFIG_SYS_MMC_ENV_PART 0
|
||||
+#define CONFIG_MMCROOT "/dev/mmcblk0p2"
|
||||
+
|
||||
+#define CONFIG_CMD_BMODE
|
||||
+
|
||||
+/* USB Configs */
|
||||
+#ifdef CONFIG_CMD_USB
|
||||
+#define CONFIG_USB_EHCI
|
||||
+#define CONFIG_USB_EHCI_MX6
|
||||
+#define CONFIG_USB_STORAGE
|
||||
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
||||
+#define CONFIG_MXC_USB_FLAGS 0
|
||||
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
+#endif
|
||||
+
|
||||
+#ifdef CONFIG_CMD_NET
|
||||
+#define CONFIG_FEC_MXC
|
||||
+#define CONFIG_MII
|
||||
+#define CONFIG_FEC_ENET_DEV 0
|
||||
+
|
||||
+#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
+#define CONFIG_FEC_MXC_PHYADDR 0x0
|
||||
+#define CONFIG_FEC_XCV_TYPE RMII
|
||||
+#define CONFIG_ETHPRIME "FEC"
|
||||
+
|
||||
+#define CONFIG_PHYLIB
|
||||
+#define CONFIG_PHY_SMSC
|
||||
+#endif
|
||||
+
|
||||
+#define CONFIG_IMX_THERMAL
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
2.10.0
|
||||
|
||||
@@ -1,169 +1,42 @@
|
||||
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
|
||||
# HDMI mode
|
||||
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
|
||||
# Default Console Device Setting
|
||||
setenv condev "console=ttyS0,115200n8 console=tty0" # on both
|
||||
|
||||
# Meson Timer
|
||||
# 1 - Meson Timer
|
||||
# 0 - Arch Timer
|
||||
# Using meson_timer improves the video playback whoever it breaks KVM (virtualization).
|
||||
# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
|
||||
setenv mesontimer "1"
|
||||
|
||||
# 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 bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd}"
|
||||
|
||||
# Load Images
|
||||
setenv loadaddr "0x11000000"
|
||||
setenv dtb_loadaddr "0x1000000"
|
||||
setenv initrd_loadaddr "0x13000000"
|
||||
|
||||
setenv dtb_loadaddr "0x10000000"
|
||||
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
|
||||
@@ -173,4 +46,5 @@ if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /
|
||||
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
|
||||
|
||||
# Booting
|
||||
booti ${loadaddr} - ${dtb_loadaddr}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
CONFIG_BEEP=y
|
||||
CONFIG_FEATURE_BEEP_FREQ=440
|
||||
CONFIG_FEATURE_BEEP_LENGTH_MS=250
|
||||
@@ -19,7 +19,7 @@ image flash.bin {
|
||||
size = 320K
|
||||
}
|
||||
partition uimage {
|
||||
image = "uImage.da850-lego-ev3"
|
||||
image = "uImage"
|
||||
size = 3M
|
||||
offset = 0x50000
|
||||
}
|
||||
@@ -34,8 +34,8 @@ image flash.bin {
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
file uImage {
|
||||
image = "uImage.da850-lego-ev3"
|
||||
files = {
|
||||
"uImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
|
||||
@@ -1,55 +1,6 @@
|
||||
CONFIG_ARCH_DAVINCI_DM644x=n
|
||||
CONFIG_ARCH_DAVINCI_DM355=n
|
||||
CONFIG_ARCH_DAVINCI_DM646x=n
|
||||
CONFIG_ARCH_DAVINCI_DA830=n
|
||||
CONFIG_ARCH_DAVINCI_DM365=n
|
||||
CONFIG_MACH_SFFSDR=n
|
||||
CONFIG_MACH_NEUROS_OSD2=n
|
||||
CONFIG_MACH_DM355_LEOPARD=n
|
||||
CONFIG_MACH_MITYOMAPL138=n
|
||||
CONFIG_MACH_OMAPL138_HAWKBOARD=n
|
||||
CONFIG_MACH_DAVINCI_DA850_EVM=n
|
||||
CONFIG_ATA=n
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=1
|
||||
CONFIG_BLK_DEV_RAM_SIZE=32768
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_INPUT_PWM_BEEPER=y
|
||||
CONFIG_SPI_DAVINCI=y
|
||||
CONFIG_PINCTRL_DA850_PUPD=y
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=n
|
||||
CONFIG_SOUND=n
|
||||
CONFIG_SND=n
|
||||
CONFIG_SND_SOC=n
|
||||
CONFIG_SND_EDMA_SOC=n
|
||||
CONFIG_SND_DAVINCI_SOC_MCASP=n
|
||||
CONFIG_SND_SOC_TLV320AIC3X=n
|
||||
CONFIG_SND_SIMPLE_CARD=n
|
||||
CONFIG_DAVINCI_WATCHDOG=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD_DAVINCI=y
|
||||
CONFIG_USB_MUSB_HDRC=y
|
||||
CONFIG_USB_MUSB_GADGET=y
|
||||
CONFIG_USB_MUSB_DA8XX=y
|
||||
CONFIG_NOP_USB_XCEIV=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_MTD=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_DRV_OMAP=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_TI_ADS7950=y
|
||||
CONFIG_PWM_TIECAP=y
|
||||
CONFIG_PWM_TIEHRPWM=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_SQUASHFS_LZ4=y
|
||||
CONFIG_SQUASHFS_LZO=y
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
From 8a81ff173c5c9a0ab1df84fab17971dbcce8490a Mon Sep 17 00:00:00 2001
|
||||
From: David Lechner <david@lechnology.com>
|
||||
Date: Tue, 7 Feb 2017 13:22:07 -0600
|
||||
Subject: ARM: da850-lego-ev3: Add device tree node for A/DC
|
||||
|
||||
This adds a node for the TI ADS7957 analog/digital converter on LEGO
|
||||
MINDSTORMS EV3 as well as a regulator node that is used by the A/DC node.
|
||||
|
||||
Signed-off-by: David Lechner <david@lechnology.com>
|
||||
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
|
||||
---
|
||||
arch/arm/boot/dts/da850-lego-ev3.dts | 21 +++++++++++++++++++++
|
||||
1 file changed, 21 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
index 112ec92..0309537 100644
|
||||
--- a/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
+++ b/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
@@ -139,6 +139,19 @@
|
||||
enable-active-high;
|
||||
regulator-boot-on;
|
||||
};
|
||||
+
|
||||
+ /*
|
||||
+ * This is a simple voltage divider on VCC5V to provide a 2.5V
|
||||
+ * reference signal to the ADC.
|
||||
+ */
|
||||
+ adc_ref: regulator2 {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "adc ref";
|
||||
+ regulator-min-microvolt = <2500000>;
|
||||
+ regulator-max-microvolt = <2500000>;
|
||||
+ regulator-boot-on;
|
||||
+ vin-supply = <&vcc5v>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&pmx_core {
|
||||
@@ -293,6 +306,14 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+ adc: adc@3 {
|
||||
+ compatible = "ti,ads7957";
|
||||
+ reg = <3>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ spi-max-frequency = <10000000>;
|
||||
+ vref-supply = <&adc_ref>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&gpio {
|
||||
--
|
||||
cgit v1.1
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
From 7723d70bebd749ef24fef19db52d827c7fd7f858 Mon Sep 17 00:00:00 2001
|
||||
From: David Lechner <david@lechnology.com>
|
||||
Date: Tue, 7 Feb 2017 13:22:09 -0600
|
||||
Subject: ARM: da850-lego-ev3: Add device tree node for sound
|
||||
|
||||
This adds a device tree node for sound on LEGO MINDSTORMS EV3. The EV3
|
||||
uses one of the SoC PWMs connected to an amplifier to create sound from
|
||||
a speaker.
|
||||
|
||||
The PWM is passed through a low-pass filter, so it is actually possible
|
||||
to do PCM playback, but there is no existing driver, so just using
|
||||
pwm-beeper for now, since it is also a compatible mode of operation.
|
||||
|
||||
Signed-off-by: David Lechner <david@lechnology.com>
|
||||
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
|
||||
---
|
||||
arch/arm/boot/dts/da850-lego-ev3.dts | 31 +++++++++++++++++++++++++++++++
|
||||
1 file changed, 31 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
index 0309537..c20580a 100644
|
||||
--- a/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
+++ b/arch/arm/boot/dts/da850-lego-ev3.dts
|
||||
@@ -123,6 +123,14 @@
|
||||
pinctrl-0 = <&system_power_pin>;
|
||||
};
|
||||
|
||||
+ sound {
|
||||
+ compatible = "pwm-beeper";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&ehrpwm0b_pins>;
|
||||
+ pwms = <&ehrpwm0 1 1000000 0>;
|
||||
+ amp-supply = <&>;
|
||||
+ };
|
||||
+
|
||||
/*
|
||||
* This is a 5V current limiting regulator that is shared by USB,
|
||||
* the sensor (input) ports, the motor (output) ports and the A/DC.
|
||||
@@ -152,6 +160,18 @@
|
||||
regulator-boot-on;
|
||||
vin-supply = <&vcc5v>;
|
||||
};
|
||||
+
|
||||
+ /*
|
||||
+ * This is the amplifier for the speaker.
|
||||
+ */
|
||||
+ amp: regulator3 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&_pins>;
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "amp";
|
||||
+ gpio = <&gpio 111 GPIO_ACTIVE_HIGH>;
|
||||
+ enable-active-high;
|
||||
+ };
|
||||
};
|
||||
|
||||
&pmx_core {
|
||||
@@ -208,6 +228,13 @@
|
||||
0x4c 0x00008000 0x0000f000
|
||||
>;
|
||||
};
|
||||
+
|
||||
+ amp_pins: pinmux_amp_pins {
|
||||
+ pinctrl-single,bits = <
|
||||
+ /* GP6[15] */
|
||||
+ 0x34 0x00000008 0x0000000f
|
||||
+ >;
|
||||
+ };
|
||||
};
|
||||
|
||||
&pinconf {
|
||||
@@ -316,6 +343,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&ehrpwm0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&gpio {
|
||||
status = "okay";
|
||||
};
|
||||
--
|
||||
cgit v1.1
|
||||
|
||||
@@ -13,6 +13,12 @@ See:
|
||||
- http://www.lego.com/en-us/mindstorms/products/ev3/31313-mindstorms-ev3/
|
||||
- http://www.ti.com/product/am1808
|
||||
|
||||
The buildroot configuration uses the Linux kernel of the ev3dev project.
|
||||
See:
|
||||
- https://github.com/ev3dev/ev3-kernel/
|
||||
- https://github.com/ev3dev/lego-linux-drivers/
|
||||
- http://www.ev3dev.org/
|
||||
|
||||
How it works
|
||||
============
|
||||
|
||||
@@ -59,8 +65,7 @@ After building, you should obtain this tree:
|
||||
├── rootfs.squashfs
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
├── uImage -> uImage.da850-lego-ev3
|
||||
└── uImage.da850-lego-ev3
|
||||
└── uImage
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
setenv fdt_high ffffffff
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun7i-a20-bananapro.dtb
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,37 +0,0 @@
|
||||
# Minimal SD card image for the Banana Pro
|
||||
# Based in the Orange Pi genimage.cfg
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun7i-a20-bananapro.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 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
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user