mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-11 14:10:13 +03:00
Compare commits
164 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
799aed7a18 | ||
|
|
abfcc5624b | ||
|
|
b706f46e97 | ||
|
|
7ac7be5f87 | ||
|
|
296ffa6770 | ||
|
|
35db9f3ab9 | ||
|
|
0bc84f9612 | ||
|
|
bc224445b2 | ||
|
|
84e3e5a9f0 | ||
|
|
eac5d8c01d | ||
|
|
8879b99a50 | ||
|
|
60e7c1075f | ||
|
|
75c7c53e88 | ||
|
|
e63c2c3566 | ||
|
|
89300b0097 | ||
|
|
6a404f8245 | ||
|
|
bc633d98ad | ||
|
|
a1b9e5cb32 | ||
|
|
1b8f4d29ed | ||
|
|
83e50860e7 | ||
|
|
33adae56f9 | ||
|
|
0cef3aad7b | ||
|
|
32e514709f | ||
|
|
cf113c76df | ||
|
|
6b671fa3b6 | ||
|
|
35f735cd5a | ||
|
|
392b4a6670 | ||
|
|
039f7d0d2f | ||
|
|
48447b9efc | ||
|
|
24d80453af | ||
|
|
86a16f169d | ||
|
|
bb64a4f87e | ||
|
|
6736d2f604 | ||
|
|
bce9b77e04 | ||
|
|
892e908120 | ||
|
|
de2534bb54 | ||
|
|
7e48857917 | ||
|
|
bac22a6f55 | ||
|
|
2de0f39ed6 | ||
|
|
9d1e422788 | ||
|
|
a29fa4bb77 | ||
|
|
ae5cfc15f5 | ||
|
|
97e5325375 | ||
|
|
023919520f | ||
|
|
27ff183a9c | ||
|
|
d482d1297e | ||
|
|
be1ab94c9e | ||
|
|
4ff4b574a5 | ||
|
|
578d192c3c | ||
|
|
56938a2feb | ||
|
|
1d57b8ae51 | ||
|
|
97f7a8b337 | ||
|
|
eda721ef82 | ||
|
|
5a339aac73 | ||
|
|
b937e29052 | ||
|
|
761533084b | ||
|
|
18fc71357b | ||
|
|
d16d3afdf3 | ||
|
|
57120d614e | ||
|
|
1e9e1f3561 | ||
|
|
eda38d300b | ||
|
|
ab8fb2d9f3 | ||
|
|
bd00633729 | ||
|
|
9d302e43c9 | ||
|
|
6257bf6588 | ||
|
|
476067a78d | ||
|
|
c836666c7b | ||
|
|
f8d1e5f1ea | ||
|
|
c61338a628 | ||
|
|
eeec31f2a0 | ||
|
|
1a58c4c7b0 | ||
|
|
6338df7dea | ||
|
|
c9890cfa67 | ||
|
|
16daa3c10d | ||
|
|
5e24ed52e4 | ||
|
|
4f533d049a | ||
|
|
9eb481bbfe | ||
|
|
40192c1aa1 | ||
|
|
1244b18954 | ||
|
|
d09c7e4d45 | ||
|
|
119e94b830 | ||
|
|
e29fa95b83 | ||
|
|
74ed2a833d | ||
|
|
c1be21ac12 | ||
|
|
0b670f3879 | ||
|
|
2d7d618f7c | ||
|
|
3400806b9d | ||
|
|
9d70c89b80 | ||
|
|
ccf0e0767d | ||
|
|
30a9181448 | ||
|
|
03316d1719 | ||
|
|
5bc876f43b | ||
|
|
13eec966ad | ||
|
|
293f9d2f18 | ||
|
|
a2c0793636 | ||
|
|
2f426dadad | ||
|
|
e6b2152cd1 | ||
|
|
ac75d32ae7 | ||
|
|
eaadfab8e8 | ||
|
|
55a23407af | ||
|
|
3b9349e3cb | ||
|
|
22dd05433e | ||
|
|
2239406dc1 | ||
|
|
df0c78d61e | ||
|
|
dc9ecb90c5 | ||
|
|
1c1b702a46 | ||
|
|
51038b08ee | ||
|
|
b277a7f0db | ||
|
|
eb021f3547 | ||
|
|
05bc9b0c33 | ||
|
|
55c742f83a | ||
|
|
8c6080b06c | ||
|
|
74293a15bd | ||
|
|
f6ba439932 | ||
|
|
c7c5c7e5f6 | ||
|
|
3e38602072 | ||
|
|
2a778d53fa | ||
|
|
fd28c44ce8 | ||
|
|
8cd0e35189 | ||
|
|
bae94a6e65 | ||
|
|
f2e01f9c18 | ||
|
|
604b463d53 | ||
|
|
607c2635ca | ||
|
|
1a1ec309d7 | ||
|
|
840969ed61 | ||
|
|
fb398d3a4d | ||
|
|
3bf15bfc84 | ||
|
|
14dc993718 | ||
|
|
8ddd530004 | ||
|
|
9739750396 | ||
|
|
32a9eb6e5a | ||
|
|
894a37c031 | ||
|
|
c365c42ef3 | ||
|
|
b3442f2fe3 | ||
|
|
a3d83660c5 | ||
|
|
91bb73cb5a | ||
|
|
2e1b15a6fb | ||
|
|
f63fab1bae | ||
|
|
8d36b6d034 | ||
|
|
de33cffb66 | ||
|
|
34345f1b03 | ||
|
|
b0e41b01d8 | ||
|
|
b4e0100cdb | ||
|
|
47793a94b5 | ||
|
|
db30e441b4 | ||
|
|
9fc41f884c | ||
|
|
26e751617f | ||
|
|
052ae79732 | ||
|
|
a3124be629 | ||
|
|
785d474cb4 | ||
|
|
4e10b104b8 | ||
|
|
abab5b94cd | ||
|
|
a71ee5ce2a | ||
|
|
6f2009a936 | ||
|
|
45c871662f | ||
|
|
3b50cf0507 | ||
|
|
e31990ea55 | ||
|
|
ed5f5941f8 | ||
|
|
d5015443f1 | ||
|
|
111b9fc8ea | ||
|
|
4c60c444a1 | ||
|
|
b73c73d802 | ||
|
|
2875495e20 | ||
|
|
23656f1c96 |
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
|
||||
|
||||
214
CHANGES
214
CHANGES
@@ -1,209 +1,3 @@
|
||||
2017.05, Released May 31st, 2017
|
||||
|
||||
Minor fixes.
|
||||
|
||||
External toolchain: musl dynamic linker symlink for mips-sf
|
||||
corrected.
|
||||
|
||||
Updated/fixed packages: agentpp, bash, exim, hans, madplay,
|
||||
qpid-proton, rtl8188eu, snmppp, stm32flash, strongswan, sudo,
|
||||
xen
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9906: genimage: Disk full
|
||||
|
||||
2017.05-rc3, Released May 30th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
ARC toolchain bumped to 2017.03
|
||||
|
||||
Runtime testing improvements and cleanups.
|
||||
|
||||
Updated/fixed packages: acpica, armadillo, audiofile, c-icap,
|
||||
cppcms, dhcp, docker-engine, dropbear, elfutils, erlang,
|
||||
fbgrab, ffmpeg, flashrom, ftop, gnutls, google-breakpad,
|
||||
keepalived, kodi, libcdio, libepoxy, libev, libminiupnpc,
|
||||
libqmi, libtasn1, libv4l, mariadb, mono, mosh, mosquitto,
|
||||
mxml, ntp, opencv, openpowerlink, oracle-mysql, popt,
|
||||
pulseview, python-enum34, rabbitmq-c, redis, samba4, stella,
|
||||
xen
|
||||
|
||||
Removed packages: firejail, ola
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set
|
||||
#9876: aarch64 support with gcc 4.8 toolchain
|
||||
#9896: host-gcc-initial error downloading because incorrect URL
|
||||
|
||||
2017.05-rc2, Released May 17th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
ARC toolchain bumped to 2017.03-rc2
|
||||
|
||||
Updated/fixed packages: bluez_utils, boost, clamav, daemon,
|
||||
efibootmgr, efl, espeak, expedite, faketime, ffmpeg, fxload,
|
||||
git, gpsd, kvm-unit-tests, libcdio, libv4l, lua, mke2img,
|
||||
mpir, mpv, odroid-scripts, openblas, opencv3, openvpn, php,
|
||||
postgresql, protobuf, qt5declarative, qwt, radvd, rpcbind,
|
||||
rtmpdump, strongswan, sudo, ltp-testsuite, uclibc-ng-test,
|
||||
vlc, x11vnc, xfsprogs
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9796: source-check broken for Git downloads
|
||||
#9866: BASE_DIR usage
|
||||
|
||||
2017.05-rc1, Released May 8th, 2017
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- Installed binaries are now checked for correct architecture
|
||||
to catch natively built binaries or binaries built for other
|
||||
architecture variants.
|
||||
|
||||
- Luarocks infrastructure improvements to extraction handling,
|
||||
support for upstream name != Buildroot package name.
|
||||
|
||||
- 'make printvars' output format has changed to make it easier
|
||||
to use in scripts. It now has options to quote the variables
|
||||
and to show the expanded/unexpanded values.
|
||||
|
||||
- Automatic ext2 rootfs size calculation has been removed. The
|
||||
logic was not working working reliable in all setups as it
|
||||
depends on the host filesystem behaviour, so instead now the
|
||||
size has to be specified explicitly (defaults to 60MB).
|
||||
|
||||
- The git download infrastructure now ensures that GNU format
|
||||
tar files are created.
|
||||
|
||||
- Fixed a variable clashing issue in the mkusers script with
|
||||
internal bash variables.
|
||||
|
||||
- Fakeroot now links against libacl to fix issues on
|
||||
distributions using acls.
|
||||
|
||||
- Correct permissions for /dev/pts/ptmx when systemd is used
|
||||
with recent glibc versions.
|
||||
|
||||
- br2-external: Improve error reporting.
|
||||
|
||||
- A wrapper script for genimage has been added in
|
||||
support/scripts/genimage.sh for easy use of genimage from
|
||||
post-image scripts.
|
||||
|
||||
- A script to check for common style issues in new packages
|
||||
before submitting has been added in support/scripts/check-package
|
||||
|
||||
- Defconfigs are now tested by gitlab-CI instead of Travis:
|
||||
https://gitlab.com/buildroot.org/buildroot
|
||||
|
||||
- Infrastructure for runtime testing has been added to
|
||||
support/testing
|
||||
|
||||
Toolchain:
|
||||
|
||||
- External linaro toolchains updated to 2017.02, ARC toolchain
|
||||
updated to 2017.03-rc1, NIOSII CodeSourcery to 2017.05
|
||||
|
||||
- A number of fixes and improvements to the external toolchain
|
||||
handling, including C library detection, multilib and ld.so
|
||||
handling
|
||||
|
||||
- Glibc 2.25 and uClibc-ng 1.0.24 added, wordexp support enabled
|
||||
for uClibc-ng
|
||||
|
||||
- Binutils 2.28 added and default changed to 2.27
|
||||
|
||||
|
||||
Architectures:
|
||||
|
||||
- Support for the C-SKY architecture has been added.
|
||||
|
||||
|
||||
License handling:
|
||||
|
||||
- The package license markings for legal info now uses the
|
||||
SPDX short identifiers for the license string where possible.
|
||||
|
||||
- License info has been improved / added for a number of packages.
|
||||
|
||||
|
||||
Misc:
|
||||
|
||||
- Cmake 3.7.x installed on the host is no longer ignored as a
|
||||
workaround for the RPATH issues has been implemented.
|
||||
|
||||
- Docker-engine can now be built statically on an otherwise
|
||||
dynamic linked build for docker-in-docker setups.
|
||||
|
||||
- U-Boot now supports out-of-tree device trees, similar to
|
||||
Linux
|
||||
|
||||
- Nodejs 0.10.x support (and with it, support for <ARMv6) has
|
||||
been removed as this is now EOL upstream.
|
||||
|
||||
New defconfigs: AT91sam9x5ek dev/mmc/mmc-dev, banana pro,
|
||||
Nationalchip gx6605s, MIPS creator ci40, nexbox a95x, 64bit
|
||||
defconfig for raspberry pi 3, stm32f429-disc1.
|
||||
|
||||
The raspberry pi zero-w and rpi3 compute module are now also
|
||||
supported by the rpi0 / rpi3 defconfigs, beaglebone green is
|
||||
supported by the beaglebone defconfig.
|
||||
|
||||
Removed defconfig: minnowboard, via imx6 vab820, altera
|
||||
socdk/sockit
|
||||
|
||||
New packages: arp-scan, atest, augeas, bluez-tools, daemon,
|
||||
dc3dd, dieharder, execline, fmt, ghostscript, gqrx,
|
||||
gst1-vaapi, jo, keepalived, kmscube, kodi-jsonschemabuilder,
|
||||
kodi-skin-confluence, kodi-texturepacker, lensfun, leptonica,
|
||||
libbson, libcsv, libgphoto2, libkcapi, libmaxminddb,
|
||||
libmediaart, libnpth, libscrypt, lua-bit32, lua-resty-http,
|
||||
lugaru, memtool, mpir, nanomsg, physfs, phytool, pngquant,
|
||||
python-decorator, python-simplegeneric,
|
||||
python-sortedcontainers, rpi-bt-firmware, rpi-wifi-firmware,
|
||||
s6, s6-dns, s6-linux-init, s6-linux-utils, s6-networking,
|
||||
s6-portable-utils, s6-rc, supertux, tesseract-ocr,
|
||||
uccp420wlan, wilink-bt-firmware
|
||||
|
||||
Broken packages: ola
|
||||
|
||||
Removed packages: cosmo, kodi-visualisation-fountain,
|
||||
polarssl, portmap, xdriver_xf86-video-glide,
|
||||
xdriver_xf86-video-v4l, xdriver_xf86-video-wsfb
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#8831: image generation fails on host ZFS due to "no free space"
|
||||
#9436: e2fsprogs remove busybox applets even of unselected e2fs..
|
||||
#9456: mkusers script bash errors
|
||||
#9496: mke2img fails during build on ntfs-3g host partition
|
||||
#9531: NPM fails to build embedded modules
|
||||
#9596: KODI: --enable-lirc needs "HAVE_LIRC" compiler definition..
|
||||
#9691: Wrong cryptsetup package include files location
|
||||
#9696: Wrong cryptsetup package include files location
|
||||
#9706: Can't download newer revisions of package from PyPI
|
||||
#9711: Recent libCEC version bump seems to break kodi package
|
||||
#9716: exit, shutdown, reboot from kodi
|
||||
#9721: version 2017.02: no acceptable m4 could be found in $PATH
|
||||
#9726: Raspberry Pi version B - Problems with UART speed in..
|
||||
#9751: expat legal info - manifest.csv: GPLv2 Source site: MIT..
|
||||
#9756: glibc fails to build on buildroot-sh4*-buildroot-linux-gnu
|
||||
#9766: support/scripts/pkgutil.py conflicts with the pkgutil.py..
|
||||
#9776: libubox build failed
|
||||
#9791: Python searches for packages in the user site directory
|
||||
#9806: libseccomp is not available when BR2_arm=y
|
||||
#9826: post-build scritp - symlinks created in post-build script..
|
||||
#9836: triggerhappy: systemd unit broken
|
||||
#9846: musl libc not installed correctly in target folder
|
||||
#9856: build libubox failed on ubuntu 17.04 64bit
|
||||
|
||||
2017.02.2, Released May 1st, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -420,14 +214,6 @@
|
||||
#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.
|
||||
|
||||
Updated/fixed packages: bind, dbus, gnutls, imagemagick,
|
||||
lcms2, libcurl, ntfs-3g, ntp, openssl, php, quagga, redis,
|
||||
squid, stunnel, tcpdump, vim, wavpack, wireshark, xlib_libXpm
|
||||
|
||||
2016.11.2, Released January 25th, 2017
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
176
Config.in.legacy
176
Config.in.legacy
@@ -142,166 +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"
|
||||
|
||||
@@ -572,22 +412,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 +457,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
|
||||
|
||||
131
DEVELOPERS
131
DEVELOPERS
@@ -30,17 +30,8 @@ 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>
|
||||
@@ -79,9 +70,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,11 +103,9 @@ 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/
|
||||
@@ -137,7 +125,7 @@ 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/
|
||||
@@ -149,10 +137,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 +146,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 +159,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 +193,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/
|
||||
@@ -262,7 +239,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 +286,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 +305,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/
|
||||
@@ -401,6 +375,9 @@ 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/
|
||||
@@ -419,9 +396,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
|
||||
@@ -456,17 +430,9 @@ 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/
|
||||
@@ -513,16 +479,12 @@ 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 +497,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 +514,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 +571,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 +591,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 +744,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 +765,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/
|
||||
@@ -922,9 +872,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,9 +890,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/
|
||||
@@ -967,9 +911,6 @@ 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/
|
||||
|
||||
@@ -1037,9 +978,6 @@ 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 +990,12 @@ 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 +1003,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 +1115,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 +1150,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/
|
||||
|
||||
@@ -1239,10 +1167,8 @@ N: Peter Korsgaard <peter@korsgaard.com>
|
||||
F: board/orangepi/
|
||||
F: configs/orangepi_pc_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/
|
||||
@@ -1306,7 +1232,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,14 +1239,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/
|
||||
@@ -1336,9 +1260,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/
|
||||
@@ -1360,14 +1281,10 @@ 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/
|
||||
@@ -1439,12 +1356,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 +1413,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/
|
||||
@@ -1613,6 +1521,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/
|
||||
@@ -1674,6 +1583,10 @@ 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/
|
||||
@@ -1713,7 +1626,6 @@ 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/
|
||||
@@ -1762,7 +1674,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/
|
||||
|
||||
20
Makefile
20
Makefile
@@ -86,9 +86,9 @@ else # umask / $(CURDIR) / $(O)
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2017.05
|
||||
export BR2_VERSION := 2017.02.2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1496267000
|
||||
BR2_VERSION_EPOCH = 1493676000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -479,9 +479,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
|
||||
@@ -736,7 +733,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 +754,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 +937,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 +1015,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 +1068,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
|
||||
@@ -292,12 +284,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"
|
||||
@@ -383,10 +369,6 @@ 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -536,13 +536,13 @@ config BR2_GCC_TARGET_CPU
|
||||
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-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-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)
|
||||
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
|
||||
@@ -552,11 +552,11 @@ 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 "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
|
||||
|
||||
@@ -568,7 +568,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"
|
||||
|
||||
@@ -3,6 +3,3 @@ config BR2_ARCH
|
||||
|
||||
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}"
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
From 8cbabc57257bdbf5f1cf039a265c875da8ddc2e9 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Fri, 21 Oct 2016 17:07:16 +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>
|
||||
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
||||
---
|
||||
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 000000000000..461292d33417
|
||||
--- /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.11.0
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
From 35a8bca870bedebb9d37ad58b905863cba780f9f Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||||
Date: Fri, 21 Oct 2016 17:07:17 +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>
|
||||
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 1 +
|
||||
arch/arm/boot/dts/imx6ul-liteboard.dts | 147 +++++++++++++++++++++++++++++++++
|
||||
2 files changed, 148 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 c558ba75cbcc..a587ce231f83 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -420,6 +420,7 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
|
||||
dtb-$(CONFIG_SOC_IMX6UL) += \
|
||||
imx6ul-14x14-evk.dtb \
|
||||
imx6ul-geam-kit.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 000000000000..6e04cb9202f4
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6ul-liteboard.dts
|
||||
@@ -0,0 +1,147 @@
|
||||
+/*
|
||||
+ * 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;
|
||||
+ };
|
||||
+
|
||||
+ reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
|
||||
+ 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.11.0
|
||||
|
||||
@@ -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,16 +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}"
|
||||
|
||||
exit $?
|
||||
@@ -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,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}"
|
||||
@@ -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
|
||||
@@ -6,11 +6,10 @@ CONFIG_XTENSA_VARIANT_CUSTOM_NAME="dc233c"
|
||||
# CONFIG_XTENSA_VARIANT_MMU is not set
|
||||
CONFIG_XTENSA_UNALIGNED_USER=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_KERNEL_LOAD_ADDRESS=0x00003000
|
||||
# CONFIG_PCI is not set
|
||||
CONFIG_XTENSA_PLATFORM_XTFPGA=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x04000000@0"
|
||||
CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8"
|
||||
CONFIG_DEFAULT_MEM_START=0x00000000
|
||||
CONFIG_BINFMT_FLAT=y
|
||||
CONFIG_NET=y
|
||||
@@ -5,7 +5,7 @@ CONFIG_XTENSA_VARIANT_DC233C=y
|
||||
CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX=y
|
||||
CONFIG_XTENSA_PLATFORM_XTFPGA=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="console=ttyS0,38400 memmap=0x04000000@0"
|
||||
CONFIG_CMDLINE="console=ttyS0,38400"
|
||||
# CONFIG_COMPACTION is not set
|
||||
# CONFIG_BOUNCE is not set
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
@@ -2,7 +2,6 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-b-plus.dtb",
|
||||
"bcm2708-rpi-0-w.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2710-rpi-3-b.dtb",
|
||||
"bcm2837-rpi-3-b.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
"rpi-firmware/fixup.dat",
|
||||
"rpi-firmware/start.elf",
|
||||
"Image"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2710-rpi-3-b.dtb",
|
||||
"bcm2710-rpi-cm3.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
|
||||
@@ -13,26 +13,6 @@ case "${2}" in
|
||||
|
||||
# fixes rpi3 ttyAMA0 serial console
|
||||
dtoverlay=pi3-miniuart-bt
|
||||
__EOF__
|
||||
fi
|
||||
;;
|
||||
--aarch64)
|
||||
# Run a 64bits kernel (armv8)
|
||||
sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||
if ! grep -qE '^arm_control=0x200' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
||||
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||
|
||||
# enable 64bits support
|
||||
arm_control=0x200
|
||||
__EOF__
|
||||
fi
|
||||
|
||||
# Enable uart console
|
||||
if ! grep -qE '^enable_uart=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
||||
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||
|
||||
# enable rpi3 ttyS0 serial console
|
||||
enable_uart=1
|
||||
__EOF__
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
raspberrypi
|
||||
@@ -1,20 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
OUTPUT_DIR=$1
|
||||
BOARD_NAME=${2:-stm32f429discovery}
|
||||
|
||||
if ! test -d "${OUTPUT_DIR}" ; then
|
||||
echo "ERROR: no output directory specified."
|
||||
echo "Usage: $0 OUTPUT_DIR BOARD_NAME"
|
||||
echo ""
|
||||
echo "Arguments:"
|
||||
echo " OUTPUT_DIR The Buildroot output directory."
|
||||
echo " BOARD_NAME One of the available boards among:"
|
||||
echo " stm32f429discovery, stm32f429disc1"
|
||||
echo "Usage: $0 OUTPUT_DIR"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
${OUTPUT_DIR}/host/usr/bin/openocd -f board/${BOARD_NAME}.cfg \
|
||||
${OUTPUT_DIR}/host/usr/bin/openocd -f board/stm32f429discovery.cfg \
|
||||
-c "init" \
|
||||
-c "reset init" \
|
||||
-c "flash probe 0" \
|
||||
|
||||
@@ -4,12 +4,6 @@ STM32F429 Discovery
|
||||
This tutorial describes how to use the predefined Buildroot
|
||||
configuration for the STM32F429 Discovery evaluation platform.
|
||||
|
||||
Supported HW
|
||||
------------
|
||||
|
||||
- STM32F429I-DISCO evaluation board
|
||||
- STM32F429I-DISC1 evaluation board
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
@@ -30,8 +24,7 @@ The UART is configured at 115200.
|
||||
Flashing
|
||||
--------
|
||||
|
||||
./board/stmicroelectronics/stm32f429-disco/flash.sh output/ \
|
||||
{stm32f429discovery|stm32f429disc1}
|
||||
./board/stmicroelectronics/stm32f429-disco/flash.sh output/
|
||||
|
||||
It will flash the minimal bootloader, the Device Tree Blob, and the
|
||||
kernel image which includes the root filesystem as initramfs.
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 26045588f462476cee356d15a24944d6c26befb4 Mon Sep 17 00:00:00 2001
|
||||
From: Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
||||
Date: Sat, 24 Oct 2015 00:13:38 +0200
|
||||
Subject: [PATCH] tcl: add STM32F469 discovery board config
|
||||
|
||||
Change-Id: Iad7ee06330b3259ea0ce0d174dfdade6785913eb
|
||||
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
||||
Reviewed-on: http://openocd.zylin.com/3043
|
||||
Tested-by: jenkins
|
||||
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
|
||||
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
|
||||
---
|
||||
tcl/board/stm32f469discovery.cfg | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
create mode 100644 tcl/board/stm32f469discovery.cfg
|
||||
|
||||
diff --git a/tcl/board/stm32f469discovery.cfg b/tcl/board/stm32f469discovery.cfg
|
||||
new file mode 100644
|
||||
index 0000000..eecfe33
|
||||
--- /dev/null
|
||||
+++ b/tcl/board/stm32f469discovery.cfg
|
||||
@@ -0,0 +1,12 @@
|
||||
+#
|
||||
+# This is an STM32F469 discovery board with a single STM32F469NI chip.
|
||||
+# http://www.st.com/web/catalog/tools/FM116/CL1620/SC959/SS1532/LN1848/PF262395
|
||||
+#
|
||||
+
|
||||
+source [find interface/stlink-v2-1.cfg]
|
||||
+
|
||||
+transport select hla_swd
|
||||
+
|
||||
+source [find target/stm32f4x.cfg]
|
||||
+
|
||||
+reset_config srst_only
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 3e219648c80a27f0519003f3b088cbb846e255d8 Mon Sep 17 00:00:00 2001
|
||||
From: Maxime Coquelin <maxime.coquelin@st.com>
|
||||
Date: Sat, 24 Oct 2015 00:03:54 +0200
|
||||
Subject: [PATCH] flash/nor/stm32f2x: Add STM32F469 part
|
||||
|
||||
Change-Id: I4e13ceb0ba954dc2fea059ddeef10109be938c9c
|
||||
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
||||
Reviewed-on: http://openocd.zylin.com/3042
|
||||
Tested-by: jenkins
|
||||
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
|
||||
---
|
||||
src/flash/nor/stm32f2x.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
|
||||
index 2130444..89fc75d 100644
|
||||
--- a/src/flash/nor/stm32f2x.c
|
||||
+++ b/src/flash/nor/stm32f2x.c
|
||||
@@ -790,6 +790,7 @@ static int stm32x_probe(struct flash_bank *bank)
|
||||
max_flash_size_in_kb = 1024;
|
||||
break;
|
||||
case 0x419:
|
||||
+ case 0x434:
|
||||
max_flash_size_in_kb = 2048;
|
||||
break;
|
||||
case 0x423:
|
||||
@@ -952,6 +953,7 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
|
||||
|
||||
case 0x413:
|
||||
case 0x419:
|
||||
+ case 0x434:
|
||||
device_str = "STM32F4xx";
|
||||
|
||||
switch (rev_id) {
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
From ee5a5a51780bcb17e5240335ddfa9c98a0e6f890 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Date: Thu, 30 Mar 2017 19:18:30 +0300
|
||||
Subject: [PATCH] axs103: Clean-up smp_kick_all_cpus()
|
||||
|
||||
* Rely on default pulse polarity value
|
||||
* Don't mess with "multicore" value as it doesn't affect execution
|
||||
|
||||
In essence we now do a bare minimal stuff:
|
||||
1) Select HS38x2_1 with CORE_SEL=1 bits
|
||||
2) Select "manual" core start (via CREG) with START_MODE=0
|
||||
3) Generate cpu_start pulse with START=1
|
||||
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
|
||||
---
|
||||
board/synopsys/axs10x/axs10x.c | 12 +++++-------
|
||||
1 file changed, 5 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c
|
||||
index a5e774b2cf7b..57c790220f71 100644
|
||||
--- a/board/synopsys/axs10x/axs10x.c
|
||||
+++ b/board/synopsys/axs10x/axs10x.c
|
||||
@@ -61,16 +61,14 @@ void smp_kick_all_cpus(void)
|
||||
{
|
||||
/* CPU start CREG */
|
||||
#define AXC003_CREG_CPU_START 0xF0001400
|
||||
-
|
||||
/* Bits positions in CPU start CREG */
|
||||
#define BITS_START 0
|
||||
-#define BITS_POLARITY 8
|
||||
+#define BITS_START_MODE 4
|
||||
#define BITS_CORE_SEL 9
|
||||
-#define BITS_MULTICORE 12
|
||||
-
|
||||
-#define CMD (1 << BITS_MULTICORE) | (1 << BITS_CORE_SEL) | \
|
||||
- (1 << BITS_POLARITY) | (1 << BITS_START)
|
||||
|
||||
- writel(CMD, (void __iomem *)AXC003_CREG_CPU_START);
|
||||
+ int cmd = readl((void __iomem *)AXC003_CREG_CPU_START);
|
||||
+ cmd |= (1 << BITS_CORE_SEL) | (1 << BITS_START);
|
||||
+ cmd &= ~(1 << BITS_START_MODE);
|
||||
+ writel(cmd, (void __iomem *)AXC003_CREG_CPU_START);
|
||||
}
|
||||
#endif
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
From a5fa3b17cb10ce020f8b7fe6a26c45d75f55b481 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Date: Fri, 31 Mar 2017 11:14:35 +0300
|
||||
Subject: [PATCH] axs103: Support slave core kick-start on axs103 v1.1
|
||||
firmware
|
||||
|
||||
In axs103 v1.1 procedure to kick-start slave cores has changed quite a bit
|
||||
compared to previous implementation.
|
||||
|
||||
In particular:
|
||||
* We used to have a generic START bit for all cores selected by CORE_SEL
|
||||
mask. But now we don't touch CORE_SEL at all because we have a dedicated
|
||||
START bit for each core:
|
||||
bit 0: Core 0 (master)
|
||||
bit 1: Core 1 (slave)
|
||||
* Now there's no need to select "manual" mode of core start
|
||||
|
||||
Additional challenge for us is how to tell which axs103 firmware we're
|
||||
dealing with. For now we'll rely on ARC core version which was bumped
|
||||
from 2.1c to 3.0.
|
||||
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
|
||||
---
|
||||
board/synopsys/axs10x/axs10x.c | 23 +++++++++++++++++++++--
|
||||
1 file changed, 21 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c
|
||||
index 57c790220f71..e6b69da3da7f 100644
|
||||
--- a/board/synopsys/axs10x/axs10x.c
|
||||
+++ b/board/synopsys/axs10x/axs10x.c
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <dwmmc.h>
|
||||
#include <malloc.h>
|
||||
+#include <asm/arcregs.h>
|
||||
#include "axs10x.h"
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
@@ -66,9 +67,27 @@ void smp_kick_all_cpus(void)
|
||||
#define BITS_START_MODE 4
|
||||
#define BITS_CORE_SEL 9
|
||||
|
||||
+/*
|
||||
+ * In axs103 v1.1 START bits semantics has changed quite a bit.
|
||||
+ * We used to have a generic START bit for all cores selected by CORE_SEL mask.
|
||||
+ * But now we don't touch CORE_SEL at all because we have a dedicated START bit
|
||||
+ * for each core:
|
||||
+ * bit 0: Core 0 (master)
|
||||
+ * bit 1: Core 1 (slave)
|
||||
+ */
|
||||
+#define BITS_START_CORE1 1
|
||||
+
|
||||
+#define ARCVER_HS38_3_0 0x53
|
||||
+
|
||||
+ int core_family = read_aux_reg(ARC_AUX_IDENTITY) & 0xff;
|
||||
int cmd = readl((void __iomem *)AXC003_CREG_CPU_START);
|
||||
- cmd |= (1 << BITS_CORE_SEL) | (1 << BITS_START);
|
||||
- cmd &= ~(1 << BITS_START_MODE);
|
||||
+
|
||||
+ if (core_family < ARCVER_HS38_3_0) {
|
||||
+ cmd |= (1 << BITS_CORE_SEL) | (1 << BITS_START);
|
||||
+ cmd &= ~(1 << BITS_START_MODE);
|
||||
+ } else {
|
||||
+ cmd |= (1 << BITS_START_CORE1);
|
||||
+ }
|
||||
writel(cmd, (void __iomem *)AXC003_CREG_CPU_START);
|
||||
}
|
||||
#endif
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 1e248a880ee46921f85213da32b18f6becf07078 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Date: Tue, 31 Jan 2017 19:00:29 +0300
|
||||
Subject: [PATCH 1/3] arc: vdk: Disable halt on reset
|
||||
|
||||
In recent VDKs ARC cores are configured as "run on reset"
|
||||
which made existing kernel configuration outdated to effect that
|
||||
slave cores never start execution of the code keeping only master
|
||||
online.
|
||||
|
||||
With that fix we're again in sync with VDK platform.
|
||||
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
---
|
||||
arch/arc/configs/vdk_hs38_smp_defconfig | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig
|
||||
index 969b206d6c67..00036e814dc1 100644
|
||||
--- a/arch/arc/configs/vdk_hs38_smp_defconfig
|
||||
+++ b/arch/arc/configs/vdk_hs38_smp_defconfig
|
||||
@@ -15,6 +15,7 @@ CONFIG_ARC_PLAT_AXS10X=y
|
||||
CONFIG_AXS103=y
|
||||
CONFIG_ISA_ARCV2=y
|
||||
CONFIG_SMP=y
|
||||
+# CONFIG_ARC_SMP_HALT_ON_RESET is not set
|
||||
# CONFIG_ARC_HAS_GFRC is not set
|
||||
CONFIG_ARC_UBOOT_SUPPORT=y
|
||||
CONFIG_ARC_BUILTIN_DTB_NAME="vdk_hs38_smp"
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
From 76e2b190803484db033153fe8a97b381a567ed25 Mon Sep 17 00:00:00 2001
|
||||
From b5e57a9f158a293b1151638336478af8a5aad0f0 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:16:35 +0800
|
||||
Subject: [PATCH 1/4] watchdog: add keep alive support
|
||||
Subject: [PATCH 1/5] watchdog: add keep alive support
|
||||
|
||||
this will allow to ping the watchdog via poller
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
drivers/watchdog/Kconfig | 1 +
|
||||
drivers/watchdog/wd_core.c | 25 +++++++++++++++++++++++++
|
||||
drivers/watchdog/wd_core.c | 21 +++++++++++++++++++++
|
||||
include/watchdog.h | 2 ++
|
||||
3 files changed, 28 insertions(+)
|
||||
3 files changed, 24 insertions(+)
|
||||
|
||||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
|
||||
index 63fb1a8c5..7ebff89b9 100644
|
||||
index 2e2900c..0b4dc84 100644
|
||||
--- a/drivers/watchdog/Kconfig
|
||||
+++ b/drivers/watchdog/Kconfig
|
||||
@@ -4,6 +4,7 @@ config WATCHDOG_IMX_RESET_SOURCE
|
||||
@@ -26,29 +25,23 @@ index 63fb1a8c5..7ebff89b9 100644
|
||||
Many platforms support a watchdog to keep track of a working machine.
|
||||
This framework provides routines to handle these watchdogs.
|
||||
diff --git a/drivers/watchdog/wd_core.c b/drivers/watchdog/wd_core.c
|
||||
index 3a3f51964..52537afef 100644
|
||||
index 3d0cfc6..a1b9e28 100644
|
||||
--- a/drivers/watchdog/wd_core.c
|
||||
+++ b/drivers/watchdog/wd_core.c
|
||||
@@ -18,6 +18,7 @@
|
||||
@@ -17,18 +17,39 @@
|
||||
#include <errno.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <watchdog.h>
|
||||
+#include <poller.h>
|
||||
|
||||
static LIST_HEAD(watchdog_list);
|
||||
/*
|
||||
* Note: this simple framework supports one watchdog only.
|
||||
*/
|
||||
static struct watchdog *watchdog;
|
||||
|
||||
@@ -31,6 +32,20 @@ static const char *watchdog_name(struct watchdog *wd)
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
+static struct watchdog *watchdog_get_default(void);
|
||||
+
|
||||
+static void watchdog_poller_func(struct poller_struct *poller)
|
||||
+{
|
||||
+ struct watchdog *wd = watchdog_get_default();
|
||||
+
|
||||
+ if (wd)
|
||||
+ wd->keep_alive(wd);
|
||||
+ watchdog->keep_alive(watchdog);
|
||||
+}
|
||||
+
|
||||
+static struct poller_struct watchdog_poller = {
|
||||
@@ -57,17 +50,17 @@ index 3a3f51964..52537afef 100644
|
||||
+
|
||||
int watchdog_register(struct watchdog *wd)
|
||||
{
|
||||
if (!wd->priority)
|
||||
@@ -41,6 +56,16 @@ int watchdog_register(struct watchdog *wd)
|
||||
pr_debug("registering watchdog %s with priority %d\n", watchdog_name(wd),
|
||||
wd->priority);
|
||||
if (watchdog != NULL)
|
||||
return -EBUSY;
|
||||
|
||||
watchdog = wd;
|
||||
+
|
||||
+ if (wd->keep_alive) {
|
||||
+ if (watchdog->keep_alive) {
|
||||
+ int ret;
|
||||
+
|
||||
+ ret = poller_register(&watchdog_poller);
|
||||
+ if (ret) {
|
||||
+ watchdog = NULL;
|
||||
+ return ret;
|
||||
+ }
|
||||
+ }
|
||||
@@ -76,24 +69,20 @@ index 3a3f51964..52537afef 100644
|
||||
}
|
||||
EXPORT_SYMBOL(watchdog_register);
|
||||
diff --git a/include/watchdog.h b/include/watchdog.h
|
||||
index 3e8a487a4..a2660c2e0 100644
|
||||
index 3e2d08e..d5ecf2f 100644
|
||||
--- a/include/watchdog.h
|
||||
+++ b/include/watchdog.h
|
||||
@@ -13,12 +13,14 @@
|
||||
@@ -13,8 +13,10 @@
|
||||
#ifndef INCLUDE_WATCHDOG_H
|
||||
# define INCLUDE_WATCHDOG_H
|
||||
|
||||
+
|
||||
struct watchdog {
|
||||
int (*set_timeout)(struct watchdog *, unsigned);
|
||||
const char *name;
|
||||
struct device_d *dev;
|
||||
unsigned int priority;
|
||||
struct list_head list;
|
||||
+ void (*keep_alive)(struct watchdog *);
|
||||
};
|
||||
|
||||
#ifdef CONFIG_WATCHDOG
|
||||
int watchdog_register(struct watchdog *);
|
||||
--
|
||||
2.12.0
|
||||
1.8.1.4
|
||||
|
||||
@@ -1,26 +1,25 @@
|
||||
From 24d99ffc4b22e45721e74bfc10717cc5bacdbfc4 Mon Sep 17 00:00:00 2001
|
||||
From e1d54ffb987c346c45c20968be34c50c62a91c07 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:17:47 +0800
|
||||
Subject: [PATCH 2/4] watchdog: add at91sam9 watchdog support
|
||||
Subject: [PATCH 2/5] watchdog: add at91sam9 watchdog support
|
||||
|
||||
with keep alive support
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
drivers/watchdog/Kconfig | 8 +++
|
||||
drivers/watchdog/Kconfig | 7 +++
|
||||
drivers/watchdog/Makefile | 1 +
|
||||
drivers/watchdog/at91sam9_wdt.c | 131 ++++++++++++++++++++++++++++++++++++++++
|
||||
drivers/watchdog/at91sam9_wdt.h | 38 ++++++++++++
|
||||
4 files changed, 178 insertions(+)
|
||||
4 files changed, 177 insertions(+)
|
||||
create mode 100644 drivers/watchdog/at91sam9_wdt.c
|
||||
create mode 100644 drivers/watchdog/at91sam9_wdt.h
|
||||
|
||||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
|
||||
index 7ebff89b9..479e737f0 100644
|
||||
index 0b4dc84..98a21d7 100644
|
||||
--- a/drivers/watchdog/Kconfig
|
||||
+++ b/drivers/watchdog/Kconfig
|
||||
@@ -11,12 +11,20 @@ menuconfig WATCHDOG
|
||||
@@ -11,6 +11,13 @@ menuconfig WATCHDOG
|
||||
|
||||
if WATCHDOG
|
||||
|
||||
@@ -31,29 +30,21 @@ index 7ebff89b9..479e737f0 100644
|
||||
+ Watchdog timer embedded into AT91SAM9X and AT91CAP9 chips. This will
|
||||
+ reboot your system when the timeout is reached.
|
||||
+
|
||||
config WATCHDOG_DAVINCI
|
||||
bool "TI Davinci"
|
||||
depends on ARCH_DAVINCI
|
||||
help
|
||||
Add support for watchdog on the TI Davinci SoC.
|
||||
|
||||
+
|
||||
config WATCHDOG_DW
|
||||
bool "Synopsys DesignWare watchdog"
|
||||
select RESET_CONTROLLER
|
||||
config WATCHDOG_MXS28
|
||||
bool "i.MX28"
|
||||
depends on ARCH_IMX28
|
||||
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
|
||||
index 5fca4c368..245a5c84a 100644
|
||||
index f522b88..3d15d52 100644
|
||||
--- a/drivers/watchdog/Makefile
|
||||
+++ b/drivers/watchdog/Makefile
|
||||
@@ -1,4 +1,5 @@
|
||||
@@ -1,3 +1,4 @@
|
||||
obj-$(CONFIG_WATCHDOG) += wd_core.o
|
||||
+obj-$(CONFIG_WATCHDOG_AT91SAM9X) += at91sam9_wdt.o
|
||||
obj-$(CONFIG_WATCHDOG_DAVINCI) += davinci_wdt.o
|
||||
obj-$(CONFIG_WATCHDOG_OMAP) += omap_wdt.o
|
||||
obj-$(CONFIG_WATCHDOG_MXS28) += im28wd.o
|
||||
obj-$(CONFIG_WATCHDOG_IMX_RESET_SOURCE) += imxwd.o
|
||||
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
|
||||
new file mode 100644
|
||||
index 000000000..203d83aff
|
||||
index 0000000..203d83a
|
||||
--- /dev/null
|
||||
+++ b/drivers/watchdog/at91sam9_wdt.c
|
||||
@@ -0,0 +1,131 @@
|
||||
@@ -190,7 +181,7 @@ index 000000000..203d83aff
|
||||
+coredevice_initcall(at91sam9_wdt_init);
|
||||
diff --git a/drivers/watchdog/at91sam9_wdt.h b/drivers/watchdog/at91sam9_wdt.h
|
||||
new file mode 100644
|
||||
index 000000000..2b68c1a2a
|
||||
index 0000000..2b68c1a
|
||||
--- /dev/null
|
||||
+++ b/drivers/watchdog/at91sam9_wdt.h
|
||||
@@ -0,0 +1,38 @@
|
||||
@@ -233,5 +224,5 @@ index 000000000..2b68c1a2a
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
2.12.0
|
||||
1.8.1.4
|
||||
|
||||
@@ -1,22 +1,30 @@
|
||||
From 60110b93a5cbc6ec3d92035d9daf86a30a7fd791 Mon Sep 17 00:00:00 2001
|
||||
From 3338bcb05479f1149420d4a0ea3904cb9e42eef5 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:18:22 +0800
|
||||
Subject: [PATCH 3/4] at91sam9260/9g20: add wathdog support
|
||||
Subject: [PATCH 3/5] at91sam9260/9g20: add wathdog support
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
arch/arm/mach-at91/at91sam9260_devices.c | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
arch/arm/mach-at91/at91sam9260_devices.c | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
index 67c4ea860..51852a9a8 100644
|
||||
index 1c375ee..5885f91 100644
|
||||
--- a/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
@@ -400,6 +400,17 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
|
||||
@@ -10,6 +10,7 @@
|
||||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
+#include <init.h>
|
||||
#include <sizes.h>
|
||||
#include <asm/armlinux.h>
|
||||
#include <asm/hardware.h>
|
||||
@@ -397,3 +398,14 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
|
||||
#else
|
||||
void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
|
||||
#endif
|
||||
|
||||
+
|
||||
+#ifdef CONFIG_WATCHDOG_AT91SAM9X
|
||||
+static int at91_add_device_watchdog(void)
|
||||
+{
|
||||
@@ -27,10 +35,6 @@ index 67c4ea860..51852a9a8 100644
|
||||
+}
|
||||
+coredevice_initcall(at91_add_device_watchdog);
|
||||
+#endif
|
||||
+
|
||||
static int at91_fixup_device(void)
|
||||
{
|
||||
at91_rtt_irq_fixup(IOMEM(AT91SAM9260_BASE_RTT));
|
||||
--
|
||||
2.12.0
|
||||
1.8.1.4
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From d8231b1726a020733d87c2685ec1631403e050cf Mon Sep 17 00:00:00 2001
|
||||
From e03bf0e3ad24898019b89eb9a6935d159c60268f Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
Date: Thu, 17 Jan 2013 11:32:35 +0100
|
||||
Subject: [PATCH 4/4] at91sam9260/9g20: fix wathdog support
|
||||
Subject: [PATCH 4/5] at91sam9260/9g20: fix wathdog support
|
||||
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
@@ -9,10 +9,10 @@ Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
index 51852a9a8..20c8cac9d 100644
|
||||
index 5885f91..df675d2 100644
|
||||
--- a/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
@@ -404,7 +404,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
|
||||
@@ -403,7 +403,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
|
||||
static int at91_add_device_watchdog(void)
|
||||
{
|
||||
add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
|
||||
@@ -22,5 +22,5 @@ index 51852a9a8..20c8cac9d 100644
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.12.0
|
||||
1.8.1.4
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 98c96ea36a4b3bb9b92dde849db5e8d6918b5168 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
Date: Thu, 17 Jan 2013 11:32:59 +0100
|
||||
Subject: [PATCH 5/5] watchdog: enable for evk-pro3
|
||||
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
arch/arm/configs/telit_evk_pro3_defconfig | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/configs/telit_evk_pro3_defconfig b/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
index 050d176..436cecf 100644
|
||||
--- a/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
+++ b/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
@@ -68,6 +68,8 @@ CONFIG_MCI_ATMEL=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_GPIO=y
|
||||
CONFIG_LED_TRIGGERS=y
|
||||
+CONFIG_WATCHDOG=y
|
||||
+CONFIG_WATCHDOG_AT91SAM9X=y
|
||||
CONFIG_FS_TFTP=y
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_AT91SAM9X=y
|
||||
201
board/telit/evk-pro3/linux-3.9.config
Normal file
201
board/telit/evk-pro3/linux-3.9.config
Normal file
@@ -0,0 +1,201 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_KERNEL_LZO=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_LBDAF is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_ARCH_AT91=y
|
||||
CONFIG_SOC_AT91SAM9260=y
|
||||
CONFIG_SOC_AT91SAM9263=y
|
||||
CONFIG_SOC_AT91SAM9G45=y
|
||||
CONFIG_SOC_AT91SAM9X5=y
|
||||
CONFIG_SOC_AT91SAM9N12=y
|
||||
CONFIG_MACH_AT91SAM_DT=y
|
||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
||||
CONFIG_AT91_TIMER_HZ=128
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
CONFIG_LEDS=y
|
||||
CONFIG_LEDS_CPU=y
|
||||
CONFIG_UACCESS_WITH_MEMCPY=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_PNP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
CONFIG_IPV6=y
|
||||
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET6_XFRM_MODE_BEET is not set
|
||||
CONFIG_IPV6_SIT_6RD=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_STANDALONE is not set
|
||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_ATMEL=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_GLUEBI=y
|
||||
CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=4
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
CONFIG_ATMEL_PWM=y
|
||||
CONFIG_ATMEL_TCLIB=y
|
||||
CONFIG_EEPROM_93CX6=m
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
# CONFIG_SCSI_LOWLEVEL is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_MACB=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_DAVICOM_PHY=y
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_POLLDEV=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=480
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=272
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_LEGACY_PTY_COUNT=4
|
||||
CONFIG_SERIAL_ATMEL=y
|
||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_GPIO=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_ATMEL=y
|
||||
CONFIG_PINCTRL_AT91=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_AT91SAM9X_WATCHDOG=y
|
||||
CONFIG_SSB=m
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MODE_HELPERS=y
|
||||
CONFIG_FB_ATMEL=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_ATMEL_LCDC=y
|
||||
# CONFIG_BACKLIGHT_GENERIC is not set
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_8x8=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
CONFIG_FONT_MINI_4x6=y
|
||||
CONFIG_LOGO=y
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
# CONFIG_USB_DEVICE_CLASS is not set
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_GENERIC=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||
CONFIG_USB_SERIAL_PL2303=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_AT91=m
|
||||
CONFIG_USB_ATMEL_USBA=m
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_GADGETFS=m
|
||||
CONFIG_USB_CDC_COMPOSITE=m
|
||||
CONFIG_USB_G_ACM_MS=m
|
||||
CONFIG_USB_G_MULTI=m
|
||||
CONFIG_USB_G_MULTI_CDC=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_ATMELMCI=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_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_AT91RM9200=y
|
||||
CONFIG_RTC_DRV_AT91SAM9=y
|
||||
CONFIG_DMADEVICES=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_STRIP_ASM_SYMS=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_CRYPTO=y
|
||||
CONFIG_CRYPTO_ECB=y
|
||||
CONFIG_CRYPTO_AES=y
|
||||
CONFIG_CRYPTO_ARC4=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_USER_API_HASH=m
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=m
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC_CCITT=m
|
||||
CONFIG_CRC_ITU_T=m
|
||||
CONFIG_CRC7=m
|
||||
CONFIG_AVERAGE=y
|
||||
@@ -1,3 +0,0 @@
|
||||
CONFIG_KERNEL_LZO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
@@ -1,97 +0,0 @@
|
||||
From 71458cfc782eafe4b27656e078d379a34e472adf Mon Sep 17 00:00:00 2001
|
||||
From: Sasha Levin <sasha.levin@oracle.com>
|
||||
Date: Mon, 13 Oct 2014 15:51:05 -0700
|
||||
Subject: [PATCH] kernel: add support for gcc 5
|
||||
|
||||
We're missing include/linux/compiler-gcc5.h which is required now
|
||||
because gcc branched off to v5 in trunk.
|
||||
|
||||
Just copy the relevant bits out of include/linux/compiler-gcc4.h,
|
||||
no new code is added as of now.
|
||||
|
||||
This fixes a build error when using gcc 5.
|
||||
|
||||
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
|
||||
Cc: <stable@vger.kernel.org>
|
||||
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
|
||||
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
||||
---
|
||||
include/linux/compiler-gcc5.h | 66 +++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 66 insertions(+)
|
||||
create mode 100644 include/linux/compiler-gcc5.h
|
||||
|
||||
diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
|
||||
new file mode 100644
|
||||
index 000000000000..cdd1cc202d51
|
||||
--- /dev/null
|
||||
+++ b/include/linux/compiler-gcc5.h
|
||||
@@ -0,0 +1,66 @@
|
||||
+#ifndef __LINUX_COMPILER_H
|
||||
+#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
|
||||
+#endif
|
||||
+
|
||||
+#define __used __attribute__((__used__))
|
||||
+#define __must_check __attribute__((warn_unused_result))
|
||||
+#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
|
||||
+
|
||||
+/* Mark functions as cold. gcc will assume any path leading to a call
|
||||
+ to them will be unlikely. This means a lot of manual unlikely()s
|
||||
+ are unnecessary now for any paths leading to the usual suspects
|
||||
+ like BUG(), printk(), panic() etc. [but let's keep them for now for
|
||||
+ older compilers]
|
||||
+
|
||||
+ Early snapshots of gcc 4.3 don't support this and we can't detect this
|
||||
+ in the preprocessor, but we can live with this because they're unreleased.
|
||||
+ Maketime probing would be overkill here.
|
||||
+
|
||||
+ gcc also has a __attribute__((__hot__)) to move hot functions into
|
||||
+ a special section, but I don't see any sense in this right now in
|
||||
+ the kernel context */
|
||||
+#define __cold __attribute__((__cold__))
|
||||
+
|
||||
+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
||||
+
|
||||
+#ifndef __CHECKER__
|
||||
+# define __compiletime_warning(message) __attribute__((warning(message)))
|
||||
+# define __compiletime_error(message) __attribute__((error(message)))
|
||||
+#endif /* __CHECKER__ */
|
||||
+
|
||||
+/*
|
||||
+ * Mark a position in code as unreachable. This can be used to
|
||||
+ * suppress control flow warnings after asm blocks that transfer
|
||||
+ * control elsewhere.
|
||||
+ *
|
||||
+ * Early snapshots of gcc 4.5 don't support this and we can't detect
|
||||
+ * this in the preprocessor, but we can live with this because they're
|
||||
+ * unreleased. Really, we need to have autoconf for the kernel.
|
||||
+ */
|
||||
+#define unreachable() __builtin_unreachable()
|
||||
+
|
||||
+/* Mark a function definition as prohibited from being cloned. */
|
||||
+#define __noclone __attribute__((__noclone__))
|
||||
+
|
||||
+/*
|
||||
+ * Tell the optimizer that something else uses this function or variable.
|
||||
+ */
|
||||
+#define __visible __attribute__((externally_visible))
|
||||
+
|
||||
+/*
|
||||
+ * GCC 'asm goto' miscompiles certain code sequences:
|
||||
+ *
|
||||
+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
|
||||
+ *
|
||||
+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
|
||||
+ * Fixed in GCC 4.8.2 and later versions.
|
||||
+ *
|
||||
+ * (asm goto is automatically volatile - the naming reflects this.)
|
||||
+ */
|
||||
+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
|
||||
+
|
||||
+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
|
||||
+#define __HAVE_BUILTIN_BSWAP32__
|
||||
+#define __HAVE_BUILTIN_BSWAP64__
|
||||
+#define __HAVE_BUILTIN_BSWAP16__
|
||||
+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
|
||||
--
|
||||
2.12.2
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
From aeea3592a13bf12861943e44fc48f1f270941f8d Mon Sep 17 00:00:00 2001
|
||||
From: Behan Webster <behanw@converseincode.com>
|
||||
Date: Wed, 24 Sep 2014 01:06:46 +0100
|
||||
Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
|
||||
|
||||
With compilers which follow the C99 standard (like modern versions of gcc and
|
||||
clang), "extern inline" does the wrong thing (emits code for an externally
|
||||
linkable version of the inline function). In this case using static inline
|
||||
and removing the NULL version of return_address in return_address.c does
|
||||
the right thing.
|
||||
|
||||
Signed-off-by: Behan Webster <behanw@converseincode.com>
|
||||
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
|
||||
Acked-by: Steven Rostedt <rostedt@goodmis.org>
|
||||
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
||||
---
|
||||
arch/arm/include/asm/ftrace.h | 2 +-
|
||||
arch/arm/kernel/return_address.c | 5 -----
|
||||
2 files changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
|
||||
index 39eb16b0066f..bfe2a2f5a644 100644
|
||||
--- a/arch/arm/include/asm/ftrace.h
|
||||
+++ b/arch/arm/include/asm/ftrace.h
|
||||
@@ -45,7 +45,7 @@ void *return_address(unsigned int);
|
||||
|
||||
#else
|
||||
|
||||
-extern inline void *return_address(unsigned int level)
|
||||
+static inline void *return_address(unsigned int level)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
|
||||
index fafedd86885d..f6aa84d5b93c 100644
|
||||
--- a/arch/arm/kernel/return_address.c
|
||||
+++ b/arch/arm/kernel/return_address.c
|
||||
@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
|
||||
#warning "TODO: return_address should use unwind tables"
|
||||
#endif
|
||||
|
||||
-void *return_address(unsigned int level)
|
||||
-{
|
||||
- return NULL;
|
||||
-}
|
||||
-
|
||||
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
|
||||
|
||||
EXPORT_SYMBOL_GPL(return_address);
|
||||
--
|
||||
2.12.2
|
||||
|
||||
560
board/udoo/neo/patches/linux/0001-udoo_neo_support.patch
Normal file
560
board/udoo/neo/patches/linux/0001-udoo_neo_support.patch
Normal file
@@ -0,0 +1,560 @@
|
||||
From 76e691fc7653b85d390e58710e5c7db73ca49367 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Färber <afaerber@suse.de>
|
||||
Date: Sun, 16 Oct 2016 16:44:23 +0200
|
||||
Subject: ARM: dts: imx6sx: Add UDOO Neo support
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Add initial device trees for UDOO Neo Basic, Extended and Full boards:
|
||||
* Serial console is enabled, other serial ports are prepared.
|
||||
* I2C based PMIC is enabled.
|
||||
* Ethernet is enabled for Basic and Full.
|
||||
* SDHC is enabled, with the SDIO_PWR GPIO modeled as a regulator.
|
||||
* Both user LEDs are enabled, with the orange one reserved for the M4
|
||||
and with the SD card as default trigger for the red LED.
|
||||
|
||||
The decision on a board compatible string is deferred to later.
|
||||
|
||||
Cc: Ettore Chimenti <ettore.chimenti@udoo.org>
|
||||
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
||||
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 5 +-
|
||||
arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts | 69 ++++++
|
||||
arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts | 54 +++++
|
||||
arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 69 ++++++
|
||||
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 293 +++++++++++++++++++++++++
|
||||
5 files changed, 489 insertions(+), 1 deletion(-)
|
||||
create mode 100644 arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx6sx-udoo-neo-full.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx6sx-udoo-neo.dtsi
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index 019976b..da0197d 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -417,7 +417,10 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
|
||||
imx6sx-sabreauto.dtb \
|
||||
imx6sx-sdb-reva.dtb \
|
||||
imx6sx-sdb-sai.dtb \
|
||||
- imx6sx-sdb.dtb
|
||||
+ imx6sx-sdb.dtb \
|
||||
+ imx6sx-udoo-neo-basic.dtb \
|
||||
+ imx6sx-udoo-neo-extended.dtb \
|
||||
+ imx6sx-udoo-neo-full.dtb
|
||||
dtb-$(CONFIG_SOC_IMX6UL) += \
|
||||
imx6ul-14x14-evk.dtb \
|
||||
imx6ul-geam-kit.dtb \
|
||||
diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts
|
||||
new file mode 100644
|
||||
index 0000000..0b88878
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts
|
||||
@@ -0,0 +1,69 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2016 Andreas Färber
|
||||
+ *
|
||||
+ * 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 library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx6sx-udoo-neo.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "UDOO Neo Basic";
|
||||
+ compatible = "fsl,imx6sx";
|
||||
+
|
||||
+ memory {
|
||||
+ reg = <0x80000000 0x20000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fec1 {
|
||||
+ phy-handle = <ðphy1>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ mdio {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethphy1: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c22";
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts
|
||||
new file mode 100644
|
||||
index 0000000..d6fdd17
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts
|
||||
@@ -0,0 +1,54 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2016 Andreas Färber
|
||||
+ *
|
||||
+ * 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 library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx6sx-udoo-neo.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "UDOO Neo Extended";
|
||||
+ compatible = "fsl,imx6sx";
|
||||
+
|
||||
+ memory {
|
||||
+ reg = <0x80000000 0x40000000>;
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts
|
||||
new file mode 100644
|
||||
index 0000000..d8c3577
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts
|
||||
@@ -0,0 +1,69 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2016 Andreas Färber
|
||||
+ *
|
||||
+ * 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 library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx6sx-udoo-neo.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "UDOO Neo Full";
|
||||
+ compatible = "fsl,imx6sx";
|
||||
+
|
||||
+ memory {
|
||||
+ reg = <0x80000000 0x40000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fec1 {
|
||||
+ phy-handle = <ðphy1>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ mdio {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethphy1: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c22";
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi
|
||||
new file mode 100644
|
||||
index 0000000..2b65d26
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi
|
||||
@@ -0,0 +1,293 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2016 Andreas Färber
|
||||
+ *
|
||||
+ * 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 library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "imx6sx.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "fsl,imx6sx";
|
||||
+
|
||||
+ chosen {
|
||||
+ stdout-path = "serial0:115200n8";
|
||||
+ };
|
||||
+
|
||||
+ leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+
|
||||
+ red {
|
||||
+ label = "udoo-neo:red:mmc";
|
||||
+ gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "off";
|
||||
+ linux,default-trigger = "mmc0";
|
||||
+ };
|
||||
+
|
||||
+ orange {
|
||||
+ label = "udoo-neo:orange:user";
|
||||
+ gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
|
||||
+ default-state = "keep";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ reg_sdio_pwr: regulator-sdio-pwr {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
|
||||
+ enable-active-high;
|
||||
+ regulator-name = "SDIO_PWR";
|
||||
+ regulator-min-microvolt = <3300000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-boot-on;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&cpu0 {
|
||||
+ arm-supply = <&sw1a_reg>;
|
||||
+ soc-supply = <&sw1c_reg>;
|
||||
+};
|
||||
+
|
||||
+&fec1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_enet1>;
|
||||
+ phy-mode = "rmii";
|
||||
+ phy-reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_i2c1>;
|
||||
+ clock-frequency = <100000>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ pmic: pmic@08 {
|
||||
+ compatible = "fsl,pfuze3000";
|
||||
+ reg = <0x08>;
|
||||
+
|
||||
+ regulators {
|
||||
+ sw1a_reg: sw1a {
|
||||
+ regulator-min-microvolt = <700000>;
|
||||
+ regulator-max-microvolt = <1475000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ regulator-ramp-delay = <6250>;
|
||||
+ };
|
||||
+
|
||||
+ sw1c_reg: sw1b {
|
||||
+ regulator-min-microvolt = <700000>;
|
||||
+ regulator-max-microvolt = <1475000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ regulator-ramp-delay = <6250>;
|
||||
+ };
|
||||
+
|
||||
+ sw2_reg: sw2 {
|
||||
+ regulator-min-microvolt = <1500000>;
|
||||
+ regulator-max-microvolt = <1850000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ sw3a_reg: sw3 {
|
||||
+ regulator-min-microvolt = <900000>;
|
||||
+ regulator-max-microvolt = <1650000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ swbst_reg: swbst {
|
||||
+ regulator-min-microvolt = <5000000>;
|
||||
+ regulator-max-microvolt = <5150000>;
|
||||
+ };
|
||||
+
|
||||
+ snvs_reg: vsnvs {
|
||||
+ regulator-min-microvolt = <1000000>;
|
||||
+ regulator-max-microvolt = <3000000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vref_reg: vrefddr {
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vgen1_reg: vldo1 {
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vgen2_reg: vldo2 {
|
||||
+ regulator-min-microvolt = <800000>;
|
||||
+ regulator-max-microvolt = <1550000>;
|
||||
+ };
|
||||
+
|
||||
+ vgen3_reg: vccsd {
|
||||
+ regulator-min-microvolt = <2850000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vgen4_reg: v33 {
|
||||
+ regulator-min-microvolt = <2850000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vgen5_reg: vldo3 {
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ vgen6_reg: vldo4 {
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl_enet1: enet1grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_ENET1_CRS__GPIO2_IO_1 0xa0b1>,
|
||||
+ <MX6SX_PAD_ENET1_MDC__ENET1_MDC 0xa0b1>,
|
||||
+ <MX6SX_PAD_ENET1_MDIO__ENET1_MDIO 0xa0b1>,
|
||||
+ <MX6SX_PAD_RGMII1_TD0__ENET1_TX_DATA_0 0xa0b1>,
|
||||
+ <MX6SX_PAD_RGMII1_TD1__ENET1_TX_DATA_1 0xa0b1>,
|
||||
+ <MX6SX_PAD_RGMII1_TX_CTL__ENET1_TX_EN 0xa0b1>,
|
||||
+
|
||||
+ <MX6SX_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x3081>,
|
||||
+ <MX6SX_PAD_ENET2_TX_CLK__GPIO2_IO_9 0x3081>,
|
||||
+ <MX6SX_PAD_RGMII1_RD0__ENET1_RX_DATA_0 0x3081>,
|
||||
+ <MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1 0x3081>,
|
||||
+ <MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081>,
|
||||
+ <MX6SX_PAD_RGMII1_RXC__ENET1_RX_ER 0x3081>,
|
||||
+
|
||||
+ <MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M 0x91>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_i2c1: i2c1grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_GPIO1_IO00__I2C1_SCL 0x4001b8b1>,
|
||||
+ <MX6SX_PAD_GPIO1_IO01__I2C1_SDA 0x4001b8b1>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_uart1: uart1grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_GPIO1_IO04__UART1_TX 0x1b0b1>,
|
||||
+ <MX6SX_PAD_GPIO1_IO05__UART1_RX 0x1b0b1>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_uart2: uart2grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_GPIO1_IO06__UART2_TX 0x1b0b1>,
|
||||
+ <MX6SX_PAD_GPIO1_IO07__UART2_RX 0x1b0b1>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_uart5: uart5grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_SD4_DATA4__UART5_RX 0x1b0b1>,
|
||||
+ <MX6SX_PAD_SD4_DATA5__UART5_TX 0x1b0b1>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_uart6: uart6grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_CSI_DATA00__UART6_RI_B 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA01__UART6_DSR_B 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA02__UART6_DTR_B 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA03__UART6_DCD_B 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA04__UART6_RX 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA05__UART6_TX 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA06__UART6_RTS_B 0x1b0b1>,
|
||||
+ <MX6SX_PAD_CSI_DATA07__UART6_CTS_B 0x1b0b1>;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_usdhc2: usdhc2grp {
|
||||
+ fsl,pins =
|
||||
+ <MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059>,
|
||||
+ <MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x10059>,
|
||||
+ <MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x17059>,
|
||||
+ <MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x17059>,
|
||||
+ <MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x17059>,
|
||||
+ <MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059>,
|
||||
+ <MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x17059>; /* CD */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart1>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+/* Cortex-M4 serial */
|
||||
+&uart2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart2>;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+/* Arduino serial */
|
||||
+&uart5 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart5>;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&uart6 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart6>;
|
||||
+ uart-has-rtscts;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&usdhc2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_usdhc2>;
|
||||
+ vmmc-supply = <®_sdio_pwr>;
|
||||
+ bus-width = <4>;
|
||||
+ cd-gpios = <&gpio6 2 GPIO_ACTIVE_LOW>;
|
||||
+ no-1-8-v;
|
||||
+ keep-power-in-suspend;
|
||||
+ wakeup-source;
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
cgit v0.12
|
||||
38
board/via/imx6_vab820/genimage.cfg
Normal file
38
board/via/imx6_vab820/genimage.cfg
Normal file
@@ -0,0 +1,38 @@
|
||||
# Minimal SD card image for the VIA VAB-820 / AMOS-820
|
||||
#
|
||||
# The SD card must have at least 1 MB free at the beginning.
|
||||
# U-Boot is added before the filesystem partitions as is.
|
||||
# A FAT boot partition and an Ext4 root filesystem partition are required.
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx6q-vab820.dtb",
|
||||
"uImage"
|
||||
}
|
||||
}
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.imx"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
17
board/via/imx6_vab820/post-image.sh
Executable file
17
board/via/imx6_vab820/post-image.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/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}"
|
||||
|
||||
RET=${?}
|
||||
exit ${RET}
|
||||
120
board/via/imx6_vab820/readme.txt
Normal file
120
board/via/imx6_vab820/readme.txt
Normal file
@@ -0,0 +1,120 @@
|
||||
VIA VAB-820/AMOS-820
|
||||
====================
|
||||
|
||||
This file documents the Buildroot support for the VIA VAB-820 board and
|
||||
VIA AMOS-820 system, which are built around a Freescale i.MX6 Quad/Dual SoC.
|
||||
The kernel and u-boot is based on the official VIA BSP, which is in turn
|
||||
based on the Freescale Linux 3.10.17_1.0.0_ga BSP.
|
||||
|
||||
|
||||
Configuring and building Buildroot
|
||||
----------------------------------
|
||||
|
||||
Start from the defconfig:
|
||||
|
||||
$ make via_imx6_vab820_defconfig
|
||||
|
||||
You can edit build options the usual way:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
When you are happy with the setup, run:
|
||||
|
||||
$ make
|
||||
|
||||
The result of the build with the default settings should be these files:
|
||||
|
||||
output/images
|
||||
├── boot.vfat
|
||||
├── imx6q-vab820.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.imx
|
||||
└── uImage
|
||||
|
||||
Copy the bootable `sdcard.img` onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M conv=fsync
|
||||
|
||||
where "sdX" is the appropriate partition of your card.
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
`board/via/imx6_vab820/genimage.cfg`.
|
||||
|
||||
|
||||
Setting up your SD card manually
|
||||
--------------------------------
|
||||
|
||||
*Important*: pay attention which partition you are modifying so you don't
|
||||
accidentally erase the wrong file system, e.g your host computer or your
|
||||
external storage!
|
||||
|
||||
In the default setup you need to create 2 partitions on your SD card:
|
||||
a boot partition and a root partition. In this guide and in the default u-boot
|
||||
settings the boot partition is vfat, while the root partition is ext4.
|
||||
|
||||
You also need to leave space for u-boot at the beginning of the card, before
|
||||
all the partitions.
|
||||
|
||||
For example, if your SD card is at /dev/sdX, using fdisk, and starting from
|
||||
an empty card, the steps are along these lines:
|
||||
|
||||
# fdisk /dev/sdX
|
||||
n (new partition)
|
||||
p (primary partition)
|
||||
1 (first partition)
|
||||
<return> (default first sector, should be at least 1MB from the beginning
|
||||
which is 2048 sectors if the sector size is 512KB)
|
||||
+50M (50MB size, as an example)
|
||||
t (switch partition type)
|
||||
b (select "W95 FAT32" type)
|
||||
n (the second partition)
|
||||
p (primary partition)
|
||||
2 (second partition)
|
||||
<return> (default first sector)
|
||||
<return> (use all remaining space)
|
||||
p (print so the partition looks something like this below)
|
||||
Device Boot Start End Sectors Size Id Type
|
||||
/dev/sdX1 2048 104447 102400 50M b W95 FAT32
|
||||
/dev/sdX2 104448 15564799 15460352 7.4G 83 Linux
|
||||
w (save changes)
|
||||
|
||||
After this you need to format the newly created file system:
|
||||
|
||||
# mkfs.vfat -L boot /dev/sdX1
|
||||
# mkfs.ext4 -L rootfs /dev/sdX2
|
||||
|
||||
Now the system can be copied onto the card. First copy the u-boot onto
|
||||
the region of the card before the first partition (starting from the
|
||||
root directory of buildroot):
|
||||
|
||||
# dd if=output/images/u-boot.imx of=/dev/sdX bs=512 seek=2
|
||||
|
||||
Mount the first partition /dev/sdX1, and copy the kernel and the
|
||||
compiled device tree:
|
||||
|
||||
# cp output/images/uImage /mnt/<BOOT-PARTITION>
|
||||
# cp output/images/imx6q-vab820.dtb /mnt/<BOOT-PARTITION>
|
||||
|
||||
Finally, copy the root file system onto the mounted (empty) /dev/sdX2
|
||||
rootfs partition:
|
||||
|
||||
# tar xf output/images/rootfs.tar -C /mnt/<ROOTFS-PARTITION>
|
||||
|
||||
|
||||
Booting
|
||||
-------
|
||||
|
||||
To use the on-card u-boot, you need adjust jumper J11 located just next to
|
||||
the SD card slot on the VAB-820 board. The correct position for SD card
|
||||
boot is jumping the two pins towards the inside of the board.
|
||||
|
||||
To modify the default boot parameters compiled into u-boot, you can create
|
||||
a boot script with the file name `boot.scr` and place it onto the boot
|
||||
partition (same directory as `uImage`).
|
||||
|
||||
If you want to have the login prompt on the serial debug line instead of
|
||||
the console, adjust the buildroot settings as:
|
||||
"System Configuration > getty options > TTY port > ttymxc1"
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION))
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3c
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.md
|
||||
|
||||
ARM_TRUSTED_FIRMWARE_DEPENDENCIES += uboot
|
||||
|
||||
@@ -12,7 +12,7 @@ choice
|
||||
Select the specific Barebox version you want to use
|
||||
|
||||
config BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
bool "2017.02.0"
|
||||
bool "2017.01.0"
|
||||
|
||||
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -40,7 +40,7 @@ endif
|
||||
|
||||
config BR2_TARGET_BAREBOX_VERSION
|
||||
string
|
||||
default "2017.02.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default "2017.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# http://www.barebox.org/download/barebox-2017.02.0.tar.bz2.md5
|
||||
md5 4651f5fa5e794a9739dd71eece0fe702 barebox-2017.02.0.tar.bz2
|
||||
# http://www.barebox.org/download/barebox-2017.01.0.tar.bz2.md5
|
||||
md5 d2933437885497b09d69d6e6f4beeffc barebox-2017.01.0.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 d65d864fe598d61ed9c6712e32d50742e6996aae02acaae5955c3b22166344cb barebox-2017.02.0.tar.bz2
|
||||
sha256 ca4cc06bdc7183e3fcb4bed300f1e820df1e022a7b86fdcf64205ddb6a103567 barebox-2017.01.0.tar.bz2
|
||||
|
||||
@@ -36,7 +36,7 @@ endif
|
||||
endif
|
||||
|
||||
$(1)_DEPENDENCIES = host-lzop
|
||||
$(1)_LICENSE = GPL-2.0 with exceptions
|
||||
$(1)_LICENSE = GPLv2 with exceptions
|
||||
$(1)_LICENSE_FILES = COPYING
|
||||
|
||||
$(1)_CUSTOM_EMBEDDED_ENV_PATH = $$(call qstrip,$$(BR2_TARGET_$(1)_CUSTOM_EMBEDDED_ENV_PATH))
|
||||
|
||||
@@ -9,7 +9,7 @@ GRUB_SOURCE = grub_$(GRUB_VERSION).orig.tar.gz
|
||||
GRUB_PATCH = grub_$(GRUB_VERSION)-68.diff.gz
|
||||
GRUB_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/g/grub
|
||||
|
||||
GRUB_LICENSE = GPL-2.0+
|
||||
GRUB_LICENSE = GPLv2+
|
||||
GRUB_LICENSE_FILES = COPYING
|
||||
|
||||
# Passing -O0 since the default -O2 passed by Buildroot generates
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
GRUB2_VERSION = 2.00
|
||||
GRUB2_SITE = $(BR2_GNU_MIRROR)/grub
|
||||
GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz
|
||||
GRUB2_LICENSE = GPL-3.0+
|
||||
GRUB2_LICENSE = GPLv3+
|
||||
GRUB2_LICENSE_FILES = COPYING
|
||||
GRUB2_DEPENDENCIES = host-bison host-flex
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
GUMMIBOOT_SITE = http://cgit.freedesktop.org/gummiboot
|
||||
GUMMIBOOT_SITE_METHOD = git
|
||||
GUMMIBOOT_VERSION = 43
|
||||
GUMMIBOOT_LICENSE = LGPL-2.1+
|
||||
GUMMIBOOT_LICENSE = LGPLv2.1+
|
||||
GUMMIBOOT_LICENSE_FILES = LICENSE
|
||||
|
||||
# The git archive does not have the autoconf/automake stuff generated.
|
||||
|
||||
@@ -35,7 +35,7 @@ MXS_BOOTLETS_ELFTOSB_OPTIONS += -f imx28
|
||||
endif
|
||||
|
||||
MXS_BOOTLETS_DEPENDENCIES = host-elftosb
|
||||
MXS_BOOTLETS_LICENSE = GPL-2.0+
|
||||
MXS_BOOTLETS_LICENSE = GPLv2+
|
||||
|
||||
ifeq ($(BR2_TARGET_MXS_BOOTLETS_BAREBOX),y)
|
||||
MXS_BOOTLETS_DEPENDENCIES += barebox
|
||||
|
||||
@@ -8,7 +8,7 @@ SYSLINUX_VERSION = 6.03
|
||||
SYSLINUX_SOURCE = syslinux-$(SYSLINUX_VERSION).tar.xz
|
||||
SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux
|
||||
|
||||
SYSLINUX_LICENSE = GPL-2.0+
|
||||
SYSLINUX_LICENSE = GPLv2+
|
||||
SYSLINUX_LICENSE_FILES = COPYING
|
||||
|
||||
SYSLINUX_INSTALL_IMAGES = YES
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
TS4800_MBRBOOT_VERSION = cf8f7072ed5a4a4e48fcb9841b2e31e519ec5dca
|
||||
TS4800_MBRBOOT_SITE = $(call github,embeddedarm,ts4800-mbrboot,$(TS4800_MBRBOOT_VERSION))
|
||||
TS4800_MBRBOOT_LICENSE = BSD-2-Clause
|
||||
TS4800_MBRBOOT_LICENSE = BSD-2c
|
||||
TS4800_MBRBOOT_LICENSE_FILES = LICENSE
|
||||
TS4800_MBRBOOT_INSTALL_IMAGES = YES
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ choice
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
bool "2017.03"
|
||||
bool "2017.01"
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -86,7 +86,7 @@ endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2017.03" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default "2017.01" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
|
||||
if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
@@ -159,9 +159,6 @@ config BR2_TARGET_UBOOT_FORMAT_BIN
|
||||
bool "u-boot.bin"
|
||||
default y
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
|
||||
bool "u-boot-dtb.bin"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_DTB_IMG
|
||||
bool "u-boot-dtb.img"
|
||||
|
||||
@@ -327,8 +324,8 @@ config BR2_TARGET_UBOOT_SPL_NAME
|
||||
depends on BR2_TARGET_UBOOT_SPL
|
||||
help
|
||||
A space-separated list of SPL binaries, generated during
|
||||
u-boot build. For most platform it is spl/u-boot-spl.bin but
|
||||
not always. It is MLO on OMAP and SPL on i.MX6 for example.
|
||||
u-boot build. For most platform it is spl/u-boot-spl.bin
|
||||
but not always. It is MLO on OMAP for example.
|
||||
|
||||
config BR2_TARGET_UBOOT_ZYNQ_IMAGE
|
||||
bool "Generate image for Xilinx Zynq"
|
||||
@@ -343,29 +340,13 @@ config BR2_TARGET_UBOOT_ZYNQ_IMAGE
|
||||
to be set.
|
||||
|
||||
config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC
|
||||
bool "CRC image for Altera SoC FPGA (mkpimage)"
|
||||
bool "CRC SPL image for Altera SoC FPGA"
|
||||
depends on BR2_arm
|
||||
depends on BR2_TARGET_UBOOT_SPL || BR2_TARGET_UBOOT_FORMAT_DTB_BIN
|
||||
depends on BR2_TARGET_UBOOT_SPL
|
||||
help
|
||||
Pass the U-Boot image through the mkpimage tool to enable
|
||||
Generate SPL image fixed by the mkpimage tool to enable
|
||||
booting on the Altera SoC FPGA based platforms.
|
||||
|
||||
On some platforms, it's the SPL that needs to be passed
|
||||
through mkpimage. On some other platforms there is no SPL
|
||||
because the internal SRAM is big enough to store the full
|
||||
U-Boot. In this case, it's directly the full U-Boot image
|
||||
that is passed through mkpimage.
|
||||
|
||||
If BR2_TARGET_UBOOT_SPL is enabled then
|
||||
BR2_TARGET_UBOOT_SPL_NAME is converted by mkpimage using
|
||||
header version 0.
|
||||
|
||||
Otherwise the full u-boot-dtb.bin is converted using
|
||||
mkpimage header version 1.
|
||||
|
||||
In either case the resulting file will be given a .crc
|
||||
extension.
|
||||
|
||||
menuconfig BR2_TARGET_UBOOT_ENVIMAGE
|
||||
bool "Environment image"
|
||||
help
|
||||
@@ -407,18 +388,4 @@ config BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT
|
||||
|
||||
endif # BR2_TARGET_UBOOT_ENVIMAGE
|
||||
|
||||
if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_DTS_PATH
|
||||
string "Device Tree Source file paths"
|
||||
help
|
||||
Space-separated list of paths to device tree source files
|
||||
that will be copied to arch/ARCH/dts/ before starting the
|
||||
build.
|
||||
|
||||
To use this device tree source file, the U-Boot configuration
|
||||
file must refer to it.
|
||||
|
||||
endif
|
||||
|
||||
endif # BR2_TARGET_UBOOT
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 f54baf3f9325bf444c7905f3a5b6f83680edb1e6e1a4d5f8a5ad80abe885113f u-boot-2017.03.tar.bz2
|
||||
sha256 6c425175f93a4bcf2ec9faf5658ef279633dbd7856a293d95bd1ff516528ecf2 u-boot-2017.01.tar.bz2
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION))
|
||||
UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
|
||||
|
||||
UBOOT_LICENSE = GPL-2.0+
|
||||
UBOOT_LICENSE = GPLv2+
|
||||
UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt
|
||||
|
||||
UBOOT_INSTALL_IMAGES = YES
|
||||
@@ -74,11 +74,6 @@ UBOOT_BINS += u-boot-dtb.img
|
||||
UBOOT_MAKE_TARGET += u-boot-dtb.img
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_BIN),y)
|
||||
UBOOT_BINS += u-boot-dtb.bin
|
||||
UBOOT_MAKE_TARGET += u-boot-dtb.bin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
|
||||
UBOOT_BINS += u-boot.img
|
||||
UBOOT_MAKE_TARGET += u-boot.img
|
||||
@@ -194,12 +189,7 @@ define UBOOT_HELP_CMDS
|
||||
endef
|
||||
endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
|
||||
|
||||
UBOOT_CUSTOM_DTS_PATH = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
|
||||
|
||||
define UBOOT_BUILD_CMDS
|
||||
$(if $(UBOOT_CUSTOM_DTS_PATH),
|
||||
cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
|
||||
)
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
|
||||
$(UBOOT_MAKE_TARGET)
|
||||
@@ -267,17 +257,9 @@ UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_GENERATE_ZYNQ_IMAGE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC),y)
|
||||
ifeq ($(BR2_TARGET_UBOOT_SPL),y)
|
||||
UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME))
|
||||
UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 0
|
||||
else
|
||||
UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = u-boot-dtb.bin
|
||||
UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 1
|
||||
endif
|
||||
define UBOOT_CRC_ALTERA_SOCFPGA_IMAGE
|
||||
$(foreach f,$(UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES), \
|
||||
$(foreach f,$(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME)), \
|
||||
$(HOST_DIR)/usr/bin/mkpimage \
|
||||
-v $(UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION) \
|
||||
-o $(BINARIES_DIR)/$(notdir $(call qstrip,$(f))).crc \
|
||||
$(@D)/$(call qstrip,$(f))
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@ XLOADER_VERSION = 6f3a26101303051e0f91b6213735b68ce804e94e
|
||||
XLOADER_SITE = git://gitorious.org/x-loader/x-loader.git
|
||||
XLOADER_BOARD_NAME = $(call qstrip,$(BR2_TARGET_XLOADER_BOARDNAME))
|
||||
|
||||
XLOADER_LICENSE = GPL-2.0+
|
||||
XLOADER_LICENSE = GPLv2+
|
||||
XLOADER_LICENSE_FILES = README
|
||||
|
||||
XLOADER_INSTALL_IMAGES = YES
|
||||
|
||||
33
configs/altera_socdk_defconfig
Normal file
33
configs/altera_socdk_defconfig
Normal file
@@ -0,0 +1,33 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
BR2_ARM_ENABLE_NEON=y
|
||||
BR2_ARM_FPU_NEON=y
|
||||
BR2_ARM_INSTRUCTIONS_THUMB2=y
|
||||
|
||||
# Linux headers same as kernel, a 3.13 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
|
||||
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/altera/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)"
|
||||
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.rocketboards.org/linux-socfpga.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-3.13_14.02.02"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_socdk"
|
||||
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_3=y
|
||||
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="socfpga_cyclone5"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.rocketboards.org/u-boot-socfpga.git"
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_socfpga_v2013.01.01_14.02.02"
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin"
|
||||
37
configs/altera_sockit_defconfig
Normal file
37
configs/altera_sockit_defconfig
Normal file
@@ -0,0 +1,37 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
BR2_ARM_ENABLE_NEON=y
|
||||
BR2_ARM_FPU_NEON=y
|
||||
BR2_ARM_INSTRUCTIONS_THUMB2=y
|
||||
|
||||
# Linux headers same as kernel, a 3.13 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
|
||||
|
||||
BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600=y
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/altera/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)"
|
||||
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.rocketboards.org/linux-socfpga.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-3.13_14.02.02"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_sockit"
|
||||
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_3=y
|
||||
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="socfpga_cyclone5"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.rocketboards.org/u-boot-socfpga.git"
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_acds13.0sp1"
|
||||
BR2_TARGET_UBOOT_PATCH="board/altera/sockit"
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin"
|
||||
@@ -6,6 +6,7 @@ BR2_arm920t=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_ENABLE_LOCALE_PURGE=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user