mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-11 14:10:13 +03:00
Compare commits
3 Commits
2016.08-rc
...
2015.08.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e009e7d861 | ||
|
|
ccda2ae98d | ||
|
|
16768877e3 |
@@ -19,6 +19,7 @@ BR2_i386=y
|
||||
# BR2_sparc is not set
|
||||
# BR2_sparc64 is not set
|
||||
# BR2_x86_64 is not set
|
||||
# BR2_x86_i386 is not set
|
||||
# BR2_x86_i486 is not set
|
||||
# BR2_x86_i586 is not set
|
||||
BR2_x86_i686=y
|
||||
|
||||
775
CHANGES
775
CHANGES
@@ -1,777 +1,8 @@
|
||||
2016.08-rc1, Released August 6th, 2016
|
||||
2015.08.1, Released September 6th, 2015
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
Fix kernel module infrastructure modules support check
|
||||
|
||||
Toolchain: Fortran support added. eglibc support removed, musl
|
||||
support no longer experimental. Blackfin and Microblaze
|
||||
support for internal uClibc-ng toolchain, m68k/coldfire
|
||||
improvements. The check for unsafe (build host) directories
|
||||
access (/usr/include and /usr/lib) is now enabled by default.
|
||||
Unused locales are now purged by default to save space (and
|
||||
the default list of locales shrunk). The option to control
|
||||
this has now moved from the toolchain menu to system
|
||||
configuration.
|
||||
|
||||
Legal info improvements: sources are now hardlinked instead of
|
||||
copied if possible to save space. Patches and extra downloads
|
||||
are also saved.
|
||||
|
||||
An experimental configuration knob (BR2_REPRODUCIBLE) has been
|
||||
added to make the builds more reproducible (E.G. less
|
||||
differences in the binary output between builds of the same
|
||||
configuration). This is still work in progress.
|
||||
|
||||
An option to execute a custom script inside the fakeroot
|
||||
environment used to the generate the filesystem (E.G. to tweak
|
||||
permissions or similar) has been added.
|
||||
|
||||
Git support now supports git submodules if
|
||||
<pkg>_GIT_SUBMODULES is enabled.
|
||||
|
||||
Hash files for integritry validation have been added for all
|
||||
packages.
|
||||
|
||||
Scanpypi utility to help creating packages from the Python
|
||||
package index (pypi) has been added.
|
||||
|
||||
The makedevs utility now has support for adding file
|
||||
capabilities using extended attributes.
|
||||
|
||||
New defconfigs: Arcturus uCP1020, Atmel sama5d{2,3,4} xplained
|
||||
development configs, Blackfin GDB simulator, Linksprite
|
||||
pcDuino, Minnow Board Max graphical demo, NXP i.MX25 PDK,
|
||||
i.MX51 EVK, i.MX6UL Pico, i.MX7 sabresd, QEMU MIPS32r6{,el} and
|
||||
MIPS64r6{,el} malta, Roseapple Pi, Samsung Snow chromebook,
|
||||
Toradex Apalis i.MX6 COM, TS-4800, x86-64 PC BIOS and EFI
|
||||
demos. A number of defconfigs have been updated and extended
|
||||
to generate SD card images. Synopsys HS38 VDK defconfig removed.
|
||||
|
||||
New packages: 4th, acpica, acpitool, alljoyn, alljoyn-base,
|
||||
alljoyn-tcl, alljoyn-tcl-base, argparse, babeld, batman-adv,
|
||||
circus, dante, docker-containerd, docker-engine, domoticz,
|
||||
efibootmgr, efivar, ficl, fwup, gsettings-desktop-schemas,
|
||||
gtksourceview, gupnp-dlna, gupnp-tools, igd2-for-linux,
|
||||
jemalloc, kmsxx, lapack, lft, libaacs, libamcodec, libbdplus,
|
||||
libcoap, libdvdcss, libebur128, libfastjson, libminiupnpc,
|
||||
libnatpmp, libpqxx, libuio, libvdpau, log4cpp, minissdpd,
|
||||
mxsldr, nginx-nasxi, nginx-upload, ninja, nodm, odroid-mali,
|
||||
odroid-scripts, omxplayer, openblas, openmpi, openzwave,
|
||||
p7zip, pdbg, python-argh, python-dataproperty,
|
||||
python-dateutil, python-dialog3, python-dicttoxml,
|
||||
python-dominate, python-engineio, python-flask-jsonrpc,
|
||||
python-flask-login, python-humanize, python-pathtools,
|
||||
python-pathvalidate, python-pillow, python-prompt-toolkit,
|
||||
python-pytablewriter, python-pytz, python-scapy3k,
|
||||
python-sdnotify, python-socketio, python-tomako,
|
||||
python-ubjson, python-u-msgpack, python-watchdog,
|
||||
python-wcwidth, python-xlrd, python-xlsxwriter,
|
||||
python-xlutils, python-xlwt, rs485conf, runc, sdl2_gfx,
|
||||
sdl2_image, sdl2_ttf, shellinabox, sphinxbase, stella,
|
||||
supertuxkart, systemd-bootchart, tekui, terminology, tinycbor,
|
||||
tinydtls, ti-sgx-demos, ti-sgx-km, ti-sgx-um, tunctl, wavemon,
|
||||
wiringpi, xen
|
||||
|
||||
Deprecated packages: ipkg, sstrip
|
||||
|
||||
Removed packages: sunxi-mali-prop
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#8931: segment fault when compile argp-help.c using aarch64-bu...
|
||||
#8966: eglfs error. buildroot don't compile the library libeglfs.so
|
||||
#8971: build for beaglebone fails
|
||||
#8986: qt5imageformats fails to build on AArch64
|
||||
#8991: grub2 fails to compile
|
||||
#9001: Nodejs option not available
|
||||
#9006: gcc with c++ support v4 and v5 fail to compile on fedora 24
|
||||
#9016: arceb-buildroot-linux-uclibc ld uses incorrect default format
|
||||
#9066: 8139TOO - faulty behaviour
|
||||
#9086: Syntax Error (missing ")" in boot/uboot/uboot.mk on line 203)
|
||||
#9091: U-Boot fails to boot with large ramdisk
|
||||
|
||||
2016.05, Released May 31st, 2016
|
||||
|
||||
Minor fixes.
|
||||
|
||||
External toolchain: Fix for symlink handling when copying
|
||||
links to target.
|
||||
|
||||
Updated/fixed packages: gcc, grantlee, gst-ffmpeg,
|
||||
ipsec-tools, iptraf-ng, libcurl, libdrm, libsigsegv, ltris,
|
||||
lttng-babeltrace, mbedtls, mesa3d, moarvm, mplayer, mtools,
|
||||
net-tools, openpowerlink, pulseview, rpm, tinyalsa,
|
||||
xdriver_xf86-video-fbturbo, xserver_xorg-server
|
||||
|
||||
2016.05-rc3, Released May 26th, 2016
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Tweaks for SSP handling for external toolchains.
|
||||
|
||||
Updated/fixed packages: aircrack-ng, bluez5_utils, connman,
|
||||
cups, erlang-p1-stringprep, expat, ffmpeg, flann, flannel, go,
|
||||
gst1-libav, hidapi, hplip, iptraf-ng, jamvm, kodi,
|
||||
kodi-screensaver-matrixtrails, libcurl, libepoxy, libgpgme,
|
||||
libsemanage, libxslt, liquid-dsp, ltris, lxc, mesa3d, midori,
|
||||
mpg123, mtr, openpgm, openpowerlink, oprofile, php,
|
||||
postgresql, putty, python-service-identity, python-treq,
|
||||
qlibc, qt5serialbus, ruby, stress-ng, strongswan, time, tinc,
|
||||
ustr, valgrind, webkitgtk, libxml2, xorriso,
|
||||
xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#8936: Aircrack-ng - Alot of missing dependencies
|
||||
|
||||
2016.05-rc2, Released May 17th, 2016
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Rootfs overlay handling now refuses to overwrite
|
||||
/{usr,bin,sbin,lib} symlinks from BR2_ROOTFS_MERGED_USR option
|
||||
even if these directories are present in the overlay.
|
||||
|
||||
External toolchain: Unbreak user provided libraries deployment
|
||||
(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS) handling after refactoring.
|
||||
|
||||
QEMU coldfire: Fix for signal handling kernel issue, enable
|
||||
networking support.
|
||||
|
||||
Updated/fixed packages: android-tools, assimp, boost, gcc,
|
||||
glibc, glmark2, gmrender-resurrect, go, go-bootstrap, iputils,
|
||||
jack2, kodi-screensaver-asterwave, kodi-screensaver-rsxs,
|
||||
kodi-visualisation-shadertoy, libarchive, libinput, libpjsip,
|
||||
mali-t76x, mtr, nginx, opencv, openvpn, python-coherence,
|
||||
qt5multimeda, quagga, samba4, sg3-utils, stress-ng, turbolua
|
||||
|
||||
2016.05-rc1, Released May 10th, 2016
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Architectures: new ARM variants: Cortex A17 and M4, improved
|
||||
nonmmu (cortex-M) support, m68k has been re-enabled with
|
||||
support for ColdFire. For x86, support for the i386 variant
|
||||
has been dropped.
|
||||
|
||||
Toolchain: Add GCC 6 support, remove GCC 4.5, mark GCC 4.7 as
|
||||
deprecated. Go programming language support, Add Binutils 2.26
|
||||
support. Old Sourcery PowerPC external toolchains removed,
|
||||
Sourcery MIPS 2016.06-8, AMD64 2015.11-139, NiosII 2015.11-130
|
||||
added, Linaro ARM/ARMeb/Aarch64 toolchains updated.
|
||||
|
||||
New defconfigs: Firefly RK3288, Boundary Devices i.MX7 Nitrogen7,
|
||||
STM32F429 and STM32F469 Discovery boards, Hardkernel ODROID-C2,
|
||||
Raspberry Pi Zero and Raspberry Pi 3. Some Qemu defconfigs were
|
||||
added for m68k, eXtensa-nommu and ColdFire.
|
||||
|
||||
Linux: use zImage by default on ARM, subversion repository
|
||||
support (for u-boot as well).
|
||||
|
||||
New packages: aer-inject, android-tools, cannelloni,
|
||||
cbootimage, cgroupfs-mount, connman-gtk, crudini, dt,
|
||||
gmrender-resurrect, flannel, font-awesome, freeswitch, go,
|
||||
go-bootstrap, gr-osmosdr, granite, i7z, imx-uuc,
|
||||
kodi-adsp-basic, kodi-adsp-freesurround,
|
||||
kodi-audiodecoder-opus, kodi-pvr-hdhomerun,
|
||||
kodi-screensaver-asterwave, kodi-screensaver-cpblobs,
|
||||
kodi-screensaver-matrixtrails, kodi-screensaver-planestate,
|
||||
kodi-screensaver-rsxs, kodi-visualisation-fishbmc,
|
||||
kodi-visualisation-fountain, kodi-visualisation-goom, libgee,
|
||||
libimxvpuapi, libpjsip, libtomcrypt, libtommath, libusbgx,
|
||||
lksctp-tools, mali-t76x, mkpimage, mpv, msr-tools, nload,
|
||||
norm, nvme, owfs, pound, privoxy, procrank_linux, putty,
|
||||
python-autobahn, python-characteristic, python-crossbar,
|
||||
python-cryptography, python-iniparse, python-iowait,
|
||||
python-lmdb, python-pexpect, python-ptyprocess,
|
||||
python-pyasn-modules, python-pygments, python-pymysql,
|
||||
python-pynacl, python-pyopenssl, python-pysocks,
|
||||
python-pytrie, python-rpi-gpio, python-service-identity,
|
||||
python-setproctitle, python-shutilwhich, python-treq,
|
||||
python-txaio, python-ujson, python-wsaccel, qt5canvas3d,
|
||||
qt5location, qt5quickcontrols2, qt5serialbus, qt5tools,
|
||||
raptor, scrub, taskd, tegrarcm, turbolua, valijson,
|
||||
wayland-protocols, webkitgtk, wilc1000-firmware, wpan-tools,
|
||||
xdriver_xf86-video-amdgpu
|
||||
|
||||
Removed packages: foomatic-filters, python-m2crypto,
|
||||
qt5quick1, qt5webkit-examples, samba, xdriver_xf86-input-void
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#6830: Qt5: no fonts are installed
|
||||
#7562: musl buildroot-toolchain and BR2_MIPS_SOFT_FLOAT break
|
||||
#7580: Invalid filesystem in Pandaboard defconfig
|
||||
#8346: wf111 package removes all kernel module dependencies
|
||||
#8436: xserver_xorg-server Segmentation fault
|
||||
#8736: IPV6 forced on in busybox
|
||||
#8746: At startup system stops with 'cannot set terminal proces..
|
||||
#8751: make fail [fio does not build on sh]
|
||||
#8766: Compiling host-gcc-final-4.9.3 broken on i386
|
||||
#8771: make savedefconfig modifies sources
|
||||
#8781: Unable to build uboot for imx28evk
|
||||
#8786: gdb fails to build with xz and expat support at the same
|
||||
#8801: Compilation of Buildroot 2016.2 for Raspberry Pi with...
|
||||
#8806: Buildroot 2016.2 for Raspberry Pi requires that ext4...
|
||||
#8836: Can't select Vim in menuconfig
|
||||
#8851: Make sure fio can compile with libaio support if it...
|
||||
#8861: With buildroot 2016.02 trying to build for corei7-avx
|
||||
fails while trying to build host-binutils
|
||||
#8866: Making an USB flash bootable with extlinux build with
|
||||
buildroot does not work
|
||||
|
||||
2016.02, Released March 1st, 2016
|
||||
|
||||
Minor fixes, mostly security related.
|
||||
|
||||
Circular dependency issue with same-as-kernel linux-headers
|
||||
option fixed.
|
||||
|
||||
Updated/fixed packages: bluez5_utils, heirloom-mailx,
|
||||
imx-gpu-viv, kodi-pvr-argustv, kodi-pvr-mediaportal-tvserver,
|
||||
kodi-pvr-nextpvr, libfcgi, openssl, pifmrds, powerpc-utils,
|
||||
python-m2crypto, slang, sox, squid, tn5250, xerces, zsh
|
||||
|
||||
2016.02-rc3, Released February 27th, 2016
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Defconfigs: Ensure EABIhf is correctly enabled for ARM cores
|
||||
where VFP is optional (but present on the specific hw). Fix
|
||||
ARM variant selection for freescale_imx31_3stack_defconfig.
|
||||
|
||||
Ensure tarballs of downloaded git trees do not contain a
|
||||
timestamp.
|
||||
|
||||
Clarify license of patches in COPYING.
|
||||
|
||||
Updated/fixed package: avahi, binutils, cairo, can-festival,
|
||||
chrony, cifs-utils, dnsmasq, dvdauthor, e2fsprogs, efl,
|
||||
erlang-rebar, eudev, fbterm, gawk, gnupg2, gnuradio, gpm,
|
||||
gst1-plugins-good, hostapd, imagemagick, iproute2, iputils,
|
||||
jack2, kexec, kismet, lftp, libarchive, libeXosip2, libfm,
|
||||
libglib2, libsoil, libssh, libssh2, libuci, links, lshw, lxc,
|
||||
mediastreamer, mono, mraa, mutt, nfs-utils, numactl, ofono,
|
||||
omniorb, openipmi, openobex, patch, pax-utils, perf,
|
||||
pulseaudio, pure-ftp, qhull, qt, quagga, quota, sdl_sound,
|
||||
shairport-sync, spice, sysklogd, syslog-ng, trace-cmd,
|
||||
trousers, tvheadend, util-linux, vim, webkitgtk24, wireshark,
|
||||
wpa_supplicant, xerces, zsh
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#8651: libMonoPosixHelper.so wrong link reference in buildroot..
|
||||
|
||||
2016.02-rc2, Released February 18th, 2016
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: PR19405 backport to binutils 2.25.1 to fix NIOS ld
|
||||
crash, backport of Xtensa .init/.fini literals handling.
|
||||
glibc security patches for CVE-2014-8121, CVE-2015-1781
|
||||
and CVE-2015-7547.
|
||||
|
||||
Defconfigs for Acmesystems Arietta g25 added.
|
||||
|
||||
Updated/fixed packages: binutils, boost, chrony, dovecot,
|
||||
e2fsprogs, fio, gdb, glibc, graphite2, icu, kbd, libbsd,
|
||||
libcue, libgcrypt, libraw, links, mc, mosquitto, nodejs,
|
||||
postgresql, pptp-linux, pulseaudio, samba4, spice, squid,
|
||||
sysklogd, systemd, tiff, uclibc, ulogd, util-linux, valgrind.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#8576: Building embedded Linux for Atmel SAMA5D4_Xplained...
|
||||
#8606: Problem compiling on Arch Linux
|
||||
#8681: kbd 2.0.3 does not build on rpi
|
||||
|
||||
2016.02-rc1, Released February 10th, 2016
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Toolchain: Support for GCC 5.3.x. ARC toolchain updated to
|
||||
arc-2015.12. Support for legacy uClibc dropped, default to
|
||||
uClibc-ng instead. Added sys/queue.h implementation for MUSL
|
||||
for compatibility. Updated versions of Code sourcery and
|
||||
Linaro toolchains. MIPS Codescape toolchains added. Version
|
||||
selection for preconfigured external toolchains removed.
|
||||
|
||||
New Defconfigs: ARM Juno r0/r1 development boards, Freescale
|
||||
i.MX6UL Evaluation Kit, Intel Galileo Gen 2, Orange Pi PC.
|
||||
A number of defconfigs have been extended to generate complete
|
||||
system images using genimage.
|
||||
|
||||
Linux: Automatically patch timeconst.pl for <3.9 kernels,
|
||||
which isn't compatible with modern perl versions, breaking the
|
||||
build when building on recent (Fedora 23, Debian
|
||||
Testing/Unstable, ..) distributions.
|
||||
|
||||
Makedevs utility now accepts textual (non-numerical) user and
|
||||
group names.
|
||||
|
||||
Vagrant file to easily setup a working development environment
|
||||
in a VM has been added.
|
||||
|
||||
Size-stats-compare script to compare rootfs sizes between
|
||||
builds has been added.
|
||||
|
||||
Infozip package renamed to zip. EFL packages restructured.
|
||||
|
||||
Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils,
|
||||
angularjs, apache, apr, argp-standalone, armadillo, arptables,
|
||||
at, atk, audiofile, aumix, autoconf-archive, avahi, bash, bc,
|
||||
bcache-tools, bdwgc, beecrypt, bind, binutils, bluez5_utils,
|
||||
bluez_utils, bonnie, boost, busybox, cairo, cdrkit, chrony,
|
||||
clamav, cmake, collectd, connman, coreutils, cppcms, crda,
|
||||
cryptodev-linux, cryptsetup, cups, cwiid, cxxtest, dbus,
|
||||
dbus-cpp, dbus-glib, debianutils, dhcp, dhcpcd, dhrystone,
|
||||
dillo, directfb, directfb-examples, dmraid, dnsmasq, doom-wad,
|
||||
dovecot, dovecot-pigeonhole, dropbear, dtv-scan-tables,
|
||||
dvb-apps, dvbsnoop, ecryptfs-utils, eigen, ejabberd,
|
||||
elementary, elfutils, enlightenment, erlang, espeak, eudev,
|
||||
eventlog, exfat, exfat-utils, exiv2, expedite, faifa,
|
||||
fakeroot, fastd, fbgrab, fetchmail, ffmpeg, findutils, fio,
|
||||
firmware-imx, flann, flashrom, flite, flot, fmlib, freerdp,
|
||||
freescale-imx, freetype, gauche, gawk, gcc, gcc-final, gcr,
|
||||
gdb, gdk-pixbuf, geoip, gesftpserver, gettext, giflib, git,
|
||||
glibc, glibmm, glog, gmp, gnupg, gnupg2, gnutls, gob2, gpsd,
|
||||
gptfdisk, grep, gst1-libav, gst1-plugins-{bad,base,good,ugly},
|
||||
gst-ffmpeg, gst-plugins-{bad,base,good,ugly}, gstreamer,
|
||||
gstreamer1, guile, gvfs, gzip, harfbuzz, haserl, hiawatha,
|
||||
hostapd, hplip, icu, ifupdown, imagemagick, imx-gpu-viv,
|
||||
imx-kobs, imx-lib, input-tools, intel-microcode, iperf3,
|
||||
ipmitool, iproute2, iprutils, ipsec-tools, ipset, iptables,
|
||||
iputils, irda-utils, irssi, iucode-tool, jack2, janus-gateway,
|
||||
jpeg-turbo, jquery-datetimepicker, jquery-keyboard,
|
||||
jquery-sparkline, jquery-ui, jquery-ui-themes,
|
||||
jquery-validation, json-c, kbd, kernel-module-imx-gpu-viv,
|
||||
keyutils, kmod, knock, kodi, lcdproc, lcms2, leafnode2,
|
||||
leafpad, libass, libatomic_ops, libbroadvoice, libbsd,
|
||||
libcap-ng, libcdaudio, libcue, libcurl, libdrm, libecore,
|
||||
libedbus, libedit, libedje, libeet, libefreet, libeina,
|
||||
libeio, libelementary, libembryo, libepoxy, libethumb, libev,
|
||||
libevas, libevas-generic-loaders, libevdev, libevent, libffi,
|
||||
libfm, libfribidi, libfslcodec, libfslparser, libfslvpuwrap,
|
||||
libftdi, libfuse, libgail, libglew, libglib2, libgtk2,
|
||||
libgtk3, libgudev, libhttpparser, libidn, libinput, libiscsi,
|
||||
libjpeg, liblinear, libmbim, libmicrohttpd, libndp, libnspr,
|
||||
libnss, liboauth, liboping, libpciaccess, libplist, libpng,
|
||||
libraw, libraw1394, librsvg, libseccomp, libsecret,
|
||||
libserialport, libsigc, libsigrok, libsigrokdecode,
|
||||
libsndfile, libsoc, libsodium, libsoup, libssh2, libsvg,
|
||||
libsvg-cairo, libtasn1, libtirpc, libtorrent, libungif,
|
||||
libunwind, libupnpp, liburcu, libuv, libv4l, libva,
|
||||
libva-intel-driver, libvips, libvncserver, libxml2, libxmlpp,
|
||||
lightning, lighttpd, linknx, linux-firmware, linux-fusion,
|
||||
linux-headers, liquid-dsp, lirc-tools, live555, lm-sensors,
|
||||
lockdev, lshw, ltp-testsuite, ltrace, lttng-babeltrace,
|
||||
lttng-libust, lttng-modules, lttng-tools, lua, luabitop,
|
||||
luarocks, luv, lvm2, lxc, makedevs, mc, memcached, memtest86,
|
||||
mesa3d, mesa3d-demos, mesa3d-headers, micropython,
|
||||
micropython-lib, minicom, minidlna, mjpg-streamer, mke2img,
|
||||
moarvm, modem-manager, mongoose, mongrel2, monkey, mono,
|
||||
monolite, mosh, mosquitto, mpd, mplayer, msgpack, mtdev2tuio,
|
||||
musepack, musl, mysql, nano, nasm, nbd, neard, netatalk,
|
||||
netsnmp, nettle, net-tools, network-manager, nfs-utils, nginx,
|
||||
nmap, nodejs, ntfs-3g, ntp, numactl, nut, nvidia-driver,
|
||||
odhcp6c, ofono, ola, olsr, omniorb, opencv, opencv3, openipmi,
|
||||
openldap, openntpd, openobex, openocd, openpgm,
|
||||
open-plc-utils, openpowerlink, openssh, openssl, openswan,
|
||||
openvpn, opkg, oprofile, opus, opusfile, p11-kit, package,
|
||||
pango, pax-utils, pciutils, pcmanfm, perl, perl-db-file,
|
||||
perl-io-socket-ssl, perl-libwww-perl, perl-net-dns, perl-uri,
|
||||
perl-xml-libxml, php, php-ssh2, picocom, pinentry, pixman,
|
||||
polarssl, popt, portaudio, pppd, procps-ng, proftpd, protobuf,
|
||||
psmisc, ptpd2, pulseaudio, pulseview, pv, python, python3,
|
||||
python-alsaaudio, python-can, python-cffi, python-cherrypy,
|
||||
python-httplib2, python-jinja2, python-lxml, python-m2crypto,
|
||||
python-mako, python-msgpack, python-psutil, python-pyasn,
|
||||
python-pycparser, python-pydal, python-pyftpdlib,
|
||||
python-pyroute2, python-pyxml, python-pyzmq, python-requests,
|
||||
python-serial, python-setuptools, python-six, python-spidev,
|
||||
python-tornado, python-twisted, python-web2py, python-webpy,
|
||||
python-werkzeug, python-zope-interface, qemu, qhull, qpdf, qt,
|
||||
qt5, qt5base, qt5connectivity, qt5declarative, qt5enginio,
|
||||
qt5graphicaleffects, qt5imageformats, qt5multimedia,
|
||||
qt5quick1, qt5quickcontrols, qt5script, qt5sensors,
|
||||
qt5serialport, qt5svg, qt5webchannel, qt5webkit,
|
||||
qt5webkit-examples, qt5websockets, qt5x11extras,
|
||||
qt5xmlpatterns, qt-webkit-kiosk, racehound, radvd, read-edid,
|
||||
readline, redis, rpcbind, rpi-firmware, rpi-userland, rrdtool,
|
||||
rsync, rsyslog, rtai, rtorrent, rt-tests, rubix, ruby, samba4,
|
||||
sconeserver, setools, shairport-sync, sigrok-cli, skeleton,
|
||||
smack, snowball-init, socat, sp-oops-extract, sqlite,
|
||||
squashfs, squeezelite, squid, sredird, sshfs,
|
||||
start-stop-daemon, strace, strongswan, stunnel, subversion,
|
||||
sunxi-tools, swig, sysdig, syslog-ng, sysstat, systemd,
|
||||
sysvinit, taglib, tcl, tcpreplay, thrift, ti-gfx, tinyalsa,
|
||||
tor, torsmo, trace-cmd, transmission, tremor, triggerhappy,
|
||||
trinity, tvheadend, tzdata, uboot-tools, uclibc, udisks,
|
||||
udpcast, unionfs, upmpdcli, usb_modeswitch,
|
||||
usb_modeswitch_data, ustr, util-linux, vala, valgrind,
|
||||
vboot-utils, vde2, vlc, vnstat, webkit, webkitgtk24, weston,
|
||||
wget, whetstone, whois, wine, wipe, wireless-regdb, wireshark,
|
||||
wpa_supplicant, w_scan, x11r7, xapp_xbacklight, xapp_xcompmgr,
|
||||
xapp_xinput, xapp_xkbcomp, xdriver_xf86-input-evdev,
|
||||
xdriver_xf86-input-libinput, xdriver_xf86-input-synaptics,
|
||||
xdriver_xf86-video-ati, xdriver_xf86-video-fbturbo,
|
||||
xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel,
|
||||
xfont_encodings, xfont_font-adobe-100dpi,
|
||||
xfont_font-adobe-75dpi, xfont_font-adobe-utopia-100dpi,
|
||||
xfont_font-adobe-utopia-75dpi, xfont_font-adobe-utopia-type1,
|
||||
xfont_font-alias, xfont_font-arabic-misc,
|
||||
xfont_font-bh-100dpi, xfont_font-bh-75dpi,
|
||||
xfont_font-bh-lucidatypewriter-100dpi,
|
||||
xfont_font-bh-lucidatypewriter-75dpi, xfont_font-bh-ttf,
|
||||
xfont_font-bh-type1, xfont_font-bitstream-100dpi,
|
||||
xfont_font-bitstream-75dpi, xfont_font-bitstream-type1,
|
||||
xfont_font-cronyx-cyrillic, xfont_font-cursor-misc,
|
||||
xfont_font-daewoo-misc, xfont_font-dec-misc,
|
||||
xfont_font-ibm-type1, xfont_font-isas-misc,
|
||||
xfont_font-jis-misc, xfont_font-micro-misc,
|
||||
xfont_font-misc-cyrillic, xfont_font-misc-ethiopic,
|
||||
xfont_font-misc-meltho, xfont_font-misc-misc,
|
||||
xfont_font-mutt-misc, xfont_font-schumacher-misc,
|
||||
xfont_font-screen-cyrillic, xfont_font-sony-misc,
|
||||
xfont_font-sun-misc, xfont_font-winitzki-cyrillic,
|
||||
xfont_font-xfree86-type1, xfsprogs, xkeyboard-config, xl2tp,
|
||||
xlib_libfontenc, xlib_libXi, xmlstarlet, xscreensaver,
|
||||
xserver_xorg-server, xtables-addons, xvkbd, xz, yad, yasm,
|
||||
ympd, zeromq, zic, znc, zsh,
|
||||
|
||||
New packages: acsccid, assimp, atkmm, autofs, bcm2835,
|
||||
cairomm, cantarell, chocolate-doom, comix-cursors, cxxtest,
|
||||
edid-decode, emlog, gcr, gtkmm3, hidapi, jquery-sidebar,
|
||||
kernel-module-imx-gpu-viv, libasplib, libcroco, libdvbpsi,
|
||||
libfreeglut, libgdiplus, libglfw, libhdhomerun, libnet,
|
||||
libsoil, lldpd, luvi, mbedtls, minizip, miraclecast, mongodb,
|
||||
mraa, netbsd-queue, netsniff-ng, nss-pam-ldapd,
|
||||
obsidian-cursors, openal, openbox, pangomm,
|
||||
python-backports-abc, python-beautifulsoup4, python-cbor,
|
||||
python-click, python-cssselect, python-ecdsa, python-html5lib,
|
||||
python-idna, python-ipaddress, python-mistune, python-netaddr,
|
||||
python-paho-mqtt, python-paramiko, python-pyparted,
|
||||
python-pysmb, python-pyudev, python-singledispatch,
|
||||
python-smbus-cffi, python-urllib3, qt53d, rabbitmq-c, rfkill,
|
||||
sbc, spi-tools, tpm-tools, trousers, ubus, unrar, unscd,
|
||||
unzip, v4l2grab, xdriver_xf86-video-nouveau, xdotool, zbar
|
||||
|
||||
Removed packages: libungif, python-pyxml,
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#7886: gettext: link failure with locally-installed libxml2
|
||||
#7892: systemd-journald is broken
|
||||
#8066: nodejs crashes when built with gcc 4.9
|
||||
#8296: nodejs 0.12.7 - npm crashes (seg core dump)
|
||||
#8501: gunzip fails to uncompress files
|
||||
#8541: fail to build host-fakeroot-1.20.2
|
||||
#8546: build instructions for raspberry pi don't work
|
||||
#8571: strace for ARC compile error
|
||||
#8581: pciutils.mk PCIUTILS_MAKE_OPTS typo
|
||||
#8616: Fail to build for raspberrypi_defconfig with big endian
|
||||
#8621: sqlite package, properly enable readline
|
||||
|
||||
2015.11, Released November 30th, 2015
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Merged/seperate /usr handling is now also performed for
|
||||
staging so cross-gdb / gdbserver can find the libraries.
|
||||
|
||||
Updated/fixed packages: autossh, conntrack-tools, dcron,
|
||||
espeak, gcc, glmark2, gpsd, gstreamer1, libglib2, libsigsegv,
|
||||
libsoc, libv4l, minidlna, mongrel2, opencv, polarssl,
|
||||
rpi-userland, rubix, skeleton, tovid, uemacs, valgrind, yad,
|
||||
zmqpp
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#8441: Invalid directory for X11 fonts in target (RPi2)
|
||||
#8491: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
|
||||
|
||||
2015.11-rc3, Released November 26th, 2015
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
We have a new modern website!
|
||||
|
||||
Updated/fixed packages: apitrace, audiofile, autossh, bullet,
|
||||
c-ares, collectd, conntrack-tools, cryptodev-linux, dropbear,
|
||||
fastd, gmp, gpsd, gst-plugins-bad, gst-plugins-base,
|
||||
gst-plugins-good, gst-plugins-ugly, gstreamer, gstreamer1,
|
||||
guile, iodine, iproute2, jimtcl, kompexsqlite, libethumb,
|
||||
libfreeimage, libgsasl, libgtk3, libxml2, localedef,
|
||||
lttng-tools, macchanger, mongrel2, mpd, openntpd, openssl,
|
||||
oprofile, pcre, qt5base, quagga, rpi-userland, sconeserver,
|
||||
sdl, spidev_test, sqlite, strongswan, ustr, xapp_sessreg,
|
||||
yajl, zmqpp
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#6872: gpsd: disabled on microblaze
|
||||
#8321: invalid opcode error with minidlna and ffmpeg
|
||||
#8336: Default systemd configuration fails to boot correctly in 2015-08
|
||||
#8446: rpi-userland failed to build with glibc 2.22
|
||||
|
||||
2015.11-rc2, Released November 19th, 2015
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
LD_LIBRARY_PATH is no longer used to ensure host binaries find
|
||||
their libraries, fixing issues on recent Fedora.
|
||||
|
||||
Toolchain fixes for powerpc e5500 / e6500. Fix for an issue
|
||||
with ${TARGET}-cc after the move to use a toolchain wrapper
|
||||
for the internal toolchain.
|
||||
|
||||
Appy-patches.sh now correctly applies all files listed in
|
||||
series files.
|
||||
|
||||
Fixes for merged /usr handling when a custom skeleton is used.
|
||||
|
||||
Updated/fixed packages: axfsutils, boost, busybox, dhcp,
|
||||
directfb, dropbear, ebtables, fastd, ffmpeg, gauche, gcc,
|
||||
gettext, gst1-plugins-bad, hostapd, ibrdtnd, libcurl,
|
||||
libecore, libgudev, libnss, libpng, libserial, libssh2,
|
||||
libuecc, libxml2, linux-headers, liquid-dsp, ltris,
|
||||
lua-periphery, minidlna, mongrel2, mpd, mpg123, mplayer,
|
||||
mysql, opencv, opencv3, package, perl-file-util, php-ssh2,
|
||||
polarssl, pulseaudio, python-protobuf, qemu, qt5base, ranger,
|
||||
ruby, skeleton, slang, squeezelite, strongswan, tovid, uclibc,
|
||||
ushare, wine, wpa_supplicant, x265,
|
||||
xdriver_xf86-video-siliconmotion, zxing-cpp
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#4790: Running udhcpc on a system with NFS root kills NFS
|
||||
#8456: Building host-pkgconf on Fedora 23 fails due to..
|
||||
|
||||
2015.11-rc1, Released November, 7th 2015
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Architectures:
|
||||
|
||||
- Support for sparc64 added (internal toolchain with glibc
|
||||
only).
|
||||
|
||||
- Support for mips32r6 and mips64r6 added.
|
||||
|
||||
- Support for Intel Quark X1000 CPU.
|
||||
|
||||
- Switch to EABIhf by default on ARM when a VFP is available.
|
||||
|
||||
Toolchains:
|
||||
|
||||
- glibc 2.22, gdb 7.10, use gdb 7.9 by default, musl 1.1.12,
|
||||
uclibc-ng 1.0.8, host-gdb enabled on AArch64.
|
||||
|
||||
- The toolchain wrapper which was used only for external
|
||||
toolchains is now also used for Buildroot internal
|
||||
toolchains. This allowed to fix the ccache support, prepare
|
||||
the way for top-level parallel build support and remove gcc
|
||||
patches used to detect header/library path poisoning.
|
||||
|
||||
- Remove Analog Devices Blackfin toolchain 2012R2.
|
||||
|
||||
- Fix several Xtensa build failures by switching from
|
||||
text-section-literals to auto-litpools.
|
||||
|
||||
- Enable MIPS64 support in uClibc-ng, use uClibc on ARC
|
||||
rather than a specific fork.
|
||||
|
||||
- Linaro toolchains for ARM, ARMeb and AArch64 updated to
|
||||
2015.08. 2014.09 version is kept since 2015.08 only runs on
|
||||
x86_64 hosts.
|
||||
|
||||
Bootloaders:
|
||||
|
||||
- Fix ARM64 support in U-Boot.
|
||||
|
||||
Defconfigs:
|
||||
|
||||
- Added: ARC HS38 VDK virtual boards, Avnet Microzed, Boundary
|
||||
Devices Nitrogen SoloX, Freescale i.MX6 SoloX Sabre SD,
|
||||
OLinuxino A20 Lime2, Qemu Sparc64, Qemu SuperH 4 big endian,
|
||||
Synopsys AArch64 VDK virtual platform.
|
||||
|
||||
- Updated: calao_qil_a9260, calao_usb_a9g20_lpw, ci20,
|
||||
cubieboad, freescale_imx6_*, imx53loco, imx6_vab820,
|
||||
mpc8315erdb, qmx6, p1010rdb, qemu, raspberrypi,
|
||||
raspberrypi2, riotboard, snps_axs10*, wandboard.
|
||||
|
||||
- Removed: at91rm9200df, at91sam9260dfc, at91sam9263ek,
|
||||
calao_snowball_defconfig, gnublin, integrator926_defconfig.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- Support for fetching from Mercurial tags fixed.
|
||||
|
||||
- Introduce LINUX_NEEDS_MODULES, which allows to enforce
|
||||
module support to be enabled in the kernel when a package
|
||||
builds out-of-tree kernel modules (through the
|
||||
pkg-kernel-module infrastructure or on its own).
|
||||
|
||||
- Improve the perl package infrastructure to automatically add
|
||||
the dependency to the perl interpreter to target perl module
|
||||
packages.
|
||||
|
||||
- Remove trailing slashes in <pkg>_SITE and addition of a
|
||||
check to ensure such trailing slashes are no longer added.
|
||||
|
||||
- Extend the legal infrastructure to allow packages to declare
|
||||
their actual source code. This is useful for packages for
|
||||
which <pkg>_SOURCE points to pre-built binaries (as is the
|
||||
case for external toolchains). The new <pkg>_ACTUAL_SOURCE
|
||||
variable allows to point to the source code in such cases.
|
||||
|
||||
- Improved ccache support, thanks to the usage of a toolchain
|
||||
wrapper for internal toolchain. Now a single cache directory
|
||||
can be shared between different Buildroot builds.
|
||||
|
||||
- Addition of a 'graph-size' make targets, which generates a
|
||||
PDF graph of per-package size of the root filesystem.
|
||||
|
||||
- Addition of <pkg>_EXCLUDES so that packages can request
|
||||
certain parts of the source code tarball to not be
|
||||
extracted. This feature is currently used by gcc and
|
||||
toolchain-external.
|
||||
|
||||
- Packages can now use the <pkg>_PKGDIR variable, provided by
|
||||
the package infrastructure, to reference their package
|
||||
directory, instead of explicitly using package/<pkg>/.
|
||||
|
||||
Filesystems:
|
||||
|
||||
- Add high lz4 compression to squashfs.
|
||||
|
||||
- Simplification of shell profile files in the default
|
||||
skeleton.
|
||||
|
||||
- Remove ftp user and /home/ftp from the skeleton, and let ftp
|
||||
server packages create these when needed.
|
||||
|
||||
- Add support for /bin, /sbin and /lib to be symlinks to their
|
||||
corresponding directories in /usr. This is enforced for
|
||||
systemd configurations, and optional for other
|
||||
configurations.
|
||||
|
||||
- Support for AXFS filesystem image generation added.
|
||||
|
||||
- New options to add extra space/inodes to ext2/3/4 images.
|
||||
|
||||
Updated/fixed packages:
|
||||
|
||||
adwaita-icon-theme, apache, apitrace, atk, audit, avahi,
|
||||
barebox, bash, batctl, bind, binutils, bluez_utils, boost,
|
||||
bridge-utils, cairo, ccache, chrony, clapack, cloog, cmake,
|
||||
collectd, connman, conntrack-tools, coreutils, cpio,
|
||||
cryptsetup, dbus, dbus-cpp, devmem2, dhcp, dhcpcd, dhcpdump,
|
||||
dhrystone, dillo, directfb, directfb-examples, dmraid,
|
||||
dos2unix, dovecot, dovecot-pigeonhole, drbd-utils, dropbear,
|
||||
dropwatch, dtc, e2fsprogs, ebtables, efl, eigen, ejabberd,
|
||||
elf2flt, elfutils, erlang, ethtool, eudev, evemu, exfat,
|
||||
exfat-utils, expat, faifa, fbterm, fdk-aac, feh, ffmpeg, file,
|
||||
flashrom, fping, freerdp, freescale-imx, freetype, gdk-pixbuf,
|
||||
genimage, gettext, git, glib-networking, glmark2, gnupg2,
|
||||
gnuradio, gnutls, gpsd, grep, grub2, gst1-imx, gst1-libav,
|
||||
gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good,
|
||||
gst1-plugins-ugly, gst1-validate, gst-fsl-plugins,
|
||||
gst-plugins-bad, gstreamer1, guile, gvfs, harfbuzz, haveged,
|
||||
hostapd, icu, imagemagick, impiutil, imx-gpu-viv, imx-vpu,
|
||||
inadyn, intltool, iostat, iperf3, ipmiutil, iproute2,
|
||||
iptables, iw, jpeg-turbo, jq, jsoncpp, kexec-lite, kmod, kodi,
|
||||
kodi-audioencoder-flac, kodi-pvr-argustv, kodi-pvr-filmon,
|
||||
kodi-pvr-hts, kodi-pvr-mythtv, kodi-pvr-pctv,
|
||||
kodi-pvr-stalker, kodi-pvr-vbox,
|
||||
kodi-visualisation-waveforhue, less, lftp, libbluray,
|
||||
libcgroup, libconfuse, libcurl, libdcadec, libdrm, libevdev,
|
||||
libffi, libfribidi, libfslcodec, libfslparser, libfslvpuwrap,
|
||||
libgcrypt, libglew, libglib2, libgtk3, libidn, liblinear,
|
||||
liblockfile, libmicrohttpd, libnetfilter_conntrack, libnfs,
|
||||
libnftnl, libnl, libnspr, libnss, libpcap, libpfm4, libpng,
|
||||
libselinux, libserial, libsoup, libsoxr, libstrophe, libtasn1,
|
||||
libtirpc, libtorrent, libupnpp, liburcu, libusb-compat, libuv,
|
||||
libv4l, libva, libva-intel-driver, libxcb, lighttpd, links,
|
||||
linux, linux-firmware, linux-fusion, linux-headers,
|
||||
lirc-tools, localedef, lpeg, lsof, ltp-testsuite,
|
||||
lttng-libust, lttng-tools, lua-periphery, luaposix, lvm2, lxc,
|
||||
lz4, mdadm, mesa3d, mesa3d-headers, minicom, minidlna, moarvm,
|
||||
modem-manager, mosquitto, mpd, mpdecimal, mpg123, mplayer,
|
||||
mrouted, msmtp, mtd, mutt, nettle, network-manager, nfs-utils,
|
||||
nftables, nginx, nodejs, noip, ntp, ofono, opencv3, openpgm,
|
||||
openssl, openswan, openvpn, pango, parted, perl, perl-cross,
|
||||
perl-crypt-openssl-random, perl-http-message,
|
||||
perl-io-socket-ssl, perl-module-build, perl-mojolicious,
|
||||
perl-netaddr-ip, perl-net-dns, perl-net-http, perl-net-ssleay,
|
||||
perl-uri, perl-xml-libxml, php, picocom, pixman, pkgconf,
|
||||
poco, polarssl, portaudio, portmap, postgresql, proftpd,
|
||||
protobuf, protobuf-c, pulseaudio, python-configshell-fb,
|
||||
python-networkmanager, python-numpy, python-pyparsing,
|
||||
python-pypcap, python-rtslib-fb, python-spidev, python-urwid,
|
||||
python-web2py, qemu, qt5base, redis, rngtools, rng-tools,
|
||||
rpi-firmware, rpi-userland, rtmpdump, rtorrent, ruby, samba,
|
||||
samba4, sane-backends, sconeserver, sdl, sed, setools,
|
||||
shairport-sync, shared-mime-info, sland, smartmontools,
|
||||
softether, spice-protocol, sqlcipher, sqlite, squid,
|
||||
strongswan, stunnel, subversion, sudo, sunxi-tools,
|
||||
supervisor, systemd, tar, targetcli-fb, tcpdump, tiff, tor,
|
||||
tvheadend, tzdata, uboot-tools, udisks, unionfs, upmpdcli,
|
||||
util-linux, vala, valgrind, vim, vlc, vorbis-tools, vsftpd,
|
||||
vtun, wavpack, webkitgtk24, weston, whois, wireless-regdb,
|
||||
wireshark, wpa_supplicant, xdriver_xf86-input-vmmouse,
|
||||
xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel,
|
||||
xdriver_xf86-video-sis, xlib_libXi, xorg-server,
|
||||
xtables-addons, xterm, xz, zic, znc, zsh
|
||||
|
||||
New packages:
|
||||
|
||||
axfsutils, bitstream, check, dvblast, eventlog, fastd, gauche,
|
||||
gmock, graphite2, gssdp, gupnp, gupnp-av, ibrcommon, ibrdtn,
|
||||
ibrdtnd, ibrdtn-tools, imx-kobs, iqvlinux, irssi,
|
||||
kompexsqlite, libbroadvoice, libcddb, libcodec2, libcrossguid,
|
||||
libg7221, libhttpparser, libilbc, libldns, libmng,
|
||||
libopenh264, libpam-radius-auth, libpam-tacplus, libsilk,
|
||||
libsoundtouch, libssh, libuecc, libyuv, liquid-dsp, luv,
|
||||
micropython, micropython-libs, python-pyratemp,
|
||||
python-pyroute2, python-ranger, rapidxml, scrypt, sdl2,
|
||||
sp-oops-extract, squeezelite, stress-ng, swupdate, syslog-ng,
|
||||
x265, xdriver_xf86-video-fbturbo, xxhash, yad, zxing-cpp
|
||||
|
||||
Removed packages:
|
||||
|
||||
blackbox (was deprecated), divine (merged in directfb),
|
||||
kobs-ng (replaced by imx-kobs), mediactl (merged in libv4l),
|
||||
sawman (merged in directfb), schifra (marked broken since a
|
||||
long time), texinfo (host variant only, no longer used), zxing
|
||||
(replaced by zxing-cpp),
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#4099: cut utility from GNU coreutils works incorrect
|
||||
#7772: libxml-parser-perl build failure: missing dependency
|
||||
ExtUtils/MakeMaker
|
||||
#7931: Default configuration for Cubieboard v1 is outdated
|
||||
#8116: 2015.05-rc2 raspberrypi2_defconfig network interface
|
||||
not coming up
|
||||
#8246: X.org DRI2 build issue
|
||||
#8256: pointing to /usr/bin/objcopy old version (x86) instead
|
||||
of the generated one
|
||||
#8266: mplayer build issue
|
||||
#8281: pyrexc fails to run when path is too long
|
||||
#8316: lttng-tools and lttng-babeltrace executables contain
|
||||
bad RPATH pointing to host machine
|
||||
#8331: kexec wants shutdown in /sbin, but systemd installs it
|
||||
in /usr/sbin
|
||||
#8361: Buildroot 2015.08.1 skeleton inittab overwritten by
|
||||
busybox's version
|
||||
#8366: libevent does not build
|
||||
#8386: build failed with external toolchain
|
||||
#8391: Node.js 0.12.7 fails to build on raspberry_pi defconfig
|
||||
#8396: CCACHE initialization
|
||||
#8401: gpsd 3.15 NMEA support
|
||||
#8416: cups depends on BR2_DEPRECATED_SINCE_2015_05
|
||||
#8421: util-linux installs systemd files in output/target/home/
|
||||
Updated/fixed packages: eudev
|
||||
|
||||
2015.08, Released August 31st, 2015
|
||||
|
||||
|
||||
16
COPYING
16
COPYING
@@ -1,19 +1,3 @@
|
||||
With the exceptions below, Buildroot is distributed under the terms of
|
||||
the GNU General Public License, reproduced below; either version 2 of
|
||||
the License, or (at your option) any later version.
|
||||
|
||||
Some files in Buildroot contain a different license statement. Those
|
||||
files are licensed under the license contained in the file itself.
|
||||
|
||||
Buildroot also bundles patch files, which are applied to the sources
|
||||
of the various packages. Those patches are not covered by the license
|
||||
of Buildroot. Instead, they are covered by the license of the software
|
||||
to which the patches are applied. When said software is available
|
||||
under multiple licenses, the Buildroot patches are only provided under
|
||||
the publicly accessible licenses.
|
||||
|
||||
-----------------------------------------------------------------
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
|
||||
453
Config.in
453
Config.in
@@ -18,40 +18,6 @@ config BR2_EXTERNAL
|
||||
string
|
||||
option env="BR2_EXTERNAL"
|
||||
|
||||
# Hidden config symbols for packages to check system gcc version
|
||||
config BR2_HOST_GCC_VERSION
|
||||
string
|
||||
option env="HOST_GCC_VERSION"
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_6
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 6"
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_7
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 7"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_6
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_8
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 8"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_7
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_4_9
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 9"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_8
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_5
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "5"
|
||||
select BR2_HOST_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_6
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "6"
|
||||
select BR2_HOST_GCC_AT_LEAST_5
|
||||
|
||||
# Hidden boolean selected by packages in need of Java in order to build
|
||||
# (example: xbmc)
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
@@ -125,9 +91,9 @@ config BR2_ZCAT
|
||||
string "zcat command"
|
||||
default "gzip -d -c"
|
||||
help
|
||||
Command to be used to extract a gzip'ed file to stdout. zcat
|
||||
is identical to gunzip -c except that the former may not be
|
||||
available on your system.
|
||||
Command to be used to extract a gzip'ed file to stdout.
|
||||
zcat is identical to gunzip -c except that the former may
|
||||
not be available on your system.
|
||||
Default is "gzip -d -c"
|
||||
Other possible values include "gunzip -c" or "zcat".
|
||||
|
||||
@@ -167,8 +133,8 @@ config BR2_DEFCONFIG
|
||||
default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != ""
|
||||
default "$(CONFIG_DIR)/defconfig"
|
||||
help
|
||||
When running 'make savedefconfig', the defconfig file will be
|
||||
saved in this location.
|
||||
When running 'make savedefconfig', the defconfig file will be saved
|
||||
in this location.
|
||||
|
||||
config BR2_DL_DIR
|
||||
string "Download dir"
|
||||
@@ -176,8 +142,7 @@ config BR2_DL_DIR
|
||||
help
|
||||
Directory to store all the source files that we need to fetch.
|
||||
If the Linux shell environment has defined the BR2_DL_DIR
|
||||
environment variable, then this overrides this configuration
|
||||
item.
|
||||
environment variable, then this overrides this configuration item.
|
||||
|
||||
The default is $(TOPDIR)/dl
|
||||
|
||||
@@ -185,9 +150,9 @@ config BR2_HOST_DIR
|
||||
string "Host dir"
|
||||
default "$(BASE_DIR)/host"
|
||||
help
|
||||
Directory to store all the binary files that are built for the
|
||||
host. This includes the cross compilation toolchain when
|
||||
building the internal buildroot toolchain.
|
||||
Directory to store all the binary files that are built for the host.
|
||||
This includes the cross compilation toolchain when building the
|
||||
internal buildroot toolchain.
|
||||
|
||||
The default is $(BASE_DIR)/host
|
||||
|
||||
@@ -197,13 +162,11 @@ config BR2_PRIMARY_SITE
|
||||
string "Primary download site"
|
||||
default ""
|
||||
help
|
||||
Primary site to download from. If this option is set then
|
||||
buildroot will try to download package source first from this
|
||||
site and try the default if the file is not found.
|
||||
Valid URIs are:
|
||||
- URIs recognized by $(WGET)
|
||||
- local URIs of the form file://absolutepath
|
||||
- scp URIs of the form scp://[user@]host:path.
|
||||
Primary site to download from. If this option is set then buildroot
|
||||
will try to download package source first from this site and try the
|
||||
default if the file is not found.
|
||||
Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
|
||||
scp://[user@]host:path.
|
||||
|
||||
config BR2_PRIMARY_SITE_ONLY
|
||||
bool "Only allow downloads from primary download site"
|
||||
@@ -212,11 +175,11 @@ config BR2_PRIMARY_SITE_ONLY
|
||||
If this option is enabled, downloads will only be attempted
|
||||
from the primary download site. Other locations, like the
|
||||
package's official download location or the backup download
|
||||
site, will not be considered. Therefore, if the package is not
|
||||
present on the primary site, the download fails.
|
||||
site, will not be considered. Therefore, if the package is
|
||||
not present on the primary site, the download fails.
|
||||
|
||||
This is useful for project developers who want to ensure that
|
||||
the project can be built even if the upstream tarball
|
||||
This is useful for project developers who want to ensure
|
||||
that the project can be built even if the upstream tarball
|
||||
locations disappear.
|
||||
|
||||
if !BR2_PRIMARY_SITE_ONLY
|
||||
@@ -225,36 +188,32 @@ config BR2_BACKUP_SITE
|
||||
string "Backup download site"
|
||||
default "http://sources.buildroot.net"
|
||||
help
|
||||
Backup site to download from. If this option is set then
|
||||
buildroot will fall back to download package sources from here
|
||||
if the normal location fails.
|
||||
Backup site to download from. If this option is set then buildroot
|
||||
will fall back to download package sources from here if the
|
||||
normal location fails.
|
||||
|
||||
config BR2_KERNEL_MIRROR
|
||||
string "Kernel.org mirror"
|
||||
default "https://cdn.kernel.org/pub"
|
||||
default "https://www.kernel.org/pub"
|
||||
help
|
||||
kernel.org is mirrored on a number of servers around the
|
||||
world. The following allows you to select your preferred
|
||||
mirror. By default, a CDN is used, which automatically
|
||||
redirects to a mirror geographically close to you.
|
||||
kernel.org is mirrored on a number of servers around the world.
|
||||
The following allows you to select your preferred mirror.
|
||||
|
||||
Have a look on the kernel.org site for a list of mirrors, then
|
||||
enter the URL to the base directory. Examples:
|
||||
Have a look on the kernel.org site for a list of mirrors, then enter
|
||||
the URL to the base directory. Examples:
|
||||
|
||||
http://www.XX.kernel.org/pub (XX = country code)
|
||||
http://mirror.aarnet.edu.au/pub/ftp.kernel.org
|
||||
|
||||
config BR2_GNU_MIRROR
|
||||
string "GNU Software mirror"
|
||||
default "http://ftpmirror.gnu.org"
|
||||
default "http://ftp.gnu.org/pub/gnu"
|
||||
help
|
||||
GNU has multiple software mirrors scattered around the
|
||||
world. The following allows you to select your preferred
|
||||
mirror. By default, a generic address is used, which
|
||||
automatically selects an up-to-date and local mirror.
|
||||
GNU has multiple software mirrors scattered around the world.
|
||||
The following allows you to select your preferred mirror.
|
||||
|
||||
Have a look on the gnu.org site for a list of mirrors, then
|
||||
enter the URL to the base directory. Examples:
|
||||
Have a look on the gnu.org site for a list of mirrors, then enter
|
||||
the URL to the base directory. Examples:
|
||||
|
||||
http://ftp.gnu.org/pub/gnu
|
||||
http://mirror.aarnet.edu.au/pub/gnu
|
||||
@@ -271,8 +230,8 @@ config BR2_CPAN_MIRROR
|
||||
string "CPAN mirror (Perl packages)"
|
||||
default "http://cpan.metacpan.org"
|
||||
help
|
||||
CPAN (Comprehensive Perl Archive Network) is a repository of
|
||||
Perl packages. It has multiple software mirrors scattered
|
||||
CPAN (Comprehensive Perl Archive Network) is a repository
|
||||
of Perl packages. It has multiple software mirrors scattered
|
||||
around the world. This option allows you to select a mirror.
|
||||
|
||||
The list of mirrors is available at:
|
||||
@@ -286,22 +245,24 @@ config BR2_JLEVEL
|
||||
int "Number of jobs to run simultaneously (0 for auto)"
|
||||
default "0"
|
||||
help
|
||||
Number of jobs to run simultaneously. If 0, determine
|
||||
automatically according to number of CPUs on the host system.
|
||||
Number of jobs to run simultaneously. If 0, determine
|
||||
automatically according to number of CPUs on the host
|
||||
system.
|
||||
|
||||
config BR2_CCACHE
|
||||
bool "Enable compiler cache"
|
||||
help
|
||||
This option will enable the use of ccache, a compiler cache.
|
||||
It will cache the result of previous builds to speed up future
|
||||
builds. By default, the cache is stored in
|
||||
This option will enable the use of ccache, a compiler
|
||||
cache. It will cache the result of previous builds to speed
|
||||
up future builds. By default, the cache is stored in
|
||||
$HOME/.buildroot-ccache.
|
||||
|
||||
Note that Buildroot does not try to invalidate the cache
|
||||
contents when the compiler changes in an incompatible way.
|
||||
Therefore, if you make a change to the compiler version and/or
|
||||
configuration, you are responsible for purging the ccache
|
||||
cache by removing the $HOME/.buildroot-ccache directory.
|
||||
contents when the compiler changes in an incompatible
|
||||
way. Therefore, if you make a change to the compiler version
|
||||
and/or configuration, you are responsible for purging the
|
||||
ccache cache by removing the $HOME/.buildroot-ccache
|
||||
directory.
|
||||
|
||||
if BR2_CCACHE
|
||||
|
||||
@@ -314,46 +275,16 @@ config BR2_CCACHE_DIR
|
||||
config BR2_CCACHE_INITIAL_SETUP
|
||||
string "Compiler cache initial setup"
|
||||
help
|
||||
Initial ccache settings to apply, such as --max-files or
|
||||
--max-size.
|
||||
Initial ccache settings to apply, such as --max-files or --max-size.
|
||||
|
||||
For example, if your project is known to require more space
|
||||
than the default max cache size, then you might want to
|
||||
increase the cache size to a suitable amount using the -M
|
||||
(--max-size) option.
|
||||
For example, if your project is known to require more space than the
|
||||
default max cache size, then you might want to increase the cache size
|
||||
to a suitable amount using the -M (--max-size) option.
|
||||
|
||||
The string you specify here is passed verbatim to ccache.
|
||||
Refer to ccache documentation for more details.
|
||||
The string you specify here is passed verbatim to ccache. Refer to
|
||||
ccache documentation for more details.
|
||||
|
||||
These initial settings are applied after ccache has been
|
||||
compiled.
|
||||
|
||||
config BR2_CCACHE_USE_BASEDIR
|
||||
bool "Use relative paths"
|
||||
default y
|
||||
help
|
||||
Allow ccache to convert absolute paths within the output
|
||||
directory into relative paths.
|
||||
|
||||
During the build, many -I include directives are given with an
|
||||
absolute path. These absolute paths end up in the hashes that
|
||||
are computed by ccache. Therefore, when you build from a
|
||||
different directory, the hash will be different and the cached
|
||||
object will not be used.
|
||||
|
||||
To improve cache performance, set this option to y. This
|
||||
allows ccache to rewrite absolute paths within the output
|
||||
directory into relative paths. Note that only paths within the
|
||||
output directory will be rewritten; therefore, if you change
|
||||
BR2_HOST_DIR to point outside the output directory and
|
||||
subsequently move it to a different location, this will lead
|
||||
to cache misses.
|
||||
|
||||
This option has as a result that the debug information in the
|
||||
object files also has only relative paths. Therefore, make
|
||||
sure you cd to the build directory before starting gdb. See
|
||||
the section "COMPILING IN DIFFERENT DIRECTORIES" in the ccache
|
||||
manual for more information.
|
||||
These initial settings are applied after ccache has been compiled.
|
||||
|
||||
endif
|
||||
|
||||
@@ -365,6 +296,14 @@ config BR2_DEPRECATED
|
||||
|
||||
if BR2_DEPRECATED
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2014_08
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2015_02
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2015_05
|
||||
bool
|
||||
default y
|
||||
@@ -373,22 +312,6 @@ config BR2_DEPRECATED_SINCE_2015_08
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2015_11
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2016_02
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2016_05
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2016_08
|
||||
bool
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
config BR2_ENABLE_DEBUG
|
||||
@@ -411,11 +334,11 @@ choice
|
||||
config BR2_DEBUG_1
|
||||
bool "debug level 1"
|
||||
help
|
||||
Debug level 1 produces minimal information, enough for making
|
||||
backtraces in parts of the program that you don't plan to
|
||||
debug. This includes descriptions of functions and external
|
||||
variables, but no information about local variables and no
|
||||
line numbers.
|
||||
Debug level 1 produces minimal information, enough
|
||||
for making backtraces in parts of the program that
|
||||
you don't plan to debug. This includes descriptions
|
||||
of functions and external variables, but no information
|
||||
about local variables and no line numbers.
|
||||
|
||||
config BR2_DEBUG_2
|
||||
bool "debug level 2"
|
||||
@@ -425,9 +348,9 @@ config BR2_DEBUG_2
|
||||
config BR2_DEBUG_3
|
||||
bool "debug level 3"
|
||||
help
|
||||
Level 3 includes extra information, such as all the macro
|
||||
definitions present in the program. Some debuggers support
|
||||
macro expansion when you use -g3.
|
||||
Level 3 includes extra information, such as all the
|
||||
macro definitions present in the program. Some debuggers
|
||||
support macro expansion when you use -g3.
|
||||
endchoice
|
||||
endif
|
||||
|
||||
@@ -440,15 +363,16 @@ config BR2_STRIP_strip
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
help
|
||||
Binaries and libraries in the target filesystem will be
|
||||
stripped using the normal 'strip' command. This allows to save
|
||||
space, mainly by removing debugging symbols. Debugging symbols
|
||||
on the target are needed for native debugging, but not when
|
||||
remote debugging is used.
|
||||
stripped using the normal 'strip' command. This allows to
|
||||
save space, mainly by removing debugging symbols. Debugging
|
||||
symbols on the target are needed for native debugging, but
|
||||
not when remote debugging is used.
|
||||
|
||||
config BR2_STRIP_none
|
||||
bool "none"
|
||||
help
|
||||
Do not strip binaries and libraries in the target filesystem.
|
||||
Do not strip binaries and libraries in the target
|
||||
filesystem.
|
||||
endchoice
|
||||
|
||||
config BR2_STRIP_EXCLUDE_FILES
|
||||
@@ -456,19 +380,19 @@ config BR2_STRIP_EXCLUDE_FILES
|
||||
depends on !BR2_STRIP_none
|
||||
default ""
|
||||
help
|
||||
You may specify a space-separated list of binaries and
|
||||
libraries here that should not be stripped on the target.
|
||||
You may specify a space-separated list of binaries and libraries
|
||||
here that should not be stripped on the target.
|
||||
|
||||
config BR2_STRIP_EXCLUDE_DIRS
|
||||
string "directories that should be skipped when stripping"
|
||||
depends on !BR2_STRIP_none
|
||||
default ""
|
||||
help
|
||||
You may specify a space-separated list of directories that
|
||||
should be skipped when stripping. Binaries and libraries in
|
||||
these directories will not be touched. The directories should
|
||||
be specified relative to the target directory, without leading
|
||||
slash.
|
||||
You may specify a space-separated list of directories that should
|
||||
be skipped when stripping. Binaries and libraries in these
|
||||
directories will not be touched.
|
||||
The directories should be specified relative to the target directory,
|
||||
without leading slash.
|
||||
|
||||
choice
|
||||
prompt "gcc optimization level"
|
||||
@@ -484,67 +408,54 @@ config BR2_OPTIMIZE_0
|
||||
config BR2_OPTIMIZE_1
|
||||
bool "optimization level 1"
|
||||
help
|
||||
Optimize. Optimizing compilation takes somewhat more time, and
|
||||
a lot more memory for a large function. With -O, the compiler
|
||||
tries to reduce code size and execution time, without
|
||||
performing any optimizations that take a great deal of
|
||||
compilation time. -O turns on the following optimization
|
||||
Optimize. Optimizing compilation takes somewhat more time,
|
||||
and a lot more memory for a large function. With -O, the
|
||||
compiler tries to reduce code size and execution time,
|
||||
without performing any optimizations that take a great deal
|
||||
of compilation time. -O turns on the following optimization
|
||||
flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
|
||||
-fcprop-registers -floop-optimize -fif-conversion
|
||||
-fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
|
||||
-ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
|
||||
-ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants. -O
|
||||
also turns on -fomit-frame-pointer on machines where doing so
|
||||
does not interfere with debugging.
|
||||
-ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
|
||||
-O also turns on -fomit-frame-pointer on machines where doing
|
||||
so does not interfere with debugging.
|
||||
|
||||
config BR2_OPTIMIZE_2
|
||||
bool "optimization level 2"
|
||||
help
|
||||
Optimize even more. GCC performs nearly all supported
|
||||
optimizations that do not involve a space-speed tradeoff. The
|
||||
compiler does not perform loop unrolling or function inlining
|
||||
when you specify -O2. As compared to -O, this option increases
|
||||
both compilation time and the performance of the generated
|
||||
code. -O2 turns on all optimization flags specified by -O. It
|
||||
also turns on the following optimization flags:
|
||||
-fthread-jumps -fcrossjumping -foptimize-sibling-calls
|
||||
Optimize even more. GCC performs nearly all supported optimizations
|
||||
that do not involve a space-speed tradeoff. The compiler does not
|
||||
perform loop unrolling or function inlining when you specify -O2.
|
||||
As compared to -O, this option increases both compilation time and
|
||||
the performance of the generated code. -O2 turns on all optimization
|
||||
flags specified by -O. It also turns on the following optimization
|
||||
flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
|
||||
-fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
|
||||
-fexpensive-optimizations -fstrength-reduce
|
||||
-frerun-cse-after-loop -frerun-loop-opt -fcaller-saves
|
||||
-fpeephole2 -fschedule-insns -fschedule-insns2
|
||||
-fsched-interblock -fsched-spec -fregmove -fstrict-aliasing
|
||||
-fdelete-null-pointer-checks -freorder-blocks
|
||||
-freorder-functions -falign-functions -falign-jumps
|
||||
-falign-loops -falign-labels -ftree-vrp -ftree-pre. Please
|
||||
note the warning under -fgcse about invoking -O2 on programs
|
||||
-fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
|
||||
-frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
|
||||
-fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
|
||||
-fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
|
||||
-freorder-functions -falign-functions -falign-jumps -falign-loops
|
||||
-falign-labels -ftree-vrp -ftree-pre
|
||||
Please note the warning under -fgcse about invoking -O2 on programs
|
||||
that use computed gotos.
|
||||
|
||||
config BR2_OPTIMIZE_3
|
||||
bool "optimization level 3"
|
||||
help
|
||||
Optimize yet more. -O3 turns on all optimizations specified by
|
||||
-O2 and also turns on the -finline-functions, -funswitch-loops
|
||||
and -fgcse-after-reload options.
|
||||
|
||||
config BR2_OPTIMIZE_G
|
||||
bool "optimize for debugging"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
help
|
||||
Optimize for debugging. This enables optimizations that do not
|
||||
interfere with debugging. It should be the optimization level
|
||||
of choice for the standard edit-compile-debug cycle, offering
|
||||
a reasonable level of optimization while maintaining fast
|
||||
compilation and a good debugging experience.
|
||||
Optimize yet more. -O3 turns on all optimizations specified by -O2
|
||||
and also turns on the -finline-functions, -funswitch-loops and
|
||||
-fgcse-after-reload options.
|
||||
|
||||
config BR2_OPTIMIZE_S
|
||||
bool "optimize for size"
|
||||
help
|
||||
Optimize for size. -Os enables all -O2 optimizations that do
|
||||
not typically increase code size. It also performs further
|
||||
optimizations designed to reduce code size. -Os disables the
|
||||
following optimization flags: -falign-functions -falign-jumps
|
||||
-falign-loops -falign-labels -freorder-blocks
|
||||
-freorder-blocks-and-partition -fprefetch-loop-arrays
|
||||
Optimize for size. -Os enables all -O2 optimizations that do not
|
||||
typically increase code size. It also performs further optimizations
|
||||
designed to reduce code size. -Os disables the following optimization
|
||||
flags: -falign-functions -falign-jumps -falign-loops -falign-labels
|
||||
-freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
|
||||
-ftree-vect-loop-version
|
||||
|
||||
endchoice
|
||||
@@ -556,13 +467,13 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
||||
help
|
||||
This option will enable the use of google breakpad, a library
|
||||
and tool suite that allows you to distribute an application to
|
||||
users with compiler-provided debugging information removed,
|
||||
record crashes in compact "minidump" files, send them back to
|
||||
your server and produce C and C++ stack traces from these
|
||||
minidumps. Breakpad can also write minidumps on request for
|
||||
programs that have not crashed.
|
||||
This option will enable the use of google breakpad, a
|
||||
library and tool suite that allows you to distribute an
|
||||
application to users with compiler-provided debugging
|
||||
information removed, record crashes in compact "minidump"
|
||||
files, send them back to your server and produce C and C++
|
||||
stack traces from these minidumps. Breakpad can also write
|
||||
minidumps on request for programs that have not crashed.
|
||||
|
||||
if BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
|
||||
@@ -582,59 +493,21 @@ config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES
|
||||
|
||||
endif
|
||||
|
||||
choice
|
||||
config BR2_ENABLE_SSP
|
||||
bool "build code with Stack Smashing Protection"
|
||||
default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy
|
||||
depends on BR2_TOOLCHAIN_HAS_SSP
|
||||
help
|
||||
Enable stack smashing protection support using GCC's
|
||||
-fstack-protector option family.
|
||||
Enable stack smashing protection support using GCCs
|
||||
-fstack-protector-all option.
|
||||
|
||||
See
|
||||
http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
|
||||
See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
|
||||
for details.
|
||||
|
||||
Note that this requires the toolchain to have SSP support.
|
||||
This is always the case for glibc and eglibc toolchain, but is
|
||||
optional in uClibc toolchains.
|
||||
Note that this requires the toolchain to have SSP
|
||||
support. This is always the case for glibc and eglibc
|
||||
toolchain, but is optional in uClibc toolchains.
|
||||
|
||||
config BR2_SSP_NONE
|
||||
bool "None"
|
||||
help
|
||||
Disable stack-smashing protection.
|
||||
|
||||
config BR2_SSP_REGULAR
|
||||
bool "-fstack-protector"
|
||||
help
|
||||
Emit extra code to check for buffer overflows, such as stack
|
||||
smashing attacks. This is done by adding a guard variable to
|
||||
functions with vulnerable objects. This includes functions
|
||||
that call alloca, and functions with buffers larger than 8
|
||||
bytes. The guards are initialized when a function is entered
|
||||
and then checked when the function exits. If a guard check
|
||||
fails, an error message is printed and the program exits.
|
||||
|
||||
config BR2_SSP_STRONG
|
||||
bool "-fstack-protector-strong"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
help
|
||||
Like -fstack-protector but includes additional functions to be
|
||||
protected - those that have local array definitions, or have
|
||||
references to local frame addresses.
|
||||
|
||||
comment "Stack Smashing Protection strong needs a toolchain w/ gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_SSP_ALL
|
||||
bool "-fstack-protector-all"
|
||||
help
|
||||
Like -fstack-protector except that all functions are
|
||||
protected. This option might have a significant performance
|
||||
impact on the compiled binaries.
|
||||
|
||||
endchoice
|
||||
|
||||
comment "Stack Smashing Protection needs a toolchain w/ SSP"
|
||||
comment "enabling Stack Smashing Protection requires support in the toolchain"
|
||||
depends on !BR2_TOOLCHAIN_HAS_SSP
|
||||
|
||||
choice
|
||||
@@ -644,19 +517,20 @@ choice
|
||||
help
|
||||
Select the type of libraries you want to use on the target.
|
||||
|
||||
The default is to build dynamic libraries and use those on the
|
||||
target filesystem, except when the architecture and/or the
|
||||
selected binary format does not support shared libraries.
|
||||
The default is to build dynamic libraries and use those on
|
||||
the target filesystem, except when the architecture and/or
|
||||
the selected binary format does not support shared
|
||||
libraries.
|
||||
|
||||
config BR2_STATIC_LIBS
|
||||
bool "static only"
|
||||
help
|
||||
Build and use only static libraries. No shared libraries will
|
||||
be installed on the target. This potentially increases your
|
||||
code size and should only be used if you know what you are
|
||||
doing. Note that some packages may not be available when this
|
||||
option is enabled, due to their need for dynamic library
|
||||
support.
|
||||
Build and use only static libraries. No shared libraries
|
||||
will be instaled on the target. This potentially increases
|
||||
your code size and should only be used if you know what you
|
||||
are doing. Note that some packages may not be available when
|
||||
this option is enabled, due to their need for dynamic
|
||||
library support.
|
||||
|
||||
config BR2_SHARED_LIBS
|
||||
bool "shared only"
|
||||
@@ -682,63 +556,50 @@ config BR2_PACKAGE_OVERRIDE_FILE
|
||||
default "$(CONFIG_DIR)/local.mk"
|
||||
help
|
||||
A package override file is a short makefile that contains
|
||||
variable definitions of the form <pkg>_OVERRIDE_SRCDIR, which
|
||||
allows to tell Buildroot to use an existing directory as the
|
||||
source directory for a particular package. See the Buildroot
|
||||
documentation for more details on this feature.
|
||||
variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
|
||||
which allows to tell Buildroot to use an existing directory
|
||||
as the source directory for a particular package. See the
|
||||
Buildroot documentation for more details on this feature.
|
||||
|
||||
config BR2_GLOBAL_PATCH_DIR
|
||||
string "global patch directories"
|
||||
help
|
||||
You may specify a space separated list of one or more
|
||||
directories containing global package patches. For a specific
|
||||
version <packageversion> of a specific package <packagename>,
|
||||
patches are applied as follows:
|
||||
You may specify a space separated list of one or more directories
|
||||
containing global package patches. For a specific version
|
||||
<packageversion> of a specific package <packagename>, patches are
|
||||
applied as follows:
|
||||
|
||||
First, the default Buildroot patch set for the package is
|
||||
applied from the package's directory in Buildroot.
|
||||
First, the default Buildroot patch set for the package is applied
|
||||
from the package's directory in Buildroot.
|
||||
|
||||
Then for every directory - <global-patch-dir> - that exists in
|
||||
BR2_GLOBAL_PATCH_DIR, if the directory
|
||||
<global-patch-dir>/<packagename>/<packageversion>/ exists,
|
||||
then all *.patch files in this directory will be applied.
|
||||
<global-patch-dir>/<packagename>/<packageversion>/ exists, then all
|
||||
*.patch files in this directory will be applied.
|
||||
|
||||
Otherwise, if the directory <global-patch-dir>/<packagename>
|
||||
exists, then all *.patch files in the directory will be
|
||||
applied.
|
||||
Otherwise, if the directory <global-patch-dir>/<packagename> exists,
|
||||
then all *.patch files in the directory will be applied.
|
||||
|
||||
menu "Advanced"
|
||||
|
||||
config BR2_COMPILER_PARANOID_UNSAFE_PATH
|
||||
bool "paranoid check of library/header paths"
|
||||
default y
|
||||
help
|
||||
By default, when this option is disabled, when the Buildroot
|
||||
cross-compiler will encounter an unsafe library or header path
|
||||
(such as /usr/include, or /usr/lib), the compiler will display
|
||||
a warning.
|
||||
cross-compiler will encounter an unsafe library or header
|
||||
path (such as /usr/include, or /usr/lib), the compiler will
|
||||
display a warning.
|
||||
|
||||
By enabling this option, this warning is turned into an error,
|
||||
which will completely abort the build when such unsafe paths
|
||||
are encountered.
|
||||
By enabling this option, this warning is turned into an
|
||||
error, which will completely abort the build when such
|
||||
unsafe paths are encountered.
|
||||
|
||||
Note that this mechanism is available for both the internal
|
||||
toolchain (through the toolchain wrapper and binutils patches)
|
||||
and external toolchain backends (through the toolchain wrapper).
|
||||
toolchain (through gcc and binutils patches) and external
|
||||
toolchain backends (through the external toolchain wrapper).
|
||||
|
||||
endmenu
|
||||
|
||||
config BR2_REPRODUCIBLE
|
||||
bool "Make the build reproducible (experimental)"
|
||||
help
|
||||
This option will remove all sources of non-reproducibility
|
||||
from the build process. For a given Buildroot configuration,
|
||||
this allows to generate exactly identical binaries from one
|
||||
build to the other, including on different machines.
|
||||
|
||||
This is labeled as an experimental feature, as not all
|
||||
packages behave properly to ensure reproducibility.
|
||||
|
||||
endmenu
|
||||
|
||||
source "toolchain/Config.in"
|
||||
|
||||
945
Config.in.legacy
945
Config.in.legacy
File diff suppressed because it is too large
Load Diff
221
Makefile
221
Makefile
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2014 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2014-2016 by the Buildroot developers <buildroot@buildroot.org>
|
||||
# Copyright (C) 2014 by the Buildroot developers <buildroot@buildroot.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -24,11 +24,6 @@
|
||||
# You shouldn't need to mess with anything beyond this point...
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# we want bash as shell
|
||||
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
else echo sh; fi; fi)
|
||||
|
||||
# Trick for always running with a fixed umask
|
||||
UMASK = 0022
|
||||
ifneq ($(shell umask),$(UMASK))
|
||||
@@ -46,7 +41,7 @@ else # umask
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2016.08-rc1
|
||||
export BR2_VERSION := 2015.08.1
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -57,6 +52,16 @@ ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MA
|
||||
$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
|
||||
endif
|
||||
|
||||
export HOSTARCH := $(shell uname -m | \
|
||||
sed -e s/i.86/x86/ \
|
||||
-e s/sun4u/sparc64/ \
|
||||
-e s/arm.*/arm/ \
|
||||
-e s/sa110/arm/ \
|
||||
-e s/ppc64/powerpc64/ \
|
||||
-e s/ppc/powerpc/ \
|
||||
-e s/macppc/powerpc/\
|
||||
-e s/sh.*/sh/)
|
||||
|
||||
# Parallel execution of this Makefile is disabled because it changes
|
||||
# the packages building order, that can be a problem for two reasons:
|
||||
# - If a package has an unspecified optional dependency and that
|
||||
@@ -74,7 +79,7 @@ endif
|
||||
.NOTPARALLEL:
|
||||
|
||||
# absolute path
|
||||
TOPDIR := $(CURDIR)
|
||||
TOPDIR := $(shell pwd)
|
||||
CONFIG_CONFIG_IN = Config.in
|
||||
CONFIG = support/kconfig
|
||||
DATE := $(shell date +%Y%m%d)
|
||||
@@ -99,7 +104,7 @@ noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconf
|
||||
# something else than one of the nobuild_targets.
|
||||
nobuild_targets := source source-check \
|
||||
legal-info external-deps _external-deps \
|
||||
clean distclean help
|
||||
clean distclean
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
BR_BUILDING = y
|
||||
else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),)
|
||||
@@ -178,9 +183,7 @@ endif
|
||||
ifneq ($(BR2_DL_DIR),)
|
||||
DL_DIR := $(BR2_DL_DIR)
|
||||
endif
|
||||
ifneq ($(BR2_CCACHE_DIR),)
|
||||
BR_CACHE_DIR := $(BR2_CCACHE_DIR)
|
||||
endif
|
||||
|
||||
|
||||
# Need that early, before we scan packages
|
||||
# Avoids doing the $(or...) everytime
|
||||
@@ -213,13 +216,6 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
-include $(BR2_CONFIG)
|
||||
endif
|
||||
|
||||
# timezone and locale may affect build output
|
||||
ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
export TZ=UTC
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
# Use 'make V=1' to see the full commands
|
||||
ifeq ("$(origin V)", "command line")
|
||||
@@ -230,19 +226,26 @@ ifndef KBUILD_VERBOSE
|
||||
endif
|
||||
|
||||
ifeq ($(KBUILD_VERBOSE),1)
|
||||
quiet =
|
||||
Q =
|
||||
ifndef VERBOSE
|
||||
VERBOSE = 1
|
||||
endif
|
||||
export VERBOSE
|
||||
else
|
||||
quiet = quiet_
|
||||
Q = @
|
||||
endif
|
||||
|
||||
# we want bash as shell
|
||||
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
else echo sh; fi; fi)
|
||||
|
||||
# kconfig uses CONFIG_SHELL
|
||||
CONFIG_SHELL := $(SHELL)
|
||||
|
||||
export SHELL CONFIG_SHELL Q KBUILD_VERBOSE
|
||||
export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE
|
||||
|
||||
ifndef HOSTAR
|
||||
HOSTAR := ar
|
||||
@@ -290,40 +293,6 @@ HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranli
|
||||
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTLD
|
||||
export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
||||
|
||||
# Determine the userland we are running on.
|
||||
#
|
||||
# Note that, despite its name, we are not interested in the actual
|
||||
# architecture name. This is mostly used to determine whether some
|
||||
# of the binary tools (e.g. pre-built external toolchains) can run
|
||||
# on the current host. So we need to know if the userland we're
|
||||
# running on can actually run those toolchains.
|
||||
#
|
||||
# For example, a 64-bit prebuilt toolchain will not run on a 64-bit
|
||||
# kernel if the userland is 32-bit (e.g. in a chroot for example).
|
||||
#
|
||||
# So, we extract the first part of the tuple the host gcc was
|
||||
# configured to generate code for; we assume this is our userland.
|
||||
#
|
||||
export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \
|
||||
sed -e '/^Target: \([^-]*\).*/!d' \
|
||||
-e 's//\1/' \
|
||||
-e 's/i.86/x86/' \
|
||||
-e 's/sun4u/sparc64/' \
|
||||
-e 's/arm.*/arm/' \
|
||||
-e 's/sa110/arm/' \
|
||||
-e 's/ppc64/powerpc64/' \
|
||||
-e 's/ppc/powerpc/' \
|
||||
-e 's/macppc/powerpc/' \
|
||||
-e 's/sh.*/sh/' )
|
||||
|
||||
HOSTCC_VERSION := $(shell $(HOSTCC_NOCCACHE) --version | \
|
||||
sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p')
|
||||
|
||||
# For gcc >= 5.x, we only need the major version.
|
||||
ifneq ($(firstword $(HOSTCC_VERSION)),4)
|
||||
HOSTCC_VERSION := $(firstword $(HOSTCC_VERSION))
|
||||
endif
|
||||
|
||||
# Make sure pkg-config doesn't look outside the buildroot tree
|
||||
HOST_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH)
|
||||
unexport PKG_CONFIG_PATH
|
||||
@@ -350,11 +319,8 @@ ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
unexport CROSS_COMPILE
|
||||
unexport ARCH
|
||||
unexport CC
|
||||
unexport LD
|
||||
unexport AR
|
||||
unexport CXX
|
||||
unexport CPP
|
||||
unexport RANLIB
|
||||
unexport CFLAGS
|
||||
unexport CXXFLAGS
|
||||
unexport GREP_OPTIONS
|
||||
@@ -368,7 +334,6 @@ unexport O
|
||||
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||
|
||||
PACKAGES :=
|
||||
PACKAGES_ALL :=
|
||||
|
||||
# silent mode requested?
|
||||
QUIET := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-q)
|
||||
@@ -406,18 +371,15 @@ TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
CCACHE := $(HOST_DIR)/usr/bin/ccache
|
||||
BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
BR_CACHE_DIR = $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
export BR_CACHE_DIR
|
||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
||||
else
|
||||
export BR_NO_CCACHE
|
||||
endif
|
||||
|
||||
# Scripts in support/ or post-build scripts may need to reference
|
||||
# these locations, so export them so it is easier to use
|
||||
export BR2_CONFIG
|
||||
export BR2_REPRODUCIBLE
|
||||
export TARGET_DIR
|
||||
export STAGING_DIR
|
||||
export HOST_DIR
|
||||
@@ -460,34 +422,6 @@ include fs/common.mk
|
||||
|
||||
include $(BR2_EXTERNAL)/external.mk
|
||||
|
||||
# Now we are sure we have all the packages scanned and defined. We now
|
||||
# check for each package in the list of enabled packages, that all its
|
||||
# dependencies are indeed enabled.
|
||||
#
|
||||
# Only trigger the check for default builds. If the user forces building
|
||||
# a package, even if not enabled in the configuration, we want to accept
|
||||
# it.
|
||||
#
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
|
||||
define CHECK_ONE_DEPENDENCY
|
||||
ifeq ($$($(2)_TYPE),target)
|
||||
ifeq ($$($(2)_IS_VIRTUAL),)
|
||||
ifneq ($$($$($(2)_KCONFIG_VAR)),y)
|
||||
$$(error $$($(2)_NAME) is in the dependency chain of $$($(1)_NAME) that \
|
||||
has added it to its _DEPENDENCIES variable without selecting it or \
|
||||
depending on it from Config.in)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
$(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\
|
||||
$(foreach dep,$(call UPPERCASE,$($(pkg)_FINAL_ALL_DEPENDENCIES)),\
|
||||
$(eval $(call CHECK_ONE_DEPENDENCY,$(pkg),$(dep))$(sep))))
|
||||
|
||||
endif
|
||||
|
||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BINARIES_DIR)
|
||||
|
||||
@@ -511,9 +445,22 @@ world: target-post-image
|
||||
$(BUILD_DIR) $(TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
|
||||
@mkdir -p $@
|
||||
|
||||
# Populating the staging with the base directories is handled by the skeleton package
|
||||
# We make a symlink lib32->lib or lib64->lib as appropriate
|
||||
# MIPS64/n32 requires lib32 even though it's a 64-bit arch.
|
||||
ifeq ($(BR2_ARCH_IS_64)$(BR2_MIPS_NABI32),y)
|
||||
LIB_SYMLINK = lib64
|
||||
else
|
||||
LIB_SYMLINK = lib32
|
||||
endif
|
||||
|
||||
$(STAGING_DIR):
|
||||
@mkdir -p $(STAGING_DIR)
|
||||
@mkdir -p $(STAGING_DIR)/bin
|
||||
@mkdir -p $(STAGING_DIR)/lib
|
||||
@ln -snf lib $(STAGING_DIR)/$(LIB_SYMLINK)
|
||||
@mkdir -p $(STAGING_DIR)/usr/lib
|
||||
@ln -snf lib $(STAGING_DIR)/usr/$(LIB_SYMLINK)
|
||||
@mkdir -p $(STAGING_DIR)/usr/include
|
||||
@mkdir -p $(STAGING_DIR)/usr/bin
|
||||
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
||||
|
||||
RSYNC_VCS_EXCLUSIONS = \
|
||||
@@ -528,12 +475,11 @@ STRIP_FIND_CMD += -type f \( -perm /111 -o -name '*.so*' \)
|
||||
# file exclusions:
|
||||
# - libpthread.so: a non-stripped libpthread shared library is needed for
|
||||
# proper debugging of pthread programs using gdb.
|
||||
# - ld.so: a non-stripped dynamic linker library is needed for valgrind
|
||||
# - kernel modules (*.ko): do not function properly when stripped like normal
|
||||
# applications and libraries. Normally kernel modules are already excluded
|
||||
# by the executable permission check above, so the explicit exclusion is only
|
||||
# done for kernel modules with incorrect permissions.
|
||||
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* ld-*.so* *.ko $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print0
|
||||
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* *.ko $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print0
|
||||
|
||||
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||
define TOOLCHAIN_ECLIPSE_REGISTER
|
||||
@@ -591,10 +537,7 @@ define PURGE_LOCALES
|
||||
do \
|
||||
for langdir in $$dir/*; \
|
||||
do \
|
||||
if [ -e "$${langdir}" ]; \
|
||||
then \
|
||||
grep -qx "$${langdir##*/}" $(LOCALE_WHITELIST) || rm -rf $$langdir; \
|
||||
fi \
|
||||
grep -qx $${langdir##*/} $(LOCALE_WHITELIST) || rm -rf $$langdir; \
|
||||
done; \
|
||||
done
|
||||
if [ -d $(TARGET_DIR)/usr/share/X11/locale ]; \
|
||||
@@ -620,8 +563,8 @@ target-finalize: $(PACKAGES)
|
||||
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
|
||||
find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/lib $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/libexec \
|
||||
\( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/gdb
|
||||
endif
|
||||
@@ -649,15 +592,19 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
xargs -r $(STRIPCMD) $(STRIP_STRIP_DEBUG)
|
||||
endif
|
||||
|
||||
# Valgrind needs ld.so with enough information, so only strip
|
||||
# debugging symbols.
|
||||
find $(TARGET_DIR)/lib -type f -name 'ld-*.so*' | \
|
||||
xargs -r $(STRIPCMD) $(STRIP_STRIP_DEBUG)
|
||||
test -f $(TARGET_DIR)/etc/ld.so.conf && \
|
||||
{ echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true
|
||||
test -d $(TARGET_DIR)/etc/ld.so.conf.d && \
|
||||
{ echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true
|
||||
mkdir -p $(TARGET_DIR)/etc
|
||||
# Mandatory configuration file and auxiliary cache directory
|
||||
# for recent versions of ldconfig
|
||||
touch $(TARGET_DIR)/etc/ld.so.conf
|
||||
mkdir -p $(TARGET_DIR)/var/cache/ldconfig
|
||||
if [ -x "$(TARGET_CROSS)ldconfig" ]; \
|
||||
then \
|
||||
$(TARGET_CROSS)ldconfig -r $(TARGET_DIR) \
|
||||
-f $(TARGET_DIR)/etc/ld.so.conf; \
|
||||
else \
|
||||
/sbin/ldconfig -r $(TARGET_DIR) \
|
||||
-f $(TARGET_DIR)/etc/ld.so.conf; \
|
||||
fi
|
||||
( \
|
||||
echo "NAME=Buildroot"; \
|
||||
echo "VERSION=$(BR2_VERSION_FULL)"; \
|
||||
@@ -668,7 +615,7 @@ endif
|
||||
|
||||
@$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
$(call MESSAGE,"Copying overlay $(d)"); \
|
||||
rsync -a --ignore-times --keep-dirlinks $(RSYNC_VCS_EXCLUSIONS) \
|
||||
rsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \
|
||||
--chmod=u=rwX,go=rX --exclude .empty --exclude '*~' \
|
||||
$(d)/ $(TARGET_DIR)$(sep))
|
||||
|
||||
@@ -700,6 +647,7 @@ legal-info-prepare: $(LEGAL_INFO_DIR)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,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)
|
||||
@$(call legal-warning,the toolchain has not been saved)
|
||||
@cp $(BR2_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config
|
||||
|
||||
legal-info: dirs legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p)-all-legal-info) \
|
||||
@@ -709,12 +657,8 @@ legal-info: dirs legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p
|
||||
cat support/legal-info/README.warnings-header \
|
||||
$(LEGAL_WARNINGS) >>$(LEGAL_REPORT); \
|
||||
cat $(LEGAL_WARNINGS); fi
|
||||
@rm -f $(LEGAL_WARNINGS)
|
||||
@(cd $(LEGAL_INFO_DIR); \
|
||||
find * -type f -exec sha256sum {} + | LC_ALL=C sort -k2 \
|
||||
>.legal-info.sha256; \
|
||||
mv .legal-info.sha256 legal-info.sha256)
|
||||
@echo "Legal info produced in $(LEGAL_INFO_DIR)"
|
||||
@rm -f $(LEGAL_WARNINGS)
|
||||
|
||||
show-targets:
|
||||
@echo $(PACKAGES) $(TARGETS_ROOTFS)
|
||||
@@ -738,21 +682,8 @@ graph-depends: graph-depends-requirements
|
||||
@$(INSTALL) -d $(GRAPHS_DIR)
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \
|
||||
-o $(GRAPHS_DIR)/$(@).dot
|
||||
dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) \
|
||||
-o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT) \
|
||||
$(GRAPHS_DIR)/$(@).dot
|
||||
|
||||
graph-size:
|
||||
$(Q)mkdir -p $(GRAPHS_DIR)
|
||||
$(Q)$(TOPDIR)/support/scripts/size-stats --builddir $(BASE_DIR) \
|
||||
--graph $(GRAPHS_DIR)/graph-size.$(BR_GRAPH_OUT) \
|
||||
--file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \
|
||||
--package-size-csv $(GRAPHS_DIR)/package-size-stats.csv
|
||||
|
||||
check-dependencies:
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends -C
|
||||
|tee $(GRAPHS_DIR)/$(@).dot \
|
||||
|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT)
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
@@ -782,7 +713,6 @@ COMMON_CONFIG_ENV = \
|
||||
KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \
|
||||
BR2_CONFIG=$(BR2_CONFIG) \
|
||||
BR2_EXTERNAL=$(BR2_EXTERNAL) \
|
||||
HOST_GCC_VERSION="$(HOSTCC_VERSION)" \
|
||||
SKIP_LEGACY=
|
||||
|
||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile
|
||||
@@ -884,13 +814,10 @@ ifeq ($(NEED_WRAPPER),y)
|
||||
$(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O)
|
||||
endif
|
||||
|
||||
# printvars prints all the variables currently defined in our
|
||||
# Makefiles. Alternatively, if a non-empty VARS variable is passed,
|
||||
# only the variables matching the make pattern passed in VARS are
|
||||
# displayed.
|
||||
# printvars prints all the variables currently defined in our Makefiles
|
||||
printvars:
|
||||
@$(foreach V, \
|
||||
$(sort $(if $(VARS),$(filter $(VARS),$(.VARIABLES)),$(.VARIABLES))), \
|
||||
$(sort $(.VARIABLES)), \
|
||||
$(if $(filter-out environment% default automatic, \
|
||||
$(origin $V)), \
|
||||
$(info $V=$($V) ($(value $V)))))
|
||||
@@ -908,7 +835,7 @@ ifeq ($(O),output)
|
||||
rm -rf $(O)
|
||||
endif
|
||||
rm -rf $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \
|
||||
$(CONFIG_DIR)/.auto.deps $(BR2_EXTERNAL_FILE)
|
||||
$(CONFIG_DIR)/.auto.deps
|
||||
|
||||
help:
|
||||
@echo 'Cleaning:'
|
||||
@@ -949,10 +876,23 @@ help:
|
||||
@echo ' <pkg>-dirclean - Remove <pkg> build directory'
|
||||
@echo ' <pkg>-reconfigure - Restart the build from the configure step'
|
||||
@echo ' <pkg>-rebuild - Restart the build from the build step'
|
||||
$(foreach p,$(HELP_PACKAGES), \
|
||||
@echo $(sep) \
|
||||
@echo '$($(p)_NAME):' $(sep) \
|
||||
$($(p)_HELP_CMDS)$(sep))
|
||||
@echo ' <pkg>-legal-info - Generate license information for <pkg>'
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
@echo ' busybox-menuconfig - Run BusyBox menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_LINUX_KERNEL),y)
|
||||
@echo ' linux-menuconfig - Run Linux kernel menuconfig'
|
||||
@echo ' linux-savedefconfig - Run Linux kernel savedefconfig'
|
||||
@echo ' linux-update-defconfig - Save the Linux configuration to the path specified'
|
||||
@echo ' by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE'
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
@echo ' uclibc-menuconfig - Run uClibc menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_BAREBOX),y)
|
||||
@echo ' barebox-menuconfig - Run barebox menuconfig'
|
||||
@echo ' barebox-savedefconfig - Run barebox savedefconfig'
|
||||
endif
|
||||
@echo
|
||||
@echo 'Documentation:'
|
||||
@echo ' manual - build manual in all formats'
|
||||
@@ -963,7 +903,6 @@ help:
|
||||
@echo ' manual-epub - build manual in ePub'
|
||||
@echo ' graph-build - generate graphs of the build times'
|
||||
@echo ' graph-depends - generate graph of the dependency tree'
|
||||
@echo ' graph-size - generate stats of the filesystem size'
|
||||
@echo ' list-defconfigs - list all defconfigs (pre-configured minimal systems)'
|
||||
@echo
|
||||
@echo 'Miscellaneous:'
|
||||
|
||||
3
README
3
README
@@ -21,6 +21,3 @@ Buildroot comes with a basic configuration for a number of boards. Run
|
||||
Please feed suggestions, bug reports, insults, and bribes back to the
|
||||
buildroot mailing list: buildroot@buildroot.org
|
||||
You can also find us on #buildroot on Freenode IRC.
|
||||
|
||||
If you would like to contribute patches, please read
|
||||
https://buildroot.org/manual.html#submitting-patches
|
||||
|
||||
@@ -94,7 +94,8 @@ config BR2_i386
|
||||
|
||||
config BR2_m68k
|
||||
bool "m68k"
|
||||
# MMU support is set by the subarchitecture file, arch/Config.in.m68k
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
depends on BROKEN # ice in uclibc / inet_ntoa_r
|
||||
help
|
||||
Motorola 68000 family microprocessor
|
||||
http://en.wikipedia.org/wiki/M68k
|
||||
@@ -216,16 +217,6 @@ config BR2_sparc
|
||||
http://www.oracle.com/sun
|
||||
http://en.wikipedia.org/wiki/Sparc
|
||||
|
||||
config BR2_sparc64
|
||||
bool "SPARC64"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SPARC (from Scalable Processor Architecture) is a RISC instruction
|
||||
set architecture (ISA) developed by Sun Microsystems.
|
||||
http://www.oracle.com/sun
|
||||
http://en.wikipedia.org/wiki/Sparc
|
||||
|
||||
config BR2_x86_64
|
||||
bool "x86_64"
|
||||
select BR2_ARCH_IS_64
|
||||
@@ -283,6 +274,10 @@ config BR2_GCC_TARGET_FLOAT_ABI
|
||||
config BR2_GCC_TARGET_MODE
|
||||
string
|
||||
|
||||
# If the architecture has atomic operations, select this:
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
bool
|
||||
|
||||
# Must be selected by binary formats that support shared libraries.
|
||||
config BR2_BINFMT_SUPPORTS_SHARED
|
||||
bool
|
||||
@@ -331,20 +326,17 @@ choice
|
||||
|
||||
config BR2_BINFMT_FLAT_ONE
|
||||
bool "One memory region"
|
||||
depends on !BR2_m68k
|
||||
help
|
||||
All segments are linked into one memory region.
|
||||
|
||||
config BR2_BINFMT_FLAT_SEP_DATA
|
||||
bool "Separate data and code region"
|
||||
depends on BR2_m68k || BR2_bfin
|
||||
help
|
||||
Allow for the data and text segments to be separated and placed in
|
||||
different regions of memory.
|
||||
|
||||
config BR2_BINFMT_FLAT_SHARED
|
||||
bool "Shared binary"
|
||||
depends on BR2_m68k || BR2_bfin
|
||||
# Even though this really generates shared binaries, there is no libdl
|
||||
# and dlopen() cannot be used. So packages that require shared
|
||||
# libraries cannot be built. Therefore, we don't select
|
||||
@@ -396,7 +388,7 @@ if BR2_sh || BR2_sh64
|
||||
source "arch/Config.in.sh"
|
||||
endif
|
||||
|
||||
if BR2_sparc || BR2_sparc64
|
||||
if BR2_sparc
|
||||
source "arch/Config.in.sparc"
|
||||
endif
|
||||
|
||||
|
||||
@@ -5,3 +5,6 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_aarch64
|
||||
default "BIG" if BR2_aarch64_be
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
@@ -21,6 +21,9 @@ config BR2_ARC_ATOMIC_EXT
|
||||
bool "Atomic extension (LLOCK/SCOND instructions)"
|
||||
default y if BR2_arc770d || BR2_archs38
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y if BR2_ARC_ATOMIC_EXT
|
||||
|
||||
config BR2_ARCH
|
||||
default "arc" if BR2_arcle
|
||||
default "arceb" if BR2_arceb
|
||||
|
||||
@@ -52,9 +52,6 @@ config BR2_ARM_CPU_ARMV6
|
||||
config BR2_ARM_CPU_ARMV7A
|
||||
bool
|
||||
|
||||
config BR2_ARM_CPU_ARMV7M
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_arm || BR2_armeb
|
||||
@@ -107,13 +104,6 @@ config BR2_arm1176jzf_s
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_arm11mpcore
|
||||
bool "mpcore"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_MAYBE_HAS_VFPV2
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV6
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a5
|
||||
bool "cortex-A5"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -162,22 +152,10 @@ config BR2_cortex_a15
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a17
|
||||
bool "cortex-A17"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_m3
|
||||
bool "cortex-M3"
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7M
|
||||
config BR2_cortex_m4
|
||||
bool "cortex-M4"
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7M
|
||||
config BR2_fa526
|
||||
bool "fa526/626"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -207,30 +185,9 @@ config BR2_iwmmxt
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
endchoice
|
||||
|
||||
config BR2_ARM_ENABLE_NEON
|
||||
bool "Enable NEON SIMD extension support"
|
||||
depends on BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
help
|
||||
For some CPU cores, the NEON SIMD extension is optional.
|
||||
Select this option if you are certain your particular
|
||||
implementation has NEON support and you want to use it.
|
||||
|
||||
config BR2_ARM_ENABLE_VFP
|
||||
bool "Enable VFP extension support"
|
||||
depends on BR2_ARM_CPU_MAYBE_HAS_VFPV2
|
||||
select BR2_ARM_CPU_HAS_VFPV4 if BR2_ARM_CPU_MAYBE_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_VFPV3 if BR2_ARM_CPU_MAYBE_HAS_VFPV3
|
||||
select BR2_ARM_CPU_HAS_VFPV2 if BR2_ARM_CPU_MAYBE_HAS_VFPV2
|
||||
help
|
||||
For some CPU cores, the VFP extension is optional. Select
|
||||
this option if you are certain your particular
|
||||
implementation has VFP support and you want to use it.
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
depends on BR2_arm || BR2_armeb
|
||||
default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_VFPV2
|
||||
default BR2_ARM_EABI
|
||||
help
|
||||
Application Binary Interface to use. The Application Binary
|
||||
@@ -264,7 +221,7 @@ config BR2_ARM_EABI
|
||||
|
||||
config BR2_ARM_EABIHF
|
||||
bool "EABIhf"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV2
|
||||
depends on BR2_ARM_CPU_MAYBE_HAS_VFPV2 || BR2_ARM_CPU_HAS_VFPV2
|
||||
help
|
||||
The EABIhf is an extension of EABI which supports the 'hard'
|
||||
floating point model. This model uses the floating point
|
||||
@@ -282,6 +239,15 @@ config BR2_ARM_EABIHF
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_ARM_ENABLE_NEON
|
||||
bool "Enable NEON SIMD extension support"
|
||||
depends on BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
help
|
||||
For some CPU cores, the NEON SIMD extension is optional.
|
||||
Select this option if you are certain your particular
|
||||
implementation has NEON support and you want to use it.
|
||||
|
||||
choice
|
||||
prompt "Floating point strategy"
|
||||
depends on BR2_ARM_EABI || BR2_ARM_EABIHF
|
||||
@@ -302,7 +268,7 @@ config BR2_ARM_SOFT_FLOAT
|
||||
|
||||
config BR2_ARM_FPU_VFPV2
|
||||
bool "VFPv2"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV2
|
||||
depends on BR2_ARM_CPU_HAS_VFPV2 || BR2_ARM_CPU_MAYBE_HAS_VFPV2
|
||||
help
|
||||
This option allows to use the VFPv2 floating point unit, as
|
||||
available in some ARMv5 processors (ARM926EJ-S) and some
|
||||
@@ -315,7 +281,7 @@ config BR2_ARM_FPU_VFPV2
|
||||
|
||||
config BR2_ARM_FPU_VFPV3
|
||||
bool "VFPv3"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV3
|
||||
depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
|
||||
help
|
||||
This option allows to use the VFPv3 floating point unit, as
|
||||
available in some ARMv7 processors (Cortex-A{8, 9}). This
|
||||
@@ -331,7 +297,7 @@ config BR2_ARM_FPU_VFPV3
|
||||
|
||||
config BR2_ARM_FPU_VFPV3D16
|
||||
bool "VFPv3-D16"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV3
|
||||
depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
|
||||
help
|
||||
This option allows to use the VFPv3 floating point unit, as
|
||||
available in some ARMv7 processors (Cortex-A{8, 9}). This
|
||||
@@ -346,7 +312,7 @@ config BR2_ARM_FPU_VFPV3D16
|
||||
|
||||
config BR2_ARM_FPU_VFPV4
|
||||
bool "VFPv4"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4 || BR2_ARM_CPU_MAYBE_HAS_VFPV4
|
||||
help
|
||||
This option allows to use the VFPv4 floating point unit, as
|
||||
available in some ARMv7 processors (Cortex-A{5, 7, 12,
|
||||
@@ -361,7 +327,7 @@ config BR2_ARM_FPU_VFPV4
|
||||
|
||||
config BR2_ARM_FPU_VFPV4D16
|
||||
bool "VFPv4-D16"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4 || BR2_ARM_CPU_MAYBE_HAS_VFPV4
|
||||
help
|
||||
This option allows to use the VFPv4 floating point unit, as
|
||||
available in some ARMv7 processors (Cortex-A{5, 7, 12,
|
||||
@@ -386,7 +352,7 @@ config BR2_ARM_FPU_NEON
|
||||
|
||||
config BR2_ARM_FPU_NEON_VFPV4
|
||||
bool "NEON/VFPv4"
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4
|
||||
depends on BR2_ARM_CPU_HAS_VFPV4 || BR2_ARM_CPU_MAYBE_HAS_VFPV4
|
||||
depends on BR2_ARM_CPU_HAS_NEON
|
||||
help
|
||||
This option allows to use both the VFPv4 and the NEON SIMD
|
||||
@@ -410,18 +376,12 @@ config BR2_ARM_INSTRUCTIONS_ARM
|
||||
config BR2_ARM_INSTRUCTIONS_THUMB
|
||||
bool "Thumb"
|
||||
depends on BR2_ARM_CPU_HAS_THUMB
|
||||
# Thumb-1 and VFP are not compatible
|
||||
depends on BR2_ARM_SOFT_FLOAT
|
||||
help
|
||||
This option instructions the compiler to generate Thumb
|
||||
instructions, which allows to mix 16 bits instructions and
|
||||
32 bits instructions. This generally provides a much smaller
|
||||
compiled binary size.
|
||||
|
||||
comment "Thumb1 is not compatible with VFP"
|
||||
depends on BR2_ARM_CPU_HAS_THUMB
|
||||
depends on !BR2_ARM_SOFT_FLOAT
|
||||
|
||||
config BR2_ARM_INSTRUCTIONS_THUMB2
|
||||
bool "Thumb2"
|
||||
depends on BR2_ARM_CPU_HAS_THUMB2
|
||||
@@ -441,6 +401,9 @@ config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_arm
|
||||
default "BIG" if BR2_armeb
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "arm920t" if BR2_arm920t
|
||||
default "arm922t" if BR2_arm922t
|
||||
@@ -449,17 +412,13 @@ config BR2_GCC_TARGET_CPU
|
||||
default "arm1136jf-s" if BR2_arm1136jf_s
|
||||
default "arm1176jz-s" if BR2_arm1176jz_s
|
||||
default "arm1176jzf-s" if BR2_arm1176jzf_s
|
||||
default "mpcore" if BR2_arm11mpcore && BR2_ARM_CPU_HAS_VFPV2
|
||||
default "mpcorenovfp" if BR2_arm11mpcore
|
||||
default "cortex-a5" if BR2_cortex_a5
|
||||
default "cortex-a7" if BR2_cortex_a7
|
||||
default "cortex-a8" if BR2_cortex_a8
|
||||
default "cortex-a9" if BR2_cortex_a9
|
||||
default "cortex-a12" if BR2_cortex_a12
|
||||
default "cortex-a15" if BR2_cortex_a15
|
||||
default "cortex-a17" if BR2_cortex_a17
|
||||
default "cortex-m3" if BR2_cortex_m3
|
||||
default "cortex-m4" if BR2_cortex_m4
|
||||
default "fa526" if BR2_fa526
|
||||
default "marvell-pj4" if BR2_pj4
|
||||
default "strongarm" if BR2_strongarm
|
||||
|
||||
@@ -68,6 +68,9 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default bf606 if BR2_bf606
|
||||
default bf607 if BR2_bf607
|
||||
|
||||
@@ -4,34 +4,13 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "BIG"
|
||||
|
||||
# symbols used to distinguish between m68k and coldfire
|
||||
# for gcc multilib
|
||||
config BR2_m68k_m68k
|
||||
bool
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_m68k_cf
|
||||
bool
|
||||
|
||||
# coldfire variants will be added later
|
||||
choice
|
||||
prompt "Target CPU"
|
||||
depends on BR2_m68k
|
||||
default BR2_m68k_68040
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_m68k_68040
|
||||
bool "68040"
|
||||
select BR2_m68k_m68k
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_m68k_cf5208
|
||||
bool "5208"
|
||||
select BR2_m68k_cf
|
||||
select BR2_SOFT_FLOAT
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "68000" if BR2_m68k_68000
|
||||
default "68010" if BR2_m68k_68010
|
||||
default "68020" if BR2_m68k_68020
|
||||
default "68030" if BR2_m68k_68030
|
||||
default "68040" if BR2_m68k_68040
|
||||
default "5208" if BR2_m68k_cf5208
|
||||
default "68060" if BR2_m68k_68060
|
||||
|
||||
@@ -9,3 +9,6 @@ config BR2_ENDIAN
|
||||
config BR2_microblaze
|
||||
bool
|
||||
default y if BR2_microblazeel || BR2_microblazebe
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
@@ -6,8 +6,8 @@ choice
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
64bit cabable: 64, 64r2, 64r6
|
||||
non-64bit capable: 32, 32r2, 32r6
|
||||
64bit cabable: 3, 4, 64, 64r2
|
||||
non-64bit capable: 1, 2, 32, 32r2
|
||||
|
||||
config BR2_mips_32
|
||||
bool "mips 32"
|
||||
@@ -15,18 +15,12 @@ config BR2_mips_32
|
||||
config BR2_mips_32r2
|
||||
bool "mips 32r2"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_mips_32r6
|
||||
bool "mips 32r6"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_mips_64
|
||||
bool "mips 64"
|
||||
depends on BR2_ARCH_IS_64
|
||||
config BR2_mips_64r2
|
||||
bool "mips 64r2"
|
||||
depends on BR2_ARCH_IS_64
|
||||
config BR2_mips_64r6
|
||||
bool "mips 64r6"
|
||||
depends on BR2_ARCH_IS_64
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -67,13 +61,18 @@ config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_mipsel || BR2_mips64el
|
||||
default "BIG" if BR2_mips || BR2_mips64
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "mips1" if BR2_mips_1
|
||||
default "mips2" if BR2_mips_2
|
||||
default "mips3" if BR2_mips_3
|
||||
default "mips4" if BR2_mips_4
|
||||
default "mips32" if BR2_mips_32
|
||||
default "mips32r2" if BR2_mips_32r2
|
||||
default "mips32r6" if BR2_mips_32r6
|
||||
default "mips64" if BR2_mips_64
|
||||
default "mips64r2" if BR2_mips_64r2
|
||||
default "mips64r6" if BR2_mips_64r6
|
||||
|
||||
config BR2_MIPS_OABI32
|
||||
bool
|
||||
|
||||
@@ -3,3 +3,6 @@ config BR2_ARCH
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
@@ -164,6 +164,9 @@ config BR2_ENDIAN
|
||||
default "BIG" if BR2_powerpc || BR2_powerpc64
|
||||
default "LITTLE" if BR2_powerpc64le
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "401" if BR2_powerpc_401
|
||||
default "403" if BR2_powerpc_403
|
||||
@@ -197,8 +200,6 @@ config BR2_GCC_TARGET_CPU
|
||||
default "e300c2" if BR2_powerpc_e300c2
|
||||
default "e300c3" if BR2_powerpc_e300c3
|
||||
default "e500mc" if BR2_powerpc_e500mc
|
||||
default "e5500" if BR2_powerpc_e5500
|
||||
default "e6500" if BR2_powerpc_e6500
|
||||
default "power4" if BR2_powerpc_power4
|
||||
default "power5" if BR2_powerpc_power5
|
||||
default "power6" if BR2_powerpc_power6
|
||||
|
||||
@@ -28,3 +28,6 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_sh4 || BR2_sh4a || BR2_sh64
|
||||
default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
@@ -1,25 +1,18 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_sparc || BR2_sparc64
|
||||
default BR2_sparc_v8 if BR2_sparc
|
||||
default BR2_sparc_v9 if BR2_sparc64
|
||||
depends on BR2_sparc
|
||||
default BR2_sparc_v8
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_sparc_v8
|
||||
bool "v8"
|
||||
depends on BR2_sparc
|
||||
config BR2_sparc_leon3
|
||||
bool "leon3"
|
||||
depends on BR2_sparc
|
||||
config BR2_sparc_v9
|
||||
bool "v9"
|
||||
depends on BR2_sparc64
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "sparc" if BR2_sparc
|
||||
default "sparc64" if BR2_sparc64
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "BIG"
|
||||
@@ -27,4 +20,3 @@ config BR2_ENDIAN
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "leon3" if BR2_sparc_leon3
|
||||
default "v8" if BR2_sparc_v8
|
||||
default "ultrasparc" if BR2_sparc_v9
|
||||
|
||||
@@ -25,23 +25,15 @@ choice
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_x86_i386
|
||||
bool "i386"
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_i486
|
||||
bool "i486"
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_i586
|
||||
bool "i586"
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_x1000
|
||||
bool "x1000"
|
||||
depends on !BR2_x86_64
|
||||
help
|
||||
The Intel X1000 is a Pentium class microprocessor in the
|
||||
Quark (sub-Atom) Product Line. The X1000 has a bug on the
|
||||
lock prefix requiring that prefix must be stripped at build
|
||||
time.
|
||||
|
||||
See https://en.wikipedia.org/wiki/Intel_Quark
|
||||
|
||||
config BR2_x86_i686
|
||||
bool "i686"
|
||||
depends on !BR2_x86_64
|
||||
@@ -207,9 +199,9 @@ config BR2_x86_winchip2
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "i386" if BR2_x86_i386
|
||||
default "i486" if BR2_x86_i486
|
||||
default "i586" if BR2_x86_i586
|
||||
default "i586" if BR2_x86_x1000
|
||||
default "i586" if BR2_x86_pentium_mmx
|
||||
default "i586" if BR2_x86_geode
|
||||
default "i586" if BR2_x86_c3
|
||||
@@ -226,8 +218,6 @@ config BR2_ARCH
|
||||
default "i686" if BR2_x86_nocona && BR2_i386
|
||||
default "i686" if BR2_x86_core2 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx2 && BR2_i386
|
||||
default "i686" if BR2_x86_atom && BR2_i386
|
||||
default "i686" if BR2_x86_opteron && BR2_i386
|
||||
default "i686" if BR2_x86_opteron_sse3 && BR2_i386
|
||||
@@ -243,10 +233,13 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y if !BR2_x86_i386
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "i386" if BR2_x86_i386
|
||||
default "i486" if BR2_x86_i486
|
||||
default "i586" if BR2_x86_i586
|
||||
default "i586" if BR2_x86_x1000
|
||||
default "pentium-mmx" if BR2_x86_pentium_mmx
|
||||
default "i686" if BR2_x86_i686
|
||||
default "pentiumpro" if BR2_x86_pentiumpro
|
||||
|
||||
@@ -54,3 +54,6 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_ARCH
|
||||
default "xtensa" if BR2_xtensa
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Minimal SD card image for the Acmesystems Arietta G25
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
file zImage {
|
||||
image = "zImage"
|
||||
}
|
||||
|
||||
file acme-arietta.dtb {
|
||||
image = "at91-ariag25.dtb"
|
||||
}
|
||||
|
||||
file boot.bin {
|
||||
image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.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,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,45 +0,0 @@
|
||||
Acmesystems Arietta G25
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Arietta G25. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
You can find additional informations, tutorials and a very comprehensive
|
||||
documentation on http://www.acmesystems.it/arietta.
|
||||
|
||||
Build instructions
|
||||
==================
|
||||
|
||||
To build an image for the arietta g25 choose the configuration
|
||||
corresponding to the arietta variant.
|
||||
|
||||
For 128MB RAM variant type:
|
||||
|
||||
$ make acmesystems_arietta_g25_128mb_defconfig
|
||||
|
||||
else for 256MB RAM variant type:
|
||||
|
||||
$ make acmesystems_arietta_g25_256mb_defconfig
|
||||
|
||||
then:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the microSD card
|
||||
=============================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Insert the microSD card into the arietta slot and power it.
|
||||
|
||||
The image just built is fairly basic and the only output
|
||||
you will get is on serial console, please consider to use a DPI
|
||||
cable (http://www.acmesystems.it/DPI)
|
||||
@@ -1,4 +1,4 @@
|
||||
SoCkit, SoC Development Kit
|
||||
SoCkit
|
||||
|
||||
Intro
|
||||
=====
|
||||
@@ -6,17 +6,14 @@ 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:
|
||||
A good source of information is :
|
||||
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:
|
||||
-------------
|
||||
Boot process :
|
||||
--------------
|
||||
|
||||
In summary, the bootloader has multiple stages, an hardcoded boot routine is
|
||||
loaded from an on-chip ROM.
|
||||
@@ -28,15 +25,15 @@ loaded from an on-chip ROM.
|
||||
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:
|
||||
A good source of information for the boot process is :
|
||||
http://xillybus.com/tutorials/u-boot-image-altera-soc
|
||||
|
||||
Note for the SPL:
|
||||
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:
|
||||
For more information about this files please look at :
|
||||
http://www.rocketboards.org/foswiki/Documentation/PreloaderUbootCustomization#Common_Source_Code
|
||||
|
||||
How to build it
|
||||
@@ -46,11 +43,11 @@ Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The altera_sockit_defconfig configuration is a minimal configuration with
|
||||
all that is required to bring the SoCkit:
|
||||
all that is required to bring the SoCkit :
|
||||
|
||||
$ make altera_sockit_defconfig
|
||||
|
||||
and for the SoC Development Board:
|
||||
and for the SoC Development Board :
|
||||
|
||||
$ make altera_sockdk_defconfig
|
||||
|
||||
@@ -84,7 +81,7 @@ 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:
|
||||
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 !!!
|
||||
@@ -94,17 +91,17 @@ Remember that without signing the u-boot-spl.bin, the board will not boot !!!
|
||||
Prepare your SDcard
|
||||
===================
|
||||
|
||||
A good source of information for the partitioning process is:
|
||||
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:
|
||||
Determine the device associated to the SD card :
|
||||
|
||||
$ cat /proc/partitions
|
||||
|
||||
let's assume it is /dev/mmcblk0:
|
||||
let's assume it is /dev/mmcblk0 :
|
||||
|
||||
$ sudo fdisk /dev/mmcblk0
|
||||
|
||||
@@ -115,7 +112,7 @@ using these options, pressing enter after each one:
|
||||
* 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:
|
||||
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
|
||||
@@ -124,32 +121,32 @@ Device Boot Start End Blocks Id System
|
||||
|
||||
Then write the partition table using 'w' and exit.
|
||||
|
||||
Make partition one a DOS partition:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
Copy the rootfs :
|
||||
|
||||
$ sudo dd if=rootfs.ext2 of=/dev/mmcblk0p2 bs=64k
|
||||
$ sudo sync
|
||||
|
||||
@@ -1,269 +0,0 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_CROSS_COMPILE="powerpc-linux-"
|
||||
CONFIG_LOCALVERSION="-ANI-uCP1020-64EE512"
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_DEFAULT_HOSTNAME="uCP1020-64EE512"
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_LOG_CPU_MAX_BUF_SHIFT=14
|
||||
CONFIG_SYSFS_DEPRECATED=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_RD_BZIP2 is not set
|
||||
# CONFIG_RD_LZMA is not set
|
||||
# CONFIG_RD_XZ is not set
|
||||
# CONFIG_RD_LZO is not set
|
||||
# CONFIG_RD_LZ4 is not set
|
||||
CONFIG_SYSCTL_SYSCALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_SLUB_DEBUG is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
# CONFIG_EFI_PARTITION is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_UCP1020_SOM=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_PREEMPT=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_MATH_EMULATION=y
|
||||
CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y
|
||||
CONFIG_SWIOTLB=y
|
||||
# CONFIG_COMPACTION is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
# CONFIG_PCIEAER is not set
|
||||
# CONFIG_PCIEASPM is not set
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_BRIDGE_NETFILTER=y
|
||||
CONFIG_NF_CONNTRACK=y
|
||||
CONFIG_NF_CONNTRACK_FTP=y
|
||||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_TARGET_MARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_HELPER=y
|
||||
CONFIG_NETFILTER_XT_MATCH_MARK=y
|
||||
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
||||
CONFIG_NF_CONNTRACK_IPV4=y
|
||||
CONFIG_IP_NF_IPTABLES=y
|
||||
CONFIG_IP_NF_FILTER=y
|
||||
CONFIG_IP_NF_TARGET_REJECT=y
|
||||
CONFIG_IP_NF_NAT=y
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=y
|
||||
CONFIG_IP_NF_TARGET_NETMAP=y
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=y
|
||||
CONFIG_IP_NF_MANGLE=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_NET_SCH_HTB=y
|
||||
CONFIG_CFG80211=y
|
||||
# CONFIG_CFG80211_DEFAULT_PS is not set
|
||||
CONFIG_MAC80211=y
|
||||
# CONFIG_MAC80211_RC_MINSTREL is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/bin/hotplug"
|
||||
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_PLATFORM=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_MTD_NAND_FSL_UPM=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=131072
|
||||
CONFIG_EEPROM_AT25=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_ST=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_3COM is not set
|
||||
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||
# CONFIG_NET_VENDOR_AGERE is not set
|
||||
# CONFIG_NET_VENDOR_ALTEON is not set
|
||||
# CONFIG_NET_VENDOR_AMD is not set
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_VENDOR_ATHEROS is not set
|
||||
# CONFIG_NET_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_BROCADE is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_CISCO is not set
|
||||
# CONFIG_NET_VENDOR_DEC is not set
|
||||
# CONFIG_NET_VENDOR_DLINK is not set
|
||||
# CONFIG_NET_VENDOR_EMULEX is not set
|
||||
# CONFIG_NET_VENDOR_EXAR is not set
|
||||
CONFIG_GIANFAR=y
|
||||
# CONFIG_NET_VENDOR_HP is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_MYRI is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NVIDIA is not set
|
||||
# CONFIG_NET_VENDOR_OKI is not set
|
||||
# CONFIG_NET_PACKET_ENGINE is not set
|
||||
# CONFIG_NET_VENDOR_QLOGIC is not set
|
||||
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_REALTEK is not set
|
||||
# CONFIG_NET_VENDOR_RDC is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SILAN is not set
|
||||
# CONFIG_NET_VENDOR_SIS is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SUN is not set
|
||||
# CONFIG_NET_VENDOR_TEHUTI is not set
|
||||
# CONFIG_NET_VENDOR_TI is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
# CONFIG_NET_VENDOR_XILINX is not set
|
||||
CONFIG_MICREL_PHY=y
|
||||
CONFIG_IWLWIFI=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_SERIO_LIBPS2=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_NOZOMI=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BITBANG=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
CONFIG_SENSORS_LM90=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_BOOKE_WDT=y
|
||||
CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT=36
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_MEDIA_CONTROLLER=y
|
||||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
CONFIG_MEDIA_USB_SUPPORT=y
|
||||
CONFIG_USB_VIDEO_CLASS=y
|
||||
CONFIG_USB_GSPCA=y
|
||||
CONFIG_USB_PWC=y
|
||||
CONFIG_USB_ZR364XX=y
|
||||
CONFIG_USB_STKWEBCAM=y
|
||||
CONFIG_VIDEO_EM28XX=y
|
||||
CONFIG_VIDEO_EM28XX_V4L2=y
|
||||
# CONFIG_HID is not set
|
||||
# CONFIG_USB_HID is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DYNAMIC_MINORS=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_WDM=y
|
||||
CONFIG_USB_TMC=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_STORAGE_DEBUG=y
|
||||
CONFIG_USB_MDC800=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_ASYNC_TX_DMA=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
# CONFIG_EXT3_FS_XATTR is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_XFS_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_NTFS_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_JFFS2_FS_WBUF_VERIFY=y
|
||||
CONFIG_JFFS2_SUMMARY=y
|
||||
CONFIG_JFFS2_FS_XATTR=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CONFIG_JFFS2_LZO=y
|
||||
CONFIG_JFFS2_RUBIN=y
|
||||
CONFIG_CRAMFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_CIFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
# CONFIG_DEBUG_PREEMPT is not set
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
||||
# CONFIG_RCU_CPU_STALL_INFO is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
CONFIG_CRYPTO_PCBC=y
|
||||
CONFIG_CRYPTO_SHA1=y
|
||||
CONFIG_CRYPTO_SHA1_PPC=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_TALITOS=y
|
||||
@@ -1,462 +0,0 @@
|
||||
From a243628639e12a4bd0a737eac78a12ed240cd137 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Date: Mon, 18 Jul 2016 10:40:16 -0400
|
||||
Subject: [PATCH] Arcturus uCP1020 BSP support
|
||||
|
||||
The uCP1020 product family (ucp1020) is an Arcturus Networks Inc.
|
||||
System on Modules product featuring a NXP QorIQ P1020 CPU,
|
||||
optionally populated with 1 or 2 Gig-Ethernet PHYs,
|
||||
DDR3, NOR Flash, eMMC NAND Flash and/or SPI Flash.
|
||||
|
||||
Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
|
||||
---
|
||||
arch/powerpc/boot/dts/ucp1020.dts | 87 ++++++++++++
|
||||
arch/powerpc/boot/dts/ucp1020.dtsi | 211 ++++++++++++++++++++++++++++++
|
||||
arch/powerpc/platforms/85xx/Kconfig | 7 +
|
||||
arch/powerpc/platforms/85xx/Makefile | 1 +
|
||||
arch/powerpc/platforms/85xx/ucp1020_som.c | 92 +++++++++++++
|
||||
5 files changed, 398 insertions(+)
|
||||
create mode 100644 arch/powerpc/boot/dts/ucp1020.dts
|
||||
create mode 100644 arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
create mode 100644 arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
|
||||
diff --git a/arch/powerpc/boot/dts/ucp1020.dts b/arch/powerpc/boot/dts/ucp1020.dts
|
||||
new file mode 100644
|
||||
index 0000000..291e70a
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/boot/dts/ucp1020.dts
|
||||
@@ -0,0 +1,87 @@
|
||||
+/*
|
||||
+ * uCP1020 Tree Source (32-bit address map)
|
||||
+ *
|
||||
+ * Copyright 2013-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions are met:
|
||||
+ * * Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * * Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * * Neither the name of Freescale Semiconductor nor the
|
||||
+ * names of its contributors may be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ *
|
||||
+ * ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
+ * GNU General Public License ("GPL") as published by the Free Software
|
||||
+ * Foundation, either version 2 of that License or (at your option) any
|
||||
+ * later version.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
|
||||
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
|
||||
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/include/ "fsl/p1020si-pre.dtsi"
|
||||
+/ {
|
||||
+ model = "arcturus,uCP1020";
|
||||
+ compatible = "arcturus,uCP1020";
|
||||
+
|
||||
+ memory {
|
||||
+ device_type = "memory";
|
||||
+ };
|
||||
+
|
||||
+ lbc: localbus@ffe05000 {
|
||||
+ reg = <0 0xffe05000 0 0x1000>;
|
||||
+
|
||||
+ /* NOR Flash */
|
||||
+ ranges = <0x0 0x0 0x0 0xec000000 0x04000000>;
|
||||
+ };
|
||||
+
|
||||
+ soc: soc@ffe00000 {
|
||||
+ ranges = <0x0 0x0 0xffe00000 0x100000>;
|
||||
+ };
|
||||
+
|
||||
+ pci0: pcie@ffe09000 {
|
||||
+ ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
|
||||
+ 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
|
||||
+ reg = <0 0xffe09000 0 0x1000>;
|
||||
+ pcie@0 {
|
||||
+ ranges = <0x2000000 0x0 0xa0000000
|
||||
+ 0x2000000 0x0 0xa0000000
|
||||
+ 0x0 0x20000000
|
||||
+
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x0 0x100000>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ pci1: pcie@ffe0a000 {
|
||||
+ reg = <0 0xffe0a000 0 0x1000>;
|
||||
+ ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
|
||||
+ 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
|
||||
+ pcie@0 {
|
||||
+ ranges = <0x2000000 0x0 0x80000000
|
||||
+ 0x2000000 0x0 0x80000000
|
||||
+ 0x0 0x20000000
|
||||
+
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x1000000 0x0 0x0
|
||||
+ 0x0 0x100000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/include/ "ucp1020.dtsi"
|
||||
+/include/ "fsl/p1020si-post.dtsi"
|
||||
diff --git a/arch/powerpc/boot/dts/ucp1020.dtsi b/arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
new file mode 100644
|
||||
index 0000000..7cff949
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/boot/dts/ucp1020.dtsi
|
||||
@@ -0,0 +1,211 @@
|
||||
+/*
|
||||
+ * uCP1020 Device Tree Source stub (no addresses or top-level ranges)
|
||||
+ *
|
||||
+ * Copyright 2013-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions are met:
|
||||
+ * * Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * * Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * * Neither the name of Freescale Semiconductor nor the
|
||||
+ * names of its contributors may be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ *
|
||||
+ * ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
+ * GNU General Public License ("GPL") as published by the Free Software
|
||||
+ * Foundation, either version 2 of that License or (at your option) any
|
||||
+ * later version.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
|
||||
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
|
||||
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+&lbc {
|
||||
+ nor@0,0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "cfi-flash";
|
||||
+ reg = <0x0 0x0 0x04000000>;
|
||||
+ bank-width = <2>;
|
||||
+ device-width = <1>;
|
||||
+
|
||||
+ partition@100000 {
|
||||
+ /* 7MB - PART 0 */
|
||||
+ reg = <0x00100000 0x00700000>;
|
||||
+ label = "0";
|
||||
+ };
|
||||
+
|
||||
+ partition@800000 {
|
||||
+ /* 32MB - PART 1 */
|
||||
+ reg = <0x0800000 0x02000000>;
|
||||
+ label = "1";
|
||||
+ };
|
||||
+
|
||||
+ partition@2800000 {
|
||||
+ /* 8MB - PART 2 */
|
||||
+ reg = <0x02800000 0x00800000>;
|
||||
+ label = "2";
|
||||
+ };
|
||||
+
|
||||
+ partition@3000000 {
|
||||
+ /* (16MB - 512K) - PART 3 JFFS 2 */
|
||||
+ reg = <0x03000000 0x00f80000>;
|
||||
+ label = "3";
|
||||
+ };
|
||||
+
|
||||
+ partition@0 {
|
||||
+ /* 512KB - bootloader[u-boot, uCbootloader] */
|
||||
+ reg = <0x0 0x00080000>;
|
||||
+ label = "BOOT_SPI";
|
||||
+ };
|
||||
+
|
||||
+ partition@3f80000 {
|
||||
+ /* 512KB - bootloade NOR r[u-boot, uCbootloader] */
|
||||
+ reg = <0x03f80000 0x00080000>;
|
||||
+ label = "B";
|
||||
+ };
|
||||
+
|
||||
+ partition@80000 {
|
||||
+ /* 256KB - bootloaders environment (uCenv) */
|
||||
+ reg = <0x00080000 0x00040000>;
|
||||
+
|
||||
+ label = "E";
|
||||
+ };
|
||||
+
|
||||
+ partition@C0000 {
|
||||
+ /* 256KB - bootloaders environment (u-boot) */
|
||||
+ reg = <0x000C0000 0x00040000>;
|
||||
+ label = "UENV";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+ i2c@3000 {
|
||||
+ spoc@14 {
|
||||
+ compatible = "conexant,cx2070x";
|
||||
+ reg = <0x14>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ i2c@3100 {
|
||||
+ dtt@4C {
|
||||
+ compatible = "national,lm90";
|
||||
+ reg = <0x4C>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ spi@7000 {
|
||||
+ flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "winbond,w25q80bl";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <40000000>; /* input clock */
|
||||
+
|
||||
+ partition@0 {
|
||||
+ label = "SPI MBR";
|
||||
+ reg = <0x00000000 0x00002000>;
|
||||
+ read-only;
|
||||
+ };
|
||||
+ partition@2000 {
|
||||
+ label = "SPI ENV";
|
||||
+ reg = <0x00002000 0x00006000>;
|
||||
+ read-only;
|
||||
+ };
|
||||
+ partition@8000 {
|
||||
+ label = "SPI FS";
|
||||
+ reg = <0x00008000 0x000F8000>;
|
||||
+ };
|
||||
+ };
|
||||
+ flash@3 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "spansion,s25fl008k";
|
||||
+ reg = <3>;
|
||||
+ spi-max-frequency = <40000000>; /* input clock */
|
||||
+ partition@0 {
|
||||
+ label = "SPI USER";
|
||||
+ reg = <0x00000000 0x00100000>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ usb@22000 {
|
||||
+ phy_type = "ulpi";
|
||||
+ dr_mode = "host";
|
||||
+ };
|
||||
+
|
||||
+ mdio@24000 {
|
||||
+ phy0: ethernet-phy@4 {
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ interrupts = <4 1>;
|
||||
+ reg = <0x04>;
|
||||
+ };
|
||||
+
|
||||
+ phy1: ethernet-phy@6 {
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ interrupts = <8 1>;
|
||||
+ reg = <0x6>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ enet0: ethernet@b0000 {
|
||||
+ phy-handle = <&phy0>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+ };
|
||||
+
|
||||
+ enet1: ethernet@b1000 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ enet2: ethernet@b2000 {
|
||||
+ phy-handle = <&phy1>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+ };
|
||||
+
|
||||
+ gpio0: gpio@f000 {
|
||||
+ compatible = "fsl,mpc8572-gpio", "fsl,pq3-gpio";
|
||||
+ reg = <0xf000 0x1000>;
|
||||
+ interrupts = <47 2>;
|
||||
+ interrupt-parent = <&mpic>;
|
||||
+ #gpio-cells = <2>;
|
||||
+ gpio-controller;
|
||||
+ };
|
||||
+
|
||||
+ gpio-leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+ gpio5 {
|
||||
+ label = "led1"; /* LED15 */
|
||||
+ gpios = <&gpio0 5 0>;
|
||||
+ };
|
||||
+ gpio12 {
|
||||
+ label = "led2"; /* LED16 */
|
||||
+ gpios = <&gpio0 12 0>;
|
||||
+ };
|
||||
+ gpio13 {
|
||||
+ label = "led3"; /* LED17 */
|
||||
+ gpios = <&gpio0 13 0>;
|
||||
+ };
|
||||
+ gpio7 {
|
||||
+ label = "led4"; /* LED18 */
|
||||
+ gpios = <&gpio0 7 0>;
|
||||
+ };
|
||||
+ gpio6 {
|
||||
+ label = "led5"; /* LED19 */
|
||||
+ gpios = <&gpio0 6 0>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
|
||||
index 2fb4b24..81a944f 100644
|
||||
--- a/arch/powerpc/platforms/85xx/Kconfig
|
||||
+++ b/arch/powerpc/platforms/85xx/Kconfig
|
||||
@@ -241,6 +241,13 @@ config SGY_CTS1000
|
||||
help
|
||||
Enable this to support functionality in Servergy's CTS-1000 systems.
|
||||
|
||||
+config UCP1020_SOM
|
||||
+ bool "Arcturus uCP1020 Rev.1.3 System on Module"
|
||||
+ select DEFAULT_UIMAGE
|
||||
+ help
|
||||
+ This option enables support for the Arcturus Networks Inc.
|
||||
+ uCP1020 System on Module.
|
||||
+
|
||||
config MVME2500
|
||||
bool "Artesyn MVME2500"
|
||||
select DEFAULT_UIMAGE
|
||||
diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
|
||||
index 1fe7fb9..84f2b9a 100644
|
||||
--- a/arch/powerpc/platforms/85xx/Makefile
|
||||
+++ b/arch/powerpc/platforms/85xx/Makefile
|
||||
@@ -31,4 +31,5 @@ obj-$(CONFIG_XES_MPC85xx) += xes_mpc85xx.o
|
||||
obj-$(CONFIG_GE_IMP3A) += ge_imp3a.o
|
||||
obj-$(CONFIG_PPC_QEMU_E500) += qemu_e500.o
|
||||
obj-$(CONFIG_SGY_CTS1000) += sgy_cts1000.o
|
||||
+obj-$(CONFIG_UCP1020_SOM) += ucp1020_som.o
|
||||
obj-$(CONFIG_MVME2500) += mvme2500.o
|
||||
diff --git a/arch/powerpc/platforms/85xx/ucp1020_som.c b/arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
new file mode 100644
|
||||
index 0000000..777e8ad
|
||||
--- /dev/null
|
||||
+++ b/arch/powerpc/platforms/85xx/ucp1020_som.c
|
||||
@@ -0,0 +1,92 @@
|
||||
+/*
|
||||
+ * Arcturus Networks Inc. uCP1020 module Setup
|
||||
+ *
|
||||
+ * Copyright 2014-2016 Arcturus Networks Inc.
|
||||
+ *
|
||||
+ * by Oleksandr G Zhadan & Michael Durrant (www.ArcturusNetworks.com)
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify it
|
||||
+ * under the terms of the GNU General Public License as published by the
|
||||
+ * Free Software Foundation; either version 2 of the License, or (at your
|
||||
+ * option) any later version.
|
||||
+ */
|
||||
+
|
||||
+#include <linux/stddef.h>
|
||||
+#include <linux/kernel.h>
|
||||
+#include <linux/pci.h>
|
||||
+#include <linux/kdev_t.h>
|
||||
+#include <linux/delay.h>
|
||||
+#include <linux/seq_file.h>
|
||||
+#include <linux/interrupt.h>
|
||||
+#include <linux/of_platform.h>
|
||||
+
|
||||
+#include <asm/time.h>
|
||||
+#include <asm/machdep.h>
|
||||
+#include <asm/pci-bridge.h>
|
||||
+#include <mm/mmu_decl.h>
|
||||
+#include <asm/prom.h>
|
||||
+#include <asm/udbg.h>
|
||||
+#include <asm/mpic.h>
|
||||
+#include <asm/fsl_guts.h>
|
||||
+
|
||||
+#include <sysdev/fsl_soc.h>
|
||||
+#include <sysdev/fsl_pci.h>
|
||||
+#include "smp.h"
|
||||
+
|
||||
+#include "mpc85xx.h"
|
||||
+
|
||||
+void __init ucp1020_som_pic_init(void)
|
||||
+{
|
||||
+ struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |
|
||||
+ MPIC_SINGLE_DEST_CPU,
|
||||
+ 0, 256, " OpenPIC ");
|
||||
+
|
||||
+ BUG_ON(mpic == NULL);
|
||||
+
|
||||
+ mpic_init(mpic);
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * Setup the architecture
|
||||
+ */
|
||||
+static void __init ucp1020_som_setup_arch(void)
|
||||
+{
|
||||
+ if (ppc_md.progress)
|
||||
+ ppc_md.progress("uCP1020_SoM_setup_arch()", 0);
|
||||
+
|
||||
+ mpc85xx_smp_init();
|
||||
+
|
||||
+ fsl_pci_assign_primary();
|
||||
+ pr_info("\n\t%s (http://www.arcturusnetworks.com)\n", ppc_md.name);
|
||||
+}
|
||||
+
|
||||
+machine_arch_initcall(ucp1020, mpc85xx_common_publish_devices);
|
||||
+machine_arch_initcall(ucp1020, swiotlb_setup_bus_notifier);
|
||||
+
|
||||
+/*
|
||||
+ * Called very early, device-tree isn't unflattened
|
||||
+ */
|
||||
+static int __init ucp1020_probe(void)
|
||||
+{
|
||||
+ unsigned long root = of_get_flat_dt_root();
|
||||
+
|
||||
+ if (of_flat_dt_is_compatible(root, "arcturus,uCP1020"))
|
||||
+ return 1;
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+define_machine(ucp1020) {
|
||||
+ .name = "uCP1020 SoM - Arcturus Networks Inc.",
|
||||
+ .probe = ucp1020_probe,
|
||||
+ .setup_arch = ucp1020_som_setup_arch,
|
||||
+ .init_IRQ = ucp1020_som_pic_init,
|
||||
+#ifdef CONFIG_PCI
|
||||
+ .pcibios_fixup_bus = fsl_pcibios_fixup_bus,
|
||||
+#endif
|
||||
+ .get_irq = mpic_get_irq,
|
||||
+ .restart = fsl_rstcr_restart,
|
||||
+ .calibrate_decr = generic_calibrate_decr,
|
||||
+#ifdef DEBUG
|
||||
+ .progress = udbg_progress,
|
||||
+#endif
|
||||
+};
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
From 4c74fd1266287deca0c1ff091071c5b8558b9735 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Date: Mon, 18 Jul 2016 10:45:41 -0400
|
||||
Subject: [PATCH 1/1] p1020 esdhc controller reserved bit
|
||||
|
||||
Prevent SDHCI core from writing reserved bits, where
|
||||
p1020 reserved bit is SDHCI_CTRL_HISPD, not 0x01(SDHCI_CTRL_LED).
|
||||
|
||||
Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
|
||||
Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
|
||||
---
|
||||
drivers/mmc/host/sdhci-esdhc.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
|
||||
index a870c42..b45de0a 100644
|
||||
--- a/drivers/mmc/host/sdhci-esdhc.h
|
||||
+++ b/drivers/mmc/host/sdhci-esdhc.h
|
||||
@@ -45,6 +45,6 @@
|
||||
#define ESDHC_DMA_SYSCTL 0x40c
|
||||
#define ESDHC_DMA_SNOOP 0x00000040
|
||||
|
||||
-#define ESDHC_HOST_CONTROL_RES 0x01
|
||||
+#define ESDHC_HOST_CONTROL_RES (SDHCI_CTRL_HISPD)
|
||||
|
||||
#endif /* _DRIVERS_MMC_SDHCI_ESDHC_H */
|
||||
--
|
||||
2.1.4
|
||||
@@ -1,73 +0,0 @@
|
||||
Arcturus uCP1020 SoM
|
||||
====================
|
||||
|
||||
This tutorial describes how to use the predefined Buildroot
|
||||
configuration for the Arcturus uCP1020 SoM platform.
|
||||
|
||||
Additional information about this module can be found at
|
||||
<www.arcturusnetworks.com/products/ucp1020>
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
make arcturus_ucp1020_defconfig
|
||||
make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- rootfs.jffs2
|
||||
+-- rootfs.tar
|
||||
+-- u-boot.bin
|
||||
+-- ucp1020.dtb
|
||||
+-- uImage
|
||||
|
||||
Flashing
|
||||
--------
|
||||
|
||||
You'll need to program the files created by buildroot into the NOR flash.
|
||||
|
||||
1. Program the new U-Boot binary (optional)
|
||||
If you don't feel confident upgrading your bootloader then don't do it,
|
||||
it's unnecessary most of the time.
|
||||
|
||||
B$ tftp u-boot.bin
|
||||
B$ protect off 0xeff80000 +$filesize
|
||||
B$ erase 0xeff80000 +$filesize
|
||||
B$ cp.b $loadaddr 0xeff80000 $filesize
|
||||
|
||||
2. Program the kernel
|
||||
|
||||
B$ tftp uImage
|
||||
B$ erase 0xec140000 +$filesize
|
||||
B$ cp.b $loadaddr 0xec140000 $filesize
|
||||
|
||||
3. Program the DTB
|
||||
|
||||
B$ tftp ucp1020.dtb
|
||||
B$ erase 0xec100000 +$filesize
|
||||
B$ cp.b $loadaddr 0xec100000 $filesize
|
||||
|
||||
4. Program the jffs2 root filesystem
|
||||
|
||||
B$ tftp rootfs.jffs2
|
||||
B$ erase 0xec800000 0xee8fffff
|
||||
B$ cp.b $loadaddr 0xec800000 $filesize
|
||||
|
||||
5. Booting your new system
|
||||
|
||||
B$ setenv norboot 'setenv bootargs root=/dev/mtdblock1 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xec140000 - 0xec100000'
|
||||
|
||||
If you want to set this boot option as default:
|
||||
|
||||
B$ setenv bootcmd 'run norboot'
|
||||
B$ saveenv
|
||||
|
||||
...or for a single boot:
|
||||
|
||||
B$ run norboot
|
||||
|
||||
Good Luck !
|
||||
@@ -3,14 +3,14 @@ ARM software simulator of the AArch64 architecture.
|
||||
|
||||
First, one has to download the AArch64 software simulator from:
|
||||
|
||||
https://silver.arm.com/download/download.tm?pv=2663527
|
||||
https://silver.arm.com/download/download.tm?pv=1509509
|
||||
|
||||
Then, use the arm_foundationv8_defconfig configuration to build your
|
||||
Buildroot system.
|
||||
|
||||
Finally, boot your system with:
|
||||
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-4.7/Foundation_Platform \
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/Foundation_v8 \
|
||||
--image output/images/linux-system.axf \
|
||||
--block-device output/images/rootfs.ext2 \
|
||||
--network=nat
|
||||
|
||||
@@ -1,169 +0,0 @@
|
||||
CONFIG_SMP=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_TASKSTATS=y
|
||||
CONFIG_TASK_DELAY_ACCT=y
|
||||
CONFIG_TASK_XACCT=y
|
||||
CONFIG_TASK_IO_ACCOUNTING=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_MEMCG_SWAP=y
|
||||
CONFIG_MEMCG_KMEM=y
|
||||
CONFIG_CGROUP_HUGETLB=y
|
||||
CONFIG_SCHED_AUTOGROUP=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_ARCH_VEXPRESS=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_PCI_HOST_GENERIC=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_HOTPLUG_PCI_PCIE=y
|
||||
CONFIG_HOTPLUG_PCI=y
|
||||
CONFIG_NR_CPUS=6
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_KSM=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_CMDLINE="console=ttyAMA0"
|
||||
CONFIG_COMPAT=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_ARM_CPUIDLE=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
|
||||
CONFIG_ARM_BIG_LITTLE_CPUFREQ=y
|
||||
CONFIG_ARM_DT_BL_CPUFREQ=y
|
||||
CONFIG_ARM_SCPI_CPUFREQ=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_BPF_JIT=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_SATA_AHCI_PLATFORM=y
|
||||
CONFIG_AHCI_XGENE=y
|
||||
CONFIG_PATA_PLATFORM=y
|
||||
CONFIG_PATA_OF_PLATFORM=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_TUN=y
|
||||
CONFIG_SKY2=y
|
||||
CONFIG_SMC91X=y
|
||||
CONFIG_SMSC911X=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIO_AMBAKMI=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
||||
CONFIG_I2C_SLAVE=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_PL022=y
|
||||
CONFIG_PTP_1588_CLOCK=m
|
||||
CONFIG_GPIO_PL061=y
|
||||
CONFIG_GPIO_XGENE=y
|
||||
CONFIG_POWER_RESET_XGENE=y
|
||||
CONFIG_POWER_RESET_SYSCON=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_REGULATOR_VEXPRESS=m
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_I2C_NXP_TDA998X=y
|
||||
CONFIG_DRM_ARM=y
|
||||
CONFIG_DRM_HDLCD=y
|
||||
CONFIG_DRM_VIRTUAL_HDLCD=y
|
||||
CONFIG_FB_ARMCLCD=y
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_ISP1760=y
|
||||
CONFIG_NOP_USB_XCEIV=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_ARMMMCI=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SPI=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_EFI=y
|
||||
CONFIG_RTC_DRV_PL030=y
|
||||
CONFIG_RTC_DRV_PL031=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_PL330_DMA=y
|
||||
CONFIG_COMMON_CLK_SCPI=y
|
||||
CONFIG_ARM_TIMER_SP804=y
|
||||
CONFIG_MAILBOX=y
|
||||
CONFIG_ARM_MHU=y
|
||||
CONFIG_PHY_XGENE=y
|
||||
CONFIG_ARM_SCPI_PROTOCOL=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_HUGETLBFS=y
|
||||
CONFIG_EFIVAR_FS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_VIRTUALIZATION=y
|
||||
CONFIG_KVM=y
|
||||
CONFIG_DYNAMIC_DEBUG=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOCKUP_DETECTOR=y
|
||||
CONFIG_SECURITY=y
|
||||
CONFIG_CRYPTO_ANSI_CPRNG=y
|
||||
CONFIG_ARM64_CRYPTO=y
|
||||
CONFIG_CRYPTO_SHA1_ARM64_CE=y
|
||||
CONFIG_CRYPTO_SHA2_ARM64_CE=y
|
||||
CONFIG_CRYPTO_GHASH_ARM64_CE=y
|
||||
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
|
||||
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SIMPLE_CARD=y
|
||||
CONFIG_SND_DESIGNWARE_I2S=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_CMA_SIZE_MBYTES=64
|
||||
@@ -1,119 +0,0 @@
|
||||
ARM Juno r1/r0
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
These instructions apply to all models of the ARM Juno:
|
||||
- Juno r0 (does not support PCIe)
|
||||
- Juno r1 (supports PCIe)
|
||||
- Juno r2 (Big Cluster with A72)
|
||||
|
||||
Buildroot will generate the kernel image, device tree blob and a
|
||||
minimal root filesystem.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
Configuring Buildroot is pretty simple, just execute:
|
||||
|
||||
$ make arm_juno_defconfig
|
||||
|
||||
Build the rootfs, kernel and DTB
|
||||
--------------------------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
You may now build your rootfs with:
|
||||
|
||||
$ make
|
||||
|
||||
(This may take a while)
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- rootfs.tar
|
||||
+-- juno.dtb (if Juno r0 is used)
|
||||
+-- juno-r1.dtb (if Juno r1 is used)
|
||||
+-- juno-r2.dtb (if Juno r2 is used)
|
||||
+-- Image
|
||||
|
||||
Preparing your rootfs
|
||||
======================
|
||||
|
||||
Format your pen drive as a ext3 filesystem by executing:
|
||||
|
||||
$ mkfs.ext3 /dev/<your device>
|
||||
|
||||
Installing your rootfs
|
||||
======================
|
||||
|
||||
After mounting the pen drive please execute the following:
|
||||
|
||||
$ sudo tar -xvf output/images/rootfs.tar -C <pen drive mount path>
|
||||
|
||||
When completed make sure to unmount the device:
|
||||
|
||||
$ umount <pen drive mount path>
|
||||
|
||||
Insert the pen drive in one of the ARM Juno' USB type A connectors.
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r0
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262B/images.txt
|
||||
.....
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x00C00000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify Image name to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r1
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262C/images.txt
|
||||
......
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x00C00000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno-r1.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify target filename to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r2
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262D/images.txt
|
||||
......
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x02000000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno-r2.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify target filename to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Installing kernel image and DTB
|
||||
===============================
|
||||
|
||||
1. Connect to the ARM Juno UART0 and execute USB_ON in the terminal
|
||||
2. Connect a USB cable between your PC and ARM Juno USB type B connector
|
||||
A mass storage device should appear in your desktop.
|
||||
3. Open the software/ folder
|
||||
4. Copy the 'Image' file to software/
|
||||
5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
|
||||
6. Press the red button in the front pannel of ARM Juno
|
||||
|
||||
At this time, the board will erase the Flash entry for each new item and
|
||||
replace it with the lastest ones.
|
||||
@@ -1,89 +0,0 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
Armadeus APFxx are Systems On Module (SOM) based on Freescale/NXP i.MX
|
||||
processors associated with an FPGA (except on APF28). Non volatile
|
||||
data are stored in on-module NOR or NAND Flash, depending on the
|
||||
model. These SOM can be used on Armadeus development boards or with
|
||||
custom docking boards.
|
||||
|
||||
Supported platforms
|
||||
===================
|
||||
|
||||
Buildroot currently supports the following Armadeus platforms with the
|
||||
associated defconfigs:
|
||||
|
||||
* APF9328 SOM + devt boards -> armadeus_apf9328_defconfig
|
||||
* APF27 SOM + devt board -> armadeus_apf27_defconfig
|
||||
* APF51 SOM + devt board -> armadeus_apf51_defconfig
|
||||
* APF28 SOM + devt board -> armadeus_apf28_defconfig
|
||||
|
||||
Vanilla Linux versions are preferred to Freescale's one in these
|
||||
configurations.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
Let's say you own an APFxx SOM with it's corresponding development
|
||||
board, all you have to do is:
|
||||
|
||||
$ make armadeus_apfxx_defconfig
|
||||
|
||||
where "apfxx" is the version of your SOM.
|
||||
|
||||
Launch build
|
||||
------------
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
When the build is finished, you will end up with:
|
||||
|
||||
output/images/
|
||||
├── imx**-apfxxdev.dtb [1]
|
||||
├── rootfs.jffs2 [2]
|
||||
├── rootfs.tar
|
||||
├── rootfs.ubi [2]
|
||||
├── rootfs.ubifs [2]
|
||||
└── uImage
|
||||
|
||||
[1] Only if the kernel version used uses a Device Tree.
|
||||
[2] .ubi/.ubifs images are not available on APF9328 and replaced by a
|
||||
.jffs2 one in this case.
|
||||
|
||||
Building U-Boot is currently not supported in these configurations.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
You will require a serial connection to the board and a TFTP server on
|
||||
your Host PC. Assuming your server is configured for exporting
|
||||
/tftpboot/ directory, you will have to copy the generated images to
|
||||
it:
|
||||
|
||||
$ cp output/images/uImage /tftpboot/apfxx-linux.bin
|
||||
$ cp output/images/*.dtb /tftpboot/
|
||||
$ cp output/images/rootfs.ubi /tftpboot/apfxx-rootfs.ubi
|
||||
$ cp output/images/rootfs.jffs2 /tftpboot/apfxx-rootfs.jffs2
|
||||
|
||||
where "apfxx" is the version of your SOM, as used with _defconfigs.
|
||||
|
||||
Then on your serial terminal, all you have to do is:
|
||||
|
||||
* interrupt the boot process and access U-Boot console by pressing any
|
||||
key when booting,
|
||||
* configure board and server IP addresses with "ipaddr" and "serverip"
|
||||
environment variables,
|
||||
* if you want to update kernel:
|
||||
BIOS > run update_kernel
|
||||
* if you want to update device tree:
|
||||
BIOS > run update_dtb
|
||||
* if you want to update rootfs:
|
||||
BIOS > run update_rootfs
|
||||
|
||||
That's it !
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
BUILDIR=$1
|
||||
TTY=$2
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
This document explains how to set up a basic Buildroot system on various
|
||||
Atmel boards. Additional details can also be found on the Linux4SAM website:
|
||||
http://www.at91.com/linux4sam/bin/view/Linux4SAM/
|
||||
Flashing the NAND using SAM-BA
|
||||
==============================
|
||||
|
||||
This document explains how to flash a basic Buildroot system on various
|
||||
Atmel boards. Additional details can
|
||||
also be found on the Linux4SAM website, in particular here:
|
||||
http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted
|
||||
|
||||
This guide covers the following configurations:
|
||||
- at91sam9g45m10ek_defconfig
|
||||
@@ -10,50 +14,20 @@ This guide covers the following configurations:
|
||||
- atmel_sama5d3xek_defconfig (sama5d31, sama5d33, sama5d34, sama5d35,
|
||||
sama5d36)
|
||||
- atmel_sama5d3_xplained_defconfig
|
||||
- atmel_sama5d3_xplained_dev_defconfig
|
||||
- atmel_sama5d3_xplained_mmc_defconfig
|
||||
- atmel_sama5d3_xplained_mmc_dev_defconfig
|
||||
- atmel_sama5d4ek_defconfig
|
||||
- atmel_sama5d4_xplained_defconfig
|
||||
- atmel_sama5d4_xplained_dev_defconfig
|
||||
- atmel_sama5d4_xplained_mmc_defconfig
|
||||
- atmel_sama5d4_xplained_mmc_dev_defconfig
|
||||
- atmel_sama5d2_xplained_mmc_defconfig
|
||||
- atmel_sama5d2_xplained_mmc_dev_defconfig
|
||||
|
||||
These configurations will use AT91Bootstrap, u-boot and a linux kernel from
|
||||
the git trees maintained by Atmel.
|
||||
the git trees maintained by Atmel. They also build u-boot SPL when
|
||||
available, it can replace AT91Bootstrap.
|
||||
|
||||
The configurations labeled as 'dev' provide a development rootfs with tools to
|
||||
tests the features of the SoC:
|
||||
- ALSA tools to test audio
|
||||
- FFMPEG to record video from the ISI/ISC
|
||||
- I2C, SPI, CAN, etc. tools
|
||||
- modetest for LCD screens, HDMI
|
||||
- Wilc1000 firmware for the Atmel Wireless sdio module
|
||||
- SSH for convenience
|
||||
- GDB/GDB server for debug
|
||||
|
||||
Configuring and building Buildroot
|
||||
==================================
|
||||
|
||||
For most configurations listed above, the Buildroot configuration
|
||||
assumes the system will be flashed on NAND. In this case, after
|
||||
building Buildroot, follow the instructions in the "Flashing the NAND
|
||||
using SAM-BA" section below.
|
||||
|
||||
For the Xplained boards, an alternative Buildroot configuration is
|
||||
provided to boot from an SD card. Those configurations are labeled as
|
||||
'mmc'. In this case, after building Buildroot, follow the instructions
|
||||
in the "Preparting the SD card" sction.
|
||||
|
||||
To configure and build Buildroot, run:
|
||||
----------------------------------
|
||||
|
||||
make <board>_defconfig
|
||||
make
|
||||
|
||||
Flashing the NAND using SAM-BA
|
||||
==============================
|
||||
|
||||
Flashing the board
|
||||
------------------
|
||||
@@ -131,44 +105,3 @@ board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplaine
|
||||
|
||||
Reboot, the system should boot up to the buildroot login invite.
|
||||
|
||||
Preparing the SD card
|
||||
=====================
|
||||
|
||||
An image named sdcard.img is automatically generated. With this image,
|
||||
you no longer have to care about the creation of the partition and
|
||||
copying files to the SD card.
|
||||
|
||||
You need at least a 1GB SD card. All the data on the SD card will be
|
||||
lost. To copy the image on the SD card:
|
||||
|
||||
/!\ Caution be sure to do it on the right mmcblk device /!\
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/mmcblk0
|
||||
|
||||
Insert your SD card in your Xplained board, and enjoy. The default
|
||||
U-Boot environment will load properly the kernel and Device Tree blob
|
||||
from the first partition of the SD card, so everything works
|
||||
automatically.
|
||||
|
||||
By default a 16MB FAT partition is created. It contains at91bootstrap,
|
||||
u-boot, the kernel image and all dtb variants for your board. The dtb
|
||||
used is the basic one:
|
||||
|
||||
U-Boot> print
|
||||
[...]
|
||||
bootcmd=fatload mmc 1:1 0x21000000 at91-sama5d2_xplained.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000
|
||||
[...]
|
||||
|
||||
If you want to use a variant such as the _pda7 one, you will have to
|
||||
update your u-boot environment:
|
||||
|
||||
U-Boot> setenv bootcmd 'fatload mmc 1:1 0x21000000 at91-sama5d2_xplained_pda7.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000'
|
||||
U-Boot> save
|
||||
Saving Environment to FAT...
|
||||
writing uboot.env
|
||||
done
|
||||
|
||||
A 512MB ext4 partition is also created to store the rootfs generated.
|
||||
|
||||
If you want to customize the size of the partitions and their content,
|
||||
take a look at the the genimage.cfg file in the board directory.
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# Image for SD card boot on Atmel SAMA5D2 Xplained boards
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d2_xplained.dtb",
|
||||
"at91-sama5d2_xplained_pda4.dtb",
|
||||
"at91-sama5d2_xplained_pda7.dtb",
|
||||
"at91-sama5d2_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
}
|
||||
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,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,33 +0,0 @@
|
||||
# Image for SD card boot on Atmel SAMA5D3 Xplained boards
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d3_xplained.dtb",
|
||||
"at91-sama5d3_xplained_pda4.dtb",
|
||||
"at91-sama5d3_xplained_pda7.dtb",
|
||||
"at91-sama5d3_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
}
|
||||
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,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,34 +0,0 @@
|
||||
# Image for SD card boot on Atmel SAMA5D4 Xplained boards
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"at91-sama5d4_xplained.dtb",
|
||||
"at91-sama5d4_xplained_hdmi.dtb",
|
||||
"at91-sama5d4_xplained_pda4.dtb",
|
||||
"at91-sama5d4_xplained_pda7.dtb",
|
||||
"at91-sama5d4_xplained_pda7b.dtb",
|
||||
"boot.bin",
|
||||
"u-boot.bin"
|
||||
}
|
||||
}
|
||||
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,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}"
|
||||
73
board/atmel/xplained/readme.txt
Normal file
73
board/atmel/xplained/readme.txt
Normal file
@@ -0,0 +1,73 @@
|
||||
Atmel SAMA5D3 Xplained board
|
||||
============================
|
||||
|
||||
This document explains how to set up a basic Buildroot system on the
|
||||
Atmel SAMA5D3 Xplained board, whose main site is
|
||||
http://www.atmel.com/tools/ATSAMA5D3-XPLD.aspx. Additional details can
|
||||
also be found on the http://www.at91.com/linux4sam/bin/view/Linux4SAM/
|
||||
web site.
|
||||
|
||||
Note that the default Buildroot configuration is prepared to boot from
|
||||
an SD card: the first stage bootloader, second stage bootloader,
|
||||
kernel image and root filesystem are all located on the SD card. Some
|
||||
adjustments in the bootloader configuration will be needed to boot
|
||||
from NAND flash, see board/atmel/nandflash.txt
|
||||
|
||||
Configuring and building Buildroot
|
||||
----------------------------------
|
||||
|
||||
make atmel_sama5d3_xplained_mmc_defconfig
|
||||
make
|
||||
|
||||
Preparing the SD card
|
||||
---------------------
|
||||
|
||||
The SD card must be partitioned with at least two partitions: one
|
||||
FAT16 partition for the bootloaders, kernel image and Device Tree
|
||||
blob, and one ext4 partition for the root filesystem. To partition the
|
||||
SD card:
|
||||
|
||||
sudo sfdisk -uM /dev/mmcblk0 <<EOF
|
||||
,64,6
|
||||
;
|
||||
EOF
|
||||
|
||||
This creates a 64 MB partition for the FAT16 filesystem (type 6) and
|
||||
uses the rest for the ext4 filesystem used for the root filesystem.
|
||||
|
||||
Then, format both partitions:
|
||||
|
||||
sudo mkfs.msdos -n boot /dev/mmcblk0p1
|
||||
sudo mkfs.ext4 -L rootfs -O ^huge_file /dev/mmcblk0p2
|
||||
|
||||
Note: the -O ^huge_file option is needed to avoid enabling the huge
|
||||
files features of ext4 (to support files larges than 2 TB), which
|
||||
needs the kernel option CONFIG_LBDAF to be enabled.
|
||||
|
||||
Mount both partitions (if not done automatically by your system):
|
||||
|
||||
sudo mount /dev/mmcblk0p1 /media/boot
|
||||
sudo mount /dev/mmcblk0p2 /media/rootfs
|
||||
|
||||
Copy the bootloaders, kernel image and Device Tree blob to the first
|
||||
partition:
|
||||
|
||||
cp output/images/uboot-spl.bin /media/boot/boot.bin
|
||||
cp output/images/u-boot.img /media/boot/u-boot.img
|
||||
cp output/images/zImage /media/boot/zImage
|
||||
cp output/images/at91-sama5d3_xplained.dtb /media/boot/at91-sama5d3_xplained.dtb
|
||||
|
||||
Extract the root filesystem to the second partition:
|
||||
|
||||
sudo tar -C /media/rootfs -xf output/images/rootfs.tar
|
||||
|
||||
Unmount both partitions:
|
||||
|
||||
sudo umount /media/boot
|
||||
sudo umount /media/rootfs
|
||||
|
||||
Insert your SD card in your Xplained board, and enjoy. The default
|
||||
U-Boot environment will properly load the kernel and Device Tree blob
|
||||
from the first partition of the SD card, so everything works
|
||||
automatically.
|
||||
|
||||
64
board/avnet/zedboard/readme.txt
Normal file
64
board/avnet/zedboard/readme.txt
Normal file
@@ -0,0 +1,64 @@
|
||||
This is the buildroot board support for the Avnet Zedboard. The Zedboard is
|
||||
a development board based on the Xilinx Zynq-7000 based All-Programmable
|
||||
System-On-Chip.
|
||||
|
||||
Zedboard information including schematics, reference designs, and manuals are
|
||||
available from http://www.zedboard.org .
|
||||
|
||||
Steps to create a working system for Zedboard:
|
||||
|
||||
1) make zedboard_defconfig
|
||||
2) make
|
||||
3) copy files BOOT.BIN, u-boot-dtb.img, rootfs.cpio.uboot,
|
||||
uImage, zynq-zed.dtb into your SD card
|
||||
4) boot your Zedboard
|
||||
|
||||
The expected output:
|
||||
|
||||
U-Boot SPL 2015.07 (Jul 22 2015 - 12:01:55)
|
||||
mmc boot
|
||||
reading system.dtb
|
||||
spl_load_image_fat_os: error reading image system.dtb, err - -1
|
||||
reading u-boot-dtb.img
|
||||
reading u-boot-dtb.img
|
||||
|
||||
U-Boot 2015.07 (Jul 22 2015 - 12:01:55 +0200)
|
||||
|
||||
Model: Zynq ZED Board
|
||||
I2C: ready
|
||||
DRAM: ECC disabled 512 MiB
|
||||
MMC: zynq_sdhci: 0
|
||||
Using default environment
|
||||
...
|
||||
|
||||
When using an older U-Boot then 2015.07, a working ps7_init.c
|
||||
file is required to be installed into the U-Boot directory
|
||||
structure. From 2015.07, the major Zynq-based boards are
|
||||
supported without any manual intervention.
|
||||
|
||||
Resulting system
|
||||
----------------
|
||||
A FAT32 partition should be created at the beginning of the SD Card
|
||||
and the following files should be installed:
|
||||
/BOOT.BIN
|
||||
/zynq-zed.dtb
|
||||
/uImage
|
||||
/rootfs-cpio.uboot
|
||||
/u-boot-dtb.img
|
||||
|
||||
|
||||
All needed files can be taken from output/images/
|
||||
|
||||
BOOT.BIN, uImage and u-boot-dtb.img are direct copies of the same files
|
||||
available on output/images/
|
||||
|
||||
There is a patch attached that redefines the U-Boot's environment
|
||||
to work with Buildroot out-of-the-box.
|
||||
|
||||
You can alter the booting procedure by creating a file uEnv.txt
|
||||
in the root of the SD card. It is a plain text file in format
|
||||
<key>=<value> one per line:
|
||||
|
||||
kernel_image=myimage
|
||||
modeboot=myboot
|
||||
myboot=...
|
||||
@@ -0,0 +1,46 @@
|
||||
From a4c0058967a551385da5e16d2787d9f704cab225 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Viktorin <viktorin@rehivetech.com>
|
||||
Date: Thu, 18 Jun 2015 16:26:02 +0200
|
||||
Subject: [PATCH 2/2] zynq: Create zedboard-specific U-Boot environment
|
||||
|
||||
---
|
||||
include/configs/zynq_zed.h | 25 +++++++++++++++++++++++++
|
||||
1 file changed, 25 insertions(+)
|
||||
|
||||
diff --git a/include/configs/zynq_zed.h b/include/configs/zynq_zed.h
|
||||
index 946de95..2400a88 100644
|
||||
--- a/include/configs/zynq_zed.h
|
||||
+++ b/include/configs/zynq_zed.h
|
||||
@@ -24,4 +24,29 @@
|
||||
|
||||
#include <configs/zynq-common.h>
|
||||
|
||||
+#undef CONFIG_EXTRA_ENV_SETTINGS
|
||||
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
+ "envload=mmc info && if fatload mmc 0 0x1000 uEnv.txt;"\
|
||||
+ " then echo Importing uEnv.txt; env import -t 0x1000" \
|
||||
+ " $filesize; fi;\0" \
|
||||
+ "bootcmd=run $modeboot\0" \
|
||||
+ "modeboot=sdboot\0" \
|
||||
+ "baudrate=115200\0" \
|
||||
+ "bootenv=uEnv.txt\0" \
|
||||
+ "devicetree_image=zynq-zed.dtb\0" \
|
||||
+ "kernel_image=uImage\0" \
|
||||
+ "ramdisk_image=rootfs.cpio.uboot\0" \
|
||||
+ "fpga_image=system.bit\0" \
|
||||
+ "sdboot=echo Booting from SD...;" \
|
||||
+ " run envload; run fpgaboot;" \
|
||||
+ " fatload mmc 0 0x1000000 ${kernel_image}" \
|
||||
+ " && fatload mmc 0 0x2000000 ${ramdisk_image}" \
|
||||
+ " && fatload mmc 0 0x3000000 ${devicetree_image}" \
|
||||
+ " && bootm 0x1000000 0x2000000 0x3000000\0" \
|
||||
+ "fpgaboot=if fatload mmc 0 0x1000000 ${fpga_image};" \
|
||||
+ " then echo Booting FPGA from ${fpga_image};" \
|
||||
+ " fpga info 0 && fpga loadb 0 0x1000000 $filesize;" \
|
||||
+ " else echo FPGA image ${fpga_image} was not found," \
|
||||
+ " skipping...; fi;\0"
|
||||
+
|
||||
#endif /* __CONFIG_ZYNQ_ZED_H */
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img",
|
||||
"zImage",
|
||||
"uEnv.txt",
|
||||
"am335x-bone.dtb",
|
||||
"am335x-boneblack.dtb"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -2,19 +2,5 @@
|
||||
# post-image.sh for BeagleBone
|
||||
# 2014, Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
# copy the uEnv.txt to the output/images directory
|
||||
cp board/beaglebone/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
|
||||
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}"
|
||||
|
||||
@@ -28,7 +28,35 @@ After building, you should get a tree like this:
|
||||
├── am335x-bone.dtb
|
||||
├── MLO
|
||||
├── rootfs.ext2
|
||||
├── sdcard.img
|
||||
├── u-boot.img
|
||||
├── uEnv.txt
|
||||
└── zImage
|
||||
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
You need to prepare first partition in fat32 and marked as bootable,
|
||||
and second where you will write rootfs.
|
||||
|
||||
Copy the files to boot partition
|
||||
|
||||
$ cp MLO u-boot.img zImage uEnv.txt *.dtb /media/zzzzz
|
||||
|
||||
where /media/zzzzz is the mount point.
|
||||
Then you need to write the rootfs image onto SDCard:
|
||||
|
||||
# dd if=rootfs.ext2 of=/dev/xxxxx
|
||||
|
||||
where /dev/xxxxx is the second partition. Use:
|
||||
|
||||
# fdisk -l
|
||||
|
||||
to check for correct one.
|
||||
|
||||
Finish
|
||||
======
|
||||
|
||||
Unmount all mounted SDCard partitions and insert the card to BeagleBone.
|
||||
Hold the "BOOT" button and apply power. Then release the "BOOT" button.
|
||||
The output is available on the serial console.
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
setenv bootargs ''
|
||||
|
||||
if itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then
|
||||
a_script=0x80800000
|
||||
a_zImage=0x80800000
|
||||
a_fdt=0x83000000
|
||||
m4=''
|
||||
if itest.s "x1" == "x$m4enabled" ; then
|
||||
run m4boot;
|
||||
m4='-m4';
|
||||
fi
|
||||
else
|
||||
a_script=0x10800000
|
||||
a_zImage=0x10800000
|
||||
a_fdt=0x13000000
|
||||
fi
|
||||
|
||||
setenv initrd_high 0xffffffff
|
||||
if itest.s "x" == "x${dtbname}" ; then
|
||||
if itest.s x6SOLO == "x${cpu}" ; then
|
||||
dtbname=imx6dl-${board}.dtb;
|
||||
elif itest.s x6DL == "x${cpu}" ; then
|
||||
dtbname=imx6dl-${board}.dtb;
|
||||
elif itest.s x6QP == "x${cpu}" ; then
|
||||
dtbname=imx6qp-${board}.dtb;
|
||||
elif itest.s x6SX == "x${cpu}" ; then
|
||||
dtbname=imx6sx-${board}${m4}.dtb;
|
||||
elif itest.s x7D == "x${cpu}" ; then
|
||||
dtbname=imx7d-${board}${m4}.dtb;
|
||||
else
|
||||
dtbname=imx6q-${board}.dtb;
|
||||
fi
|
||||
fi
|
||||
|
||||
if load ${dtype} ${disk}:1 ${a_script} uEnv.txt ; then
|
||||
env import -t ${a_script} ${filesize}
|
||||
fi
|
||||
|
||||
if itest.s x == x${bootdir} ; then
|
||||
bootdir=/boot/
|
||||
fi
|
||||
|
||||
if itest.s x${bootpart} == x ; then
|
||||
bootpart=1
|
||||
fi
|
||||
|
||||
if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then
|
||||
fdt addr ${a_fdt}
|
||||
setenv fdt_high 0xffffffff
|
||||
else
|
||||
echo "!!!! Error loading ${bootdir}${dtbname}";
|
||||
exit;
|
||||
fi
|
||||
|
||||
cmd_xxx_present=
|
||||
fdt resize
|
||||
if itest.s "x" != "x${cmd_custom}" ; then
|
||||
run cmd_custom
|
||||
cmd_xxx_present=1;
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${cmd_hdmi}" ; then
|
||||
run cmd_hdmi
|
||||
cmd_xxx_present=1;
|
||||
if itest.s x == x${allow_noncea} ; then
|
||||
setenv bootargs ${bootargs} mxc_hdmi.only_cea=1;
|
||||
echo "only CEA modes allowed on HDMI port";
|
||||
else
|
||||
setenv bootargs ${bootargs} mxc_hdmi.only_cea=0;
|
||||
echo "non-CEA modes allowed on HDMI, audio may be affected";
|
||||
fi
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${cmd_lcd}" ; then
|
||||
run cmd_lcd
|
||||
cmd_xxx_present=1;
|
||||
fi
|
||||
if itest.s "x" != "x${cmd_lvds}" ; then
|
||||
run cmd_lvds
|
||||
cmd_xxx_present=1;
|
||||
fi
|
||||
if itest.s "x" != "x${cmd_lvds2}" ; then
|
||||
run cmd_lvds2
|
||||
cmd_xxx_present=1;
|
||||
fi
|
||||
|
||||
if itest.s "x" == "x${cmd_xxx_present}" ; then
|
||||
echo "!!!!!!!!!!!!!!!!"
|
||||
echo "warning: your u-boot may be outdated, please upgrade"
|
||||
echo "!!!!!!!!!!!!!!!!"
|
||||
fi
|
||||
|
||||
setenv bootargs "${bootargs} console=${console},115200 vmalloc=400M consoleblank=0 rootwait fixrtc"
|
||||
|
||||
bpart=1
|
||||
|
||||
if test "sata" = "${dtype}" ; then
|
||||
setenv bootargs "${bootargs} root=/dev/sda${bpart}" ;
|
||||
elif test "usb" = "${dtype}" ; then
|
||||
setenv bootargs "${bootargs} root=/dev/sda${bpart}" ;
|
||||
else
|
||||
setenv bootargs "${bootargs} root=/dev/mmcblk${disk}p${bpart}"
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${disable_giga}" ; then
|
||||
setenv bootargs ${bootargs} fec.disable_giga=1
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${wlmac}" ; then
|
||||
setenv bootargs ${bootargs} wlcore.mac=${wlmac}
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${gpumem}" ; then
|
||||
setenv bootargs ${bootargs} galcore.contiguousSize=${gpumem}
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${cma}" ; then
|
||||
setenv bootargs ${bootargs} cma=${cma}
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${show_fdt}" ; then
|
||||
fdt print /
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${show_env}" ; then
|
||||
printenv
|
||||
fi
|
||||
|
||||
if load ${dtype} ${disk}:${bootpart} ${a_zImage} ${bootdir}/zImage ; then
|
||||
bootz ${a_zImage} - ${a_fdt}
|
||||
fi
|
||||
echo "Error loading kernel image"
|
||||
@@ -1,69 +0,0 @@
|
||||
if itest.s a$uboot_defconfig == a; then
|
||||
echo "Please set uboot_defconfig to the appropriate value"
|
||||
exit
|
||||
fi
|
||||
|
||||
offset=0x400
|
||||
a_uImage1=0x12000000
|
||||
a_uImage2=0x12400000
|
||||
|
||||
if itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then
|
||||
a_uImage1=0x82000000
|
||||
a_uImage2=0x82400000
|
||||
fi
|
||||
|
||||
setenv stdout serial,vga
|
||||
echo "check U-Boot" ;
|
||||
|
||||
if load ${dtype} ${disk}:1 ${a_uImage1} u-boot.$uboot_defconfig ; then
|
||||
else
|
||||
echo "No U-Boot image found on SD card" ;
|
||||
exit
|
||||
fi
|
||||
echo "read $filesize bytes from SD card" ;
|
||||
if sf probe || sf probe || sf probe 1 27000000 || sf probe 1 27000000 ; then
|
||||
echo "probed SPI ROM" ;
|
||||
else
|
||||
echo "Error initializing EEPROM" ;
|
||||
exit
|
||||
fi ;
|
||||
if sf read ${a_uImage2} $offset $filesize ; then
|
||||
else
|
||||
echo "Error reading boot loader from EEPROM" ;
|
||||
exit
|
||||
fi
|
||||
if cmp.b ${a_uImage1} ${a_uImage2} $filesize ; then
|
||||
echo "------- U-Boot versions match" ;
|
||||
exit
|
||||
fi
|
||||
echo "Need U-Boot upgrade" ;
|
||||
echo "Program in 5 seconds" ;
|
||||
for n in 5 4 3 2 1 ; do
|
||||
echo $n ;
|
||||
sleep 1 ;
|
||||
done
|
||||
echo "erasing" ;
|
||||
sf erase 0 0xC0000 ;
|
||||
|
||||
# two steps to prevent bricking
|
||||
echo "programming" ;
|
||||
setexpr a1 ${a_uImage1} + 0x400
|
||||
setexpr o1 ${offset} + 0x400
|
||||
setexpr s1 ${filesize} - 0x400
|
||||
sf write ${a1} ${o1} ${s1} ;
|
||||
sf write ${a_uImage1} $offset 0x400 ;
|
||||
|
||||
echo "verifying" ;
|
||||
if sf read ${a_uImage2} $offset $filesize ; then
|
||||
else
|
||||
echo "Error re-reading EEPROM" ;
|
||||
exit
|
||||
fi
|
||||
if cmp.b ${a_uImage1} ${a_uImage2} $filesize ; then
|
||||
else
|
||||
echo "Read verification error" ;
|
||||
exit
|
||||
fi
|
||||
while echo "---- U-Boot upgraded. reset" ; do
|
||||
sleep 120
|
||||
done
|
||||
@@ -1,16 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.imx"
|
||||
offset = 1024
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -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,30 +0,0 @@
|
||||
Buildroot for Boundary Devices platforms:
|
||||
|
||||
https://boundarydevices.com/product-category/popular-sbc-and-som-modules/
|
||||
|
||||
Here is the list of targeted platforms per defconfig:
|
||||
|
||||
- nitrogen6x_defconfig
|
||||
- BD-SL-i.MX6 (SABRE-Lite)
|
||||
- Nitrogen6X
|
||||
- Nitrogen6_Lite
|
||||
- Nitrogen6_MAX
|
||||
- Nitrogen6_VM
|
||||
- Nitrogen6_SOM
|
||||
- Nitrogen6_SOMv2
|
||||
|
||||
- nitrogen6sx_defconfig
|
||||
- Nitrogen6_SoloX
|
||||
|
||||
- nitrogen7_defconfig
|
||||
- Nitrogen7
|
||||
|
||||
To install, simply copy the image to a uSD card:
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Where 'sdX' is the device node of the uSD partition.
|
||||
|
||||
To upgrade u-boot, cancel autoboot and type:
|
||||
|
||||
> run upgradeu
|
||||
186
board/boundarydevices/nitrogen6x/6x_bootscript.txt
Normal file
186
board/boundarydevices/nitrogen6x/6x_bootscript.txt
Normal file
@@ -0,0 +1,186 @@
|
||||
setenv bootargs ''
|
||||
|
||||
if ${fs}load ${dtype} ${disk}:1 10800000 uEnv.txt ; then
|
||||
env import -t 10800000 $filesize
|
||||
fi
|
||||
|
||||
if itest.s "x" == "x$dtbname" ; then
|
||||
dtbname="imx6";
|
||||
if itest.s x6SOLO == "x$cpu" ; then
|
||||
dtbname=${dtbname}dl-;
|
||||
elif itest.s x6DL == "x$cpu" ; then
|
||||
dtbname=${dtbname}dl-;
|
||||
else
|
||||
dtbname=${dtbname}q-;
|
||||
fi
|
||||
if itest.s x == "x$board" ; then
|
||||
board=sabrelite
|
||||
fi
|
||||
dtbname=${dtbname}${board}.dtb;
|
||||
fi
|
||||
|
||||
if itest.s x == x${bootdir} ; then
|
||||
bootdir=/boot/
|
||||
fi
|
||||
|
||||
setenv fdt_addr 0x12000000
|
||||
if ${fs}load ${dtype} ${disk}:1 $fdt_addr ${bootdir}$dtbname ; then
|
||||
fdt addr $fdt_addr
|
||||
setenv fdt_high 0xffffffff
|
||||
else
|
||||
echo "!!!! Error loading ${bootdir}$dtbname";
|
||||
exit;
|
||||
fi
|
||||
|
||||
# ------------------- HDMI detection
|
||||
i2c dev 1 ;
|
||||
if i2c probe 0x50 ; then
|
||||
echo "------ have HDMI monitor";
|
||||
if itest.s x == x$allow_noncea ; then
|
||||
setenv bootargs $bootargs mxc_hdmi.only_cea=1;
|
||||
echo "only CEA modes allowed on HDMI port";
|
||||
else
|
||||
setenv bootargs $bootargs mxc_hdmi.only_cea=0;
|
||||
echo "non-CEA modes allowed on HDMI, audio may be affected";
|
||||
fi
|
||||
else
|
||||
fdt rm hdmi_display
|
||||
echo "------ no HDMI monitor";
|
||||
fi
|
||||
|
||||
# ------------------- LVDS detection
|
||||
if itest.s "x" != "x$lvds_1080p" ; then
|
||||
echo "----- 1080P dual channel LVDS";
|
||||
fdt rm okaya1024x600
|
||||
fdt rm lg1280x800
|
||||
fdt rm hannstar;
|
||||
fdt set ldb split-mode 1
|
||||
fdt set lvds_display interface_pix_fmt "RGB24"
|
||||
fdt set ldb/lvds-channel@0 fsl,data-width <24>
|
||||
else
|
||||
fdt rm ldb split-mode
|
||||
fdt rm lvds1080p
|
||||
|
||||
# -------- LVDS0 (bottom on Nitrogen6_Max)
|
||||
setenv have_lvds
|
||||
i2c dev 2
|
||||
if i2c probe 0x04 ; then
|
||||
echo "------ have Freescale display";
|
||||
setenv have_lvds 1
|
||||
else
|
||||
echo "------ no Freescale display";
|
||||
fdt rm hannstar;
|
||||
fi
|
||||
|
||||
if i2c probe 0x38 ; then
|
||||
if itest.s "xLDB-WXGA" == "x$panel"; then
|
||||
screenres=1280,800
|
||||
fdt rm okaya1024x600
|
||||
else
|
||||
screenres=1024,600
|
||||
fdt rm lg1280x800
|
||||
fi
|
||||
setenv have_lvds 1
|
||||
setenv bootargs $bootargs ft5x06_ts.screenres=$screenres
|
||||
if itest.s "x" -ne "x$calibration" ; then
|
||||
setenv bootargs $bootargs ft5x06_ts.calibration=$calibration
|
||||
fi
|
||||
else
|
||||
echo "------ no ft5x06 touch controller";
|
||||
fdt rm okaya1024x600
|
||||
fdt rm lg1280x800
|
||||
fi
|
||||
|
||||
if itest.s "x" == "x$have_lvds"; then
|
||||
fdt rm lvds_display;
|
||||
fi
|
||||
|
||||
# -------- LVDS1 (top on Nitrogen6_Max)
|
||||
if itest.s "xhannstar" == "x$lvds1_panel" ; then
|
||||
echo "configure LVDS1 for Hannstar panel"
|
||||
fdt rm okaya1024x600_2;
|
||||
fdt rm lg1280x800_2;
|
||||
fdt set lvds_display_2 status okay
|
||||
elif itest.s "xokaya1024x600" == "x$lvds1_panel" ; then
|
||||
echo "configure LVDS1 for 1024x600 panel"
|
||||
fdt rm hannstar_2;
|
||||
fdt rm lg1280x800_2;
|
||||
fdt set lvds_display_2 status okay
|
||||
elif itest.s "xlg1280x800" == "x$lvds1_panel" ; then
|
||||
echo "configure LVDS1 for 1280x800 panel"
|
||||
fdt rm hannstar_2;
|
||||
fdt rm okaya1024x600_2;
|
||||
fdt set lvds_display_2 status okay
|
||||
else
|
||||
fdt rm lvds_display_2 ; # ignore errors on boards != 6_max
|
||||
fi
|
||||
fi
|
||||
|
||||
# ------------------- LCD detection
|
||||
setenv have_lcd '';
|
||||
if i2c probe 0x48 ; then
|
||||
setenv have_lcd 1;
|
||||
echo "------- found TSC2004 touch controller";
|
||||
if itest.s "x" -eq "x$tsc_calibration" ; then
|
||||
setenv bootargs $bootargs tsc2004.calibration=-67247,-764,272499173,324,69283,-8653010,65536
|
||||
else
|
||||
setenv bootargs $bootargs tsc2004.calibration=$tsc_calibration
|
||||
fi
|
||||
elif i2c probe 0x4d ; then
|
||||
setenv have_lcd 1;
|
||||
echo "------- found AR1020 touch controller";
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$ignore_lcd" ; then
|
||||
echo "------ ignoring LCD display";
|
||||
setenv have_lcd '';
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$have_lcd" ; then
|
||||
echo "----- found LCD display";
|
||||
else
|
||||
fdt rm lcd_display;
|
||||
fi
|
||||
|
||||
setenv bootargs "$bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait"
|
||||
|
||||
if itest.s x$bootpart == x ; then
|
||||
bootpart=1
|
||||
fi
|
||||
|
||||
if test "sata" = "${dtype}" ; then
|
||||
setenv bootargs "$bootargs root=/dev/sda$bootpart" ;
|
||||
else
|
||||
if test "usb" = "${dtype}" ; then
|
||||
setenv bootargs "$bootargs root=/dev/sda$bootpart" ;
|
||||
elif itest 0 -eq ${disk}; then
|
||||
setenv bootargs "$bootargs root=/dev/mmcblk2p$bootpart" ;
|
||||
else
|
||||
setenv bootargs "$bootargs root=/dev/mmcblk3p$bootpart" ;
|
||||
fi
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x${disable_giga}" ; then
|
||||
setenv bootargs $bootargs fec.disable_giga=1
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$wlmac" ; then
|
||||
setenv bootargs $bootargs wlcore.mac=$wlmac
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$gpumem" ; then
|
||||
setenv bootargs $bootargs galcore.contiguousSize=$gpumem
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$show_fdt" ; then
|
||||
fdt print /
|
||||
fi
|
||||
|
||||
if itest.s "x" != "x$show_env" ; then
|
||||
printenv
|
||||
fi
|
||||
|
||||
if ${fs}load ${dtype} ${disk}:1 10800000 ${bootdir}uImage ; then
|
||||
bootm 10800000 - $fdt_addr
|
||||
fi
|
||||
echo "Error loading kernel image"
|
||||
49
board/boundarydevices/nitrogen6x/6x_upgrade.txt
Normal file
49
board/boundarydevices/nitrogen6x/6x_upgrade.txt
Normal file
@@ -0,0 +1,49 @@
|
||||
if itest.s a$bootfile == a; then
|
||||
bootfile=u-boot.imx
|
||||
fi
|
||||
|
||||
setenv stdout serial,vga
|
||||
echo "check U-Boot" ;
|
||||
setenv offset 0x400
|
||||
if ${fs}load ${dtype} ${disk}:1 12000000 $bootfile || ${fs}load ${dtype} ${disk}:1 12000000 u-boot.nopadding ; then
|
||||
echo "read $filesize bytes from SD card" ;
|
||||
if sf probe || sf probe || \
|
||||
sf probe 1 27000000 || sf probe 1 27000000 ; then
|
||||
echo "probed SPI ROM" ;
|
||||
if sf read 0x12400000 $offset $filesize ; then
|
||||
if cmp.b 0x12000000 0x12400000 $filesize ; then
|
||||
echo "------- U-Boot versions match" ;
|
||||
else
|
||||
echo "Need U-Boot upgrade" ;
|
||||
echo "Program in 5 seconds" ;
|
||||
for n in 5 4 3 2 1 ; do
|
||||
echo $n ;
|
||||
sleep 1 ;
|
||||
done
|
||||
echo "erasing" ;
|
||||
sf erase 0 0xC0000 ;
|
||||
# two steps to prevent bricking
|
||||
echo "programming" ;
|
||||
sf write 0x12000000 $offset $filesize ;
|
||||
echo "verifying" ;
|
||||
if sf read 0x12400000 $offset $filesize ; then
|
||||
if cmp.b 0x12000000 0x12400000 $filesize ; then
|
||||
while echo "---- U-Boot upgraded. reset" ; do
|
||||
sleep 120
|
||||
done
|
||||
else
|
||||
echo "Read verification error" ;
|
||||
fi
|
||||
else
|
||||
echo "Error re-reading EEPROM" ;
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Error reading boot loader from EEPROM" ;
|
||||
fi
|
||||
else
|
||||
echo "Error initializing EEPROM" ;
|
||||
fi ;
|
||||
else
|
||||
echo "No U-Boot image found on SD card" ;
|
||||
fi
|
||||
13
board/boundarydevices/nitrogen6x/readme.txt
Normal file
13
board/boundarydevices/nitrogen6x/readme.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Buildroot for Boundary Devices Nitrogen6X:
|
||||
|
||||
http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/
|
||||
|
||||
To install, simply write rootfs.ext2 to the first partition of a uSD card:
|
||||
|
||||
sudo dd if=output/images/rootfs.ext2 of=/dev/sdX1
|
||||
|
||||
Where 'sdX1' is the device node of the uSD partition.
|
||||
|
||||
To upgrade u-boot, cancel autoboot and type:
|
||||
|
||||
run upgradeu
|
||||
45
board/calao/snowball/linux-3.4.patch
Normal file
45
board/calao/snowball/linux-3.4.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
From 3d1a9b44b9dcd2c0f5d54c09596c96c0524d8340 Mon Sep 17 00:00:00 2001
|
||||
From: Gregory Hermant <gregory.hermant@calao-systems.com>
|
||||
Date: Tue, 13 Nov 2012 11:47:41 +0100
|
||||
Subject: [PATCH] trace-debug[stm]: Fix for BT/WLAN instability
|
||||
|
||||
Pins under mop500_ske_pins array are used for different
|
||||
functionalities in snowball. Ex: GPIO161 pin configured
|
||||
for keypad here must stay configured as GPIO alternate
|
||||
function for operating PMU_EN pin of BT/WLAN chip in snowball.
|
||||
So forbid configuring these pins, for snowball
|
||||
|
||||
Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
|
||||
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
|
||||
---
|
||||
arch/arm/mach-ux500/board-mop500-stm.c | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/mach-ux500/board-mop500-stm.c b/arch/arm/mach-ux500/board-mop500-stm.c
|
||||
index 1bef2a0..532fb9e 100644
|
||||
--- a/arch/arm/mach-ux500/board-mop500-stm.c
|
||||
+++ b/arch/arm/mach-ux500/board-mop500-stm.c
|
||||
@@ -121,7 +121,9 @@ static int stm_ste_disable_ape_on_mipi60(void)
|
||||
if (retval)
|
||||
STM_ERR("Failed to disable MIPI60\n");
|
||||
else {
|
||||
- retval = nmk_config_pins(ARRAY_AND_SIZE(mop500_ske_pins));
|
||||
+ if (!machine_is_snowball())
|
||||
+ retval = nmk_config_pins(
|
||||
+ ARRAY_AND_SIZE(mop500_ske_pins));
|
||||
if (retval)
|
||||
STM_ERR("Failed to enable SKE gpio\n");
|
||||
}
|
||||
@@ -314,7 +316,8 @@ static int stm_ste_connection(enum stm_connection_type con_type)
|
||||
/* Enable altC3 on GPIO70-74 (STMMOD) and GPIO75-76 (UARTMOD) */
|
||||
prcmu_enable_stm_mod_uart();
|
||||
/* Enable APE on MIPI60 */
|
||||
- retval = nmk_config_pins_sleep(ARRAY_AND_SIZE(mop500_ske_pins));
|
||||
+ if (!machine_is_snowball())
|
||||
+ retval = nmk_config_pins_sleep(ARRAY_AND_SIZE(mop500_ske_pins));
|
||||
if (retval)
|
||||
STM_ERR("Failed to disable SKE GPIO\n");
|
||||
else {
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
console=tty1 clk_ignore_unused root=/dev/mmcblk1p2 rootfstype=ext4 ro
|
||||
@@ -1,37 +0,0 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Buildroot kernel for Chromebook Snow";
|
||||
images {
|
||||
kernel@1 {
|
||||
description = "kernel";
|
||||
data = /incbin/("zImage");
|
||||
type = "kernel_noload";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <0>;
|
||||
entry = <0>;
|
||||
hash@1 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
fdt@1{
|
||||
description = "exynos5250-snow.dtb";
|
||||
data = /incbin/("exynos5250-snow.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
hash@1 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
configurations {
|
||||
default = "conf@1";
|
||||
conf@1{
|
||||
kernel = "kernel@1";
|
||||
fdt = "fdt@1";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,27 +0,0 @@
|
||||
Some versions of u-boot for this Chromebook check for tpm node
|
||||
in the device tree and fail badly (reboot) if it is not found.
|
||||
|
||||
While not exactly correct, it is much easier to patch the mainline
|
||||
device tree to match u-boot expectations than to fix u-boot on
|
||||
this device.
|
||||
|
||||
See https://code.google.com/p/chromium/issues/detail?id=220169
|
||||
and https://lkml.org/lkml/2013/3/4/242
|
||||
|
||||
Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
|
||||
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
@@ -466,6 +466,11 @@
|
||||
status = "okay";
|
||||
samsung,i2c-sda-delay = <100>;
|
||||
samsung,i2c-max-bus-freq = <66000>;
|
||||
+
|
||||
+ tpm {
|
||||
+ compatible = "infineon,slb9635tt";
|
||||
+ reg = <0x20>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&i2c_5 {
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_MWIFIEX=m
|
||||
CONFIG_MWIFIEX_SDIO=m
|
||||
@@ -1,69 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This scripts makes a minimal bootable SD card image for the Chromebook.
|
||||
# The resulting file is called bootsd.img. It should be written directly
|
||||
# to the card:
|
||||
#
|
||||
# SD=/dev/mmcblk1 # check your device name!
|
||||
# dd if=output/images/bootsd.img of=$SD
|
||||
#
|
||||
# The partitions are created just large enough to hold the kernel and
|
||||
# the rootfs image. Most of the card will be empty, and the secondary
|
||||
# GPT will not be in its proper location.
|
||||
|
||||
# cgpt does not create protective MBR, and the kernel refuses to read
|
||||
# GPT unless there's some kind of MBR in sector 0. So we need parted
|
||||
# to write that single sector before doing anything with the GPT.
|
||||
cgpt=$HOST_DIR/usr/bin/cgpt
|
||||
parted=$HOST_DIR/usr/sbin/parted
|
||||
kernel=$BINARIES_DIR/uImage.kpart
|
||||
rootfs=$BINARIES_DIR/rootfs.ext2
|
||||
|
||||
run() { echo "$@"; "$@"; }
|
||||
die() { echo "$@" >&2; exit 1; }
|
||||
test -f $kernel || die "No kernel image found"
|
||||
test -f $rootfs || die "No rootfs image found"
|
||||
test -x $cgpt || die "cgpt not found (host-vboot-utils have not been built?)"
|
||||
|
||||
# True file sizes in bytes
|
||||
kernelsize=`stat -t $kernel | cut -d\ -f2`
|
||||
rootfssize=`stat -t $rootfs | cut -d\ -f2`
|
||||
|
||||
# The card is partitioned in sectors of 8KB.
|
||||
# 4 sectors are reserved for MBR+GPT. Their actual size turns out
|
||||
# to be 33 512-blocks which is just over 2 sectors, but we align
|
||||
# it to a nice round number.
|
||||
sec=8192
|
||||
kernelsec=$(((kernelsize+8191)>>13))
|
||||
rootfssec=$(((rootfssize+8191)>>13))
|
||||
headersec=4
|
||||
|
||||
# There is also a copy of MBR+GPT at the end of the image.
|
||||
# It's going to be useless but both tools assume it's there.
|
||||
imagesec=$((2*headersec+kernelsec+rootfssec))
|
||||
bootsd="$BINARIES_DIR/bootsd.img"
|
||||
run dd bs=$sec count=$imagesec if=/dev/zero of=$bootsd
|
||||
|
||||
# cgpt needs offsets and sizes in 512-blocks.
|
||||
block=512
|
||||
kernelstart=$((headersec<<4))
|
||||
kernelblocks=$((kernelsec<<4))
|
||||
rootfsblocks=$((rootfssec<<4))
|
||||
rootfsstart=$((kernelstart+kernelblocks))
|
||||
|
||||
# This command initializes both GPT and MBR
|
||||
run $parted -s $bootsd mklabel gpt
|
||||
|
||||
# The kernel partition must be marked as bootable, that's why -S -T -P
|
||||
run $cgpt add -i 1 -b $kernelstart -s $kernelblocks \
|
||||
-t kernel -l kernel \
|
||||
-S 1 -T 1 -P 10 $bootsd
|
||||
|
||||
# It does not really matter where the rootfs partition is located as long
|
||||
# as the kernel can find it.
|
||||
# However, if anything is changed here, kernel.args must be updated as well.
|
||||
run $cgpt add -i 2 -b $rootfsstart -s $rootfsblocks \
|
||||
-t data -l rootfs $bootsd
|
||||
|
||||
run dd bs=$block if=$kernel of=$bootsd seek=$kernelstart
|
||||
run dd bs=$block if=$rootfs of=$bootsd seek=$rootfsstart
|
||||
@@ -1,137 +0,0 @@
|
||||
Samsung XE303C12 aka Chromebook Snow
|
||||
====================================
|
||||
|
||||
This file describes booting the Chromebook from an SD card containing
|
||||
Buildroot kernel and rootfs, using the original bootloader. This is
|
||||
the least invasive way to get Buildroot onto the devices and a good
|
||||
starting point.
|
||||
|
||||
The bootloader will only boot a kernel from a GPT partition marked
|
||||
bootable with cgpt tool from vboot-utils package.
|
||||
The kernel image must be signed using futility from the same package.
|
||||
The signing part is done by sign.sh script in this directory.
|
||||
|
||||
It does not really matter where rootfs is as long as the kernel is able
|
||||
to find it, but this particular configuration assumes the kernel is on
|
||||
partition 1 and rootfs is on partition 2 of the SD card.
|
||||
Make sure to check kernel.args if you change this.
|
||||
|
||||
Making the boot media
|
||||
---------------------
|
||||
Start by configuring and building the images.
|
||||
|
||||
make chromebook_snow_defconfig
|
||||
make menuconfig # if necessary
|
||||
make
|
||||
|
||||
The important files are:
|
||||
|
||||
uImage.kpart (kernel and device tree, signed)
|
||||
rootfs.tar
|
||||
bootsd.img (SD card image containing both kernel and rootfs)
|
||||
|
||||
Write the image directly to some SD card.
|
||||
WARNING: make sure there is nothing important on that card,
|
||||
and double-check the device name!
|
||||
|
||||
SD=/dev/mmcblk1 # may be /dev/sdX on some hosts
|
||||
dd if=output/images/bootsd.img of=$SD
|
||||
|
||||
Switching to developer mode and booting from SD
|
||||
-----------------------------------------------
|
||||
Power Chromebook down, then power it up while holding Esc+F3.
|
||||
BEWARE: switching to developer mode deletes all user data.
|
||||
Create backups if you need them.
|
||||
|
||||
While in developer mode, Chromebook will boot into a white screen saying
|
||||
"OS verification is off".
|
||||
|
||||
Press Ctrl-D at this screen to boot Chromium OS from eMMC.
|
||||
Press Ctrl-U at this screen to boot from SD (or USB)
|
||||
Press Power to power it off.
|
||||
Do NOT press Space unless you mean it.
|
||||
This will switch it back to normal mode.
|
||||
|
||||
The is no way to get rid of the white screen without re-flashing the bootloader.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
Loud *BEEP* after pressing Ctrl-U means there's no valid partition to boot from.
|
||||
Which in turn means either bad GPT or improperly signed kernel.
|
||||
|
||||
Return to the OS verification screen without any sounds means the code managed
|
||||
to reboot the board. May indicate properly signed but invalid image.
|
||||
|
||||
Blank screen means the image is valid and properly signed but cannot boot
|
||||
for some reason, like missing or incorrect DT.
|
||||
|
||||
In case the board becomes unresponsive:
|
||||
|
||||
* Press Esc+F3+Power. The board should reboot instantly.
|
||||
Remove SD card to prevent it from attempting a system recovery.
|
||||
|
||||
* Hold Power button for around 10s. The board should shut down into
|
||||
its soft-off mode. Press Power button again or open the lid to turn in on.
|
||||
|
||||
* If that does not work, disconnect the charger and push a hidden
|
||||
button on the underside with a pin of some sort. The board should shut
|
||||
down completely. Opening the lid and pressing Power button will not work.
|
||||
To turn it back on, connect the charger.
|
||||
|
||||
Partitioning SD card manually
|
||||
-----------------------------
|
||||
Check mksd.sh for partitioning commands.
|
||||
|
||||
Use parted and cgpt on a real device, and calculate the partition
|
||||
sizes properly. The kernel partition may be as small as 4MB, but
|
||||
you will probably want the rootfs to occupy the whole remaining space.
|
||||
|
||||
cgpt may be used to check current layout:
|
||||
|
||||
output/host/usr/bin/cgpt show $SD
|
||||
|
||||
All sizes and all offsets are in 512-byte blocks.
|
||||
|
||||
Writing kernel and rootfs to a partitioned SD card
|
||||
--------------------------------------------------
|
||||
Write .kpart directly to the bootable partition:
|
||||
|
||||
dd if=output/images/uImage.kpart of=${SD}1
|
||||
|
||||
Make a new filesystem on the rootfs partition, and unpack rootfs.tar there:
|
||||
|
||||
mkfs.ext4 ${SD}2
|
||||
mount ${SD2} /mnt/<ROOTFS-PARTITION>
|
||||
tar -xvf output/images/rootfs.tar -C /mnt/<ROOTFS-PARTITION>
|
||||
umount /mnt/<ROOTFS-PARTITION>
|
||||
|
||||
This will require root permissions even if you can write to $SD.
|
||||
|
||||
Kernel command line
|
||||
-------------------
|
||||
The command line is taken from board/chromebook/snow/kernel.args and stored
|
||||
in the vboot header (which also holds the signature).
|
||||
|
||||
The original bootloader prepends "cros_secure console= " to the supplied
|
||||
command line. The only way to suppress this is to enable CMDLINE_FORCE
|
||||
in the kernel config, disabling external command line completely.
|
||||
|
||||
That's not necessary however. The mainline kernel ignores cros_secure,
|
||||
and supplying console=tty1 in kernel.args undoes the effect of console=
|
||||
|
||||
Booting with console= suppresses all kernel output.
|
||||
As a side effect, it makes /dev/console unusable, which the init in use must
|
||||
be able to handle.
|
||||
|
||||
WiFi card
|
||||
---------
|
||||
Run modprobe mwifiex_sdio to load the driver.
|
||||
The name of the device should be mlan0.
|
||||
|
||||
Further reading
|
||||
---------------
|
||||
https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-arm-chromebook
|
||||
http://linux-exynos.org/wiki/Samsung_Chromebook_XE303C12/Installing_Linux
|
||||
http://archlinuxarm.org/platforms/armv7/samsung/samsung-chromebook
|
||||
http://www.de7ec7ed.com/2013/05/application-processor-ap-uart-samsung.html
|
||||
http://www.de7ec7ed.com/2013/05/embedded-controller-ec-uart-samsung.html
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script creates u-boot FIT image containing the kernel and the DT,
|
||||
# then signs it using futility from vboot-utils.
|
||||
# The resulting file is called uImage.kpart.
|
||||
|
||||
BOARD_DIR=$(dirname $0)
|
||||
mkimage=$HOST_DIR/usr/bin/mkimage
|
||||
futility=$HOST_DIR/usr/bin/futility
|
||||
devkeys=$HOST_DIR/usr/share/vboot/devkeys
|
||||
|
||||
run() { echo "$@"; "$@"; }
|
||||
die() { echo "$@" >&2; exit 1; }
|
||||
test -f $BINARIES_DIR/zImage || \
|
||||
die "No kernel image found"
|
||||
test -x $mkimage || \
|
||||
die "No mkimage found (host-uboot-tools has not been built?)"
|
||||
test -x $futility || \
|
||||
die "No futility found (host-vboot-utils has not been built?)"
|
||||
|
||||
# kernel.its references zImage and exynos5250-snow.dtb, and all three
|
||||
# files must be in current directory for mkimage.
|
||||
run cp $BOARD_DIR/kernel.its $BINARIES_DIR/kernel.its || exit 1
|
||||
echo "# entering $BINARIES_DIR for the next command"
|
||||
(cd $BINARIES_DIR && run $mkimage -f kernel.its uImage.itb) || exit 1
|
||||
|
||||
# futility requires non-empty file to be supplied with --bootloader
|
||||
# even if it does not make sense for the target platform.
|
||||
echo > $BINARIES_DIR/dummy.txt
|
||||
|
||||
run $futility vbutil_kernel \
|
||||
--keyblock $devkeys/kernel.keyblock \
|
||||
--signprivate $devkeys/kernel_data_key.vbprivk \
|
||||
--arch arm \
|
||||
--version 1 \
|
||||
--config $BOARD_DIR/kernel.args \
|
||||
--vmlinuz $BINARIES_DIR/uImage.itb \
|
||||
--bootloader $BINARIES_DIR/dummy.txt \
|
||||
--pack $BINARIES_DIR/uImage.kpart || exit 1
|
||||
|
||||
rm -f $BINARIES_DIR/kernel.its $BINARIES_DIR/dummy.txt
|
||||
@@ -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-cubieboard2.dtb
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,37 +0,0 @@
|
||||
# Minimal SD card image for the Cubieboard2
|
||||
# Based in the Orange Pi genimage.cfg
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun7i-a20-cubieboard2.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
# post-build.sh for Cubieboard2
|
||||
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
||||
|
||||
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,6 +0,0 @@
|
||||
default firefly-rk3288
|
||||
|
||||
label firefly-rk3288
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-firefly.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
||||
@@ -1,3 +0,0 @@
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/sd-image.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
||||
@@ -1,40 +0,0 @@
|
||||
Firefly RK3288
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make firefly_rk3288_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── rk3288-firefly.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── sdcard.img
|
||||
├── u-boot-dtb.img
|
||||
├── u-boot-spl-dtb.bin
|
||||
├── u-boot-spl-dtb.img
|
||||
└── uImage
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
Buildroot generates a ready-to-use SD card image that you can flash directly to
|
||||
the card. The image will be in output/images/sdcard.img.
|
||||
You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/xxx
|
||||
|
||||
Finally, you can insert the SD card to the Firefly RK3288 board and boot it.
|
||||
@@ -1,22 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 128K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
# Minimal SD card image for the Freescale's i.MX25 PDK board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX25:
|
||||
# * the SD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx25-pdk.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,54 +0,0 @@
|
||||
**************************
|
||||
Freescale i.MX25 PDK board
|
||||
**************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX25 PDK board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX25 PDK board:
|
||||
|
||||
make mx25pdk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- imx25-pdk.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/imx25pdk/genimage.cfg.
|
||||
|
||||
Boot the i.MX25 PDK board
|
||||
=========================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- put a USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
@@ -1,41 +0,0 @@
|
||||
# Minimal SD card image for the Freescale's i.MX51 EVK board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX51:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx51-babbage.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,54 +0,0 @@
|
||||
**************************
|
||||
Freescale i.MX51 EVK board
|
||||
**************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX51 EVK board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX51 EVK board:
|
||||
|
||||
make mx51evk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- imx51-babbage.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/imx51evk/genimage.cfg.
|
||||
|
||||
Boot the i.MX51 EVK board
|
||||
=========================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
1
board/freescale/imx53loco/create-boot-sd.sh
Symbolic link
1
board/freescale/imx53loco/create-boot-sd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../imx6sabre/create-boot-sd.sh
|
||||
@@ -1,42 +0,0 @@
|
||||
# Minimal microSD card image for the Freescale's i.MX53 QSB board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX53:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx53-qsb.dtb",
|
||||
"imx53-qsrb.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,19 +1,14 @@
|
||||
********************************************************
|
||||
Freescale i.MX6 Q, DL and SoloX SABRE development boards
|
||||
********************************************************
|
||||
*******************************************************
|
||||
Freescale i.MX6Q and i.MX6DL SABRESD development boards
|
||||
*******************************************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale SABRE Board
|
||||
for Smart Devices Based on the i.MX 6 and i.MX 6SoloX Series (SABRESD),
|
||||
as well as the Freescale SABRE Board for Automotive Infotainment.
|
||||
This file documents the Buildroot support for the Freescale SABRE Board for
|
||||
Smart Devices Based on the i.MX 6 Series (SABRESD), as well as the Freescale
|
||||
SABRE Board for Automotive Infotainment.
|
||||
|
||||
Read the i.MX 6 SABRESD Quick Start Guide for an introduction to the
|
||||
board:
|
||||
Read the SABRESD Quick Start Guide for an introduction to the board:
|
||||
http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.pdf
|
||||
|
||||
Read the i.MX 6 SoloX SABRESD Quick Start Guide for an introduction to
|
||||
the board:
|
||||
http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SOLOXQSG.pdf
|
||||
|
||||
Read the SABRE for Automotive Infotainment Quick Start Guide for an
|
||||
introduction to the board:
|
||||
http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SABREINFOQSG.pdf
|
||||
@@ -30,10 +25,6 @@ For i.MX6DL SABRE SD board:
|
||||
|
||||
make freescale_imx6dlsabresd_defconfig
|
||||
|
||||
For i.MX6 SoloX SABRE SD board:
|
||||
|
||||
make freescale_imx6sxsabresd_defconfig
|
||||
|
||||
For i.MX6Q SABRE Auto board:
|
||||
|
||||
make freescale_imx6qsabreauto_defconfig
|
||||
@@ -47,12 +38,12 @@ Build all components:
|
||||
make
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6sx-sdb.dtb or
|
||||
imx6q-sabreauto.dtb or imx6dl-sabreauto.dtb
|
||||
- imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6q-sabreauto.dtb or
|
||||
imx6dl-sabreauto.dtb
|
||||
- rootfs.ext2
|
||||
- rootfs.tar
|
||||
- u-boot.imx
|
||||
- uImage, or zImage for i.MX6 SoloX
|
||||
- uImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
@@ -72,43 +63,17 @@ and copy the bootloader, kernel, DTBs and root filesystem as needed.
|
||||
Boot the SABRE board
|
||||
====================
|
||||
|
||||
i.MX6 SABRE SD
|
||||
--------------
|
||||
SABRE SD
|
||||
--------
|
||||
|
||||
To boot your newly created system on an i.MX6 SABRE SD Board (refer to
|
||||
the i.MX6 SABRE SD Quick Start Guide for guidance):
|
||||
To boot your newly created system on a SABRE SD Board (refer to the SABRE SD
|
||||
Quick Start Guide for guidance):
|
||||
- insert the SD card in the SD3 slot of the board;
|
||||
- locate the BOOT dip switches (SW6), set dips 2 and 7 to ON, all others to OFF;
|
||||
- connect a Micro USB cable to Debug Port and connect using a terminal emulator
|
||||
at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
i.MX6 SoloX SABRE SD
|
||||
--------------------
|
||||
|
||||
To boot your newly created system on an i.MX6 SoloX SABRE SD Board
|
||||
(refer to the i.MX6 SoloX SABRE SD Quick Start Guide for guidance):
|
||||
- insert the SD card in the J4-SD4 socket at the bottom of the board;
|
||||
- Set the SW10, SW11 and SW12 DIP switches at the top of the board in
|
||||
their default position, to boot from SD card. Reference configuration:
|
||||
|
||||
SW10
|
||||
1 2 3 4 5 6 7 8
|
||||
off off off off off off off off
|
||||
|
||||
SW11
|
||||
1 2 3 4 5 6 7 8
|
||||
off off ON ON ON off off off
|
||||
|
||||
SW12
|
||||
1 2 3 4 5 6 7 8
|
||||
off ON off off off off off off
|
||||
|
||||
- connect a Micro USB cable to the J16 Debug Port at the bottom of the
|
||||
board. This is a dual UART debug port; connect to the first tty using
|
||||
a terminal emulator at 115200 bps, 8n1;
|
||||
- power on the board with the SW1-PWR switch at the top of the board.
|
||||
|
||||
SABRE Auto
|
||||
----------
|
||||
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Minimal microSD card image for the Freescale's i.MX6UL EVK board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX6UL:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx6ul-14x14-evk.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,64 +0,0 @@
|
||||
***************************
|
||||
Freescale i.MX6UL EVK board
|
||||
***************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX6UL EVK board.
|
||||
|
||||
Please read the i.MX6UL Evaluation Kit Quick Start Guide [1] for an
|
||||
introduction to the board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your i.MX6UL EVK board:
|
||||
|
||||
make freescale_imx6ulevk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- imx6ul-14x14-evk.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable microSD card
|
||||
==============================
|
||||
|
||||
To determine the device associated to the microSD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a microSD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=./output/images/sdcard.img of=/dev/<your-microsd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/imx6ulevk/genimage.cfg.
|
||||
|
||||
Boot the i.MX6UL EVK board
|
||||
=========================
|
||||
|
||||
To boot your newly created system (refer to the i.MX6UL EVK Quick Start Guide
|
||||
[1] for guidance):
|
||||
- insert the microSD card in the microSD slot of the board;
|
||||
- verify that your i.MX6UL EVK board jumpers and switches are set as mentioned
|
||||
in the i.MX6UL EVK Quick Start Guide [1];
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
|
||||
References
|
||||
==========
|
||||
[1] http://cache.freescale.com/files/32bit/doc/quick_start_guide/IMX6ULTRALITEQSG.pdf
|
||||
@@ -1,41 +0,0 @@
|
||||
# Minimal microSD card image for the Freescale's i.MX7D SDB board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX7D:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx7d-sdb.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
@@ -1,54 +0,0 @@
|
||||
***************************
|
||||
Freescale i.MX7D SDB board
|
||||
***************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX7D SDB board.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your i.MX7D SDB board:
|
||||
|
||||
make freescale_imx7dsabresd_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- imx7d-sdb.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=./output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/imx7dsdb/genimage.cfg.
|
||||
|
||||
Boot the i.MX7D SDB board
|
||||
=========================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enjoy!
|
||||
92
board/freescale/mpc8315erdb/linux-3.18.config
Normal file
92
board/freescale/mpc8315erdb/linux-3.18.config
Normal file
@@ -0,0 +1,92 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_EXPERT=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
# CONFIG_PPC_CHRP is not set
|
||||
# CONFIG_PPC_PMAC is not set
|
||||
CONFIG_PPC_83xx=y
|
||||
CONFIG_MPC831x_RDB=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
# CONFIG_FW_LOADER is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=32768
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_SPI_ATTRS=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_MD=y
|
||||
CONFIG_BLK_DEV_MD=y
|
||||
CONFIG_MD_LINEAR=y
|
||||
CONFIG_MD_RAID0=y
|
||||
CONFIG_MD_RAID1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_E100=y
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO is not set
|
||||
# CONFIG_VT is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BITBANG=y
|
||||
CONFIG_WATCHDOG=y
|
||||
# CONFIG_USB_HID is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
|
||||
CONFIG_USB_UHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_INTF_DEV_UIE_EMUL=y
|
||||
CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
@@ -1,70 +0,0 @@
|
||||
CONFIG_FSL_EMB_PERFMON=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_SYSCTL_SYSCALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_MODULES=y
|
||||
# CONFIG_PPC_CHRP is not set
|
||||
# CONFIG_PPC_PMAC is not set
|
||||
CONFIG_PPC_83xx=y
|
||||
CONFIG_MPC831x_RDB=y
|
||||
CONFIG_MCU_MPC8349EMITX=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
# CONFIG_PCIEASPM is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_SCSI_MQ_DEFAULT=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_8xxx_WDT=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_RTC_DRV_GENERIC=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_ASYNC_TX_DMA=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_CRYPTO_DEV_TALITOS=y
|
||||
129
board/freescale/p1010rdb/linux-3.18.config
Normal file
129
board/freescale/p1010rdb/linux-3.18.config
Normal file
@@ -0,0 +1,129 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_IRQ_DOMAIN_DEBUG=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_P1010_RDB=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_SWIOTLB=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_RAPIDIO=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_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_NET_IPIP=y
|
||||
CONFIG_IP_MROUTE=y
|
||||
CONFIG_IP_PIMSM_V1=y
|
||||
CONFIG_IP_PIMSM_V2=y
|
||||
CONFIG_INET_ESP=y
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_MTD_NAND_FSL_IFC=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_NBD=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=131072
|
||||
CONFIG_EEPROM_LEGACY=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_ST=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_DUMMY=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_VITESSE_PHY=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
CONFIG_EDAC=y
|
||||
CONFIG_EDAC_MM_EDAC=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_CMOS=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_MSDOS_FS=m
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
CONFIG_CRYPTO_SHA256=y
|
||||
CONFIG_CRYPTO_SHA512=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_FSL_CAAM=y
|
||||
@@ -1,70 +0,0 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_P1010_RDB=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_SWIOTLB=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_RAPIDIO=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_MTD_NAND_FSL_IFC=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_VITESSE_PHY=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_CMOS=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_CRYPTO_DEV_FSL_CAAM=y
|
||||
@@ -9,9 +9,7 @@ Build all components:
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- imx6sl-warp.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
@@ -31,7 +29,7 @@ Update uboot
|
||||
=> env default -f -a
|
||||
=> saveenv
|
||||
|
||||
- Run the DFU command in U-Boot:
|
||||
- Run the DFU toocommand in U-Boot:
|
||||
=> dfu 0 mmc 0
|
||||
|
||||
- Transfer U-Boot into flash by running this command in host side:
|
||||
@@ -44,16 +42,14 @@ Update uboot
|
||||
Update linux & rootfs
|
||||
=====================
|
||||
|
||||
Run the 'ums' command from the U-Boot prompt to mount the eMMC as USB mass
|
||||
storage:
|
||||
Run the 'ums' command from the u6Boot prompt to mount the eMMC as mass
|
||||
storage and update zImage, device tree (imx6sl-warp.dtb) and rootfs
|
||||
file (rootfs.tar) :
|
||||
|
||||
=> ums 0 mmc 0
|
||||
|
||||
And then flash the sdcard.img into the eMMC:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the eMMC content. Use it with care! ***
|
||||
Put the zImage and DTB files in the warp-vfat partition and extract as
|
||||
root the rootfs.tar tarball in the warp-rootfs partition.
|
||||
|
||||
Using bluetooth
|
||||
================
|
||||
@@ -66,12 +62,4 @@ $ hciconfig hci0 up
|
||||
Using Wifi
|
||||
==========
|
||||
|
||||
# modprobe brcmfmac
|
||||
# iwconfig wlan0 essid ACCESSPOINTNAME
|
||||
# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
|
||||
(enter the wifi password and press enter)
|
||||
# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
|
||||
# udhcpc -i wlan0
|
||||
# ping buildroot.org
|
||||
|
||||
Enjoy!
|
||||
$ ifconfig wlan0 up
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Minimal SD card image for the Warp board
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format for i.MX6SL:
|
||||
# * the microSD card must have 1 kB free space at the beginning,
|
||||
# * U-Boot is dumped as is,
|
||||
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
||||
# * a single root filesystem partition is required (Ext4 in this case).
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"imx6sl-warp.dtb",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 16M
|
||||
}
|
||||
|
||||
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"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user