mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-11 14:10:13 +03:00
Compare commits
7 Commits
2016.02-rc
...
2015.11.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f0610c188 | ||
|
|
c76f557eef | ||
|
|
c0c568ddd6 | ||
|
|
45c566ea5d | ||
|
|
be26df751b | ||
|
|
fa047bb052 | ||
|
|
0da6f8f518 |
237
CHANGES
237
CHANGES
@@ -1,237 +1,12 @@
|
||||
2016.02-rc3, Released February 27th, 2016
|
||||
2015.11.1, Released December 5th, 2015
|
||||
|
||||
Fixes all over the tree.
|
||||
Fix for issue with the host package RPATH check when a custom host
|
||||
directory (BR2_HOST_DIR=/path/to/somewhere) is used.
|
||||
|
||||
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.
|
||||
Important (and/or security related) bugfixes for busybox,
|
||||
dropbear, libpng and openssl.
|
||||
|
||||
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.
|
||||
|
||||
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
|
||||
Updated/fixed packages: busybox, dropbear, gawk, libpng, openssl
|
||||
|
||||
2015.11, Released November 30th, 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
|
||||
|
||||
|
||||
87
Config.in
87
Config.in
@@ -18,30 +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_7
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "4 7"
|
||||
|
||||
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
|
||||
|
||||
# Hidden boolean selected by packages in need of Java in order to build
|
||||
# (example: xbmc)
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
@@ -189,10 +165,8 @@ config BR2_PRIMARY_SITE
|
||||
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.
|
||||
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"
|
||||
@@ -349,6 +323,10 @@ config BR2_DEPRECATED
|
||||
|
||||
if BR2_DEPRECATED
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2015_02
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2015_05
|
||||
bool
|
||||
default y
|
||||
@@ -357,14 +335,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
|
||||
|
||||
endif
|
||||
|
||||
config BR2_ENABLE_DEBUG
|
||||
@@ -546,13 +516,12 @@ 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
|
||||
for details.
|
||||
@@ -561,43 +530,7 @@ choice
|
||||
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
|
||||
|
||||
297
Config.in.legacy
297
Config.in.legacy
@@ -16,77 +16,39 @@
|
||||
# is informed at build-time about selected legacy options.
|
||||
# If there is an equivalent (set of) new symbols, these should be select'ed by
|
||||
# the old symbol for backwards compatibility.
|
||||
# It is not possible to select an option that is part of a choice. In that
|
||||
# case, the new option should use the old symbol as default. This requires a
|
||||
# change outside of Config.in.legacy, and this should be clearly marked as such
|
||||
# in a comment, so that removal of legacy options also include the removal of
|
||||
# these external references.
|
||||
#
|
||||
# [Example: renaming a bool option that is part of a choice from FOO to BAR]
|
||||
# original choice:
|
||||
# choice
|
||||
# prompt "Choose foobar"
|
||||
# config BR2_FOO_1
|
||||
# bool "foobar 1"
|
||||
# config BR2_FOO_2
|
||||
# bool "foobar 2"
|
||||
# endchoice
|
||||
#
|
||||
# becomes:
|
||||
# choice
|
||||
# prompt "Choose foobar"
|
||||
# default BR2_BAR_1 if BR2_FOO_1 # legacy
|
||||
# default BR2_BAR_2 if BR2_FOO_2 # legacy
|
||||
# config BR2_BAR_1
|
||||
# bool "foobar 1"
|
||||
# config BR2_BAR_2
|
||||
# bool "foobar 2"
|
||||
# endchoice
|
||||
#
|
||||
# and in Config.in.legacy:
|
||||
# config BR2_FOO_1
|
||||
# bool "foobar 1 has been renamed"
|
||||
# help
|
||||
# <suitable help text>
|
||||
# # Note: BR2_FOO_1 is still referenced from package/foo/Config.in
|
||||
# config BR2_FOO_2
|
||||
# bool "foobar 2 has been renamed"
|
||||
# help
|
||||
# <suitable help text>
|
||||
# # Note: BR2_FOO_2 is still referenced from package/foo/Config.in
|
||||
#
|
||||
# [End of example]
|
||||
#
|
||||
# For string options, it is not possible to directly select another symbol. In
|
||||
# this case, a hidden wrap bool option has to be added, that defaults to y if
|
||||
# the old string is not set at its default value. The wrap symbol should select
|
||||
# BR2_LEGACY.
|
||||
# If the original symbol has been renamed, the new symbol should use the value
|
||||
# of the old symbol as default. Like for choice options, a comment should be
|
||||
# added to flag that the symbol is still used in another file.
|
||||
# of the old symbol as default. This requires a change outside of
|
||||
# Config.in.legacy, and this should be clearly marked as such below, so that
|
||||
# removal of legacy options also include the removal of these external
|
||||
# references.
|
||||
#
|
||||
# [Example: renaming a string option from FOO to BAR]
|
||||
# original symbol:
|
||||
# config BR2_FOO_STRING
|
||||
# string "Some foo string"
|
||||
# config BR2_FOO_STRING
|
||||
# string "Some foo string"
|
||||
#
|
||||
# becomes:
|
||||
# config BR2_BAR_STRING
|
||||
# string "Some bar string"
|
||||
# default BR2_FOO_STRING if BR2_FOO_STRING != "" # legacy
|
||||
# config BR2_BAR_STRING
|
||||
# string "Some bar string"
|
||||
# default BR2_FOO_STRING if BR2_FOO_STRING != "" # legacy
|
||||
#
|
||||
# and in Config.in.legacy:
|
||||
# config BR2_FOO_STRING
|
||||
# string "The foo string has been renamed"
|
||||
# help
|
||||
# <suitable help text>
|
||||
# config BR2_FOO_STRING
|
||||
# string "The foo string has been renamed"
|
||||
# help
|
||||
# <suitable help text>
|
||||
#
|
||||
# config BR2_FOO_STRING_WRAP
|
||||
# bool
|
||||
# default y if BR2_FOO_STRING != ""
|
||||
# select BR2_LEGACY
|
||||
# config BR2_FOO_STRING_WRAP
|
||||
# bool
|
||||
# default y if BR2_FOO_STRING != ""
|
||||
# select BR2_LEGACY
|
||||
#
|
||||
# # Note: BR2_FOO_STRING is still referenced from package/foo/Config.in
|
||||
# # Note: BR2_FOO_STRING is still referenced from package/foo/Config.in
|
||||
#
|
||||
# [End of example]
|
||||
|
||||
@@ -142,229 +104,6 @@ comment "build, or run, in unpredictable ways. "
|
||||
comment "----------------------------------------------------"
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.02"
|
||||
|
||||
config BR2_PACKAGE_DOVECOT_BZIP2
|
||||
bool "bzip2 support option has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_BZIP2
|
||||
help
|
||||
Bzip2 support is built if the bzip2 package is selected.
|
||||
|
||||
config BR2_PACKAGE_DOVECOT_ZLIB
|
||||
bool "zlib support option has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Zlib support is built if the zlib package is selected.
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_FINDFS
|
||||
bool "e2fsprogs findfs option has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This option attempted to enable findfs capabilities from
|
||||
e2fsprogs but has not worked since July 2015 (due to
|
||||
packaging changes). One can use BusyBox's findfs support or
|
||||
enable the BR2_PACKAGE_UTIL_LINUX_FINDFS option.
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL
|
||||
bool "openpowerlink debug option has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This option depends on BR2_ENABLE_DEBUG which should not be used
|
||||
by packages anymore.
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE
|
||||
bool "openpowerlink package has been updated"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
|
||||
help
|
||||
openpowerlink kernel modules are built if the
|
||||
kernel stack library is selected.
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP
|
||||
bool "openpowerlink package has been updated"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB
|
||||
help
|
||||
The user space support has been split in two part:
|
||||
- a monolitic user space library
|
||||
- a user spae deamon driver
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "using the linux headers version for the kernel has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option to use the version of the kernel headers for the
|
||||
kernel to build has been removed.
|
||||
|
||||
There is now the converse, better-suited and more versatile
|
||||
option to use the kernel version for the linux headers.
|
||||
|
||||
config BR2_PACKAGE_CUPS_PDFTOPS
|
||||
bool "Pdftops support has been removed from Cups"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Pdftops support has been removed from the cups package
|
||||
It is now part of the cups-filters package.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_16
|
||||
bool "kernel headers version 3.16.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_18
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.16.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.18.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PYXML
|
||||
bool "python-pyxml package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
PyXML is obsolete and its functionality is covered either via
|
||||
native Python XML support or python-lxml package.
|
||||
|
||||
# BR2_ENABLE_SSP is still referenced in Config.in (default in choice)
|
||||
config BR2_ENABLE_SSP
|
||||
bool "Stack Smashing protection now has different levels"
|
||||
help
|
||||
The protection offered by SSP can now be selected from different
|
||||
protection levels. Be sure to review the SSP level in the build
|
||||
options menu.
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_CLE266
|
||||
bool "cle266 driver for directfb removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The cle266 directfb driver support has been removed.
|
||||
It doesn't build in the latest version and it's unlikely
|
||||
anyone has any use for it.
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_UNICHROME
|
||||
bool "unichrome driver for directfb removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The unichrome directfb driver support has been removed.
|
||||
It doesn't build in the latest version and it's unlikely
|
||||
anyone has any use for it.
|
||||
|
||||
config BR2_PACKAGE_LIBELEMENTARY
|
||||
bool "libelementary has been renamed to elementary"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ELEMENTARY
|
||||
help
|
||||
The libelementary package has been renamed to match the upstream
|
||||
name.
|
||||
|
||||
config BR2_PACKAGE_LIBEINA
|
||||
bool "libeina package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libeina is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEET
|
||||
bool "libeet package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libeet is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEVAS
|
||||
bool "libevas package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libevas is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBECORE
|
||||
bool "libecore package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libecore is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEDBUS
|
||||
bool "libedbus package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libedbus is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEFREET
|
||||
bool "libefreet package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libefreet is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEIO
|
||||
bool "libeio package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libeio is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEMBRYO
|
||||
bool "libembryo package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libembryo is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBEDJE
|
||||
bool "libedje package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libedje is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_LIBETHUMB
|
||||
bool "libethumb package has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EFL
|
||||
help
|
||||
With EFL 1.15, libethumb is now provided by the efl package.
|
||||
|
||||
config BR2_PACKAGE_INFOZIP
|
||||
bool "infozip option has been renamed to zip"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ZIP
|
||||
help
|
||||
Info-Zip's Zip package has been renamed from infozip to zip,
|
||||
to avoid ambiguities with Info-Zip's UnZip which has been added
|
||||
in the unzip package.
|
||||
|
||||
config BR2_BR2_PACKAGE_NODEJS_0_10_X
|
||||
bool "nodejs 0.10.x option removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_NODEJS
|
||||
help
|
||||
nodejs 0.10.x option has been removed. 0.10.x is now
|
||||
automatically chosen for ARMv5 architectures only and the latest
|
||||
nodejs for all other supported architectures. The correct nodejs
|
||||
version has been automatically selected in your configuration.
|
||||
|
||||
config BR2_BR2_PACKAGE_NODEJS_0_12_X
|
||||
bool "nodejs version 0.12.x has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_NODEJS
|
||||
help
|
||||
nodejs version 0.12.x has been removed. As an alternative,
|
||||
the latest nodejs version has been automatically selected in
|
||||
your configuration.
|
||||
|
||||
config BR2_BR2_PACKAGE_NODEJS_4_X
|
||||
bool "nodejs version 4.x has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_NODEJS
|
||||
help
|
||||
nodejs version 4.x has been removed. As an alternative,
|
||||
the latest nodejs version has been automatically selected in
|
||||
your configuration.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2015.11"
|
||||
|
||||
|
||||
128
Makefile
128
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
|
||||
@@ -41,7 +41,7 @@ else # umask
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2016.02-rc3
|
||||
export BR2_VERSION := 2015.11.1
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -52,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
|
||||
@@ -94,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)),)
|
||||
@@ -283,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
|
||||
@@ -345,7 +321,6 @@ unexport ARCH
|
||||
unexport CC
|
||||
unexport CXX
|
||||
unexport CPP
|
||||
unexport RANLIB
|
||||
unexport CFLAGS
|
||||
unexport CXXFLAGS
|
||||
unexport GREP_OPTIONS
|
||||
@@ -450,34 +425,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)
|
||||
|
||||
@@ -501,6 +448,14 @@ 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 $@
|
||||
|
||||
# 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
|
||||
|
||||
# Populating the staging with the base directories is handled by the skeleton package
|
||||
$(STAGING_DIR):
|
||||
@mkdir -p $(STAGING_DIR)
|
||||
@@ -518,12 +473,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
|
||||
@@ -636,15 +590,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)"; \
|
||||
@@ -721,10 +679,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
|
||||
|tee $(GRAPHS_DIR)/$(@).dot \
|
||||
|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT)
|
||||
|
||||
graph-size:
|
||||
$(Q)mkdir -p $(GRAPHS_DIR)
|
||||
@@ -733,10 +689,6 @@ graph-size:
|
||||
--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
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
all: menuconfig
|
||||
@@ -765,7 +717,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
|
||||
@@ -867,13 +818,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)))))
|
||||
|
||||
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
|
||||
|
||||
@@ -284,6 +284,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -104,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
|
||||
@@ -192,26 +185,6 @@ 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
|
||||
@@ -249,7 +222,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
|
||||
@@ -267,6 +240,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
|
||||
@@ -287,7 +269,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
|
||||
@@ -300,7 +282,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
|
||||
@@ -316,7 +298,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
|
||||
@@ -331,7 +313,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,
|
||||
@@ -346,7 +328,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,
|
||||
@@ -371,7 +353,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
|
||||
@@ -426,6 +408,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
|
||||
@@ -434,8 +419,6 @@ 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
|
||||
|
||||
@@ -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,6 +4,9 @@ config BR2_ARCH
|
||||
config BR2_ENDIAN
|
||||
default "BIG"
|
||||
|
||||
config BR2_ARCH_HAS_ATOMICS
|
||||
default y
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "68000" if BR2_m68k_68000
|
||||
default "68010" if BR2_m68k_68010
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -67,6 +67,9 @@ 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 "mips32" if BR2_mips_32
|
||||
default "mips32r2" if BR2_mips_32r2
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -245,6 +245,9 @@ 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
|
||||
|
||||
@@ -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,167 +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
|
||||
@@ -1,104 +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)
|
||||
|
||||
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)
|
||||
+-- 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
|
||||
......
|
||||
|
||||
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) or the 'juno.dtb' (r0) 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.
|
||||
@@ -11,7 +11,7 @@ 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/readme.txt
|
||||
from NAND flash, see board/atmel/nandflash.txt
|
||||
|
||||
Configuring and building Buildroot
|
||||
----------------------------------
|
||||
@@ -52,7 +52,7 @@ sudo mount /dev/mmcblk0p2 /media/rootfs
|
||||
Copy the bootloaders, kernel image and Device Tree blob to the first
|
||||
partition:
|
||||
|
||||
cp output/images/u-boot-spl.bin /media/boot/boot.bin
|
||||
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
|
||||
|
||||
@@ -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 $?
|
||||
@@ -2,11 +2,11 @@ Buildroot for Boundary Devices Nitrogen6X:
|
||||
|
||||
http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/
|
||||
|
||||
To install, simply copy the image to a uSD card:
|
||||
To install, simply write rootfs.ext2 to the first partition of a uSD card:
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
sudo dd if=output/images/rootfs.ext2 of=/dev/sdX1
|
||||
|
||||
Where 'sdX' is the device node of the uSD partition.
|
||||
Where 'sdX1' is the device node of the uSD partition.
|
||||
|
||||
To upgrade u-boot, cancel autoboot and type:
|
||||
|
||||
|
||||
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,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,36 +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
|
||||
}
|
||||
|
||||
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,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 (Ext2 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.ext2"
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GENIMAGE_CFG="board/freescale/imx6ulevk/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,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.ext2
|
||||
- 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,31 +0,0 @@
|
||||
# Create an image of the efi partition
|
||||
image efi-part.vfat {
|
||||
vfat {
|
||||
file startup.nsh {
|
||||
image = "efi-part/startup.nsh"
|
||||
}
|
||||
file EFI {
|
||||
image = "efi-part/EFI"
|
||||
}
|
||||
}
|
||||
size=512K
|
||||
}
|
||||
|
||||
# Create the sdcard image, pulling in
|
||||
# * the image created by buildroot
|
||||
# * the efi-partition created above
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
image = "efi-part.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
set default="0"
|
||||
set timeout="0"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
# Grub2 supports ext4, load the kernel from the Linux rootfs partition
|
||||
# Set root tells grub to search the 2nd partition for the bzImage
|
||||
set root=(hd0,msdos2)
|
||||
|
||||
# Set Linux to boot from the 2nd partition, SD/MMC support is baked into the kernel
|
||||
linux /boot/bzImage root=/dev/mmcblk0p2 rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw
|
||||
}
|
||||
@@ -1,307 +0,0 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_KERNEL_LZMA=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=18
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_RESOURCE_COUNTERS=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_RD_BZIP2=y
|
||||
CONFIG_RD_LZMA=y
|
||||
CONFIG_SYSCTL_SYSCALL=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
# CONFIG_PCSPKR_PLATFORM is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_LBDAF is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_BSD_DISKLABEL=y
|
||||
# CONFIG_EFI_PARTITION is not set
|
||||
# CONFIG_ZONE_DMA is not set
|
||||
CONFIG_INTEL_QUARK_X1000_SOC=y
|
||||
CONFIG_M586TSC=y
|
||||
CONFIG_X86_GENERIC=y
|
||||
CONFIG_HPET_TIMER=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=y
|
||||
CONFIG_X86_UP_APIC=y
|
||||
CONFIG_X86_UP_IOAPIC=y
|
||||
# CONFIG_X86_MCE_AMD is not set
|
||||
CONFIG_X86_REBOOTFIXUPS=y
|
||||
CONFIG_MICROCODE=y
|
||||
CONFIG_X86_MSR=y
|
||||
CONFIG_X86_CPUID=y
|
||||
CONFIG_HIGHMEM64G=y
|
||||
# CONFIG_COMPACTION is not set
|
||||
# CONFIG_MTRR is not set
|
||||
# CONFIG_ARCH_RANDOM is not set
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
CONFIG_EFI_CAPSULE=m
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_PHYSICAL_START=0x400000
|
||||
# CONFIG_RELOCATABLE is not set
|
||||
# CONFIG_COMPAT_VDSO is not set
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_TRACE_RTC=y
|
||||
CONFIG_ACPI_PROCFS=y
|
||||
CONFIG_ACPI_PROCFS_POWER=y
|
||||
CONFIG_ACPI_EC_DEBUGFS=y
|
||||
# CONFIG_ACPI_PROC_EVENT is not set
|
||||
# CONFIG_ACPI_BATTERY is not set
|
||||
# CONFIG_ACPI_FAN is not set
|
||||
CONFIG_ACPI_DEBUG=y
|
||||
CONFIG_ACPI_PCI_SLOT=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_PCI_DEBUG=y
|
||||
CONFIG_PCI_IOAPIC=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
# CONFIG_IPV6_SIT is not set
|
||||
CONFIG_VLAN_8021Q=m
|
||||
CONFIG_VLAN_8021Q_GVRP=y
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_RAW=m
|
||||
CONFIG_CAN_BCM=m
|
||||
CONFIG_CAN_J1939=m
|
||||
CONFIG_CAN_VCAN=m
|
||||
CONFIG_CAN_SLCAN=m
|
||||
# CONFIG_CAN_DEV is not set
|
||||
CONFIG_BT=m
|
||||
CONFIG_BT_RFCOMM=m
|
||||
CONFIG_BT_RFCOMM_TTY=y
|
||||
CONFIG_BT_BNEP=m
|
||||
CONFIG_BT_BNEP_MC_FILTER=y
|
||||
CONFIG_BT_BNEP_PROTO_FILTER=y
|
||||
CONFIG_BT_HIDP=m
|
||||
CONFIG_BT_HCIBTUSB=m
|
||||
CONFIG_BT_HCIVHCI=m
|
||||
CONFIG_CFG80211=m
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=m
|
||||
CONFIG_RFKILL=m
|
||||
CONFIG_RFKILL_INPUT=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_DEBUG_DEVRES=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
# CONFIG_PNP_DEBUG_MESSAGES is not set
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_LOOP_MIN_COUNT=2
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=1
|
||||
CONFIG_BLK_DEV_RAM_SIZE=81920
|
||||
CONFIG_EEPROM_AT24=m
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_SCSI_SPI_ATTRS=y
|
||||
# CONFIG_SCSI_LOWLEVEL is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_3COM is not set
|
||||
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||
# CONFIG_NET_VENDOR_ALTEON is not set
|
||||
# CONFIG_NET_VENDOR_AMD is not set
|
||||
# CONFIG_NET_VENDOR_ATHEROS 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_NET_VENDOR_HP is not set
|
||||
CONFIG_E1000=m
|
||||
# CONFIG_NET_VENDOR_I825XX 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_REALTEK is not set
|
||||
# CONFIG_NET_VENDOR_RDC 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_STMMAC_ETH=y
|
||||
# CONFIG_STMMAC_PLATFORM is not set
|
||||
CONFIG_STMMAC_PCI=y
|
||||
CONFIG_STMMAC_DA=y
|
||||
# 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_PPP=m
|
||||
CONFIG_PPP_DEFLATE=m
|
||||
CONFIG_PPP_ASYNC=m
|
||||
CONFIG_IWLWIFI=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
CONFIG_INPUT_EVDEV=m
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_LEGACY_PTY_COUNT=32
|
||||
CONFIG_SERIAL_NONSTANDARD=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
# CONFIG_SERIAL_8250_PNP is not set
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_SERIAL_8250_PCI is not set
|
||||
CONFIG_SERIAL_8250_NR_UARTS=8
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_SERIAL_8250_DW=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_HPET=y
|
||||
# CONFIG_HPET_MMAP is not set
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_SPI_DEBUG=y
|
||||
CONFIG_SPI_GPIO=y
|
||||
CONFIG_SPI_PXA2XX=y
|
||||
CONFIG_SPI_PXA2XX_PCI=y
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_PTP_1588_CLOCK_PCH=m
|
||||
CONFIG_GPIO_SCH=m
|
||||
CONFIG_GPIO_PCA953X=m
|
||||
CONFIG_GPIO_PCA953X_IRQ=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_MFD_INTEL_QUARK_HSUART_DMA=y
|
||||
CONFIG_CY8C9540A=m
|
||||
CONFIG_MFD_PCA9685=m
|
||||
CONFIG_INTEL_QRK_GIP=m
|
||||
CONFIG_INTEL_QRK_GIP_TEST=m
|
||||
CONFIG_LPC_SCH=y
|
||||
CONFIG_MEDIA_SUPPORT=m
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_MEDIA_USB_SUPPORT=y
|
||||
CONFIG_USB_VIDEO_CLASS=m
|
||||
# CONFIG_USB_GSPCA is not set
|
||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
||||
# CONFIG_DVB_AU8522_V4L is not set
|
||||
# CONFIG_DVB_TUNER_DIB0070 is not set
|
||||
# CONFIG_DVB_TUNER_DIB0090 is not set
|
||||
# CONFIG_VGA_ARB is not set
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
CONFIG_SOUND=m
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_USB_AUDIO=m
|
||||
CONFIG_USB=m
|
||||
CONFIG_USB_EHCI_HCD=m
|
||||
CONFIG_USB_OHCI_HCD=m
|
||||
CONFIG_USB_UHCI_HCD=m
|
||||
CONFIG_USB_ACM=m
|
||||
CONFIG_USB_STORAGE=m
|
||||
CONFIG_USB_SERIAL=m
|
||||
CONFIG_USB_SERIAL_GENERIC=y
|
||||
CONFIG_USB_SERIAL_PL2303=m
|
||||
CONFIG_USB_GADGET=m
|
||||
CONFIG_USB_EG20T=m
|
||||
CONFIG_USB_ZERO=m
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_SERIAL=m
|
||||
CONFIG_USB_G_ACM_MS=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_UNSAFE_RESUME=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_MMC_SDHCI_ACPI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_DW_DMAC=y
|
||||
CONFIG_UIO=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_MAX78M6610_LMU=m
|
||||
CONFIG_IIO_SYSFS_TRIGGER=m
|
||||
CONFIG_IIO_HRTIMER_TRIGGER=m
|
||||
# CONFIG_NET_VENDOR_SILICOM is not set
|
||||
CONFIG_INTEL_QRK_ESRAM=y
|
||||
CONFIG_INTEL_QRK_THERMAL=y
|
||||
CONFIG_INTEL_QRK_AUDIO_CTRL=m
|
||||
CONFIG_INTEL_QRK_J1708=m
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_IIO=y
|
||||
CONFIG_IIO_BUFFER_CB=y
|
||||
CONFIG_IIO_LIS331DLH_INTEL_QRK=y
|
||||
CONFIG_AD7298=m
|
||||
CONFIG_ADC1x8S102=m
|
||||
CONFIG_PWM=y
|
||||
CONFIG_EFI_VARS=m
|
||||
CONFIG_DMI_SYSFS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
# CONFIG_EXT4_USE_FOR_EXT23 is not set
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_HUGETLBFS=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
CONFIG_NLS_DEFAULT="utf8"
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ASCII=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||
CONFIG_FRAME_WARN=2048
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
# CONFIG_UNUSED_SYMBOLS is not set
|
||||
CONFIG_HEADERS_CHECK=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DEBUG_STACKOVERFLOW=y
|
||||
CONFIG_X86_PTDUMP=y
|
||||
# CONFIG_DEBUG_RODATA_TEST is not set
|
||||
CONFIG_DEBUG_SET_MODULE_RONX=y
|
||||
# CONFIG_DOUBLEFAULT is not set
|
||||
CONFIG_DEBUG_BOOT_PARAMS=y
|
||||
CONFIG_OPTIMIZE_INLINING=y
|
||||
CONFIG_KEYS=y
|
||||
CONFIG_KEYS_DEBUG_PROC_KEYS=y
|
||||
CONFIG_SECURITY=y
|
||||
CONFIG_SECURITY_NETWORK=y
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
cp board/intel/galileo/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
GENIMAGE_CFG="board/intel/galileo/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,52 +0,0 @@
|
||||
|
||||
Intel Galileo Gen 1/2
|
||||
|
||||
Intro
|
||||
============
|
||||
|
||||
These instructions apply to both the Intel Galileo Gen 1/2 development boards
|
||||
based on the Intel Quark X1000.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
Apply the defconfig for the Intel Galileo Gen 1/2
|
||||
|
||||
$ make galileo_defconfig
|
||||
|
||||
Add any additional packages required and build.
|
||||
|
||||
$ make
|
||||
|
||||
The build process will create a SD card image and place it in output/images.
|
||||
|
||||
$ ls -lh output/images/sdcard.img
|
||||
-rw-r--r--. 1 foo foo 11M Nov 17 16:19 output/images/sdcard.img
|
||||
|
||||
Write the image to an mSD card, insert into the Galileo and power on.
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync
|
||||
|
||||
Accessing the console
|
||||
=====================
|
||||
|
||||
During power-on the console will become available on the Galileo's ttyS1. This
|
||||
may be accessed as follows.
|
||||
|
||||
* Galileo Gen 1
|
||||
|
||||
http://clayskits.com/products/galileo-gen-1-serial-cable
|
||||
|
||||
A USB to RS-232 to 3.5mm Jack cable is required. Connect to the 3.5mm
|
||||
Jack next to the Ethernet Header.
|
||||
|
||||
* Galileo Gen 2
|
||||
|
||||
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
|
||||
|
||||
A FTDI TTL-232R-3V3 cable may be used to connect to the FTDI header
|
||||
next to the Ethernet connector on the Galileo Gen 2.
|
||||
|
||||
The console should now be visible at 115200 baud.
|
||||
|
||||
$ picocom -b 115200 /dev/ttyUSB0
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
load_drivers()
|
||||
{
|
||||
while IFS= read -r line; do
|
||||
modprobe $line
|
||||
done < "/etc/modules-load.galileo/$1.conf"
|
||||
}
|
||||
|
||||
do_board()
|
||||
{
|
||||
board=$(cat /sys/devices/virtual/dmi/id/board_name)
|
||||
case "$board" in
|
||||
*"GalileoGen2" )
|
||||
load_drivers "galileo_gen2" ;;
|
||||
*"Galileo" )
|
||||
load_drivers "galileo" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
do_board
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
restart|reload)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
@@ -1,3 +0,0 @@
|
||||
intel_qrk_gip
|
||||
cy8c9540a
|
||||
ad7298
|
||||
@@ -1,4 +0,0 @@
|
||||
intel_qrk_gip
|
||||
gpio-pca953x
|
||||
pca9685
|
||||
adc1x8s102
|
||||
@@ -37,4 +37,4 @@ Prepare the SD card for the Minnow Board MAX
|
||||
4. Enjoy
|
||||
|
||||
Additional information about this board can be found at
|
||||
http://www.minnowboard.org/ or http://wiki.minnowboard.org/MinnowBoard_MAX
|
||||
http://www.minnowboard.org/ or http://elinux.org/Minnowboard:MinnowMax.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
setenv fdt_high ffffffff
|
||||
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-pc.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -1,35 +0,0 @@
|
||||
# Minimal SD card image for the OrangePi PC
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h3-orangepi-pc.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
|
||||
}
|
||||
|
||||
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 OrangePi PC taken from CubieBoard's post-build.sh
|
||||
# 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,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
# As we now use the Linux v4.5-RC1 kernel no orangepi-pc dtb exists yet.
|
||||
# However the orangepi-plus dtb has not much content, only mmc0 and uart
|
||||
# which are equal to the pc version of the board, so we use it here.
|
||||
mv ${BINARIES_DIR}/sun8i-h3-orangepi-plus.dtb ${BINARIES_DIR}/sun8i-h3-orangepi-pc.dtb
|
||||
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
||||
@@ -1,29 +0,0 @@
|
||||
OrangePi PC
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi PC. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepipc_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
11
board/qemu/arm-nuri/readme.txt
Normal file
11
board/qemu/arm-nuri/readme.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M nuri -kernel output/images/zImage -append "console=ttySAC1,115200" -smp 2 -serial null -serial stdio
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Startup time is slow because of the SMP CPU emulation so be patient.
|
||||
This emulation is known to be flaky.
|
||||
|
||||
Tested with QEMU 2.3.0
|
||||
@@ -3,7 +3,6 @@ CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_ARCH_VERSATILE=y
|
||||
CONFIG_MACH_VERSATILE_AB=y
|
||||
CONFIG_MACH_VERSATILE_DT=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_USE_OF=y
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
|
||||
qemu-system-arm -M vexpress-a9 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
If you want to emulate more cores change "-smp 1" to "-smp 2" for
|
||||
dual-core or even "smp -4" for a quad-core configuration.
|
||||
|
||||
Tested with QEMU 2.3.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -hda output/images/rootfs.ext2 -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda"
|
||||
qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -hda output/images/rootfs.ext2 -append "root=/dev/hda"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda"
|
||||
qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -hda output/images/rootfs.ext2 -append "root=/dev/hda"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -hda output/images/rootfs.ext2 -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -hda -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -hda output/images/rootfs.ext2 -append "console=ttyS0 root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append 'console=hvc0 root=/dev/sda' -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append 'console=hvc0 root=/dev/sda' -drive file=output/images/rootfs.ext2,if=scsi,index=0 -serial stdio -display curses
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
|
||||
qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2 -append "root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=output/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user
|
||||
qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "root=/dev/sda console=ttyS0,115200" -serial stdio output/images/rootfs.ext2 -net nic,model=e1000 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -1,8 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -1,8 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-b.dtb",
|
||||
"bcm2708-rpi-b-plus.dtb",
|
||||
"bcm2708-rpi-cm.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
"rpi-firmware/fixup.dat",
|
||||
"rpi-firmware/start.elf",
|
||||
"kernel-marked/zImage"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2709-rpi-2-b.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
"rpi-firmware/fixup.dat",
|
||||
"rpi-firmware/start.elf",
|
||||
"kernel-marked/zImage"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
BOARD_NAME="$(basename ${BOARD_DIR})"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
# Mark the kernel as DT-enabled
|
||||
mkdir -p "${BINARIES_DIR}/kernel-marked"
|
||||
${HOST_DIR}/usr/bin/mkknlimg "${BINARIES_DIR}/zImage" \
|
||||
"${BINARIES_DIR}/kernel-marked/zImage"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
||||
@@ -8,6 +8,14 @@ These instructions apply to all models of the Raspberry Pi:
|
||||
- the "enhanced" models A+ and B+,
|
||||
- the model B2 (aka Raspberry Pi 2).
|
||||
|
||||
To be able to use your Raspberry Pi board with the images generated by
|
||||
Buildroot, you have to choose whether you will use:
|
||||
|
||||
* Volatile rootfs in RAM (the rootfs is an initramfs) or
|
||||
* Persistent rootfs on the SDCard
|
||||
|
||||
Also, a good source of information is http://elinux.org/R-Pi_Hub
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
@@ -25,6 +33,16 @@ And for model 2 B:
|
||||
|
||||
$ make raspberrypi2_defconfig
|
||||
|
||||
If you want to use a persistent rootfs, skip to "Build the rootfs", below.
|
||||
|
||||
For a volatile rootfs, you have to slightly adjust the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
* Select "Filesystem images"
|
||||
* Select "initial RAM filesystem linked into linux kernel"
|
||||
|
||||
You may also deselect "tar the root filesystem".
|
||||
|
||||
Build the rootfs
|
||||
----------------
|
||||
|
||||
@@ -35,7 +53,7 @@ You may now build your rootfs with:
|
||||
|
||||
$ make
|
||||
|
||||
(This may take a while, consider getting yourself a coffee ;-) )
|
||||
(This may take a while; consider getting yourself a coffee ;-) )
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
@@ -43,35 +61,93 @@ Result of the build
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- bcm2708-rpi-b.dtb [1]
|
||||
+-- bcm2708-rpi-b-plus.dtb [1]
|
||||
+-- bcm2709-rpi-2-b.dtb [1]
|
||||
+-- boot.vfat
|
||||
+-- kernel-marked/zImage [2]
|
||||
+-- rootfs.ext4
|
||||
+-- rootfs.tar [0]
|
||||
+-- rpi-firmware/
|
||||
| +-- bootcode.bin
|
||||
| +-- cmdline.txt
|
||||
| +-- config.txt
|
||||
| +-- fixup.dat
|
||||
| `-- start.elf
|
||||
+-- sdcard.img
|
||||
+-- bcm2708-rpi-b.dtb [1]
|
||||
+-- bcm2708-rpi-b-plus.dtb [1]
|
||||
+-- bcm2709-rpi-2-b.dtb [1]
|
||||
`-- zImage
|
||||
|
||||
[0] Note for Volatile: rootfs.tar will only be there if you kept
|
||||
"tar the root filesystem" option selected in "Filesystem images".
|
||||
|
||||
[1] Not all of them will be present, depending on the RaspberryPi
|
||||
model you are using.
|
||||
|
||||
[2] This is the mkknlimg DT-marked kernel.
|
||||
Prepare you SDCard
|
||||
==================
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
For more information, visit
|
||||
http://elinux.org/RPi_Advanced_Setup#Advanced_SD_card_setup
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
In summary, your SDCard must have first partition in fat32 and marked bootable.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
Create the required partitions:
|
||||
- for a persistent rootfs, 10MiB is enough memory for the boot fat32
|
||||
partition, and a second partition is required for the root filesystem
|
||||
- for a volatile rootfs, 50MiB is required for the boot fat32 partition
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
Note: You can create any number of partitions you desire, the only requirement
|
||||
is that the first partition must be using fat32 and be bootable.
|
||||
|
||||
Mount the partitions (adjust 'sdX' to match your SDcard device):
|
||||
|
||||
$ sudo mount /dev/sdX1 /mnt/mountpointboot
|
||||
$ sudo mount /dev/sdX2 /mnt/mountpointroot (only for persistent rootfs)
|
||||
|
||||
Install the binaries to the SDCard
|
||||
----------------------------------
|
||||
|
||||
At the root of the boot partition, the Raspberry Pi must find the following
|
||||
files:
|
||||
|
||||
* bcm2708-rpi-b.dtb [2]
|
||||
* bcm2708-rpi-b-plus.dtb [3]
|
||||
* bcm2709-rpi-2-b.dtb [4]
|
||||
* bootcode.bin
|
||||
* config.txt
|
||||
* fixup.dat
|
||||
* start.elf
|
||||
* zImage
|
||||
|
||||
[2] For models A and B
|
||||
[3] For models A+ and B+
|
||||
[4] For model 2
|
||||
|
||||
For example:
|
||||
|
||||
$ cp output/images/rpi-firmware/* /mnt/mountpointboot
|
||||
$ cp output/images/*.dtb /mnt/mountpointboot
|
||||
|
||||
The kernel image must be marked with a special header so that the
|
||||
bootloader of the RaspberryPi knows it supports Device Tree:
|
||||
|
||||
$ ./output/host/usr/bin/mkknlimg output/images/zImage /mnt/mountpointboot/zImage
|
||||
|
||||
Note: The kernel image file name is defined in config.txt like this:
|
||||
kernel=zImage
|
||||
|
||||
If you use a volatile rootfs, Skip to "Finish", below. For a persistent
|
||||
rootfs, there are further steps to do.
|
||||
|
||||
Extract (as root!) the contents of the rootfs.tar archive into the second
|
||||
partition you created above:
|
||||
|
||||
$ sudo tar xf ./output/images/rootfs.tar -C /mnt/mountpointroot
|
||||
|
||||
Finish
|
||||
======
|
||||
|
||||
Unmount all the partitions:
|
||||
|
||||
$ sudo umount /mnt/mountpointboot
|
||||
$ sudo umount /mnt/mountpointroot (only for persistent rootfs)
|
||||
|
||||
And eject your SDcard from your computer SDcard reader.
|
||||
|
||||
Insert the SDcard into your Raspberry Pi, and power it up. Your new system
|
||||
should come up now.
|
||||
should come up, now.
|
||||
|
||||
@@ -15,7 +15,7 @@ choice
|
||||
prompt "AT91 Bootstrap 3 version"
|
||||
|
||||
config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
|
||||
bool "3.8"
|
||||
bool "3.7.2"
|
||||
|
||||
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
|
||||
bool "Custom Git repository"
|
||||
@@ -40,7 +40,7 @@ endif
|
||||
|
||||
config BR2_TARGET_AT91BOOTSTRAP3_VERSION
|
||||
string
|
||||
default "v3.8" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
|
||||
default "v3.7.2" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
|
||||
default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
|
||||
if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 ae7bb3f8e631f5216f05fd4650b37f2e76d88d0b893bd680f4f398f33b8f3470 at91bootstrap3-v3.8.tar.gz
|
||||
@@ -41,11 +41,12 @@ define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
|
||||
AT91BOOTSTRAP3_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG))_defconfig
|
||||
AT91BOOTSTRAP3_SOURCE_CONFIG = $(AT91BOOTSTRAP3_DIR)/board/*/$(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG))_defconfig
|
||||
else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
|
||||
AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE))
|
||||
AT91BOOTSTRAP3_SOURCE_CONFIG = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE))
|
||||
endif
|
||||
|
||||
AT91BOOTSTRAP3_KCONFIG_FILE = $(AT91BOOTSTRAP3_SOURCE_CONFIG)
|
||||
AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig
|
||||
AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS)
|
||||
|
||||
@@ -54,16 +55,13 @@ AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS)
|
||||
ifeq ($(BR_BUILDING),y)
|
||||
|
||||
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
|
||||
# We must use the user-supplied kconfig value, because
|
||||
# AT91BOOTSTRAP3_KCONFIG_DEFCONFIG will at least contain
|
||||
# the trailing _defconfig
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG)),)
|
||||
$(error No at91bootstrap3 defconfig name specified, check your BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG setting)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
|
||||
ifeq ($(AT91BOOTSTRAP3_KCONFIG_FILE),)
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)),)
|
||||
$(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE setting)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -12,7 +12,7 @@ choice
|
||||
Select the specific Barebox version you want to use
|
||||
|
||||
config BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
bool "2016.01.0"
|
||||
bool "2015.10.0"
|
||||
|
||||
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -40,7 +40,7 @@ endif
|
||||
|
||||
config BR2_TARGET_BAREBOX_VERSION
|
||||
string
|
||||
default "2016.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default "2015.10.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# http://www.barebox.org/download/barebox-2015.12.0.tar.bz2.md5
|
||||
md5 99f8c1252e3085e4b3a4e365ff36e9bd barebox-2016.01.0.tar.bz2
|
||||
# http://www.barebox.org/download/barebox-2015.10.0.tar.bz2.md5
|
||||
md5 50b787db3f91bebd5ed646e80a05caab barebox-2015.10.0.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 f0bb34b745b9c8c626186e22b0154f57c15d0eec5de1e3654f740665b2136d91 barebox-2016.01.0.tar.bz2
|
||||
sha256 8353042fe27a30a01a00fe1e1f4a34f292a291027b9637d3ea8f305387407880 barebox-2015.10.0.tar.bz2
|
||||
|
||||
@@ -56,11 +56,13 @@ BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE="$(TARGET_CROSS)"
|
||||
BAREBOX_MAKE_ENV = $(TARGET_MAKE_ENV)
|
||||
|
||||
ifeq ($(BR2_TARGET_BAREBOX_USE_DEFCONFIG),y)
|
||||
BAREBOX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))_defconfig
|
||||
BAREBOX_SOURCE_CONFIG = $(BAREBOX_DIR)/arch/$(BAREBOX_ARCH)/configs/$(call qstrip,\
|
||||
$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))_defconfig
|
||||
else ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)
|
||||
BAREBOX_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE))
|
||||
BAREBOX_SOURCE_CONFIG = $(call qstrip,$(BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE))
|
||||
endif
|
||||
|
||||
BAREBOX_KCONFIG_FILE = $(BAREBOX_SOURCE_CONFIG)
|
||||
BAREBOX_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES))
|
||||
BAREBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
|
||||
BAREBOX_KCONFIG_OPTS = $(BAREBOX_MAKE_FLAGS)
|
||||
@@ -109,11 +111,8 @@ endif
|
||||
# Checks to give errors that the user can understand
|
||||
# Must be before we call to kconfig-package
|
||||
ifeq ($(BR2_TARGET_BAREBOX)$(BR_BUILDING),yy)
|
||||
# We must use the user-supplied kconfig value, because
|
||||
# BAREBOX_KCONFIG_DEFCONFIG will at least contain the
|
||||
# trailing _defconfig
|
||||
ifeq ($(or $(BAREBOX_KCONFIG_FILE),$(call qstrip,$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))),)
|
||||
$(error No Barebox config. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG or BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE settings)
|
||||
ifeq ($(BAREBOX_SOURCE_CONFIG),)
|
||||
$(error No Barebox config file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG or BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE settings)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ choice
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
bool "2016.01"
|
||||
bool "2015.10"
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -83,7 +83,7 @@ endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2016.01" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default "2015.10" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
|
||||
if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 e5792fba9399d9804aa2ef667f14ff771e2cdece72367d340250265bf095a5d5 u-boot-2016.01.tar.bz2
|
||||
sha256 bdc68d5f9455ad933b059c735d983f2c8b6b552dafb062e5ff1444f623021955 u-boot-2015.10.tar.bz2
|
||||
|
||||
@@ -89,6 +89,18 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
|
||||
UBOOT_DEPENDENCIES += host-dtc
|
||||
endif
|
||||
|
||||
# Helper function to fill the U-Boot config.h file.
|
||||
# Argument 1: option name
|
||||
# Argument 2: option value
|
||||
# If the option value is empty, this function does nothing.
|
||||
define insert_define
|
||||
$(if $(call qstrip,$(2)),
|
||||
@echo "#ifdef $(strip $(1))" >> $(@D)/include/config.h
|
||||
@echo "#undef $(strip $(1))" >> $(@D)/include/config.h
|
||||
@echo "#endif" >> $(@D)/include/config.h
|
||||
@echo '#define $(strip $(1)) $(call qstrip,$(2))' >> $(@D)/include/config.h)
|
||||
endef
|
||||
|
||||
# prior to u-boot 2013.10 the license info was in COPYING. Copy it so
|
||||
# legal-info finds it
|
||||
define UBOOT_COPY_OLD_LICENSE_FILE
|
||||
@@ -98,7 +110,6 @@ define UBOOT_COPY_OLD_LICENSE_FILE
|
||||
endef
|
||||
|
||||
UBOOT_POST_EXTRACT_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
|
||||
UBOOT_POST_RSYNC_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE
|
||||
|
||||
# Prior to Buildroot 2015.05, only patch directories were supported. New
|
||||
# configurations use BR2_TARGET_UBOOT_PATCH instead.
|
||||
@@ -136,11 +147,13 @@ define UBOOT_CONFIGURE_CMDS
|
||||
endef
|
||||
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
|
||||
ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y)
|
||||
UBOOT_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG))_defconfig
|
||||
UBOOT_SOURCE_CONFIG = $(UBOOT_DIR)/configs/$(call qstrip,\
|
||||
$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG))_defconfig
|
||||
else ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y)
|
||||
UBOOT_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE))
|
||||
UBOOT_SOURCE_CONFIG = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE))
|
||||
endif # BR2_TARGET_UBOOT_USE_DEFCONFIG
|
||||
|
||||
UBOOT_KCONFIG_FILE = $(UBOOT_SOURCE_CONFIG)
|
||||
UBOOT_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
|
||||
UBOOT_KCONFIG_OPTS = $(UBOOT_MAKE_OPTS)
|
||||
endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
|
||||
# Linux headers same as kernel, a 4.1 series
|
||||
# Toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="4.1.1"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
|
||||
|
||||
# Kernel
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
|
||||
# Linux headers same as kernel, a 4.1 series
|
||||
# Toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="4.1.1"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
|
||||
|
||||
# Kernel
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
|
||||
# Toolchain
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91_dt"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25"
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
# Bootloader
|
||||
BR2_TARGET_AT91BOOTSTRAP3=y
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git"
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000"
|
||||
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m"
|
||||
|
||||
# Image
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
@@ -1,31 +0,0 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
|
||||
# Toolchain
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91_dt"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25"
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
|
||||
# Bootloader
|
||||
BR2_TARGET_AT91BOOTSTRAP3=y
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git"
|
||||
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000"
|
||||
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m"
|
||||
|
||||
# Image
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user