mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-14 02:09:48 +03:00
Compare commits
83 Commits
2017.05-rc
...
2016.11.3
| 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 |
197
.gitlab-ci.yml
197
.gitlab-ci.yml
@@ -1,197 +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: debian:stable
|
||||
|
||||
before_script:
|
||||
- dpkg --add-architecture i386
|
||||
# The container has no package lists, so need to update first
|
||||
- apt-get update -qq
|
||||
- apt-get install -y -qq --no-install-recommends
|
||||
build-essential locales bc ca-certificates file rsync gcc-multilib
|
||||
git bzr cvs mercurial subversion libc6:i386 unzip wget cpio
|
||||
# To be able to generate a toolchain with locales, enable one UTF-8 locale
|
||||
- sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
|
||||
- /usr/sbin/locale-gen
|
||||
|
||||
.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
|
||||
|
||||
.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
|
||||
|
||||
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
|
||||
armadeus_apf9328_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
|
||||
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_neo_defconfig: *defconfig
|
||||
nexbox_a95x_defconfig: *defconfig
|
||||
nitrogen6sx_defconfig: *defconfig
|
||||
nitrogen6x_defconfig: *defconfig
|
||||
nitrogen7_defconfig: *defconfig
|
||||
odroidc2_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
|
||||
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
|
||||
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
|
||||
@@ -1,52 +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: debian:stable
|
||||
|
||||
before_script:
|
||||
- dpkg --add-architecture i386
|
||||
# The container has no package lists, so need to update first
|
||||
- apt-get update -qq
|
||||
- apt-get install -y -qq --no-install-recommends
|
||||
build-essential locales bc ca-certificates file rsync gcc-multilib
|
||||
git bzr cvs mercurial subversion libc6:i386 unzip wget cpio
|
||||
# To be able to generate a toolchain with locales, enable one UTF-8 locale
|
||||
- sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
|
||||
- /usr/sbin/locale-gen
|
||||
|
||||
.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
|
||||
|
||||
.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
|
||||
|
||||
407
CHANGES
407
CHANGES
@@ -1,410 +1,3 @@
|
||||
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.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.
|
||||
|
||||
20
Config.in
20
Config.in
@@ -84,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"
|
||||
@@ -158,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 ""
|
||||
@@ -536,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)
|
||||
@@ -721,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.
|
||||
|
||||
|
||||
309
Config.in.legacy
309
Config.in.legacy
@@ -142,283 +142,6 @@ comment "build, or run, in unpredictable ways. "
|
||||
comment "----------------------------------------------------"
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
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
|
||||
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"
|
||||
|
||||
@@ -572,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
|
||||
@@ -617,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
|
||||
@@ -806,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
|
||||
@@ -873,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
|
||||
@@ -907,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"
|
||||
@@ -952,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
|
||||
@@ -1188,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
|
||||
|
||||
210
DEVELOPERS
210
DEVELOPERS
@@ -30,18 +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/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/nginx-naxsi/
|
||||
F: package/policycoreutils/
|
||||
F: package/python-mutagen/
|
||||
F: package/sepolgen/
|
||||
F: package/setools/
|
||||
F: package/sngrep/
|
||||
|
||||
N: Alex Suykov <alex.suykov@gmail.com>
|
||||
F: package/vboot-utils/
|
||||
@@ -79,9 +68,8 @@ F: package/openal/
|
||||
F: package/p7zip/
|
||||
F: package/wine/
|
||||
|
||||
N: Andrey Smirnov <andrew.smirnov@gmail.com
|
||||
F: package/python-decorator/
|
||||
F: package/python-simplegeneric/
|
||||
N: Andrew Ruder <andrew.ruder@elecsyscorp.com>
|
||||
F: package/expect/
|
||||
|
||||
N: Andy Kennedy <andy.kennedy@adtran.com>
|
||||
F: package/libunwind/
|
||||
@@ -113,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/
|
||||
@@ -137,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/
|
||||
@@ -149,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/
|
||||
@@ -160,17 +139,10 @@ F: package/taskd/
|
||||
N: Benjamin Kamath <kamath.ben@gmail.com>
|
||||
F: package/lapack/
|
||||
|
||||
N: Benoît Allard <benoit.allard@greenbone.net>
|
||||
F: boot/syslinux/
|
||||
F: package/dc3dd/
|
||||
|
||||
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/
|
||||
@@ -180,7 +152,6 @@ F: package/exim/
|
||||
F: package/fetchmail/
|
||||
F: package/freeswitch/
|
||||
F: package/ffmpeg/
|
||||
F: package/ghostscript/
|
||||
F: package/giflib/
|
||||
F: package/glmark2/
|
||||
F: package/jsoncpp/
|
||||
@@ -215,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/
|
||||
@@ -238,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/
|
||||
@@ -262,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/
|
||||
@@ -310,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/
|
||||
@@ -328,9 +299,6 @@ 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/
|
||||
@@ -352,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/
|
||||
@@ -361,7 +331,6 @@ F: package/liblogging/
|
||||
F: package/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/policycoreutils/
|
||||
F: package/sepolgen/
|
||||
F: package/ustr/
|
||||
|
||||
@@ -401,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/
|
||||
@@ -419,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
|
||||
@@ -454,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/
|
||||
|
||||
@@ -498,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>
|
||||
@@ -509,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>
|
||||
@@ -535,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/
|
||||
|
||||
@@ -554,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,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>
|
||||
@@ -632,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/
|
||||
@@ -790,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/
|
||||
@@ -812,9 +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: James Knight <james.knight@rockwellcollins.com>
|
||||
F: package/atkmm/
|
||||
F: package/cairomm/
|
||||
@@ -823,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>
|
||||
@@ -869,7 +804,6 @@ F: package/erlang-p1-utils/
|
||||
F: package/erlang-p1-xml/
|
||||
F: package/erlang-p1-yaml/
|
||||
F: package/erlang-p1-zlib/
|
||||
F: package/nginx-dav-ext/
|
||||
|
||||
N: John Stile <johns@msli.com>
|
||||
F: package/dhcpcd/
|
||||
@@ -898,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/
|
||||
@@ -922,9 +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/
|
||||
|
||||
N: Justin Maggard <jmaggard@netgear.com>
|
||||
F: package/dtach/
|
||||
|
||||
@@ -943,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/
|
||||
@@ -967,21 +897,12 @@ F: package/cpuload/
|
||||
F: package/bwm-ng/
|
||||
F: package/ramsmp/
|
||||
|
||||
N: Kevin Joly <kevin.joly@sensefly.com>
|
||||
F: package/libgphoto2/
|
||||
|
||||
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/
|
||||
|
||||
@@ -1030,16 +951,10 @@ 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/easydbus/
|
||||
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/
|
||||
@@ -1052,18 +967,10 @@ F: package/libsecret/
|
||||
|
||||
N: Martin Bark <martin@barkynet.com>
|
||||
F: package/ca-certificates/
|
||||
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
|
||||
@@ -1071,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/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/
|
||||
@@ -1194,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/
|
||||
@@ -1226,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/
|
||||
|
||||
@@ -1237,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/
|
||||
@@ -1257,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/
|
||||
@@ -1266,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/
|
||||
|
||||
@@ -1277,7 +1179,6 @@ F: package/sdl2_ttf/
|
||||
|
||||
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/
|
||||
@@ -1306,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/
|
||||
@@ -1314,18 +1214,13 @@ 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/nanomsg/
|
||||
|
||||
N: Rahul Jain <rahul.jain@imgtec.com>
|
||||
F: package/uhttpd/
|
||||
F: package/ustream-ssl/
|
||||
|
||||
N: Renaud Aubin <root@renaud.io>
|
||||
F: package/libhttpparser/
|
||||
@@ -1336,9 +1231,6 @@ F: package/atop/
|
||||
N: Rhys Williams <github@wilberforce.co.nz>
|
||||
F: package/lirc-tools/
|
||||
|
||||
N: Ricardo Martincoski <ricardo.martincoski@gmail.com>
|
||||
F: support/scripts/check*package*
|
||||
|
||||
N: Richard Braun <rbraun@sceen.net>
|
||||
F: package/curlftpfs/
|
||||
F: package/tzdata/
|
||||
@@ -1353,23 +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/liblinear/
|
||||
F: package/lensfun/
|
||||
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>
|
||||
@@ -1388,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/
|
||||
@@ -1439,12 +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: Sergio Prado <sergio.prado@e-labworks.com>
|
||||
F: package/libgdiplus/
|
||||
F: package/mongodb/
|
||||
@@ -1502,9 +1380,6 @@ F: package/libtasn1/
|
||||
F: package/proxychains-ng/
|
||||
F: package/yasm/
|
||||
|
||||
N: Stefan Sørensen <stefan.sorensen@spectralink.com>
|
||||
F: package/libscrypt/
|
||||
|
||||
N: Stephan Hoffmann <sho@relinux.de>
|
||||
F: package/cache-calibrator/
|
||||
F: package/gtest/
|
||||
@@ -1565,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: support/scripts/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
|
||||
@@ -1613,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/
|
||||
@@ -1630,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/
|
||||
@@ -1667,13 +1547,15 @@ 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: 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/
|
||||
F: package/erlang/
|
||||
@@ -1702,24 +1584,20 @@ 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/mke2img/
|
||||
F: package/nbd/
|
||||
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/
|
||||
@@ -1742,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/
|
||||
@@ -1762,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/
|
||||
|
||||
59
Makefile
59
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; \
|
||||
@@ -86,9 +83,7 @@ else # umask / $(CURDIR) / $(O)
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2017.05-rc3
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1496130000
|
||||
export BR2_VERSION := 2016.11.3
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -128,8 +123,7 @@ export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlo
|
||||
noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
print-version olddefconfig distclean manual manual-html manual-split-html \
|
||||
manual-pdf manual-text manual-epub
|
||||
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,
|
||||
@@ -140,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)),)
|
||||
@@ -174,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))
|
||||
|
||||
|
||||
@@ -248,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
|
||||
@@ -323,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
|
||||
@@ -402,7 +388,6 @@ unexport QMAKESPEC
|
||||
unexport TERMINFO
|
||||
unexport MACHINE
|
||||
unexport O
|
||||
unexport GCC_COLORS
|
||||
|
||||
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||
|
||||
@@ -422,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/ \
|
||||
@@ -432,7 +416,6 @@ 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
|
||||
@@ -479,9 +462,6 @@ all: world
|
||||
include Makefile.legacy
|
||||
|
||||
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
|
||||
@@ -676,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
|
||||
@@ -736,7 +716,7 @@ legal-info-prepare: $(LEGAL_INFO_DIR)
|
||||
@$(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
|
||||
|
||||
@@ -757,8 +737,6 @@ legal-info: dirs legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p
|
||||
show-targets:
|
||||
@echo $(PACKAGES) $(TARGETS_ROOTFS)
|
||||
|
||||
show-build-order: $(patsubst %,%-show-build-order,$(PACKAGES))
|
||||
|
||||
graph-build: $(O)/build/build-time.log
|
||||
@install -d $(GRAPHS_DIR)
|
||||
$(foreach o,name build duration,./support/scripts/graph-build-time \
|
||||
@@ -942,10 +920,7 @@ printvars:
|
||||
$(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)))))
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
@@ -1023,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'
|
||||
@@ -1077,9 +1051,6 @@ release:
|
||||
print-version:
|
||||
@echo $(BR2_VERSION_FULL)
|
||||
|
||||
.gitlab-ci.yml: .gitlab-ci.yml.in configs/*_defconfig
|
||||
(cd configs; LC_ALL=C ls -1 *_defconfig) | sed 's/$$/: *defconfig/' | cat $< - > $@
|
||||
|
||||
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
|
||||
@@ -292,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"
|
||||
@@ -375,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
|
||||
@@ -403,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,7 +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_a17
|
||||
bool "cortex-A17"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -190,73 +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_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_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_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
|
||||
@@ -336,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
|
||||
@@ -447,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"
|
||||
@@ -501,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
|
||||
@@ -534,31 +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 && !BR2_ARCH_IS_64)
|
||||
default "cortex-a53+fp" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
|
||||
default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
|
||||
default "cortex-a57" if (BR2_cortex_a57 && !BR2_ARCH_IS_64)
|
||||
default "cortex-a57+fp" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
|
||||
default "cortex-a57+fp+simd" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
|
||||
default "cortex-a72" if (BR2_cortex_a72 && !BR2_ARCH_IS_64)
|
||||
default "cortex-a72+fp" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
|
||||
default "cortex-a72+fp+simd" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
|
||||
|
||||
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
|
||||
@@ -568,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
|
||||
|
||||
@@ -134,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
|
||||
@@ -161,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
|
||||
|
||||
@@ -54,6 +54,3 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_ARCH
|
||||
default "xtensa" if BR2_xtensa
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Tensilica Xtensa Processor"
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
################################################################################
|
||||
# Those two variables can be used by packages that need to extract the overlay.
|
||||
#
|
||||
# ARCH_XTENSA_CORE_NAME is the name of the Xtensa core; empty if none or the
|
||||
# standard 'fsf' core.
|
||||
# ARCH_XTENSA_OVERLAY_TAR is the path to the overlay tarball; only valid when
|
||||
# ARCH_XTENSA_CORE_NAME is not empty.
|
||||
#
|
||||
# Example:
|
||||
# ifneq ($(ARCH_XTENSA_CORE_NAME),)
|
||||
# tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(@D) --strip-components=1 gcc
|
||||
# endif
|
||||
################################################################################
|
||||
ARCH_XTENSA_CORE_NAME = $(call qstrip,$(BR2_XTENSA_CORE_NAME))
|
||||
ARCH_XTENSA_OVERLAY_TAR = $(call qstrip,$(BR2_XTENSA_OVERLAY_DIR))/xtensa_$(ARCH_XTENSA_CORE_NAME).tar
|
||||
|
||||
################################################################################
|
||||
# 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
|
||||
#
|
||||
# Example:
|
||||
# $(call arch-xtensa-overlay-extract,/path/to/overlay.tar,$(@D),gcc)
|
||||
################################################################################
|
||||
define arch-xtensa-overlay-extract
|
||||
tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(1) --strip-components=1 $(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,34 +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"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -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}"
|
||||
@@ -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,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/usr/bin/csky-linux-gdb -x ../../board/csky/gx6605s/gdbinit vmlinux
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME
|
||||
# in ${BR_CONFIG}, then prints the corresponding list of file names for the
|
||||
# genimage configuration file
|
||||
#
|
||||
dtb_list()
|
||||
{
|
||||
local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
|
||||
for dt in $DTB_LIST; do
|
||||
echo -n "\"$dt.dtb\", "
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in
|
||||
# ${BR_CONFIG}, then prints the corresponding file name for the genimage
|
||||
# configuration file
|
||||
#
|
||||
linux_image()
|
||||
{
|
||||
if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "\"uImage\""
|
||||
else
|
||||
echo "\"zImage\""
|
||||
fi
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
local FILES="$(dtb_list) $(linux_image)"
|
||||
local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)"
|
||||
local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
sed -e "s/%FILES%/${FILES}/" \
|
||||
board/freescale/common/mxs/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
rm -f ${GENIMAGE_CFG}
|
||||
|
||||
exit $?
|
||||
}
|
||||
|
||||
main $@
|
||||
@@ -35,7 +35,7 @@ main()
|
||||
local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
sed -e "s/%FILES%/${FILES}/" \
|
||||
board/freescale/common/imx/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
|
||||
=========================
|
||||
|
||||
@@ -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,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
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
# Networking support
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# Network device support
|
||||
CONFIG_WLAN=y
|
||||
CONFIG_WLAN_VENDOR_BROADCOM=y
|
||||
CONFIG_BRCMFMAC=m
|
||||
# CONFIG_WLAN_VENDOR_ADMTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_ATH is not set
|
||||
# CONFIG_WLAN_VENDOR_ATMEL is not set
|
||||
# CONFIG_WLAN_VENDOR_CISCO is not set
|
||||
# CONFIG_WLAN_VENDOR_INTEL is not set
|
||||
# CONFIG_WLAN_VENDOR_INTERSIL is not set
|
||||
# CONFIG_WLAN_VENDOR_MARVELL is not set
|
||||
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RALINK is not set
|
||||
# CONFIG_WLAN_VENDOR_REALTEK is not set
|
||||
# CONFIG_WLAN_VENDOR_RSI is not set
|
||||
# CONFIG_WLAN_VENDOR_ST is not set
|
||||
# CONFIG_WLAN_VENDOR_TI is not set
|
||||
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||
@@ -1,35 +0,0 @@
|
||||
From 1647fe31882a105cef4c99770e4ec8ea47c5c653 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Wed, 4 Jan 2017 15:22:50 +0100
|
||||
Subject: [PATCH 1/1] ARM: dts: sun7i: Enable audio codec on Banana Pro
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This commit enables the on-chip audio codec present on the A20 SoC
|
||||
on the Banana Pro board.
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||
---
|
||||
arch/arm/boot/dts/sun7i-a20-bananapro.dts | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
index 19d63d4049de..03799c647e13 100644
|
||||
--- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
+++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
@@ -104,6 +104,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&codec {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
From f2cb904f074bc7e90be475488872a82270e9bae7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Mon, 9 Jan 2017 21:36:38 +0100
|
||||
Subject: [PATCH 2/2] ARM: dts: sun7i: Add wifi dt node on Banana Pro
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The Banana Pro has an AMPAK AP6181 WiFi+Bluetooth module. The WiFi part
|
||||
is a BCM43362 IC connected to MMC3 of the A20 SoC via SDIO. The IC also
|
||||
takes a power enable signal via GPIO.
|
||||
|
||||
This commit adds a device-tree node to power it up, so the mmc subsys
|
||||
can scan it, and enables the mmc controller which is connected to it.
|
||||
|
||||
As the wifi enable pin of the AP6181 module is not really a regulator,
|
||||
switch the mmc3 node to the mmc-pwrseq framework for controlling it.
|
||||
This more accurately reflectes how the hardware actually works.
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||
---
|
||||
arch/arm/boot/dts/sun7i-a20-bananapro.dts | 29 +++++++++++++++++------------
|
||||
1 file changed, 17 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
index 03799c647e13..83516bc81225 100644
|
||||
--- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
+++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts
|
||||
@@ -76,6 +76,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
+ wifi_pwrseq: wifi-pwrseq {
|
||||
+ compatible = "mmc-pwrseq-simple";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&vmmc3_pin_bananapro>;
|
||||
+ reset-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
reg_gmac_3v3: gmac-3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
@@ -87,17 +94,6 @@
|
||||
enable-active-high;
|
||||
gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
-
|
||||
- reg_vmmc3: vmmc3 {
|
||||
- compatible = "regulator-fixed";
|
||||
- pinctrl-names = "default";
|
||||
- pinctrl-0 = <&vmmc3_pin_bananapro>;
|
||||
- regulator-name = "vmmc3";
|
||||
- regulator-min-microvolt = <3300000>;
|
||||
- regulator-max-microvolt = <3300000>;
|
||||
- enable-active-high;
|
||||
- gpio = <&pio 7 22 GPIO_ACTIVE_HIGH>;
|
||||
- };
|
||||
};
|
||||
|
||||
&ahci {
|
||||
@@ -170,10 +166,19 @@
|
||||
&mmc3 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc3_pins_a>;
|
||||
- vmmc-supply = <®_vmmc3>;
|
||||
+ vmmc-supply = <®_vcc3v3>;
|
||||
+ mmc-pwrseq = <&wifi_pwrseq>;
|
||||
bus-width = <4>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
+
|
||||
+ brcmf: bcrmf@1 {
|
||||
+ reg = <1>;
|
||||
+ compatible = "brcm,bcm4329-fmac";
|
||||
+ interrupt-parent = <&pio>;
|
||||
+ interrupts = <7 15 IRQ_TYPE_LEVEL_LOW>;
|
||||
+ interrupt-names = "host-wake";
|
||||
+ };
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Remove all but the brcmfmac43362 firmware files
|
||||
find $TARGET_DIR/lib/firmware/brcm -type f -not -name "brcmfmac43362*" -delete
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
BOOT_CMD=$BOARD_DIR/boot.cmd
|
||||
BOOT_CMD_H=$BINARIES_DIR/boot.scr
|
||||
|
||||
# U-Boot script
|
||||
$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H
|
||||
@@ -1,62 +0,0 @@
|
||||
Banana Pro
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
Buildroot environment for the Banana Pro. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make bananapro_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Notes:
|
||||
- replace 'sdX' with the actual device with your micro SD card
|
||||
- you may need to be root to do that (use 'sudo')
|
||||
|
||||
Insert the micro SD card in your Banana Pro and power it up. The console
|
||||
is on the debug TTL UART, 115200 8N1.
|
||||
|
||||
Ethernet
|
||||
==========
|
||||
|
||||
# udhcpc -i eth0
|
||||
|
||||
Wifi
|
||||
==========
|
||||
|
||||
# wpa_passphrase YOUR_SSID >> /etc/wpa_supplicant.conf
|
||||
(enter the wifi password and press enter)
|
||||
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
|
||||
# udhcpc -i wlan0
|
||||
|
||||
Note:
|
||||
- replace 'YOUR_SSID' with the actual SSID from your access point
|
||||
|
||||
Audio
|
||||
==========
|
||||
|
||||
Connect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pro
|
||||
has an on-board microphone, too.
|
||||
|
||||
# amixer cset name='Power Amplifier DAC Playback Switch' on
|
||||
# amixer cset name='Power Amplifier Mute Switch' on
|
||||
# amixer cset name='Power Amplifier Volume' 42
|
||||
@@ -1,56 +0,0 @@
|
||||
#AP6210_NVRAM_V1.2_03192013
|
||||
manfid=0x2d0
|
||||
prodid=0x492
|
||||
vendid=0x14e4
|
||||
devid=0x4343
|
||||
boardtype=0x0598
|
||||
|
||||
# Board Revision is P307, same nvram file can be used for P304, P305, P306 and P307 as the tssi pa params used are same
|
||||
#Please force the automatic RX PER data to the respective board directory if not using P307 board, for e.g. for P305 boards force the data into the following directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305
|
||||
boardrev=0x1307
|
||||
boardnum=777
|
||||
xtalfreq=26000
|
||||
boardflags=0x80201
|
||||
boardflags2=0x80
|
||||
sromrev=3
|
||||
wl0id=0x431b
|
||||
macaddr=00:90:4c:07:71:12
|
||||
aa2g=1
|
||||
ag0=2
|
||||
maxp2ga0=74
|
||||
cck2gpo=0x2222
|
||||
ofdm2gpo=0x44444444
|
||||
mcs2gpo0=0x6666
|
||||
mcs2gpo1=0x6666
|
||||
pa0maxpwr=56
|
||||
|
||||
#P207 PA params
|
||||
#pa0b0=5447
|
||||
#pa0b1=-658
|
||||
#pa0b2=-175
|
||||
|
||||
#Same PA params for P304,P305, P306, P307
|
||||
|
||||
pa0b0=5447
|
||||
pa0b1=-607
|
||||
pa0b2=-160
|
||||
pa0itssit=62
|
||||
pa1itssit=62
|
||||
|
||||
|
||||
cckPwrOffset=5
|
||||
ccode=0
|
||||
rssismf2g=0xa
|
||||
rssismc2g=0x3
|
||||
rssisav2g=0x7
|
||||
triso2g=0
|
||||
noise_cal_enable_2g=0
|
||||
noise_cal_po_2g=0
|
||||
swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff
|
||||
temp_add=29767
|
||||
temp_mult=425
|
||||
|
||||
btc_flags=0x6
|
||||
btc_params0=5000
|
||||
btc_params1=1000
|
||||
btc_params6=63
|
||||
6
board/minnowboard/grub-minnowboard.cfg
Normal file
6
board/minnowboard/grub-minnowboard.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /bzImage root=/dev/mmcblk0p2 rootwait console=ttyPCH0,115200
|
||||
}
|
||||
172
board/minnowboard/linux-3.8.config
Normal file
172
board/minnowboard/linux-3.8.config
Normal file
@@ -0,0 +1,172 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_RCU_FANOUT=32
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_CGROUP_DEBUG=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_RESOURCE_COUNTERS=y
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_MEMCG_SWAP=y
|
||||
CONFIG_MEMCG_KMEM=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_RT_GROUP_SCHED=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=y
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_MATOM=y
|
||||
CONFIG_SCHED_SMT=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
|
||||
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
|
||||
# CONFIG_MTRR_SANITIZER is not set
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
CONFIG_HZ_1000=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_ADVANCED_DEBUG=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_X86_ACPI_CPUFREQ=y
|
||||
CONFIG_INTEL_IDLE=y
|
||||
CONFIG_PCI_MMCONFIG=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_HOTPLUG_PCI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_SUB_POLICY=y
|
||||
CONFIG_NET_KEY_MIGRATE=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_ROUTE_MULTIPATH=y
|
||||
CONFIG_IP_ROUTE_VERBOSE=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IP_PNP_RARP=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_FW_LOADER=m
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_CRYPTOLOOP=m
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_PCH_PHUB=m
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_DUMMY=m
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_TUN=m
|
||||
CONFIG_PCH_GBE=m
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO_POLLED=y
|
||||
# CONFIG_MOUSE_PS2 is not set
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_PCH_UART=y
|
||||
CONFIG_SERIAL_PCH_UART_CONSOLE=y
|
||||
CONFIG_GEN_RTC=y
|
||||
CONFIG_GEN_RTC_X=y
|
||||
CONFIG_HPET=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
CONFIG_I2C_EG20T=m
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_TOPCLIFF_PCH=m
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||
CONFIG_GPIO_SCH=y
|
||||
CONFIG_GPIO_PCH=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_SOFT_WATCHDOG=m
|
||||
CONFIG_AGP=m
|
||||
CONFIG_DRM=m
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_EFI=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||
CONFIG_SOUND=m
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_HDA_INTEL=m
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_SUSPEND=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=m
|
||||
CONFIG_USB_EG20T=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_PCH_DMA=y
|
||||
CONFIG_MINNOWBOARD=y
|
||||
CONFIG_MINNOWBOARD_GPIO=m
|
||||
CONFIG_MINNOWBOARD_KEYS=m
|
||||
CONFIG_EFI_VARS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
|
||||
CONFIG_ISO9660_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_CONFIGFS_FS=m
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_FRAME_WARN=1024
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_LATENCYTOP=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
# args from BR2_ROOTFS_POST_SCRIPT_ARGS
|
||||
# $2 board name
|
||||
|
||||
cp -v board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
||||
cp -v board/minnowboard/grub-${2}.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
||||
|
||||
# Add a console on tty1
|
||||
if [ -e ${TARGET_DIR}/etc/inittab ]; then
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
How to get started with the MinnowBoard MAX
|
||||
===========================================
|
||||
How to get started with the MinnowBoard (MAX)
|
||||
=============================================
|
||||
|
||||
1. Build
|
||||
|
||||
Apply the defconfig:
|
||||
|
||||
$ make minnowboard_defconfig
|
||||
|
||||
Or, for the Minnowboard MAX board:
|
||||
|
||||
$ make minnowboard_max_defconfig
|
||||
|
||||
Add any additional packages required and build:
|
||||
@@ -14,7 +18,7 @@ How to get started with the MinnowBoard MAX
|
||||
2. Write the SD card
|
||||
|
||||
The build process will create a SD card image in output/images.
|
||||
Write the image to an mSD card, insert into the MinnowBoard MAX
|
||||
Write the image to an mSD card, insert into the MinnowBoard
|
||||
and power the board on.
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync
|
||||
|
||||
@@ -2,7 +2,7 @@ Intro
|
||||
=====
|
||||
|
||||
The instructions herein are valid for the FriendlyARM NanoPi NEO,
|
||||
both the 256MiB and 512MiB versions. They should also work for the
|
||||
both the 256MiB and 512MiB versions. They should also work the the
|
||||
NanoPi NEO Air, but this is untested so far.
|
||||
|
||||
The FriendlyARM Nanopi NEO is a 4x4cm² board with an Allwiner H3 SoC:
|
||||
@@ -14,8 +14,9 @@ The FriendlyARM Nanopi NEO is a 4x4cm² board with an Allwiner H3 SoC:
|
||||
- 10/100 ethernet MAC
|
||||
- GPIOs, SPI, I2c...
|
||||
|
||||
Support for the Nanopi NEO in U-Boot and Linux is very recent, so only
|
||||
core, basic features are available.
|
||||
Support for the Nanopi NEO in U-Boot and Linux is very recent, so
|
||||
much so that we have to use an -rc tag for U-Boot and a special
|
||||
Linux tree.
|
||||
|
||||
Unfortunately, support for the ethernet MAC and the USB OTG are not
|
||||
yet upstream, but are being actively worked on.
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
setenv bootargs console=ttyAML0,115200 earlyprintk root=/dev/mmcblk1p2 rootwait
|
||||
|
||||
fatload mmc 0:1 0x01080000 uImage
|
||||
|
||||
if itest.s "${aml_dt}" == "gxl_p212_2g"; then
|
||||
fatload mmc 0:1 $dtb_mem_addr meson-gxl-nexbox-a95x.dtb
|
||||
else
|
||||
fatload mmc 0:1 $dtb_mem_addr meson-gxbb-nexbox-a95x.dtb
|
||||
fi
|
||||
|
||||
bootm 0x1080000 - $dtb_mem_addr
|
||||
@@ -1,28 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage",
|
||||
"meson-gxbb-nexbox-a95x.dtb",
|
||||
"meson-gxl-nexbox-a95x.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
|
||||
$MKIMAGE -C none -A arm64 -T script -d $BOARD_DIR/boot.txt $BINARIES_DIR/boot.scr
|
||||
|
||||
# vendor u-boot uses uImage
|
||||
if [ -e $BINARIES_DIR/Image ]; then
|
||||
$MKIMAGE -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 \
|
||||
-n linux -d $BINARIES_DIR/Image $BINARIES_DIR/uImage
|
||||
fi
|
||||
@@ -1,48 +0,0 @@
|
||||
Nexbox A95X
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
Nexbox A95X is a low cost Android STB based around an Amlogic s905(x) SoC
|
||||
(quad A53), 8/16GB eMMC and 1/2GB RAM. To use this defconfig, wires to the
|
||||
internal UART solder pads must be added. See the linux-meson page for
|
||||
details:
|
||||
|
||||
http://linux-meson.com/doku.php?id=nexbox_a95x_s905
|
||||
|
||||
Both the s905 (gxbb) and s905x (gxl) variant is supported.
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the A95X. With the current configuration it will
|
||||
bring-up the board from microSD, and allow access through the serial
|
||||
console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make nexbox_a95x_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto a microSD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
How to boot
|
||||
===========
|
||||
|
||||
Insert microSD card and connect serial cable. Power board and stop
|
||||
U-Boot by pressing any key. Boot the system by typing:
|
||||
|
||||
fatload mmc 0:1 0x1070000 boot.scr
|
||||
autoscr 0x1070000
|
||||
28
board/olimex/imx233_olinuxino/genimage-imx233_olinuxino.cfg
Normal file
28
board/olimex/imx233_olinuxino/genimage-imx233_olinuxino.cfg
Normal file
@@ -0,0 +1,28 @@
|
||||
image kernel.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"uImage"
|
||||
}
|
||||
}
|
||||
size = 5M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
partition boot {
|
||||
partition-type = 0x53
|
||||
image = "u-boot.sd"
|
||||
size = 16M
|
||||
}
|
||||
|
||||
partition kernel {
|
||||
partition-type = 0xC
|
||||
image = "kernel.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
152
board/olimex/imx233_olinuxino/linux-3.18.config
Normal file
152
board/olimex/imx233_olinuxino/linux-3.18.config
Normal file
@@ -0,0 +1,152 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_PERF_EVENTS=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_BLK_DEV_INTEGRITY=y
|
||||
# CONFIG_ARCH_MULTI_V7 is not set
|
||||
CONFIG_ARCH_MXS=y
|
||||
# CONFIG_ARM_THUMB is not set
|
||||
CONFIG_PREEMPT_VOLUNTARY=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_CMDLINE="console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait"
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_DATAFLASH=y
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_GPMI_NAND=y
|
||||
CONFIG_MTD_UBI=y
|
||||
# CONFIG_BLK_DEV is not set
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_ETHERNET is not set
|
||||
CONFIG_USB_USBNET=y
|
||||
CONFIG_USB_NET_SMSC95XX=y
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_ATH_CARDS=m
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_RT2X00=m
|
||||
CONFIG_RT73USB=m
|
||||
CONFIG_RT2800USB=m
|
||||
CONFIG_RT2800USB_RT53XX=y
|
||||
CONFIG_RT2800USB_RT55XX=y
|
||||
CONFIG_RT2800USB_UNKNOWN=y
|
||||
CONFIG_RTL_CARDS=m
|
||||
CONFIG_RTL8192CU=m
|
||||
# CONFIG_RTLWIFI_DEBUG is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_SERIAL_MXS_AUART=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
# CONFIG_I2C_COMPAT is not set
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MXS=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_MXS=y
|
||||
CONFIG_PTP_1588_CLOCK=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_STMP3XXX_RTC_WATCHDOG=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MXS=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_LCD_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_PWM=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HRTIMER=y
|
||||
# CONFIG_SND_SUPPORT_OLD_API is not set
|
||||
# CONFIG_SND_VERBOSE_PROCFS is not set
|
||||
# CONFIG_SND_DRIVERS is not set
|
||||
# CONFIG_SND_ARM is not set
|
||||
# CONFIG_SND_SPI is not set
|
||||
# CONFIG_SND_USB is not set
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_MXS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_STMP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_MXS_DMA=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_MXS_LRADC=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_IIO_SYSFS_TRIGGER=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_MXS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_FRAME_WARN=2048
|
||||
CONFIG_UNUSED_SYMBOLS=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_KEYS=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_MXS_DCP=y
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
CONFIG_CRC7=m
|
||||
CONFIG_FONTS=y
|
||||
@@ -1,18 +0,0 @@
|
||||
# Network testing
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=y
|
||||
# MII PHY device drivers
|
||||
CONFIG_WLAN=y
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_RT2X00=m
|
||||
CONFIG_RT73USB=m
|
||||
CONFIG_RT2800USB=m
|
||||
CONFIG_RT2800USB_RT53XX=y
|
||||
CONFIG_RT2800USB_RT55XX=y
|
||||
CONFIG_RT2800USB_UNKNOWN=y
|
||||
CONFIG_RTL_CARDS=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_ZD1211RW=m
|
||||
@@ -1,9 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
BOARD_NAME="$(basename ${BOARD_DIR})"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
# Create symlink to "rename" kernel image
|
||||
ln -sf uImage.imx23-olinuxino ${BINARIES_DIR}/uImage
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
@@ -8,22 +8,89 @@ It also pulls up the console on the serial port, not on TV output.
|
||||
=== Output files after building ==============================================
|
||||
|
||||
output/images
|
||||
+-- boot.vfat (VFAT kernel partition image generated by genimage)
|
||||
+-- imx23-olinuxino.dtb (device tree blob)
|
||||
+-- kernel.vfat (VFAT kernel partition image generated by genimage)
|
||||
+-- rootfs.ext2 (Root file system)
|
||||
+-- sdcard.img (Complete SD card image generated by genimage)
|
||||
+-- u-boot.sd (U-Boot image)
|
||||
+-- uImage (Kernel binary)
|
||||
+-- uImage -> uImage.imx23-olinuxino (To copy kernel as "uImage" to kernel.vfat)
|
||||
+-- uImage.imx23-olinuxino (Kernel uImage)
|
||||
|
||||
=== Use of generated SD card image ===========================================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
Just write sdcard.img directly to the SD card
|
||||
|
||||
cat /proc/partitions
|
||||
***** WARNING: Double check that /dev/sdc is your MicroSD card *****
|
||||
***** It might be /dev/sdb or some other device name *****
|
||||
***** Failure to do so may result in you wiping your hard disk *****
|
||||
|
||||
Then, run the following command as root:
|
||||
# dd if=output/images/sdcard.img of=/dev/sdc bs=512
|
||||
|
||||
*** WARNING! The command will destroy all the card content. Use with care! ***
|
||||
=== Manual creation of SD card image =========================================
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/<your-microsd-device>
|
||||
You'll need a spare MicroSD card with Freescale's special partition layout.
|
||||
This is basically three partitions:
|
||||
|
||||
1) Type 53, the U-Boot partition, should be 16MB.
|
||||
2) VFAT, place the kernel uImage there
|
||||
3) Anything you like, for this example an ext2 partition, type 83 (linux).
|
||||
|
||||
Assuming you see your MicroSD card as /dev/sdc you'd need to do, as root
|
||||
and from the buildroot project top level directory:
|
||||
(remember to replace /dev/sdc* with the appropiate device name!)
|
||||
|
||||
***** WARNING: Double check that /dev/sdc is your MicroSD card *****
|
||||
***** It might be /dev/sdb or some other device name *****
|
||||
***** Failure to do so may result in you wiping your hard disk *****
|
||||
|
||||
1. Unmount the filesystem(s) if they're already mounted, usually...
|
||||
|
||||
# for fs in `grep /dev/sdc /proc/mounts|cut -d ' ' -f 1`;do umount $fs;done
|
||||
|
||||
...should work
|
||||
|
||||
2. Blank the partition table out
|
||||
|
||||
# dd if=/dev/zero of=/dev/sdc bs=1024 count=1024
|
||||
|
||||
3. Set up the partitions
|
||||
|
||||
# fdisk /dev/sdc
|
||||
n
|
||||
p
|
||||
1
|
||||
<ENTER>
|
||||
+16MB
|
||||
t
|
||||
53
|
||||
n
|
||||
p
|
||||
2
|
||||
<ENTER>
|
||||
+5M
|
||||
t
|
||||
2
|
||||
4
|
||||
n
|
||||
p
|
||||
3
|
||||
<ENTER>
|
||||
<ENTER>
|
||||
w
|
||||
|
||||
4. Fill up the first (U-Boot) partition
|
||||
# dd if=output/images/u-boot.sd bs=512 of=/dev/sdc1
|
||||
|
||||
5. Create VFAT Filesystem
|
||||
# mkfs.vfat /dev/sdc2
|
||||
|
||||
6. Mount and copy output/images/uImage.imx23-olinuxino to the VFAT partition, rename to uImage
|
||||
# mount /dev/sdc2 /mnt
|
||||
# cp output/images/uImages/uImage.imx23-olinuxino /mnt/uImage
|
||||
# umount /mnt
|
||||
|
||||
7. Fill up the third (filesystem) partition
|
||||
# dd if=output/images/rootfs.ext2 of=/dev/sdc3 bs=512
|
||||
|
||||
8. Remove the MicroSD card from your linux PC and put it into your olinuxino.
|
||||
|
||||
9. Boot! You're done!
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
setenv fdt_high ffffffff
|
||||
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-one.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,36 +0,0 @@
|
||||
# Minimal SD card image for the OrangePi PC
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h3-orangepi-one.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 +0,0 @@
|
||||
../post-build.sh
|
||||
@@ -1 +0,0 @@
|
||||
../post-image.sh
|
||||
@@ -1,29 +0,0 @@
|
||||
OrangePi One
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi One. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_one_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
@@ -1 +0,0 @@
|
||||
../post-build.sh
|
||||
@@ -1 +0,0 @@
|
||||
../post-image.sh
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# post-build.sh for OrangePi taken from CubieBoard's post-build.sh
|
||||
# post-build.sh for OrangePi PC taken from CubieBoard's post-build.sh
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
@@ -12,7 +12,7 @@ How to build it
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_pc_defconfig
|
||||
$ make orangepipc_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user