mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
Compare commits
6 Commits
2014.08-rc
...
2013.08.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ab57bf933 | ||
|
|
ad2600ce21 | ||
|
|
63344acefa | ||
|
|
bd315a19ef | ||
|
|
f9edec63c5 | ||
|
|
790beb354f |
764
CHANGES
764
CHANGES
@@ -1,765 +1,11 @@
|
||||
2014.08-rc2, Released August 18th, 2014
|
||||
2013.08.1, Released September 17th, 2013:
|
||||
|
||||
Fixes all over the tree.
|
||||
Handle the removed GCC and development files on target options
|
||||
through Config.in.legacy.
|
||||
|
||||
User manual restructured / reworked.
|
||||
Rootfs /lib symlink handling fixed (triggered by make external-deps)
|
||||
|
||||
Toolchain: Fix for C++ exceptions / pthread_exit() on
|
||||
uClibc/glibc, C++-11 features with uClibc.
|
||||
|
||||
Updated/fixed packages: bandwidthd, bluez5_utils, empty,
|
||||
espeak, fbv, ffmpeg, gd, gnupg2, gst1-plugin-good, iftop,
|
||||
infozip, libcuefile, libeml, libnftl, localedef, ltrace,
|
||||
matchbox, mpd, network-manager, nftables, ngrep, nut, openssl,
|
||||
oprofile, perl, perl-net-ssleay, postgresql, pppd, procps-ng,
|
||||
qt, subversion, synergy, systemd, tar, tftpd, webkit,
|
||||
xapp_rstart, xbmc, xbmc-pvr-addons
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#7124: Use BR toolchain externally results a non-bootable...
|
||||
#7208: Glibc C++ aplications crash if they use exceptions
|
||||
#7250: Cannot build with -std=c++11
|
||||
#7262: Generating locale en_US.UTF-8 fails on 64bit fedora..
|
||||
#7286: systemd 215 doesn't build
|
||||
|
||||
2014.08-rc1, Released August 8th, 2014
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Architecture: Powerpc64 BE/LE added, AVR32 deprecated.
|
||||
Improved altivec / SPE /atomic instructions
|
||||
handling. Additional PowerPC CPU variants added.
|
||||
|
||||
Defconfigs: Atmel SAMA5D3, Congatec QMX6, Lego ev3, TS-5x00,
|
||||
qemu-system-xtensa, qemu-aarch64-virt added. A number of
|
||||
tweaks to existing ones. lpc32xx defconfigs removed.
|
||||
|
||||
Toolchain: Microblaze support for internal musl toolchain.
|
||||
Default to GCC 4.8 for internal toolchain, remove deprecated
|
||||
4.3 and 4.6 versions.
|
||||
External CodeSourcery / Linaro toolchain updates, option to
|
||||
copy gconv libraries for external toolchains.
|
||||
|
||||
Infrastructure: graph-depends: misc fixes, transitive
|
||||
dependencies are not drawn by default. Download handling is
|
||||
now done using helper scripts. Integrity of downloads can now
|
||||
be verified using sha* hashes. Subversion download now uses
|
||||
peg revisions for robustness.
|
||||
Legal-info: License info of local or overridden packages are
|
||||
saved as well. Toolchain packages are also taken into account.
|
||||
autotools: Static linking with libtool / v1.5 improvements.
|
||||
Gettextize support, similar to autoreconf.
|
||||
kconfig package infrastructure added.
|
||||
|
||||
Misc: Version selection for busybox dropped.
|
||||
|
||||
Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils,
|
||||
alsamixergui, argus, armadillo, at, atftp, atk, avahi,
|
||||
avrdude, axel, b43-firmware, b43-fwcutter, bandwidthd, bc,
|
||||
bcusdk, beecrypt, bind, binutils, blackbox, bluez5_utils,
|
||||
bmon, boa, bonnie, bootutils, bsdiff, btrfs-progs, bustle,
|
||||
busybox, bwm-ng, bzip2, ca-certificates, cairo, can-utils,
|
||||
ccache, ccrypt, chrony, cifs-utils, classpath, cloog, cmake,
|
||||
collectd, connman, coreutils, cosmo, cppcms, cramfs, crda,
|
||||
cryptodev-linux, cryptodev, ctorrent, cvs, dbus-cpp,
|
||||
dbus-glib, dbus-python, dbus, dcron, dejavu, devmem2,
|
||||
dfu-util, dhcp, dhcpcd, dhcpdump, dhrystone, dialog, dillo,
|
||||
distcc, dmidecode, dmraid, dnsmasq, doom-wad, dropbear,
|
||||
dropwatch, dsp-tools, dtv-scan-tables, dvb-apps, e2fsprogs,
|
||||
e2tools, eeprog, eigen, elf2flt, elftosb, enlightenment,
|
||||
enscript, espeak, ethtool, eudev, evemu, exim, expedite,
|
||||
explorercanvas, ezxml, faifa, fan-ctrl, fconfig, feh,
|
||||
fetchmail, ffmpeg, fftw, file, fio, fis, flann, flashrom,
|
||||
flex, flot, fltk, fontconfig, freerdp, freescale-imx,
|
||||
freetype, ftop, gcc, gd, gdb, genimage, genromfs, gettext,
|
||||
giblib, glib-networking, glibc, gmp, gnupg, gnutls, gpm, gpsd,
|
||||
gptfdisk, gpu-viv-bin-imx6q, gqview, grantlee, gst-ffmpeg,
|
||||
gst-fsl-plugins, gst1-libav, gst1-plugins-bad,
|
||||
gst1-plugins-ugly, gtk2-engines, gtk2-theme-hicolor, gtkperf,
|
||||
gvfs, haserl, hdparm, hostapd, httping, i2c-tools, icu,
|
||||
imagemagick, imx-lib, inadyn, inotify-tools, input-tools,
|
||||
ipkg, iproute2, iputils, irda-utils, iw, jack2, jpeg, jquery,
|
||||
jquery-keyboard, jquery-mobile, jquery-validation, jsmin, kbd,
|
||||
kexec, kmod, knock, latencytop, lcdapi, leafpad, lesstif,
|
||||
lftp, libaio, libarchive, libargtable2, libart, libatasmart,
|
||||
libatomic_ops, libbsd, libcap-ng, libcec, libcgicc, libcgroup,
|
||||
libconfuse, libcurl, libdrm, libdvdnav, libdvdread,
|
||||
libeXosip2, libedit, liberation, libesmtp, libev, libevas,
|
||||
libevdev, libevent, libfcgi, libffi, libfreefare, libfslcodec,
|
||||
libfslparser, libfslvpuwrap, libgail, libgcrypt, libglade,
|
||||
libglib2, libgpgme, libgtk2, libhid, libical, libiconv,
|
||||
libiqrf, libjpeg, liblog4c-localtime, libmbus, libmicrohttpd,
|
||||
libmms, libndp, libnftnl, libnl, libnspr, libnss, liboauth,
|
||||
libpcap, libpng, libpthsem, libqmi, libraw, libraw1394,
|
||||
librsvg, libsoc, libsoup, libsvgtiny, libsysfs, libtasn1,
|
||||
libtirpc, libtorrent, libusb, libv4l, libwebsockets, libxcb,
|
||||
libxml2, libyaml, links, linux-firmware, linux-fusion,
|
||||
linux-headers, linux-pam, lite, live555, lm-sensors,
|
||||
lockfile-progs, lpc3250loader, lshw, lsof, lsuio, ltrace,
|
||||
ltris, lua-messagepack, luainterpreter, luajit, luaposix,
|
||||
luarocks, lvm2, lxc, lz4, lzo, make, makedevs, mdadm,
|
||||
mediastreamer, mesa3d, metacity, minidlna, mkpasswd,
|
||||
modem-manager, mongoose, mpd, mpg123, msgpack, mtd, mtools,
|
||||
mtr, musepack, musl, mysql, nano, nasm, nbd, ncurses, ndisc6,
|
||||
netatalk, netplug, network-manager, nftables, ngircd, nodejs,
|
||||
nss-mdns, ntp, nut, olsr, open2300, opencv, openntpd, openocd,
|
||||
openpgm, openpowerlink, openssh, openssl, openswan, openvpn,
|
||||
opkg, oprofile, opus-tools, orc, p910nd, pango, parted,
|
||||
pax-utils, pcmanfm, perf, perl, perl-module-build, php,
|
||||
pixman, pkgconf, poco, polarssl, popt, portmap, postgresql,
|
||||
prboom, protobuf-c, proxychains-ng, psmisc, psplash, ptpd2,
|
||||
python,
|
||||
python-{bottle,dpkt,id3,mad,msgpack,nfc,pygame,pyzmq,simplejson},
|
||||
python3, qhull, qt, qt5base, qt5connectivity, qt5declarative,
|
||||
qt5graphicaleffects, qt5multimedia, qt5quickcontrols,
|
||||
qt5sensors, qt5svg, qt5webkit, quagga, quota, radvd, rdesktop,
|
||||
read-edid, rpcbind, rpi-firmware, rpi-userland, rpm,
|
||||
rsh-redone, rsync, rt-tests, rtmpdump, rtorrent, rubix, ruby,
|
||||
samba, samba4, sane-backends, sawman, sconeserver, setserial,
|
||||
sg3_utils, shared-mime-info, smartmontools, smcroute, snappy,
|
||||
socketcand, spawn-fcgi, sqlite, squashfs, squid, sredird,
|
||||
startup-notification, statserial, strongswan, stunnel,
|
||||
sunxi-mali, supervisor, synergy, sysklogd, sysprof, sysstat,
|
||||
systemd, tcpdump, tcpreplay, texinfo, thrift, thttpd, ti-gfx,
|
||||
ti-utils, tinyhttpd, torsmo, trace-cmd, transmission, tslib,
|
||||
tstools, tvheadend, tzdata, uboot-tools, uclibc, udev,
|
||||
udpcast, usb_modeswitch, usbmount, util-linux, valgrind, vim,
|
||||
vlc, w_scan, wayland, webrtc-audio-processing, weston, wget,
|
||||
wireless-regdb, wireless_tools, wireshark, wpa_supplicant,
|
||||
xapp_{twm,xconsole,xcursorgen,xedit,xfs,xinit,xrandr},
|
||||
xdriver_xf86-video-intel, xlib_lib{FS,ICE,Xext,Xfont,Xft,Xi},
|
||||
xproto_fontsproto, xproto_inputproto, xserver_xorg-server,
|
||||
x11vnc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons, xterm, xvkbd,
|
||||
xz
|
||||
|
||||
New packages: flickcurl, fmc, fmlib, geoip, gnupg2,
|
||||
google-breakpad, imx-vpu, isl, kexec-lite, libglew, libglu,
|
||||
libinput, libksba, libmemcached, libmpdclient, librtlsdr,
|
||||
libuv, libva, libva-intel-driver, linux-zigbee, memcached,
|
||||
mpdecimal, ncmpc, opencore-amr, patchelf, perl-datetime-tiny,
|
||||
perl-gd, perl-gdgraph, perl-gdtextutil, perl-io-socket-ssl,
|
||||
perl-json-tiny, perl-mojolicious, perl-net-ssleay,
|
||||
perl-path-tiny, perl-try-tiny, perl-xml-libxml,
|
||||
perl-xml-namespacesupport, perl-xml-sax, perl-xml-sax-base,
|
||||
php-geoip, php-memcached, pifmrds, pinentry, powerpc-utils,
|
||||
procps-ng, pwgen, python-cffi, python-daemon, python-flup,
|
||||
python-ipython, python-numpy, qt5enginio, qt5webkit-examples,
|
||||
qt5websockets, simicsfs, sispmctl, sox, sshpass, tclap,
|
||||
twolame, upmpdcli, whois, xlib_libxshmfence, xproto_dri3proto
|
||||
|
||||
Removed packages: procps
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5750: Doing a Buildroot build from /usr doesn't work
|
||||
#5900: config flags to the Xenomai build system
|
||||
#6230: Cannot compile gcc without threads (uClibc-based)
|
||||
#6626: procps Unknown HZ value! (XX) Assume 100
|
||||
#7118: Package "thrift" requires atomic operations
|
||||
#7154: Local uClibc config file gets overwritten using ...
|
||||
#7160: host-xz not built
|
||||
#7166: hostapd: segfault when using RT5370
|
||||
#7172: Name collision of rpath token expansion and internal..
|
||||
#7178: NTPd package cannot sync time without a proper ntp.conf
|
||||
#7184: supervisord depends on libxml2 implicitly
|
||||
#7196: Unable to build on UBUNTU13.10
|
||||
#7268: python 2.7 compilation issue on a Debian/Ubuntu ...
|
||||
|
||||
2014.05, Released May 31st, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Minor manual fixes. U-Boot now defaults to spl/u-boot-spl.bin
|
||||
for the spl file.
|
||||
|
||||
Updated/fixed packages: exim, glibc, gnutls, libfribidi,
|
||||
qt5base, qt5webkit, sysklogd, thrift, u-boot
|
||||
|
||||
2014.05-rc3, Released May 28th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: acl, attr, connman, dosfstools,
|
||||
dropbear, dvb-apps, exim, flite, gdb, httping, hwdata,
|
||||
lesstif, libnss, libv4l, lttng-babeltrace, midori, monit,
|
||||
mplayer, php, python2, rdesktop, rpi-userland, ruby, samba,
|
||||
samba4, slang, xbmc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#7100: license info for package 'acl' missing
|
||||
#7106: license info for package 'attr' missing
|
||||
#7112: license info for package 'hwdata'
|
||||
|
||||
2014.05-rc2, Released May 21st, 2014
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Stripping using sstrip has been deprecated.
|
||||
|
||||
BR2_EXTERNAL can now also be used to implement custom
|
||||
filesystem types.
|
||||
|
||||
The newly added BR2_GRAPH_DEPTH variable to limit the depth of
|
||||
the generated dependency graph has been renamed to
|
||||
BR2_GRAPH_DEPS_OPTS, so additional options can be supported in
|
||||
the future.
|
||||
|
||||
The virtual package infrastructure will now error out early
|
||||
if multiple packages providing the same virtual package has
|
||||
been enabled (E.G. opengl). This change requires that the
|
||||
packages explicitly declare what virtual package(s) they
|
||||
provide.
|
||||
|
||||
Updated/fixed packages: acpid, armadillo, avahi, bellagio,
|
||||
btrfs-progs, cairo, clapack, directfb, duma, ecryptfs-utils,
|
||||
elfutils, eudev, fbgrab, fio, flann, fluxbox, gdb, gpm,
|
||||
gpu-viv-bin-mx6q, gst1-plugins-good, gst-plugins-good,
|
||||
imagemagick, iprutils, ipsec-tools, jack2, libdvdnav,
|
||||
libdvdread, libnss, libunwind, linux-headers, lsof, lua,
|
||||
luajit, matchbox-keyboard, mesa3d, mpd, mplayer, mtr, mysql,
|
||||
netsnmp, nodejs, openpowerlink, openvpn, pciutils,
|
||||
php-imagick, postgresql, pulseaudio, qt5quick1, rpi-userland,
|
||||
rsyslog, samba, samba4, sane-backends, sunxi-mali, systemd,
|
||||
ti-gfx, tstools, udev, webkit, wpa_supplicant, xbmc,
|
||||
xlib_libXpm, xserver_xorg-server, zyre
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5396: Boot hangs when starting samba if BR2_ENABLE_LOCALE...
|
||||
#7016: Git issues in resulting buildroot tar
|
||||
#7094: pciutils doesn't build on Blackfin
|
||||
|
||||
2014.05-rc1, Released May 13th, 2014
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Architectures: Support for MIPS o32 ABI on MIPS-64 targets has
|
||||
been removed. Building o32 ELF files for MIPS64 is an exotic
|
||||
configuration that nobody should be using. If o32 is required,
|
||||
then is better if it's built for MIPS 32-bit cores so only
|
||||
32-bit instructions will be used leading to a more efficient
|
||||
o32 usage.
|
||||
Support for the ARM A12 variant and Intel corei7.
|
||||
|
||||
Configs: Minnowboard and Altera SoCkit added, QEMU updates.
|
||||
|
||||
Bootloaders: Grub2 and gummiboot support, syslinux support
|
||||
extended.
|
||||
|
||||
Toolchains: GCC 4.9. Glibc 2.19. Support for the musl C
|
||||
library for internal and external toolchains. 4.8-R3 support
|
||||
for ARC, Internal toolchain support for Aarch64 and
|
||||
Microblaze. Environment variable to control debug output of
|
||||
toolchain wrapper renamed to BR2_DEBUG_WRAPPER to match the
|
||||
other variables. Toolchain tuple vendor name can now be
|
||||
customized. Updated external Linaro ARM/Aarch64
|
||||
toolchains. Added external Linaro ARMEB toolchain.
|
||||
A GDB gdbinit file is now generated for external toolchains to
|
||||
automatically set the correct sysroot.
|
||||
|
||||
Kconfig handling for minimum kernel headers version required
|
||||
for packages. Now packages needing specific kernel header
|
||||
features can specify these requirements in Kconfig.
|
||||
|
||||
Infrastructure: Support for (but disabled as it leads to
|
||||
unreproducible builds) toplevel parallel builds. See the
|
||||
comment at the top of Makefile for details about how to enable
|
||||
it and what the problems are if you want to test it.
|
||||
Python package infrastructure extended to support Python 3.x
|
||||
Perl and virtual package infrastructure support added.
|
||||
PRE_*_HOOKS support for all build steps.
|
||||
|
||||
Updated/fixed packages: acpid, agentpp, aiccu, apr, avahi,
|
||||
barebox, bash, beecrypt, bellagio, binutils, boost,
|
||||
boot-wrapper-aarch64, bustle, busybox, ca-certificates, cairo,
|
||||
ccache, ccid, cgilua, chrony, cifs-utils, civetweb, cmake,
|
||||
collectd, connman, coreutils, coxpcall, cppcms, cppzmq, crda,
|
||||
cryptodev, cryptsetup, cups, czmq, dbus, dhcpdump, directfb,
|
||||
dmalloc, dmraid, dnsmasq, dosfstools, dsp-tools, dtc,
|
||||
dvb-apps, ebtables, ecryptfs-utils, eigen, erlang, ethtool,
|
||||
evemu, evtest, f2fs-tools, fdk-aac, feh, ffmpeg, file, filemq,
|
||||
flac, flot, fmtools, fping, freetype, fswebcam, gcc, gd, gdb,
|
||||
gettext, giblib, git, glibc, glibmm, glib-networking, gmp,
|
||||
gnutls, gpm, gpsd, gpu-viv-bin-mx6q, grep, gst1-libav,
|
||||
gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good,
|
||||
gst1-plugins-ugly, gst-ffmpeg, gst-fsl-plugins, gst-omx,
|
||||
gst-plugins-good, gstreamer1, gvfs, harfbuzz, haveged,
|
||||
hostapd, htop, httping, ifplugd, iftop, igmpproxy,
|
||||
imagemagick, imlib2, imx-lib, infozip, intltool, iproute2,
|
||||
ipsec-tools, ipset, jansson, jpeg, jpeg-turbo, jquery,
|
||||
jquery-keyboard, jquery-ui, jquery-ui-themes, json-glib,
|
||||
json-javascript, kexec, kmod, lame, lbase64, lbreakout2,
|
||||
lcdproc, lftp, libao, libatasmart, libatomic_ops, libcap,
|
||||
libcdio, libcec, libcgicc, libcgroup, libcurl, libdrm,
|
||||
libdvdnav, libdvdread, libegl, libeio, libenca, libesmtp,
|
||||
libevas, libevdev, libfribidi, libfslcodec, libfslparser,
|
||||
libfslvpuwrap, libgail, libgles, libglib2, libgtk2, libhid,
|
||||
libjpeg, libmbim, libmicrohttpd, libmodplug, libnftnl,
|
||||
libnspr, libogg, libopenmax, libopenvg, libpcap, libplayer,
|
||||
libpng, libpthread-stubs, librsvg, libsigsegv, libsocketcan,
|
||||
libsoup, libtasn1, libtool, libtpl, libunwind, liburcu,
|
||||
libusb, libwebsockets, libxcb, libxml2, libxmlpp, libyaml,
|
||||
lighttpd, linphone, linux-firmware, linux-headers, ljsyscall,
|
||||
lmbench, lsof, ltp-testsuite, ltris, lttng-babeltrace,
|
||||
lttng-libust, lttng-modules, lttng-tools, lua, lua-cjson,
|
||||
luacrypto, lua-ev, luaexpat, luaexpatutils, luafilesystem,
|
||||
luainterpreter, luajit, lua-msgpack-native, luaposix,
|
||||
luarocks, luasec, luasocket, luasql-sqlite3, lvm2, macchanger,
|
||||
memstat, mesa3d, metacity, minidlna, mmc-utils,
|
||||
mobile-broadband-provider-info, modem-manager, mongrel2,
|
||||
monit, mpd, mplayer, msmtp, mtd, mtools, mutt, mysql, nasm,
|
||||
ncurses, ne10, netatalk, netsnmp, nettle, network-manager,
|
||||
newt, nfs-utils, nmap, nodejs, ntfs-3g, ntp, nut, ofono, ola,
|
||||
olsr, omniorb, opencv, opengl, openpgm, openssh, openssl,
|
||||
openswan, openvpn, orbit, orc, p11-kit, pango, parted,
|
||||
pciutils, pcre, pcsc-lite, perf, perl, perl-xml-parser, php,
|
||||
picocom, pixman, pkgconf, poppler, popt, portmap, powervr,
|
||||
pppd, pptp-linux, proftpd, protobuf, protobuf-c, ptpd2,
|
||||
pulseaudio, python, python3, python-bottle, python-m2crypto,
|
||||
python-netifaces, python-pyasn, python-pycrypto,
|
||||
python-pygame, python-pysnmp, python-pysnmp-apps,
|
||||
python-pysnmp-mibs, python-serial, python-setuptools,
|
||||
qextserialport, qt, qt5, qt5base, qt5connectivity,
|
||||
qt5declarative, qt5graphicaleffects, qt5imageformats,
|
||||
qt5multimedia, qt5quick1, qt5quickcontrols, qt5script,
|
||||
qt5sensors, qt5serialport, qt5svg, qt5webkit, qt5x11extras,
|
||||
qt5xmlpatterns, qtuio, qwt, radvd, readline, rings,
|
||||
rpi-firmware, rpi-userland, rsh-redone, rsync, rsyslog, rtai,
|
||||
rtmpdump, rt-tests, ruby, samba, sconeserver, scons, sdl,
|
||||
sdl_image, sdl_mixer, sg3_utils, slang, smstools3, snmppp,
|
||||
socat, speex, sqlcipher, sqlite, squashfs, squid, strongswan,
|
||||
stunnel, sunxi-boards, sunxi-mali, sunxi-tools, sylpheed,
|
||||
syslinux, sysstat, systemd, taglib, tcl, tcllib, tcpreplay,
|
||||
tidsp-binaries, ti-gfx, tmux, tvheadend, tzdata, uboot,
|
||||
uboot-tools, uclibc, udev, udisks, ulogd, usb_modeswitch,
|
||||
usb_modeswitch_data, usbmount, util-linux, valgrind, vlc,
|
||||
webkit, weston, wget, wireshark, wpa_supplicant, wsapi,
|
||||
w_scan, xapp_appres, xapp_bdftopcf, xapp_beforelight,
|
||||
xapp_bitmap, xapp_editres, xapp_fslsfonts, xapp_fstobdf,
|
||||
xapp_iceauth, xapp_ico, xapp_mkfontscale, xapp_rgb,
|
||||
xapp_rstart, xapp_sessreg, xapp_showfont, xapp_twm,
|
||||
xapp_viewres, xapp_xauth, xapp_xbacklight, xapp_xcalc,
|
||||
xapp_xclock, xapp_xditview, xapp_xdpyinfo, xapp_xdriinfo,
|
||||
xapp_xev, xapp_xfd, xapp_xfontsel, xapp_xfs, xapp_xfsinfo,
|
||||
xapp_xgc, xapp_xhost, xapp_xinit, xapp_xkbutils, xapp_xkill,
|
||||
xapp_xload, xapp_xlsclients, xapp_xlsfonts, xapp_xmag,
|
||||
xapp_xman, xapp_xmessage, xapp_xmodmap, xapp_xprop,
|
||||
xapp_xrandr, xapp_xrdb, xapp_xrefresh, xapp_xset,
|
||||
xapp_xsetroot, xapp_xsm, xapp_xstdcmap, xapp_xvidtune,
|
||||
xapp_xvinfo, xapp_xwd, xapp_xwininfo, xcb-util-wm,
|
||||
xdriver_xf86-input-evdev, xdriver_xf86-input-joystick,
|
||||
xdriver_xf86-input-keyboard, xdriver_xf86-input-mouse,
|
||||
xdriver_xf86-input-synaptics, xdriver_xf86-input-vmmouse,
|
||||
xdriver_xf86-video-ark, xdriver_xf86-video-ast,
|
||||
xdriver_xf86-video-ati, xdriver_xf86-video-cirrus,
|
||||
xdriver_xf86-video-dummy, xdriver_xf86-video-fbdev,
|
||||
xdriver_xf86-video-geode, xdriver_xf86-video-glide,
|
||||
xdriver_xf86-video-glint, xdriver_xf86-video-i128,
|
||||
xdriver_xf86-video-intel, xdriver_xf86-video-mach64,
|
||||
xdriver_xf86-video-mga, xdriver_xf86-video-neomagic,
|
||||
xdriver_xf86-video-newport, xdriver_xf86-video-nv,
|
||||
xdriver_xf86-video-openchrome, xdriver_xf86-video-r128,
|
||||
xdriver_xf86-video-savage, xdriver_xf86-video-siliconmotion,
|
||||
xdriver_xf86-video-sis, xdriver_xf86-video-tdfx,
|
||||
xdriver_xf86-video-tga, xdriver_xf86-video-trident,
|
||||
xdriver_xf86-video-vesa, xdriver_xf86-video-vmware,
|
||||
xdriver_xf86-video-voodoo, xenomai, xerces, xl2tp, xlib_libFS,
|
||||
xlib_xtrans, xproto_xproto, xserver_xorg-server,
|
||||
xutil_util-macros, zeromq, zic, zmqpp, zyre
|
||||
|
||||
New packages: armadillo, btrfs-progs, clapack, cosmo, dado,
|
||||
dbus-triggerd, dtv-scan-tables, e2tools, eudev, exim, expect,
|
||||
fetchmail, flann, flite, gnu-efi, grub2, gummiboot, heimdal,
|
||||
iprutils, iptraf-ng, jack2, jquery-mobile, libee, libestr,
|
||||
libgc, libgl, liblogging, libndp, libsoxr, libstrophe,
|
||||
libubox, libuci, libxmlrpc, ljlinenoise, lpeg, lpty, lrandom,
|
||||
lsqlite3, lua-coat, lua-coatpersistent, lua-csnappy, luajson,
|
||||
lualogging, lua-messagepack, lua-testmore, lunit, lzip, lzlib,
|
||||
musl, nftables, opentyrian, opentyrian-data,
|
||||
perl-module-build, php-gnupg, php-imagick, php-ssh2, php-yaml,
|
||||
php-zmq, postgresql, python-libconfig, python-pypcap,
|
||||
python-pyrex, qdecoder, qhull, samba4, smack, tz, tzdump, ucl,
|
||||
upx, vo-aacenc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons,
|
||||
yaffs2utils, zlog, znc
|
||||
|
||||
Removed packages: crosstool-ng, python-distutilscross, vala
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#6842: Checking external toolchain for eabihf
|
||||
#6956: Packaging libsoxr
|
||||
#6986: Make legal-info fails on uboot versions before 2014.01
|
||||
#6992: Incorrect installation rights on external kernel module..
|
||||
|
||||
2014.02, Released February 27th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: cegui06, cppdb, e2fsprogs, gcc, gdb,
|
||||
gst1-plugins-bad, gstreamer, gstreamer1, haserl, imagemagick,
|
||||
libpng, libxml2, lua, luajit, luarock, ncftp, openswan,
|
||||
pcsc-lite, qt5connectivity, ramsmp, strongswan, vlc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#6938: mkuser script generates wrong password for new user in..
|
||||
|
||||
2014.02-rc3, Released February 25th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: aiccu, ala-lib, alsa-utils, binutils,
|
||||
cairo, coreutils, dhcpcd, distcc, efl, evas, iputils, gdb,
|
||||
gpsd, gst-fsl-plugins, icu, libcec, libcgi, libplayer,
|
||||
libsecret, libsepol, libsigsegv, libtool, libv4l,
|
||||
linux-headers, matchbox-lib, mpg123, ncftp, opencv, pcmanfm,
|
||||
pixman, pv, qt, rt-tests, sawman, sconeserver, sdl, thrift,
|
||||
tvheadend, util-linux, webkit, xscreensaver
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#4706: Removing .stamp_target_installed does not trigger...
|
||||
#5030: busybox built fails if we use an override src dir...
|
||||
#5420: Dbus and /var/run management
|
||||
#5768: Not able to build ALSA-Lib for static build
|
||||
#5774: Not able to build ALSA-Utils for static build
|
||||
#6542: external python modules fail to compile to pyc if...
|
||||
#6764: Support for kernel signed modules
|
||||
#6794: Busybox compiled from buildroot hangs on pass from...
|
||||
|
||||
2014.02-rc2, Released February 20th, 2014
|
||||
|
||||
Fixes all over the tree. Static linking / nommu fixes and
|
||||
annotations for several packages.
|
||||
|
||||
Updated/fixed packages: boost, busybox, collectd, coreutils,
|
||||
dropbear, elfutils, feh, gcc, gst1-libav, imagemagick, iozone,
|
||||
jimtcl, kexec, libvncserver, lvm2, lxc, mplayer, netsnmp, nut,
|
||||
opencv, python, python3, qtuio, systemd, thrift, transmission,
|
||||
uclibc, vlc, webkit
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5450: AT91SAM9260 Bootstrap compilation problem
|
||||
#5582: libiconv 1.14 failed to build
|
||||
#5624: When building directfb, BR2_TARGET_LDFLAGS not used by..
|
||||
#5852: [2012.11] usb_modeswitch should depends of "BR2_PACK..
|
||||
#6218: binutils-2.23.2/gas fails with undefined reference to..
|
||||
#6236: binutils-2.23.2/bfd fails with undefined reference to..
|
||||
#6470: If the build directory is a child of /usr, the build..
|
||||
#6776: systemd error: static declaration of 'execvpe' follows..
|
||||
#6818: toolchainfile.cmake has absolut path references
|
||||
|
||||
2014.02-rc1, Released February 11th, 2014
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Support for external packages/defconfigs (BR2_EXTERNAL). See
|
||||
user manual for details.
|
||||
|
||||
Cleanup of environment variable names for consistency. The
|
||||
download directory location override (BUILDROOT_DL_DIR) is now
|
||||
called BR2_DL_DIR. Likewise the name of the current .config is
|
||||
renamed from BUILDROOT_CONFIG to BR2_CONFIG. Please update
|
||||
your post build scripts if you use this! BUILD_DIR is now also
|
||||
exported to the post build/image scripts.
|
||||
|
||||
Toolchain: GCC 4.8 fix for ARM stack corruption, reverted
|
||||
uClibc pread/pwrite backport as they cause issues on certain
|
||||
architectures, new Linaro and Sourcery Codebench toolchains.
|
||||
x86: Support for AMD Jaguar cores, SSE4.x, SH: SH2/SH3/SH3EB
|
||||
variants removed, Microblaze: Internal toolchain support
|
||||
|
||||
Legal infrastructure: Info is now split between host and
|
||||
target packages, large number of license annotations.
|
||||
|
||||
Lua: selection between lua 5.1 / 5.2, luarocks support
|
||||
|
||||
Python: package infrastructure, many new packages.
|
||||
|
||||
Defconfigs: Armadeus APF51 + Zedboard added, apf27, apf28,
|
||||
beaglebone, microblaze, pandaboard, qemu, raspberry pi
|
||||
updated.
|
||||
|
||||
Updated/fixed packages: aiccu, alsa-lib, alsa-utils,
|
||||
am33x-cm3, aumix, autoconf, automake, barebox, bellagio,
|
||||
berkeleydb, binutils, bison, blackbox, bluez_utils, boost,
|
||||
bustle, busybox, cairo, can-utils, ccache, ccid, cgilua,
|
||||
cifs-utils, civetweb, cmake, collectd, connman, copas,
|
||||
coreutils, coxpcall, cppzmq, cramfs, crda, cryptodev-linux,
|
||||
cryptsetup, cups, czmq, dhcpcd, dhcpdump, dhrystone, dialog,
|
||||
dmraid, dnsmasq, dosfstools, dropbear, dropwatch, dtc, duma,
|
||||
dvb-apps, e2fsprogs, eglibc, eigen, elf2flt, erlang, ethtool,
|
||||
f2fs-tools, ffmpeg, file, filemq, fio, flashrom, flex,
|
||||
fluxbox, fontconfig freerdp, freetype, gadgetfs-test, gawk,
|
||||
gcc, gdb, gdbm, gettext, git, glibc, gnupg, gnutls, gob2,
|
||||
gpsd, grep, grub, gst-ffmpeg, gst-plugins-good,
|
||||
gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good,
|
||||
gst1-plugins-ugly, gstreamer, gstreamer1, gtest, icu, iftop,
|
||||
imagemagick, inadyn, infozip, iozone, iproute2, iptables, iw,
|
||||
jpeg, jpeg-turbo, jq, kexec, kmod, knock, lbase64, lcdapi,
|
||||
lftp, libcdaudio, libcgi, libcgicc, libcuefile, libcurl,
|
||||
libdmtx, libdrm, libdvdnav, libdvdread, libegl, libevent,
|
||||
libexif, libfcgi, libfreefare, libgles, libglib2, libllcp,
|
||||
libmicrohttpd, libmpd, libnfc, libnl, libnss, libopenmax,
|
||||
libopenvg, libpcap, libpfm4, libplayer, libpng, libqmi,
|
||||
libreplaygain, libroxml, libsamplerate, libsexy, libsigsegv,
|
||||
libsndfile, libsoc, libtasn1, libtorrent, libtpl, libupnp,
|
||||
libusb, libusb-compat, libvorbis, libxcb, libxml2, libxmlpp,
|
||||
libyaml, lighttpd, linknx, linux-firmware, linux-pam, live555,
|
||||
lm_sensors, lmbench, lockdev, logrotate, lrzsz, ltrace, lua,
|
||||
lua-ev, lua-msgpack-native, luabitop, luaexpat, luaexpatutils,
|
||||
luafilesystem, luajit, luaposix, luasec, luasocket,
|
||||
luasql-sqlite3, m4, matchbox, mdadm, minicom, mongrel2, mpc,
|
||||
mpd, mpg123, mplayer, mtd, mysql, lvm2, mxml, ncurses, ne10,
|
||||
neard, neardal, netsnmp, netstat-nat, network-manager, nodejs,
|
||||
numactl, ofone, ola, olsr, omniorb, open2300, opencv,
|
||||
openpowerlink, openssh, openssl, openvpn, oprofile, opus,
|
||||
opus-tools, orbit, p11-kit, parted, pcre, pcsc-lite, perl,
|
||||
php, poco, poppler, powervr, protobuf-c, psplash, python,
|
||||
python-bottle,
|
||||
python-{crc16,distutilscross,dpkt,id3,ipy,m2crypto,mad,meld},
|
||||
python-{netifaces,nfc,protobuf,pygame,pyparsing,pyro,pyzmq},
|
||||
python-{serial,setuptools}, qt, qt5base, qt5connectivity,
|
||||
qt5declarative, qt5graphicaleffects, qt5jsbackend,
|
||||
qt5multimedia, qt5quick1, qt5quickcontrols, qt5script,
|
||||
qt5webkit, radvd, redis, rings, rng-tools, rpcbind,
|
||||
rpi-firmware, rpi-userland, rt-tests, sam-ba, samba, sawman,
|
||||
sconeserver, scons, sdl, sg3_utils, snappy, snmppp,
|
||||
socketcand, spice, spice-protocol, sqlcipher, sqlite, squid,
|
||||
sshfs, strace, subversion, sunxi-mali, supervisor, sysklogd,
|
||||
sysprof, sysstat, systemd, sysvinit, taglib, tar, tcpdump,
|
||||
ti-gfx, ti-utils, tinymembench, tn5250, trace-cmd,
|
||||
transmission, tvheadend, tzdata, zxing, uboot, uboot-tools,
|
||||
uclibc, udev, udpcast, ulogd, urg, usb_modeswitch_data,
|
||||
util-linux, vala, valgrind, vorbis-tools, wavpack, wayland,
|
||||
weston, wget, wireless-regdb, wireshark, wpa_supplicant,
|
||||
wsapi, xavante, xapp_xdpyinfo, xapp_xrandr, xcb-proto,
|
||||
xdriver_xf86-video-intel, xenomai, xkeyboard-config, xl2tp,
|
||||
xlib_lib{FS,SM,X11},
|
||||
xlib_libX{au,aw,composite,cursor,damage,ext,fixes,font,i},
|
||||
xlib_libX{inerama,mu,pm,randr,render,res,t,tst,v,xf86dga},
|
||||
xlib_libXxf86vm, xlib_libdmx, xlib_libfontenc,
|
||||
xlib_libpciaccess, xlib_xtrans, xproto_dri2proto,
|
||||
xproto_{glproto,inputproto,presentproto,randrproto,videoproto},
|
||||
xproto_xextproto, xproto_xproto, xutil_util-macros,
|
||||
xutil_makedepend, zic, zmqpp, zxing, zsh, zyre
|
||||
|
||||
New packages: apitrace, avrdude, c-ares, ca-certificates,
|
||||
cwiid, dbus-cpp, evemu, fping, fswebcam, gpm, gst1-libav,
|
||||
haveged, intel-microcode, iucode-tools, jasper, joe, ktap,
|
||||
lbreakout2, libass, libbluray, libcdio, libenca, libevdev,
|
||||
libmbim, libmodplug, libnfs, libnftnl, libplist, libshairplay,
|
||||
libsocketcan, ljsyscall, log4cplus, ltris, luainterpreter,
|
||||
luarocks, minidlna, mmc-utils, modemmanager, mtr, net-tools,
|
||||
python-configobj, python-dialog, python-json-schema-validator,
|
||||
python-keyring, python-msgpack, python-posix-ipc,
|
||||
python-pyasn, python-pycrypto, python-pysnmp,
|
||||
python-pysnmp-apps, python-pysnmp-mibs, python-pyusb,
|
||||
python-simplejson, python-tornado, python-versiontools,
|
||||
rtmpdump, rtptools, smcroute, smstools3, tcpreplay, thrift,
|
||||
ti-uim, tinyxml, tmux, vlc, wmctrl, xconsole
|
||||
|
||||
Removed packages: autoconf, automake, ccache, cpanminus, lzma,
|
||||
netkitbase, netkittelnet, pkg-config, squashfs3, ttcp, xstroke
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#65: new package: dbus c++ language bindings
|
||||
#769: Update configuration menu for MIPS target
|
||||
#2419: Add a bundle of Lua modules
|
||||
#2629: Segmentation faults and division by zero in Grub on ext2
|
||||
#3811: Added auto-mount for USB and SD Card (mdev) (for 2011.05)
|
||||
#4339: Allow override of DL_DIR in extract step
|
||||
#4363: Make sure that copied linux and busybox defconfig are...
|
||||
#4454: There should be simple way to update image, when chang...
|
||||
#5024: grub fails to build for x86_64 target architecture
|
||||
#5066: New-Package: net-tools
|
||||
#5072: ncurses: add ncurses-progs to target
|
||||
#5294: uclibc build ignores target CFLAGS and LDFLAGS
|
||||
#5366: Login doesn't work with util-linux versions of login/agetty
|
||||
#5378: dropbear Makefile broken
|
||||
#5390: System banner - change to empty doesn't remove /etc/issue
|
||||
#5780: spurious build failure because it cannot remove ubinize.cfg
|
||||
#5798: ncurses-5.9 fails to compile statically
|
||||
#5810: Buildroot 2012.11: Additional GCC option "-msoft-float" ...
|
||||
#6080: Git fetch caching
|
||||
#6092: Bootable ISO image creation seems to have stopped working..
|
||||
#6272: coreutils build fails
|
||||
#6434: apply-patches.sh does not work recursively
|
||||
#6446: eglibc doesn't install ldconfig to target
|
||||
#6484: Add c-ares
|
||||
#6596: Slow bootup if mdev is chosen
|
||||
#6656: Build Qt5 with ccache
|
||||
#6662: internal compiler error: Segmentation fault during making..
|
||||
#6722: Usage of $($(PKG)_DIR_PREFIX) is an issue with linux package
|
||||
#6752: genext2fs: e2fsck must run before tunefs -U random
|
||||
#6770: openssl 1.0.1f fails with ccache
|
||||
#6830: Qt5: no fonts are installed
|
||||
#6848: Qt5: no text shown in simple QWidget / frame-buffer setup
|
||||
#6854: Update to Qt 5.2.1
|
||||
|
||||
2013.11, Released November 30th, 2013:
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: apr, binutils, dbus-python, dropwatch,
|
||||
ecryptfs-utils, eglibc, gdb, gpsd, grantlee, hostapd,
|
||||
iptables, qlibiscsi, libnspr, libnss, libpfm4, libtool,
|
||||
lua-ev, lvm2, mplayer, qt, qt5, quagga, ruby, tinymembench,
|
||||
tvheadend, util-linux, wpa_supplicant
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#1279: Buildroot compiled Busybox and Coreutils LFS issues
|
||||
#2995: -fstack-protector-all causes ssh to SIGSEGV
|
||||
#5570: Cannot compile software on the target machine
|
||||
#6428: util-linux libmount segfaults with patch from buildroot
|
||||
#6500: php fails to build for armel
|
||||
#6554: gdb needs to dependents on host texinfo
|
||||
#6692: GNU nano fails to compile for x86_64
|
||||
#6704: wpa_supplicant: fix wrong path to executable file in D-Bus
|
||||
|
||||
2013.11-rc3, Released November 26th, 2013
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Architecture: Mark MIPS I, II, III and IV as deprecated.
|
||||
|
||||
Updated/fixed packages: beecrypt, dbus, e2fsprogs, libcap-ng,
|
||||
libglib2, libroxml, libsigsegv, libvncserver, lxc, mdadm,
|
||||
mongoose, nut, ola, omniorb, openssl, pcre, php, poco,
|
||||
protobuf-c, pv, qt5base, ruby, schifra, squid, sunxi-mail,
|
||||
swig, ti-gfx, tinymembench, uclibc, udisks, vim
|
||||
|
||||
2013.11-rc2, Released November 18th, 2013
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Defconfigs: qemu_arm_versatile, qemu_arm_nuri, sheevaplug:
|
||||
Adjust kernel versions.
|
||||
|
||||
Toolchain: avr32: fix for modern kernel headers
|
||||
|
||||
Bootloader: Barebox updated to 2013.10.1
|
||||
|
||||
Updated/fixed packages: dhcp, e2fsprogs, gst1-plugins-bad,
|
||||
libcurl, libvncserver, nano, pc, qt5base, squashfs, ttcp,
|
||||
wayland, wvstreams
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#3601: DHCPD S80dhcp-server startup script issues
|
||||
#6320: Fix kernel compile issue if BR2_LINUX_KERNEL_CUSTOM_GIT_VERS..
|
||||
#6416: Xenomai package, patch alternative
|
||||
#6590: directfb-examples build failed whit linaro toolchain
|
||||
|
||||
2013.11-rc1, Released November 12th, 2013
|
||||
|
||||
Architectures: Nios-II support, MIPS arch handling fixes
|
||||
|
||||
Defconfigs: cubieboard2, freescale i.MX 6sololite evk,
|
||||
sabre-sd, wandboard added, rpi renamed to raspberrypi_defconfig
|
||||
|
||||
Toolchain: glibc support, upstream uClibc fixes, uClibc 0.9.31
|
||||
for avr32, crosstool-ng backend removed, external musl
|
||||
toolchain support, gcc 4.8.2, updated Linaro external
|
||||
toolchains. Fortran and objective-C support deprecated,
|
||||
mudflap support
|
||||
|
||||
Bootloaders: U-Boot: u-boot.imx support, version bumps
|
||||
|
||||
Linux: use kmod instead of module-init-tools
|
||||
|
||||
System: default to devtmpfs for /dev
|
||||
|
||||
Infrastructure: Make 3.82 fixes, locales generation fixes, CVS
|
||||
download support, post-rsync hooks
|
||||
|
||||
Fs: u-boot image support for cpio
|
||||
|
||||
Updated/fixed packages: aircrack-ng, alsamixergui, apr,
|
||||
apr-util, atk, automake, bellagio, berkeleydb, bind, binutils,
|
||||
bison, boost, busybox, can-utils, ccache, ccid, cgilua,
|
||||
chrony, cifs-utils, cjson, collectd, connman, conntrack-tools,
|
||||
copas, cppcms, cppzmq, czmq, dash, dbus, dhcpcd, diffutils,
|
||||
directfb, dmidecode, dnsmaqs, docker, dosfstools, dropbear,
|
||||
dropwatch, ebtables, eglibc, elf2flt, empty, enchant, erlang,
|
||||
ethtool, fbgrab, fbv, fdk-aac, feh, ffmpeg, file, findutils,
|
||||
fltk, fmtools, freetype, gdk-pixbuf, gettext, git,
|
||||
glib-networking, gmp, gnupg, gnutls, gpu-viv-bin-mx6q, gsl,
|
||||
gstreamer, gstreamer1, gst1-plugins-{bad,base,good,ugly},
|
||||
gtest, gutenprint, hplip, i2c-tools, icu, ifplugd,
|
||||
imagemagick, iozone, iproute2, ipset, iptables, iw, jamvm,
|
||||
jansson, jpeg-turbo, kismet, kmod, lcms2, libassuan, libcap,
|
||||
libcap-ng, libcdaudio, libcec, libcue, libcurl, libdrm,
|
||||
libedit, libevas, libevent, libfreefare, libfuse,
|
||||
libgpg-error, libiconv, liblog4c-localtime, libmicrohttpd,
|
||||
libmnl, libmodbus,
|
||||
libnetfilter_{acct,conntrack,cthelper,cttimeout,log,queue},
|
||||
libnfnetlink, libnl, libpng, libqmi, libqrencode, libroxml,
|
||||
libsecret, libsigsegv, libsoup, libtirpc, libunwind, libusb,
|
||||
libvpx, lighttpd, linphone, linux-pam, lmbench,
|
||||
lockfile-progs, log4cxx, logrotate, logsurfer, ltp-testsuite,
|
||||
ltrace, luacrypto, luaposix, lvm2, m4, matchbox-lib,
|
||||
media-ctl, mediastreamer, minicom, minidlna, mongoose, monit,
|
||||
mpc, mpd, mpg123, mplayer, mrouted, mtdev, mutt, mysql_client,
|
||||
nano, ncftp, ndisc6, neard, neardal, neon, net-snmp, netatalk,
|
||||
netcat, netkitbase, netperf, netplug, nettle, nfacct,
|
||||
nfs-utils, ngircd, ngrep, noip, nuttcp, olsr, openssh, opkg,
|
||||
oprofile, opus-tools, orc, ortp, pciutils, pcre, pcsc-lite,
|
||||
perf, perl, perl-cross, php, picocom, pkgconf, polarssl,
|
||||
poppler, pppd, proftpd, protobuf, proxychains-ng, pulseaudio,
|
||||
pv, qemu, qt, qt5base, qt5webkit, quagga, radvd, redis,
|
||||
rpi-{firmware,userland}, rrdtool, rsync, rtorrent, ruby,
|
||||
samba, scons, screen, sdl_sound, ser2net, setserial,
|
||||
smartmontools, socat, socketcand, sqlcipher, sqlite, squid,
|
||||
stress, strongswan, stunnel, sudo, syslinux, systemd,
|
||||
sysvinit, tcl, ti-gfx, time, transmission, tremor, tslib,
|
||||
tstools, tvheadend, tzdata, uboot-tools, uclibc, udpcast,
|
||||
uemacs, ulogd, usb_modeswitch{,_data}, util-linux, vala,
|
||||
valgrind, vde2, vorbus-tools, vpnc, vsftpd, vtun, wayland,
|
||||
webkit, webp, webrtc-audio-processing, weston, wget,
|
||||
wireshark, wsapi, xavante, xdriver_xf86-video-geode, xenomai,
|
||||
xinetd, xlib_libpthread-stubs, xl2tp, xmlstarlet,
|
||||
xserver_xorg-server, xz, zeromq, zic, zmqpp
|
||||
|
||||
New packages: aiccu, autossh, bc, civetweb, cppdb, cryptsetup,
|
||||
duma, eigen, harfbuzz, igmpproxy, iputils, jq, knock, kobs-ng,
|
||||
lesstif, libcgroup, libsepol, libsoc, libssh2, luasec, luasql,
|
||||
lxc, nut, ola, omniorb, openpowerlink, orbit, p910nd, psplash,
|
||||
python-crc16, python-ipy, python-pyzmq, qt5sensors,
|
||||
qt5serialport, qt5x11extras, snmppp, subversion, tcping,
|
||||
trace-cmd, xscreensaver, zsh
|
||||
|
||||
Removed packages: module-init-tools
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#1138: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
|
||||
#5408: qt build failure with Sourcery CodeBench ARM 2010.09
|
||||
#5630: makefile error with toolchain helpers.mk
|
||||
#5672: htop: remove X11 stuff
|
||||
#5678: linux.mk: linux-menuconfig fails
|
||||
#5696: python3 installation is too large, patches from python2 needed
|
||||
#5978: Erlang does not build for arm in 2013.02-rc3
|
||||
#6392: Extended ARM uImage kernel options
|
||||
#6404: Buildroot's coreutils 'uname -p' reports 'Unknown' on recent..
|
||||
#6428: util-linux libmount segfaults with patch from buildroot
|
||||
#6452: eglibc from Linaro 2013.07 not copied to target correctly
|
||||
#6566: PHP segfault when crosscompiled to mips64 - patch included
|
||||
#6572: [PowerPC] Buildroot uses wrong external toolchain libraries..
|
||||
#6578: udisks package broken
|
||||
#6602: ebtables 64 bit kernel + 32 bit userland alignment error..
|
||||
#6608: ebtables missing ethertypes - fix included
|
||||
#6620: Sysvinit package missing killall5 and symlinks - patch included
|
||||
#6632: CMake use host pkg-config
|
||||
#6638: pkgconf doesn't download
|
||||
#6644: "all" target doesn't work in out-of-tree builds
|
||||
#6650: Segmentation fault when trying to build latest buildroot
|
||||
#6668: iptables limit module alignment problem on mips64
|
||||
Updated/fixed packages: elf2flt, ti-gfx
|
||||
|
||||
2013.08, Released August 31th, 2013:
|
||||
|
||||
|
||||
185
Config.in
185
Config.in
@@ -14,37 +14,12 @@ config BR2_HOSTARCH
|
||||
string
|
||||
option env="HOSTARCH"
|
||||
|
||||
config BR2_EXTERNAL
|
||||
string
|
||||
option env="BR2_EXTERNAL"
|
||||
|
||||
# Hidden boolean selected by packages in need of Java in order to build
|
||||
# (example: xbmc)
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages in need of javac in order to build
|
||||
# (example: classpath)
|
||||
config BR2_NEEDS_HOST_JAVAC
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages in need of jar in order to build
|
||||
# (example: classpath)
|
||||
config BR2_NEEDS_HOST_JAR
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by pre-built packages for x86, when they
|
||||
# need to run on x86-64 machines (example: pre-built external
|
||||
# toolchains, binary tools like SAM-BA, etc.).
|
||||
config BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
bool
|
||||
|
||||
# Hidden boolean selected by packages that need to build 32 bits
|
||||
# binaries with the host compiler, even on 64 bits build machines (e.g
|
||||
# bootloaders).
|
||||
config BR2_HOSTARCH_NEEDS_IA32_COMPILER
|
||||
bool
|
||||
|
||||
source "arch/Config.in"
|
||||
|
||||
menu "Build options"
|
||||
@@ -67,10 +42,6 @@ config BR2_GIT
|
||||
string "Git command"
|
||||
default "git"
|
||||
|
||||
config BR2_CVS
|
||||
string "CVS command"
|
||||
default "cvs"
|
||||
|
||||
config BR2_LOCALFILES
|
||||
string "Local files retrieval command"
|
||||
default "cp"
|
||||
@@ -141,7 +112,7 @@ config BR2_DL_DIR
|
||||
default "$(TOPDIR)/dl"
|
||||
help
|
||||
Directory to store all the source files that we need to fetch.
|
||||
If the Linux shell environment has defined the BR2_DL_DIR
|
||||
If the Linux shell environment has defined the BUILDROOT_DL_DIR
|
||||
environment variable, then this overrides this configuration item.
|
||||
|
||||
The default is $(TOPDIR)/dl
|
||||
@@ -188,7 +159,7 @@ if !BR2_PRIMARY_SITE_ONLY
|
||||
|
||||
config BR2_BACKUP_SITE
|
||||
string "Backup download site"
|
||||
default "http://sources.buildroot.net"
|
||||
default "http://sources.buildroot.net/"
|
||||
help
|
||||
Backup site to download from. If this option is set then buildroot
|
||||
will fall back to download package sources from here if the
|
||||
@@ -196,7 +167,7 @@ config BR2_BACKUP_SITE
|
||||
|
||||
config BR2_KERNEL_MIRROR
|
||||
string "Kernel.org mirror"
|
||||
default "https://www.kernel.org/pub"
|
||||
default "http://www.kernel.org/pub/"
|
||||
help
|
||||
kernel.org is mirrored on a number of servers around the world.
|
||||
The following allows you to select your preferred mirror.
|
||||
@@ -232,25 +203,6 @@ config BR2_DEBIAN_MIRROR
|
||||
|
||||
endif
|
||||
|
||||
config BR2_LUAROCKS_MIRROR
|
||||
string "LuaRocks mirror"
|
||||
default "http://rocks.moonscript.org"
|
||||
help
|
||||
LuaRocks repository.
|
||||
|
||||
See http://luarocks.org
|
||||
|
||||
config BR2_CPAN_MIRROR
|
||||
string "CPAN mirror (Perl packages)"
|
||||
default "http://cpan.metacpan.org"
|
||||
help
|
||||
CPAN (Comprehensive Perl Archive Network) is a repository
|
||||
of Perl packages. It has multiple software mirrors scattered
|
||||
around the world. This option allows you to select a mirror.
|
||||
|
||||
The list of mirrors is available at:
|
||||
http://search.cpan.org/mirror
|
||||
|
||||
endmenu
|
||||
|
||||
config BR2_JLEVEL
|
||||
@@ -266,7 +218,7 @@ config BR2_CCACHE
|
||||
help
|
||||
This option will enable the use of ccache, a compiler
|
||||
cache. It will cache the result of previous builds to speed
|
||||
up future builds. By default, the cache is stored in
|
||||
up future builds. The cache is stored in
|
||||
$HOME/.buildroot-ccache.
|
||||
|
||||
Note that Buildroot does not try to invalidate the cache
|
||||
@@ -276,55 +228,18 @@ config BR2_CCACHE
|
||||
ccache cache by removing the $HOME/.buildroot-ccache
|
||||
directory.
|
||||
|
||||
if BR2_CCACHE
|
||||
|
||||
config BR2_CCACHE_DIR
|
||||
string "Compiler cache location"
|
||||
depends on BR2_CCACHE
|
||||
default "$(HOME)/.buildroot-ccache"
|
||||
help
|
||||
Where ccache should store cached files.
|
||||
|
||||
config BR2_CCACHE_INITIAL_SETUP
|
||||
string "Compiler cache initial setup"
|
||||
help
|
||||
Initial ccache settings to apply, such as --max-files or --max-size.
|
||||
|
||||
For example, if your project is known to require more space than the
|
||||
default max cache size, then you might want to increase the cache size
|
||||
to a suitable amount using the -M (--max-size) option.
|
||||
|
||||
The string you specify here is passed verbatim to ccache. Refer to
|
||||
ccache documentation for more details.
|
||||
|
||||
These initial settings are applied after ccache has been compiled.
|
||||
|
||||
endif
|
||||
|
||||
config BR2_DEPRECATED
|
||||
bool "Show packages that are deprecated or obsolete"
|
||||
help
|
||||
This option hides outdated/obsolete versions of packages.
|
||||
|
||||
if BR2_DEPRECATED
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2013_11
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2014_02
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2014_05
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2014_08
|
||||
bool
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
config BR2_ENABLE_DEBUG
|
||||
bool "build packages with debugging symbols"
|
||||
help
|
||||
@@ -383,7 +298,6 @@ config BR2_STRIP_sstrip
|
||||
bool "sstrip"
|
||||
select BR2_PACKAGE_SSTRIP_HOST
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
depends on BR2_DEPRECATED_SINCE_2014_05
|
||||
help
|
||||
Binaries and libraries in the target filesystem will be
|
||||
stripped using the 'sstrip' command, which strips a little
|
||||
@@ -484,56 +398,6 @@ config BR2_OPTIMIZE_S
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
bool "Enable google-breakpad support"
|
||||
select BR2_PACKAGE_GOOGLE_BREAKPAD
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
||||
help
|
||||
This option will enable the use of google breakpad, a
|
||||
library and tool suite that allows you to distribute an
|
||||
application to users with compiler-provided debugging
|
||||
information removed, record crashes in compact "minidump"
|
||||
files, send them back to your server and produce C and C++
|
||||
stack traces from these minidumps. Breakpad can also write
|
||||
minidumps on request for programs that have not crashed.
|
||||
|
||||
if BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
|
||||
config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES
|
||||
string "List of executables and libraries to extract symbols from"
|
||||
default ""
|
||||
help
|
||||
You may specify a space-separated list of binaries and
|
||||
libraries with full paths relative to $(TARGET_DIR) of which
|
||||
debug symbols will be dumped for further use with google
|
||||
breakpad.
|
||||
|
||||
A directory structure that can be used by minidump-stackwalk
|
||||
will be created at:
|
||||
|
||||
$(STAGING_DIR)/usr/share/google-breakpad-symbols
|
||||
|
||||
endif
|
||||
|
||||
config BR2_ENABLE_SSP
|
||||
bool "build code with Stack Smashing Protection"
|
||||
depends on BR2_TOOLCHAIN_HAS_SSP
|
||||
help
|
||||
Enable stack smashing protection support using GCCs
|
||||
-fstack-protector-all option.
|
||||
|
||||
See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
|
||||
for details.
|
||||
|
||||
Note that this requires the toolchain to have SSP
|
||||
support. This is always the case for glibc and eglibc
|
||||
toolchain, but is optional in uClibc toolchains.
|
||||
|
||||
comment "enabling Stack Smashing Protection requires support in the toolchain"
|
||||
depends on !BR2_TOOLCHAIN_HAS_SSP
|
||||
|
||||
config BR2_PREFER_STATIC_LIB
|
||||
bool "prefer static libraries"
|
||||
help
|
||||
@@ -545,9 +409,19 @@ config BR2_PREFER_STATIC_LIB
|
||||
|
||||
WARNING: This is highly experimental at the moment.
|
||||
|
||||
config BR2_HAVE_DOCUMENTATION
|
||||
bool "documentation on the target"
|
||||
# We no longer want to support a toolchain on the target
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
Install the documentation, including manual pages and info
|
||||
pages, on the target.
|
||||
If you say n here, your target will not contain any
|
||||
documentation.
|
||||
|
||||
config BR2_PACKAGE_OVERRIDE_FILE
|
||||
string "location of a package override file"
|
||||
default "$(CONFIG_DIR)/local.mk"
|
||||
default "$(TOPDIR)/local.mk"
|
||||
help
|
||||
A package override file is a short makefile that contains
|
||||
variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
|
||||
@@ -556,22 +430,18 @@ config BR2_PACKAGE_OVERRIDE_FILE
|
||||
Buildroot documentation for more details on this feature.
|
||||
|
||||
config BR2_GLOBAL_PATCH_DIR
|
||||
string "global patch directories"
|
||||
string "global patch directory"
|
||||
help
|
||||
You may specify a space separated list of one or more directories
|
||||
containing global package patches. For a specific version
|
||||
<packageversion> of a specific package <packagename>, patches are
|
||||
applied as follows:
|
||||
You may specify a directory containing global package patches.
|
||||
For a specific version <packageversion> of a specific package
|
||||
<packagename>, patches are applied as follows.
|
||||
|
||||
First, the default Buildroot patch set for the package is applied
|
||||
from the package's directory in Buildroot.
|
||||
First, the default Buildroot patch set for the package is applied.
|
||||
|
||||
Then for every directory - <global-patch-dir> - that exists in
|
||||
BR2_GLOBAL_PATCH_DIR, if the directory
|
||||
<global-patch-dir>/<packagename>/<packageversion>/ exists, then all
|
||||
*.patch files in this directory will be applied.
|
||||
If the directory $(BR2_GLOBAL_PATCH_DIR)/<packagename>/<packageversion>
|
||||
exists, then all *.patch files in the directory will be applied.
|
||||
|
||||
Otherwise, if the directory <global-patch-dir>/<packagename> exists,
|
||||
Otherwise, if the directory $(BR2_GLOBAL_PATCH_DIR)/<packagename> exists,
|
||||
then all *.patch files in the directory will be applied.
|
||||
|
||||
endmenu
|
||||
@@ -591,10 +461,3 @@ source "boot/Config.in"
|
||||
source "package/Config.in.host"
|
||||
|
||||
source "Config.in.legacy"
|
||||
|
||||
menu "User-provided options"
|
||||
depends on BR2_EXTERNAL != "support/dummy-external"
|
||||
|
||||
source "$BR2_EXTERNAL/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
682
Config.in.legacy
682
Config.in.legacy
@@ -1,9 +1,13 @@
|
||||
#
|
||||
# Config.in.legacy - support for backward compatibility
|
||||
#
|
||||
# When an existing Config.in symbol is removed, it should be added again in
|
||||
# this file, and take appropriate action to approximate backward compatibility.
|
||||
# This will make the transition for the user more convenient.
|
||||
# When an existing Config.in symbol is removed, it should be added again in this
|
||||
# file, and take appropriate action to approximate backward compatibility. If
|
||||
# there is an equivalent (set of) new symbols, these can just be select'ed by
|
||||
# the old symbol. This makes sure that running 'make oldconfig' will make things
|
||||
# "just work" when upgrading to a new buildroot version. If the change is too
|
||||
# fundamental and cannot be fixed by a simple select, then the old symbol should
|
||||
# select BR2_LEGACY. If that symbol is set, the build will issue an error.
|
||||
#
|
||||
# When adding legacy symbols to this file, add them to the front. The oldest
|
||||
# symbols will be removed again after about two years.
|
||||
@@ -11,46 +15,6 @@
|
||||
# The symbol should be copied as-is from the place where it was previously
|
||||
# defined, but the help text should be removed or replaced with something that
|
||||
# explains how to fix it.
|
||||
#
|
||||
# For bool options, the old symbol should select BR2_LEGACY, so that the user
|
||||
# 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.
|
||||
#
|
||||
# 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. 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"
|
||||
#
|
||||
# becomes:
|
||||
# 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_WRAP
|
||||
# bool
|
||||
# default y if BR2_FOO_STRING != ""
|
||||
# select BR2_LEGACY
|
||||
#
|
||||
# # Note: BR2_FOO_STRING is still referenced from package/foo/Config.in
|
||||
#
|
||||
# [End of example]
|
||||
|
||||
config BR2_LEGACY
|
||||
bool
|
||||
@@ -68,637 +32,18 @@ comment "Legacy detected: check the content of the menu below"
|
||||
menu "Legacy config options"
|
||||
|
||||
if BR2_LEGACY
|
||||
comment "----------------------------------------------------"
|
||||
comment "Your old configuration uses legacy options that no "
|
||||
comment "longer exist in buildroot, as indicated in the menu "
|
||||
comment "below. As long as these options stay selected, or in"
|
||||
comment "case of string options are non-empty, the build "
|
||||
comment "longer exist in buildroot. "
|
||||
comment "Please look at the options which have been selected "
|
||||
comment "and read their help text. "
|
||||
comment "As long as these options stay selected, the build "
|
||||
comment "will fail. "
|
||||
comment "* "
|
||||
comment "Where possible, an automatic conversion from old to "
|
||||
comment "new symbols has been performed. Before making any "
|
||||
comment "change in this legacy menu, make sure to exit the "
|
||||
comment "configuration editor a first time and save the "
|
||||
comment "configuration. Otherwise, the automatic conversion "
|
||||
comment "of symbols will be lost. "
|
||||
comment "* "
|
||||
comment "After this initial save, reopen the configuration "
|
||||
comment "editor, inspect the options selected below, read "
|
||||
comment "their help texts, and verify/update the new "
|
||||
comment "configuration in the corresponding configuration "
|
||||
comment "menus. When everything is ok, you can disable the "
|
||||
comment "legacy options in the menu below. Once you have "
|
||||
comment "disabled all legacy options, this text will "
|
||||
comment "disappear and you will be able to start the build. "
|
||||
comment "* "
|
||||
comment "Note: at some point in the future, the oldest legacy"
|
||||
comment "options will be removed, and configuration files "
|
||||
comment "that still have those options set, will fail to "
|
||||
comment "build, or run, in unpredictable ways. "
|
||||
comment "----------------------------------------------------"
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2014.08"
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_8
|
||||
bool "kernel headers version 3.8.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_9
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.8.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.9.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_GETTEXT_TOOLS
|
||||
bool "support for gettext-tools on target has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option to install the gettext utilities on the target
|
||||
has been removed. This is not necessary as Buildroot is not
|
||||
designed to provide a full development environment on the
|
||||
target. gettext tools should be used on the build machine
|
||||
instead.
|
||||
|
||||
config BR2_PACKAGE_PROCPS
|
||||
bool "procps has been replaced by procps-ng"
|
||||
select BR2_PACKAGE_PROCPS_NG
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The procps package has been replaced by the equivalent procps-ng.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_20_1
|
||||
bool "binutils 2.20.1 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 2.20.1 version of binutils has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_21
|
||||
bool "binutils 2.21 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 2.21 version of binutils has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_23_1
|
||||
bool "binutils 2.23.1 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 2.23.1 version of binutils has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_UCLIBC_VERSION_0_9_32
|
||||
bool "uclibc 0.9.32 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 0.9.32 version of uClibc has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_GCC_VERSION_4_3_X
|
||||
bool "gcc 4.3.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 4.3.x version of gcc has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_GCC_VERSION_4_6_X
|
||||
bool "gcc 4.6.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 4.6.x version of gcc has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_GDB_VERSION_7_4
|
||||
bool "gdb 7.4 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 7.4 version of gdb has been removed. Use a newer version
|
||||
instead.
|
||||
|
||||
config BR2_GDB_VERSION_7_5
|
||||
bool "gdb 7.5 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 7.5 version of gdb has been removed. Use a newer version
|
||||
instead.
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_19_X
|
||||
bool "busybox version selection has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The possibility of selecting the Busybox version has been
|
||||
removed. Use the latest version provided by the Busybox
|
||||
package instead.
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_20_X
|
||||
bool "busybox version selection has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The possibility of selecting the Busybox version has been
|
||||
removed. Use the latest version provided by the Busybox
|
||||
package instead.
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_21_X
|
||||
bool "busybox version selection has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The possibility of selecting the Busybox version has been
|
||||
removed. Use the latest version provided by the Busybox
|
||||
package instead.
|
||||
|
||||
config BR2_PACKAGE_LIBV4L_DECODE_TM6000
|
||||
bool "decode_tm6000"
|
||||
select BR2_PACKAGE_LIBV4L_UTILS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This libv4l option has been deprecated and replaced by a single
|
||||
option to build all the libv4l utilities.
|
||||
|
||||
config BR2_PACKAGE_LIBV4L_IR_KEYTABLE
|
||||
bool "ir-keytable"
|
||||
select BR2_PACKAGE_LIBV4L_UTILS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This libv4l option has been deprecated and replaced by a single
|
||||
option to build all the libv4l utilities.
|
||||
|
||||
config BR2_PACKAGE_LIBV4L_V4L2_COMPLIANCE
|
||||
bool "v4l2-compliance"
|
||||
select BR2_PACKAGE_LIBV4L_UTILS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This libv4l option has been deprecated and replaced by a single
|
||||
option to build all the libv4l utilities.
|
||||
|
||||
config BR2_PACKAGE_LIBV4L_V4L2_CTL
|
||||
bool "v4l2-ctl"
|
||||
select BR2_PACKAGE_LIBV4L_UTILS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This libv4l option has been deprecated and replaced by a single
|
||||
option to build all the libv4l utilities.
|
||||
|
||||
config BR2_PACKAGE_LIBV4L_V4L2_DBG
|
||||
bool "v4l2-dbg"
|
||||
select BR2_PACKAGE_LIBV4L_UTILS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This libv4l option has been deprecated and replaced by a single
|
||||
option to build all the libv4l utilities.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2014.05"
|
||||
|
||||
config BR2_PACKAGE_EVTEST_CAPTURE
|
||||
bool "evtest-capture support removed (dropped since evtest 1.31)"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for evtest-capture has been removed (dropped from
|
||||
evtest package since version 1.31), use evemu package
|
||||
instead.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_6
|
||||
bool "kernel headers version 3.6.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_9
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.6.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.8.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_7
|
||||
bool "kernel headers version 3.7.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_9
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.7.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.8.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_VALA
|
||||
bool "vala target package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'vala' target package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
Note: the host vala package still exists.
|
||||
|
||||
config BR2_TARGET_TZ_ZONELIST
|
||||
default BR2_PACKAGE_TZDATA_ZONELIST if BR2_PACKAGE_TZDATA_ZONELIST != ""
|
||||
|
||||
config BR2_PACKAGE_TZDATA_ZONELIST
|
||||
string "tzdata: the timezone list option has been renamed"
|
||||
help
|
||||
The option BR2_PACKAGE_TZDATA_ZONELIST has been renamed to
|
||||
BR2_TARGET_TZ_ZONELIST, and moved to the "System configuration"
|
||||
menu. You'll need to select BR2_TARGET_TZ_INFO.
|
||||
|
||||
config BR2_PACKAGE_TZDATA_ZONELIST_WRAP
|
||||
bool
|
||||
default y if BR2_PACKAGE_TZDATA_ZONELIST != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
|
||||
bool "Lua command-line editing none has been renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE option has been
|
||||
renamed to BR2_PACKAGE_LUA_EDITING_NONE. You will have to select
|
||||
it in the corresponding choice.
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_READLINE
|
||||
bool "Lua command-line editing using readline has been renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_LUA_INTERPRETER_READLINE option has been
|
||||
renamed to BR2_PACKAGE_LUA_READLINE. You will have to select
|
||||
it in the corresponding choice.
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
|
||||
bool "Lua command-line editing using linenoise has been renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_LUA_INTERPRETER_LINENOISE option has been
|
||||
renamed to BR2_PACKAGE_LUA_LINENOISE. You will have to select
|
||||
it in the corresponding choice.
|
||||
|
||||
config BR2_PACKAGE_DVB_APPS_UTILS
|
||||
bool "dvb-apps utilities now built by default"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The dvb-apps utilities are now always built when the dvb-apps
|
||||
package is selected.
|
||||
|
||||
config BR2_KERNEL_HEADERS_SNAP
|
||||
bool "Local Linux snapshot support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for using a custom snapshot to install the Linux
|
||||
kernel headers has been removed.
|
||||
|
||||
config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
||||
bool "/dev management by udev removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'udev' package has been converted to a virtual package.
|
||||
The providers for this feature are: 'eudev', 'systemd'.
|
||||
|
||||
Therefore, if you are not using 'systemd' as init system, you
|
||||
must choose 'Dynamic using eudev' in the '/dev management'
|
||||
menu to get the same behaviour as in your old configuration.
|
||||
|
||||
If you are using 'systemd', its internal implementation of
|
||||
'udev' will be used automatically.
|
||||
|
||||
You must also check the packages depending on 'udev' are still
|
||||
selected.
|
||||
|
||||
config BR2_PACKAGE_UDEV
|
||||
bool "udev is now a virtual package"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_HAS_UDEV
|
||||
help
|
||||
The 'udev' package has been converted to a virtual package.
|
||||
The providers for this feature are: 'eudev', 'systemd'.
|
||||
|
||||
Your old configuration refers to packages depending on 'udev',
|
||||
either for build or at runtime.
|
||||
|
||||
Check that a 'udev' provider is selected. If you are not using
|
||||
'systemd' as init system, 'eudev' should be selected, which is
|
||||
the case if '/dev management' is set to 'Dynamic using eudev'.
|
||||
|
||||
If you are using 'systemd', its internal implementation of 'udev'
|
||||
is used.
|
||||
|
||||
config BR2_PACKAGE_UDEV_RULES_GEN
|
||||
bool "udev rules generation handled by provider"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_EUDEV if !BR2_INIT_SYSTEMD
|
||||
select BR2_PACKAGE_EUDEV_RULES_GEN if !BR2_INIT_SYSTEMD
|
||||
help
|
||||
The 'udev' package has been converted to a virtual package.
|
||||
The providers for this feature are: 'eudev', 'systemd'.
|
||||
|
||||
If you are not using 'systemd' as init system, udev rules
|
||||
generation will be handled by 'eudev'. Check that
|
||||
'/dev management' is set to 'Dynamic using eudev' to get
|
||||
the same behaviour as in your old configuration.
|
||||
|
||||
If you are using 'systemd', it internal implementation of 'udev'
|
||||
will generate the rules.
|
||||
|
||||
config BR2_PACKAGE_UDEV_ALL_EXTRAS
|
||||
bool "udev extras removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'udev' package has been converted to a virtual package.
|
||||
The providers for this feature are: 'eudev', 'systemd'.
|
||||
|
||||
The option to enable the extra features of 'udev' (gudev, ...)
|
||||
has been removed. These features are automatically enabled in
|
||||
the 'udev' providers if the dependencies are selected. For
|
||||
example, selecting 'libglib2' will trigger the build of gudev.
|
||||
|
||||
config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
|
||||
bool "xlib-libpthread-stubs option has been renamed"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LIBPTHREAD_STUBS
|
||||
help
|
||||
The pthread stubs neither depend on X11 nor Xlib. Thus the
|
||||
package has been renamed BR2_PACKAGE_LIBPTHREAD_STUBS
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2014.02"
|
||||
|
||||
config BR2_sh2
|
||||
bool "sh2 support removed"
|
||||
help
|
||||
Due to an inexistent user base and generally poor Linux
|
||||
support, the support for the SH2 architecture was removed.
|
||||
|
||||
config BR2_sh3
|
||||
bool "sh3 support removed"
|
||||
help
|
||||
Due to an inexistent user base and generally poor Linux
|
||||
support, the support for the SH3 architecture was removed.
|
||||
|
||||
config BR2_sh3eb
|
||||
bool "sh3eb support removed"
|
||||
help
|
||||
Due to an inexistent user base and generally poor Linux
|
||||
support, the support for the SH3eb architecture was removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_1
|
||||
bool "kernel headers version 3.1.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_2
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.1.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.2.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_3
|
||||
bool "kernel headers version 3.3.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_4
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.3.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.4.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_KERNEL_HEADERS_3_5
|
||||
bool "kernel headers version 3.5.x are no longer supported"
|
||||
select BR2_KERNEL_HEADERS_3_9
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 3.5.x of the Linux kernel headers have been deprecated
|
||||
for more than four buildroot releases and are now removed.
|
||||
As an alternative, version 3.8.x of the headers have been
|
||||
automatically selected in your configuration.
|
||||
|
||||
config BR2_GDB_VERSION_7_2
|
||||
bool "gdb 7.2.x is no longer supported"
|
||||
select BR2_GDB_VERSION_7_6
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 7.2.x of gdb has been deprecated for more than four
|
||||
buildroot releases and is now removed. As an alternative, gdb
|
||||
7.5.x has been automatically selected in your configuration.
|
||||
|
||||
config BR2_GDB_VERSION_7_3
|
||||
bool "gdb 7.3.x is no longer supported"
|
||||
select BR2_GDB_VERSION_7_6
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 7.3.x of gdb has been deprecated for more than four
|
||||
buildroot releases and is now removed. As an alternative, gdb
|
||||
7.5.x has been automatically selected in your configuration.
|
||||
|
||||
config BR2_PACKAGE_CCACHE
|
||||
bool "ccache target package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'ccache' target package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
Note: using ccache for speeding up builds is still supported.
|
||||
|
||||
config BR2_HAVE_DOCUMENTATION
|
||||
bool "support for documentation on target has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for documentation on target has been removed since it has
|
||||
been deprecated for more than four buildroot releases.
|
||||
|
||||
config BR2_PACKAGE_AUTOMAKE
|
||||
bool "automake target package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'automake' target package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
Note: the host automake still exists.
|
||||
|
||||
config BR2_PACKAGE_AUTOCONF
|
||||
bool "autoconf target package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'autoconf' target package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
Note: the host autoconf still exists.
|
||||
|
||||
config BR2_PACKAGE_XSTROKE
|
||||
bool "xstroke has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'xstroke' package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
|
||||
config BR2_PACKAGE_LZMA
|
||||
bool "lzma target package has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'lzma' target package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
Note: generating lzma-compressed rootfs images is still supported.
|
||||
|
||||
config BR2_PACKAGE_TTCP
|
||||
bool "ttcp has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'ttcp' package has been removed since it has been
|
||||
deprecated for more than four buildroot releases.
|
||||
|
||||
config BR2_PACKAGE_LIBNFC_LLCP
|
||||
bool "libnfc-llcp has been replaced by libllcp"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LIBLLCP
|
||||
help
|
||||
The 'libnfc-llcp' package has been removed since upstream renamed
|
||||
to 'libllcp'. We have added a new package for 'libllcp' and bumped
|
||||
the version at the same time.
|
||||
|
||||
config BR2_PACKAGE_MYSQL_CLIENT
|
||||
bool "MySQL client renamed to MySQL"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_MYSQL
|
||||
help
|
||||
The option has been renamed BR2_PACKAGE_MYSQL
|
||||
|
||||
config BR2_PACKAGE_SQUASHFS3
|
||||
bool "squashfs3 has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_SQUASHFS
|
||||
help
|
||||
The 'squashfs3' package has been removed since it has been
|
||||
deprecated for more than four buildroot releases. Package
|
||||
'squashfs' (4) has been selected automatically as replacement.
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS3
|
||||
bool "squashfs3 rootfs support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Together with the removal of the squashfs3 package, support
|
||||
for squashfs3 root filesystems has been removed too. Squashfs
|
||||
root filesystems will automatically use squashfs4 now.
|
||||
|
||||
config BR2_PACKAGE_NETKITBASE
|
||||
bool "netkitbase has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'netkitbase' package has been removed since it has been
|
||||
deprecated since 2012.11. This package provided 'inetd'
|
||||
which is replaced by 'xinet' and 'ping' which is replaced by
|
||||
'busybox' or 'fping'.
|
||||
|
||||
config BR2_PACKAGE_NETKITTELNET
|
||||
bool "netkittelnet has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'netkittelnet' package has been removed since it has
|
||||
been deprecated since 2012.11. 'busybox' provides a telnet
|
||||
client and should be used instead.
|
||||
|
||||
config BR2_PACKAGE_LUASQL
|
||||
bool "luasql has been replaced by luasql-sqlite3"
|
||||
select BR2_PACKAGE_LUASQL_SQLITE3
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option has been renamed BR2_PACKAGE_LUASQL_SQLITE3.
|
||||
|
||||
config BR2_PACKAGE_LUACJSON
|
||||
bool "luacjson has been replaced by lua-cjson"
|
||||
select BR2_PACKAGE_LUA_CJSON
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option has been renamed BR2_PACKAGE_LUA_CJSON.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2013.11"
|
||||
|
||||
config BR2_PACKAGE_LVM2_DMSETUP_ONLY
|
||||
bool "lvm2's 'dmsetup only' option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_LVM2_DMSETUP_ONLY was a negative option, which
|
||||
led to problems with other packages that need the full lvm2
|
||||
suite. Therefore, the option has been replaced with the positive
|
||||
BR2_PACKAGE_LVM2_STANDARD_INSTALL option.
|
||||
|
||||
# Note: BR2_PACKAGE_LVM2_DMSETUP_ONLY is still referenced in package/lvm2/Config.in
|
||||
# in order to automatically propagate old configs
|
||||
|
||||
config BR2_PACKAGE_QT_JAVASCRIPTCORE
|
||||
bool "qt javascriptcore option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The BR2_PACKAGE_QT_JAVASCRIPTCORE option was available to
|
||||
force the activation or disabling of the JIT compiler in the
|
||||
Qt Javascript interpreter. However, the JIT compiler is not
|
||||
available for all architectures, so forcing its activation
|
||||
does not always work. Moreover, Qt knows by itself for which
|
||||
architectures JIT support is possible, and will
|
||||
automatically enable it if possible.
|
||||
|
||||
Therefore, this option was in fact useless, and causing
|
||||
build problems when enabled on architectures for which the
|
||||
JIT support was not available. It has been removed, and
|
||||
there is no replacement: Qt will enable JIT at compile time
|
||||
when possible.
|
||||
|
||||
config BR2_PACKAGE_MODULE_INIT_TOOLS
|
||||
bool "module-init-tools replaced by kmod"
|
||||
select BR2_PACKAGE_KMOD
|
||||
select BR2_PACKAGE_KMOD_TOOLS
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 'module-init-tools' package has been removed, since it
|
||||
has been depracated upstream and replaced by 'kmod'.
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
|
||||
string "u-boot: the git repository URL option has been renamed"
|
||||
help
|
||||
The option BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL has
|
||||
been renamed to BR2_TARGET_UBOOT_CUSTOM_REPO_URL.
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL_WRAP
|
||||
bool
|
||||
default y if BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
# Note: BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL is still referenced from
|
||||
# boot/uboot/Config.in
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
|
||||
string "u-boot: the git repository version option has been renamed"
|
||||
help
|
||||
The option BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION has
|
||||
been renamed to BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION.
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION_WRAP
|
||||
bool
|
||||
default y if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
# Note: BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION is still referenced from
|
||||
# boot/uboot/Config.in
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL
|
||||
string "linux: the git repository URL option has been renamed"
|
||||
help
|
||||
The option BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL has
|
||||
been renamed to
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL.
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL_WRAP
|
||||
bool
|
||||
default y if BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
# Note: BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL is still referenced from
|
||||
# linux/Config.in
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
string "linux: the git repository version option has been renamed"
|
||||
help
|
||||
The option BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION has
|
||||
been renamed to
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION.
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION_WRAP
|
||||
bool
|
||||
default y if BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
# Note: BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION is still referenced from
|
||||
# linux/Config.in
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2013.08"
|
||||
|
||||
@@ -883,10 +228,11 @@ config BR2_PACKAGE_XSERVER_tinyx
|
||||
config BR2_PACKAGE_PTHREAD_STUBS
|
||||
bool "pthread-stubs option has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LIBPTHREAD_STUBS
|
||||
select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
help
|
||||
For consistency reason, the pthread-stubs package has been
|
||||
renamed to libpthread-stubs.
|
||||
renamed to xlib_libpthread-stubs.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2012.08"
|
||||
|
||||
594
Makefile
594
Makefile
@@ -1,8 +1,7 @@
|
||||
# Makefile for buildroot
|
||||
# Makefile for buildroot2
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2014 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2014 by the Buildroot developers <buildroot@buildroot.org>
|
||||
# Copyright (C) 2006-2013 by the Buildroot developers <buildroot@uclibc.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
|
||||
@@ -25,10 +24,10 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2014.08-rc2
|
||||
export BR2_VERSION:=2013.08.1
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION = 3.81
|
||||
MIN_MAKE_VERSION=3.81
|
||||
ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
|
||||
$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
|
||||
endif
|
||||
@@ -38,58 +37,45 @@ export HOSTARCH := $(shell uname -m | \
|
||||
-e s/sun4u/sparc64/ \
|
||||
-e s/arm.*/arm/ \
|
||||
-e s/sa110/arm/ \
|
||||
-e s/ppc64/powerpc64/ \
|
||||
-e s/ppc64/powerpc/ \
|
||||
-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
|
||||
# dependency is present when the package is built, it is used,
|
||||
# otherwise it isn't (but compilation happily proceeds) so the end
|
||||
# result will differ if the order is swapped due to parallel
|
||||
# building.
|
||||
# - Also changing the building order can be a problem if two packages
|
||||
# manipulate the same file in the target directory.
|
||||
#
|
||||
# Taking into account the above considerations, if you still want to execute
|
||||
# this top-level Makefile in parallel comment the ".NOTPARALLEL" line and
|
||||
# build using the following command:
|
||||
# make BR2_JLEVEL= -j$((`getconf _NPROCESSORS_ONLN`+1))
|
||||
# This top-level Makefile can *not* be executed in parallel
|
||||
.NOTPARALLEL:
|
||||
|
||||
# absolute path
|
||||
TOPDIR := $(shell pwd)
|
||||
CONFIG_CONFIG_IN = Config.in
|
||||
CONFIG = support/kconfig
|
||||
DATE := $(shell date +%Y%m%d)
|
||||
TOPDIR:=$(shell pwd)
|
||||
CONFIG_CONFIG_IN=Config.in
|
||||
CONFIG=support/kconfig
|
||||
DATE:=$(shell date +%Y%m%d)
|
||||
|
||||
# Compute the full local version string so packages can use it as-is
|
||||
# Need to export it, so it can be got from environment in children (eg. mconf)
|
||||
export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
|
||||
export BR2_VERSION_FULL:=$(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
|
||||
|
||||
noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
|
||||
noconfig_targets:=menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
%_defconfig allyesconfig allnoconfig silentoldconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
source-check print-version olddefconfig
|
||||
|
||||
# Strip quotes and then whitespaces
|
||||
qstrip = $(strip $(subst ",,$(1)))
|
||||
qstrip=$(strip $(subst ",,$(1)))
|
||||
#"))
|
||||
|
||||
# Variables for use in Make constructs
|
||||
comma := ,
|
||||
empty :=
|
||||
space := $(empty) $(empty)
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
|
||||
ifneq ("$(origin O)", "command line")
|
||||
O := output
|
||||
CONFIG_DIR := $(TOPDIR)
|
||||
NEED_WRAPPER =
|
||||
O:=output
|
||||
CONFIG_DIR:=$(TOPDIR)
|
||||
NEED_WRAPPER=
|
||||
else
|
||||
# other packages might also support Linux-style out of tree builds
|
||||
# with the O=<dir> syntax (E.G. BusyBox does). As make automatically
|
||||
# with the O=<dir> syntax (E.G. Busybox does). As make automatically
|
||||
# forwards command line variable definitions those packages get very
|
||||
# confused. Fix this by telling make to not do so
|
||||
MAKEOVERRIDES =
|
||||
@@ -98,163 +84,90 @@ MAKEOVERRIDES =
|
||||
# of the origin function (command line -> environment).
|
||||
# Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+)
|
||||
# To really make O go away, we have to override it.
|
||||
override O := $(O)
|
||||
CONFIG_DIR := $(O)
|
||||
override O:=$(O)
|
||||
CONFIG_DIR:=$(O)
|
||||
# we need to pass O= everywhere we call back into the toplevel makefile
|
||||
EXTRAMAKEARGS = O=$(O)
|
||||
NEED_WRAPPER = y
|
||||
NEED_WRAPPER=y
|
||||
endif
|
||||
|
||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||
# set, so unset it here to not cause problems. Notice that the export
|
||||
# line doesn't affect the environment of $(shell ..) calls, so
|
||||
# explictly throw away any output from 'cd' here.
|
||||
export CDPATH :=
|
||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
|
||||
|
||||
# Handling of BR2_EXTERNAL.
|
||||
#
|
||||
# The value of BR2_EXTERNAL is stored in .br-external in the output directory.
|
||||
# On subsequent invocations of make, it is read in. It can still be overridden
|
||||
# on the command line, therefore the file is re-created every time make is run.
|
||||
#
|
||||
# When BR2_EXTERNAL is not set, the .br-external file is removed and we point
|
||||
# to support/dummy-external. This makes sure we can unconditionally include the
|
||||
# Config.in and external.mk from the BR2_EXTERNAL directory. In this case,
|
||||
# override is necessary so the user can clear BR2_EXTERNAL from the command
|
||||
# line, but the dummy path is still used internally.
|
||||
|
||||
BR2_EXTERNAL_FILE = $(BASE_DIR)/.br-external
|
||||
-include $(BR2_EXTERNAL_FILE)
|
||||
ifeq ($(BR2_EXTERNAL),)
|
||||
override BR2_EXTERNAL = support/dummy-external
|
||||
$(shell rm -f $(BR2_EXTERNAL_FILE))
|
||||
else
|
||||
_BR2_EXTERNAL = $(shell cd $(BR2_EXTERNAL) >/dev/null 2>&1 && pwd)
|
||||
ifeq ($(_BR2_EXTERNAL),)
|
||||
$(error BR2_EXTERNAL='$(BR2_EXTERNAL)' does not exist, relative to $(TOPDIR))
|
||||
endif
|
||||
override BR2_EXTERNAL := $(_BR2_EXTERNAL)
|
||||
$(shell echo BR2_EXTERNAL ?= $(BR2_EXTERNAL) > $(BR2_EXTERNAL_FILE))
|
||||
endif
|
||||
|
||||
# To make sure the the environment variable overrides the .config option,
|
||||
# set this before including .config.
|
||||
ifneq ($(BR2_DL_DIR),)
|
||||
DL_DIR := $(BR2_DL_DIR)
|
||||
endif
|
||||
|
||||
|
||||
# Need that early, before we scan packages
|
||||
# Avoids doing the $(or...) everytime
|
||||
BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
||||
|
||||
BUILD_DIR := $(BASE_DIR)/build
|
||||
BINARIES_DIR := $(BASE_DIR)/images
|
||||
TARGET_DIR := $(BASE_DIR)/target
|
||||
# initial definition so that 'make clean' works for most users, even without
|
||||
# .config. HOST_DIR will be overwritten later when .config is included.
|
||||
HOST_DIR := $(BASE_DIR)/host
|
||||
|
||||
LEGAL_INFO_DIR = $(BASE_DIR)/legal-info
|
||||
REDIST_SOURCES_DIR_TARGET = $(LEGAL_INFO_DIR)/sources
|
||||
REDIST_SOURCES_DIR_HOST = $(LEGAL_INFO_DIR)/host-sources
|
||||
LICENSE_FILES_DIR_TARGET = $(LEGAL_INFO_DIR)/licenses
|
||||
LICENSE_FILES_DIR_HOST = $(LEGAL_INFO_DIR)/host-licenses
|
||||
LEGAL_MANIFEST_CSV_TARGET = $(LEGAL_INFO_DIR)/manifest.csv
|
||||
LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv
|
||||
LEGAL_LICENSES_TXT_TARGET = $(LEGAL_INFO_DIR)/licenses.txt
|
||||
LEGAL_LICENSES_TXT_HOST = $(LEGAL_INFO_DIR)/host-licenses.txt
|
||||
LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings
|
||||
LEGAL_REPORT = $(LEGAL_INFO_DIR)/README
|
||||
|
||||
BR2_CONFIG = $(CONFIG_DIR)/.config
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config
|
||||
|
||||
# Pull in the user's configuration file
|
||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
-include $(BR2_CONFIG)
|
||||
-include $(BUILDROOT_CONFIG)
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
# Use 'make V=1' to see the full commands
|
||||
ifdef V
|
||||
ifeq ("$(origin V)", "command line")
|
||||
KBUILD_VERBOSE = $(V)
|
||||
KBUILD_VERBOSE=$(V)
|
||||
endif
|
||||
endif
|
||||
ifndef KBUILD_VERBOSE
|
||||
KBUILD_VERBOSE = 0
|
||||
KBUILD_VERBOSE=0
|
||||
endif
|
||||
|
||||
ifeq ($(KBUILD_VERBOSE),1)
|
||||
quiet =
|
||||
Q =
|
||||
quiet=
|
||||
Q=
|
||||
ifndef VERBOSE
|
||||
VERBOSE = 1
|
||||
VERBOSE=1
|
||||
endif
|
||||
else
|
||||
quiet = quiet_
|
||||
Q = @
|
||||
quiet=quiet_
|
||||
Q=@
|
||||
endif
|
||||
|
||||
# we want bash as shell
|
||||
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
else echo sh; fi; fi)
|
||||
SHELL:=$(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
else echo sh; fi; fi)
|
||||
|
||||
# kconfig uses CONFIG_SHELL
|
||||
CONFIG_SHELL := $(SHELL)
|
||||
CONFIG_SHELL:=$(SHELL)
|
||||
|
||||
export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE VERBOSE
|
||||
|
||||
ifndef HOSTAR
|
||||
HOSTAR := ar
|
||||
HOSTAR:=ar
|
||||
endif
|
||||
ifndef HOSTAS
|
||||
HOSTAS := as
|
||||
HOSTAS:=as
|
||||
endif
|
||||
ifndef HOSTCC
|
||||
HOSTCC := gcc
|
||||
HOSTCC := $(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc)
|
||||
HOSTCC:=gcc
|
||||
HOSTCC:=$(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc)
|
||||
endif
|
||||
HOSTCC_NOCCACHE := $(HOSTCC)
|
||||
HOSTCC_NOCCACHE:=$(HOSTCC)
|
||||
ifndef HOSTCXX
|
||||
HOSTCXX := g++
|
||||
HOSTCXX := $(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++)
|
||||
HOSTCXX:=g++
|
||||
HOSTCXX:=$(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++)
|
||||
endif
|
||||
HOSTCXX_NOCCACHE := $(HOSTCXX)
|
||||
HOSTCXX_NOCCACHE:=$(HOSTCXX)
|
||||
ifndef HOSTFC
|
||||
HOSTFC := gfortran
|
||||
HOSTFC:=gfortran
|
||||
endif
|
||||
ifndef HOSTCPP
|
||||
HOSTCPP := cpp
|
||||
HOSTCPP:=cpp
|
||||
endif
|
||||
ifndef HOSTLD
|
||||
HOSTLD := ld
|
||||
HOSTLD:=ld
|
||||
endif
|
||||
ifndef HOSTLN
|
||||
HOSTLN := ln
|
||||
HOSTLN:=ln
|
||||
endif
|
||||
ifndef HOSTNM
|
||||
HOSTNM := nm
|
||||
HOSTNM:=nm
|
||||
endif
|
||||
ifndef HOSTOBJCOPY
|
||||
HOSTOBJCOPY := objcopy
|
||||
endif
|
||||
ifndef HOSTRANLIB
|
||||
HOSTRANLIB := ranlib
|
||||
endif
|
||||
HOSTAR := $(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar)
|
||||
HOSTAS := $(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as)
|
||||
HOSTFC := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo || which g77 || type -p g77 || echo gfortran)
|
||||
HOSTCPP := $(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
||||
HOSTLD := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
||||
HOSTLN := $(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||
HOSTNM := $(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||
HOSTOBJCOPY := $(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy)
|
||||
HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib)
|
||||
HOSTAR:=$(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar)
|
||||
HOSTAS:=$(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as)
|
||||
HOSTFC:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo || which g77 || type -p g77 || echo gfortran)
|
||||
HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
||||
HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
||||
HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||
HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||
|
||||
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTFC HOSTLD
|
||||
export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
||||
@@ -262,7 +175,6 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
|
||||
# Make sure pkg-config doesn't look outside the buildroot tree
|
||||
unexport PKG_CONFIG_PATH
|
||||
unexport PKG_CONFIG_SYSROOT_DIR
|
||||
unexport PKG_CONFIG_LIBDIR
|
||||
|
||||
# Having DESTDIR set in the environment confuses the installation
|
||||
# steps of some packages.
|
||||
@@ -271,7 +183,16 @@ unexport DESTDIR
|
||||
# Causes breakage with packages that needs host-ruby
|
||||
unexport RUBYOPT
|
||||
|
||||
include package/pkg-utils.mk
|
||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||
# set, so unset it here to not cause problems. Notice that the export
|
||||
# line doesn't affect the environment of $(shell ..) calls, so
|
||||
# explictly throw away any output from 'cd' here.
|
||||
export CDPATH:=
|
||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
|
||||
BUILD_DIR:=$(BASE_DIR)/build
|
||||
|
||||
|
||||
ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
@@ -288,22 +209,40 @@ unexport CPP
|
||||
unexport CFLAGS
|
||||
unexport CXXFLAGS
|
||||
unexport GREP_OPTIONS
|
||||
unexport TAR_OPTIONS
|
||||
unexport CONFIG_SITE
|
||||
unexport QMAKESPEC
|
||||
unexport TERMINFO
|
||||
|
||||
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||
GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
|
||||
|
||||
TARGETS :=
|
||||
################################################################################
|
||||
#
|
||||
# The list of stuff to build for the target toolchain
|
||||
# along with the packages to build for the target.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
BASE_TARGETS += host-ccache
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
BASE_TARGETS += toolchain-buildroot
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
BASE_TARGETS += toolchain-external
|
||||
else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
|
||||
BASE_TARGETS += toolchain-crosstool-ng
|
||||
endif
|
||||
|
||||
TARGETS:=
|
||||
|
||||
# silent mode requested?
|
||||
QUIET := $(if $(findstring s,$(MAKEFLAGS)),-q)
|
||||
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
|
||||
|
||||
# Strip off the annoying quoting
|
||||
ARCH := $(call qstrip,$(BR2_ARCH))
|
||||
ARCH:=$(call qstrip,$(BR2_ARCH))
|
||||
|
||||
KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
|
||||
-e s/arcle/arc/ \
|
||||
-e s/arceb/arc/ \
|
||||
@@ -311,39 +250,51 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
-e s/aarch64/arm64/ \
|
||||
-e s/bfin/blackfin/ \
|
||||
-e s/parisc64/parisc/ \
|
||||
-e s/powerpc64.*/powerpc/ \
|
||||
-e s/powerpc64/powerpc/ \
|
||||
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
|
||||
-e s/sh.*/sh/ \
|
||||
-e s/microblazeel/microblaze/)
|
||||
-e s/sh.*/sh/)
|
||||
|
||||
ZCAT := $(call qstrip,$(BR2_ZCAT))
|
||||
BZCAT := $(call qstrip,$(BR2_BZCAT))
|
||||
XZCAT := $(call qstrip,$(BR2_XZCAT))
|
||||
TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
ZCAT:=$(call qstrip,$(BR2_ZCAT))
|
||||
BZCAT:=$(call qstrip,$(BR2_BZCAT))
|
||||
XZCAT:=$(call qstrip,$(BR2_XZCAT))
|
||||
TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
|
||||
# packages compiled for the host go here
|
||||
HOST_DIR := $(call qstrip,$(BR2_HOST_DIR))
|
||||
HOST_DIR:=$(call qstrip,$(BR2_HOST_DIR))
|
||||
|
||||
# Quotes are needed for spaces and all in the original PATH content.
|
||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin:$(PATH)"
|
||||
# locales to generate
|
||||
GENERATE_LOCALE=$(call qstrip,$(BR2_GENERATE_LOCALE))
|
||||
|
||||
TARGET_SKELETON = $(TOPDIR)/system/skeleton
|
||||
# stamp (dependency) files go here
|
||||
STAMP_DIR:=$(BASE_DIR)/stamps
|
||||
|
||||
BINARIES_DIR:=$(BASE_DIR)/images
|
||||
TARGET_DIR:=$(BASE_DIR)/target
|
||||
TARGET_SKELETON=$(TOPDIR)/system/skeleton
|
||||
|
||||
LEGAL_INFO_DIR=$(BASE_DIR)/legal-info
|
||||
REDIST_SOURCES_DIR=$(LEGAL_INFO_DIR)/sources
|
||||
LICENSE_FILES_DIR=$(LEGAL_INFO_DIR)/licenses
|
||||
LEGAL_MANIFEST_CSV=$(LEGAL_INFO_DIR)/manifest.csv
|
||||
LEGAL_LICENSES_TXT=$(LEGAL_INFO_DIR)/licenses.txt
|
||||
LEGAL_WARNINGS=$(LEGAL_INFO_DIR)/.warnings
|
||||
LEGAL_REPORT=$(LEGAL_INFO_DIR)/README
|
||||
|
||||
# Location of a file giving a big fat warning that output/target
|
||||
# should not be used as the root filesystem.
|
||||
TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
TARGET_DIR_WARNING_FILE=$(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
CCACHE := $(HOST_DIR)/usr/bin/ccache
|
||||
BR_CACHE_DIR = $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
export BR_CACHE_DIR
|
||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||
CCACHE:=$(HOST_DIR)/usr/bin/ccache
|
||||
BUILDROOT_CACHE_DIR = $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
export BUILDROOT_CACHE_DIR
|
||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
||||
endif
|
||||
|
||||
# Scripts in support/ or post-build scripts may need to reference
|
||||
# these locations, so export them so it is easier to use
|
||||
export BR2_CONFIG
|
||||
export BUILDROOT_CONFIG
|
||||
export TARGET_DIR
|
||||
export STAGING_DIR
|
||||
export HOST_DIR
|
||||
@@ -371,27 +322,51 @@ include support/dependencies/dependencies.mk
|
||||
# We also need the various per-package makefiles, which also add
|
||||
# each selected package to TARGETS if that package was selected
|
||||
# in the .config file.
|
||||
include toolchain/*.mk
|
||||
include toolchain/*/*.mk
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
include toolchain/toolchain-buildroot.mk
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
include toolchain/toolchain-external.mk
|
||||
else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
|
||||
include toolchain/toolchain-crosstool-ng.mk
|
||||
endif
|
||||
|
||||
# Include the package override file if one has been provided in the
|
||||
# configuration.
|
||||
PACKAGE_OVERRIDE_FILE = $(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE))
|
||||
PACKAGE_OVERRIDE_FILE=$(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE))
|
||||
ifneq ($(PACKAGE_OVERRIDE_FILE),)
|
||||
-include $(PACKAGE_OVERRIDE_FILE)
|
||||
endif
|
||||
|
||||
include $(sort $(wildcard package/*/*.mk))
|
||||
include package/*/*.mk
|
||||
|
||||
include boot/common.mk
|
||||
include linux/linux.mk
|
||||
include system/system.mk
|
||||
|
||||
TARGETS+=target-finalize
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
TARGETS+=target-purgelocales
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
ifneq ($(GENERATE_LOCALE),)
|
||||
TARGETS+=target-generatelocales
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||
TARGETS+=toolchain-eclipse-register
|
||||
endif
|
||||
|
||||
include fs/common.mk
|
||||
|
||||
include $(BR2_EXTERNAL)/external.mk
|
||||
TARGETS+=target-post-image
|
||||
|
||||
TARGETS_SOURCE := $(patsubst %,%-source,$(TARGETS))
|
||||
TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS))
|
||||
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
|
||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
||||
TARGETS_ALL:=$(patsubst %,__real_tgt_%,$(TARGETS))
|
||||
|
||||
# host-* dependencies have to be handled specially, as those aren't
|
||||
# visible in Kconfig and hence not added to a variable like TARGETS.
|
||||
@@ -399,8 +374,7 @@ TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS))
|
||||
# variable for each enabled target.
|
||||
# Notice: this only works for newstyle gentargets/autotargets packages
|
||||
TARGETS_HOST_DEPS = $(sort $(filter host-%,$(foreach dep,\
|
||||
$(addsuffix _DEPENDENCIES,\
|
||||
$(call UPPERCASE,$(TARGETS) $(TARGETS_ROOTFS))),\
|
||||
$(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\
|
||||
$($(dep)))))
|
||||
# Host packages can in turn have their own dependencies. Likewise find
|
||||
# all the package names listed in the HOST_<PKG>_DEPENDENCIES for each
|
||||
@@ -412,26 +386,32 @@ HOST_DEPS = $(sort $(foreach dep,\
|
||||
$($(dep))))
|
||||
HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
|
||||
|
||||
TARGETS_LEGAL_INFO := $(patsubst %,%-legal-info,\
|
||||
$(TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
||||
TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
|
||||
$(TARGETS) $(BASE_TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
|
||||
|
||||
# all targets depend on the crosscompiler and it's prerequisites
|
||||
$(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
|
||||
|
||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BINARIES_DIR)
|
||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
|
||||
$(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
|
||||
$(BASE_TARGETS): dirs $(HOST_DIR)/usr/share/buildroot/toolchainfile.cmake
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/auto.conf: $(BUILDROOT_CONFIG)
|
||||
$(MAKE) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
|
||||
|
||||
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||
|
||||
world: target-post-image
|
||||
toolchain: prepare dirs dependencies $(BASE_TARGETS)
|
||||
|
||||
world: toolchain $(TARGETS_ALL)
|
||||
|
||||
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
|
||||
legal-info legal-info-prepare legal-info-clean printvars \
|
||||
target-finalize target-post-image \
|
||||
$(TARGETS) $(TARGETS_ROOTFS) \
|
||||
$(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
|
||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
|
||||
$(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BINARIES_DIR)
|
||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
################################################################################
|
||||
#
|
||||
@@ -439,7 +419,7 @@ world: target-post-image
|
||||
# dependencies anywhere else
|
||||
#
|
||||
################################################################################
|
||||
$(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
|
||||
$(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
# We make a symlink lib32->lib or lib64->lib as appropriate
|
||||
@@ -461,19 +441,16 @@ $(STAGING_DIR):
|
||||
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
||||
|
||||
ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
|
||||
TARGET_SKELETON = $(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
|
||||
TARGET_SKELETON=$(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
|
||||
endif
|
||||
|
||||
RSYNC_VCS_EXCLUSIONS = \
|
||||
--exclude .svn --exclude .git --exclude .hg --exclude .bzr \
|
||||
--exclude CVS
|
||||
|
||||
$(BUILD_DIR)/.root:
|
||||
mkdir -p $(TARGET_DIR)
|
||||
rsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \
|
||||
--chmod=Du+w --exclude .empty --exclude '*~' \
|
||||
rsync -a \
|
||||
--exclude .empty --exclude .svn --exclude .git \
|
||||
--exclude .hg --exclude=CVS --exclude '*~' \
|
||||
$(TARGET_SKELETON)/ $(TARGET_DIR)/
|
||||
$(INSTALL) -m 0644 support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)
|
||||
cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)
|
||||
@ln -snf lib $(TARGET_DIR)/$(LIB_SYMLINK)
|
||||
@mkdir -p $(TARGET_DIR)/usr
|
||||
@ln -snf lib $(TARGET_DIR)/usr/$(LIB_SYMLINK)
|
||||
@@ -485,79 +462,10 @@ STRIP_FIND_CMD = find $(TARGET_DIR)
|
||||
ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))
|
||||
STRIP_FIND_CMD += \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) -prune -o
|
||||
endif
|
||||
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.
|
||||
# - 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* *.ko $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
|
||||
STRIP_FIND_CMD += -type f -perm /111
|
||||
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
|
||||
|
||||
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||
define TOOLCHAIN_ECLIPSE_REGISTER
|
||||
./support/scripts/eclipse-register-toolchain `readlink -f $(O)` \
|
||||
$(notdir $(TARGET_CROSS)) $(BR2_ARCH)
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += TOOLCHAIN_ECLIPSE_REGISTER
|
||||
endif
|
||||
|
||||
# Generate locale data. Basically, we call the localedef program
|
||||
# (built by the host-localedef package) for each locale. The input
|
||||
# data comes preferably from the toolchain, or if the toolchain does
|
||||
# not have them (Linaro toolchains), we use the ones available on the
|
||||
# host machine.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
GENERATE_LOCALE = $(call qstrip,$(BR2_GENERATE_LOCALE))
|
||||
ifneq ($(GENERATE_LOCALE),)
|
||||
TARGETS += host-localedef
|
||||
|
||||
define GENERATE_LOCALES
|
||||
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
||||
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
|
||||
charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \
|
||||
if test -z "$${charmap}" ; then \
|
||||
charmap="UTF-8" ; \
|
||||
fi ; \
|
||||
echo "Generating locale $${inputfile}.$${charmap}" ; \
|
||||
I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \
|
||||
$(HOST_DIR)/usr/bin/localedef \
|
||||
--prefix=$(TARGET_DIR) \
|
||||
--$(call LOWERCASE,$(BR2_ENDIAN))-endian \
|
||||
-i $${inputfile} -f $${charmap} \
|
||||
$${locale} ; \
|
||||
done
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += GENERATE_LOCALES
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
LOCALE_WHITELIST = $(BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
||||
|
||||
define PURGE_LOCALES
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
for i in $(LOCALE_NOPURGE) locale-archive; do echo $$i >> $(LOCALE_WHITELIST); done
|
||||
|
||||
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man /usr/lib/locale)); \
|
||||
do \
|
||||
for lang in $$(cd $$dir; ls .|grep -v man); \
|
||||
do \
|
||||
grep -qx $$lang $(LOCALE_WHITELIST) || rm -rf $$dir/$$lang; \
|
||||
done; \
|
||||
done
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += PURGE_LOCALES
|
||||
endif
|
||||
|
||||
$(TARGETS_ROOTFS): target-finalize
|
||||
|
||||
target-finalize: $(TARGETS)
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
$(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep))
|
||||
target-finalize:
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
|
||||
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
|
||||
@@ -567,15 +475,17 @@ target-finalize: $(TARGETS)
|
||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/gdb
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
|
||||
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
||||
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY)$(BR2_PACKAGE_PYTHON3_PY_ONLY),y)
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY),y)
|
||||
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -print0 | xargs -0 rm -f
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY)$(BR2_PACKAGE_PYTHON3_PYC_ONLY),y)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY),y)
|
||||
find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f
|
||||
endif
|
||||
$(STRIP_FIND_CMD) | xargs $(STRIPCMD) 2>/dev/null || true
|
||||
@@ -588,7 +498,7 @@ endif
|
||||
# I set a breakpoint"
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
find $(TARGET_DIR)/lib -type f -name 'libpthread*.so*' | \
|
||||
xargs -r $(STRIPCMD) $(STRIP_STRIP_DEBUG)
|
||||
xargs $(STRIPCMD) $(STRIP_STRIP_DEBUG) || true
|
||||
endif
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc
|
||||
@@ -612,39 +522,83 @@ endif
|
||||
|
||||
@$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
$(call MESSAGE,"Copying overlay $(d)"); \
|
||||
rsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \
|
||||
--chmod=Du+w --exclude .empty --exclude '*~' \
|
||||
rsync -a \
|
||||
--exclude .empty --exclude .svn --exclude .git \
|
||||
--exclude .hg --exclude=CVS --exclude '*~' \
|
||||
$(d)/ $(TARGET_DIR)$(sep))
|
||||
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-build script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
$(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
LOCALE_WHITELIST=$(BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
||||
|
||||
target-purgelocales:
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
|
||||
|
||||
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man)); \
|
||||
do \
|
||||
for lang in $$(cd $$dir; ls .|grep -v man); \
|
||||
do \
|
||||
grep -qx $$lang $(LOCALE_WHITELIST) || rm -rf $$dir/$$lang; \
|
||||
done; \
|
||||
done
|
||||
endif
|
||||
|
||||
ifneq ($(GENERATE_LOCALE),)
|
||||
# Generate locale data. Basically, we call the localedef program
|
||||
# (built by the host-localedef package) for each locale. The input
|
||||
# data comes preferably from the toolchain, or if the toolchain does
|
||||
# not have them (Linaro toolchains), we use the ones available on the
|
||||
# host machine.
|
||||
target-generatelocales: host-localedef
|
||||
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
||||
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.' -s` ; \
|
||||
charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \
|
||||
if test -z "$${charmap}" ; then \
|
||||
charmap="UTF-8" ; \
|
||||
fi ; \
|
||||
echo "Generating locale $${inputfile}.$${charmap}" ; \
|
||||
I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \
|
||||
$(HOST_DIR)/usr/bin/localedef \
|
||||
--prefix=$(TARGET_DIR) \
|
||||
--`echo $(BR2_ENDIAN) | tr [A-Z] [a-z]`-endian \
|
||||
-i $${inputfile} -f $${charmap} \
|
||||
$${locale} ; \
|
||||
done
|
||||
endif
|
||||
|
||||
target-post-image:
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
$(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||
toolchain-eclipse-register:
|
||||
./support/scripts/eclipse-register-toolchain `readlink -f $(O)` $(notdir $(TARGET_CROSS)) $(BR2_ARCH)
|
||||
|
||||
source: dirs $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||
|
||||
external-deps:
|
||||
@$(MAKE1) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
|
||||
@$(MAKE) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
|
||||
|
||||
legal-info-clean:
|
||||
@rm -fr $(LEGAL_INFO_DIR)
|
||||
|
||||
legal-info-prepare: $(LEGAL_INFO_DIR)
|
||||
@$(call MESSAGE,"Collecting legal info")
|
||||
@$(call legal-license-file,buildroot,COPYING,COPYING,HOST)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,TARGET)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,HOST)
|
||||
@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPLv2+,COPYING,not saved,not saved,HOST)
|
||||
@$(call legal-license-file,buildroot,COPYING,COPYING)
|
||||
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE)
|
||||
@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPLv2+,COPYING,not saved)
|
||||
@$(call legal-warning,the Buildroot source code has not been saved)
|
||||
@$(call legal-warning,the toolchain has not been saved)
|
||||
@cp $(BR2_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config
|
||||
@cp $(BUILDROOT_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config
|
||||
|
||||
legal-info: dirs legal-info-clean legal-info-prepare $(TARGETS_LEGAL_INFO) \
|
||||
$(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST)
|
||||
legal-info: dirs legal-info-clean legal-info-prepare $(REDIST_SOURCES_DIR) \
|
||||
$(TARGETS_LEGAL_INFO)
|
||||
@cat support/legal-info/README.header >>$(LEGAL_REPORT)
|
||||
@if [ -r $(LEGAL_WARNINGS) ]; then \
|
||||
cat support/legal-info/README.warnings-header \
|
||||
@@ -654,29 +608,7 @@ legal-info: dirs legal-info-clean legal-info-prepare $(TARGETS_LEGAL_INFO) \
|
||||
@rm -f $(LEGAL_WARNINGS)
|
||||
|
||||
show-targets:
|
||||
@echo $(HOST_DEPS) $(TARGETS_HOST_DEPS) $(TARGETS) $(TARGETS_ROOTFS)
|
||||
|
||||
graph-build: $(O)/build/build-time.log
|
||||
@install -d $(O)/graphs
|
||||
$(foreach o,name build duration,./support/scripts/graph-build-time \
|
||||
--type=histogram --order=$(o) --input=$(<) \
|
||||
--output=$(O)/graphs/build.hist-$(o).$(BR_GRAPH_OUT) \
|
||||
$(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep))
|
||||
$(foreach t,packages steps,./support/scripts/graph-build-time \
|
||||
--type=pie-$(t) --input=$(<) \
|
||||
--output=$(O)/graphs/build.pie-$(t).$(BR_GRAPH_OUT) \
|
||||
$(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep))
|
||||
|
||||
graph-depends-requirements:
|
||||
@dot -? >/dev/null 2>&1 || \
|
||||
{ echo "ERROR: The 'dot' program from Graphviz is needed for graph-depends" >&2; exit 1; }
|
||||
|
||||
graph-depends: graph-depends-requirements
|
||||
@$(INSTALL) -d $(O)/graphs
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \
|
||||
|tee $(BASE_DIR)/graphs/$(@).dot \
|
||||
|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(BASE_DIR)/graphs/$(@).$(BR_GRAPH_OUT)
|
||||
@echo $(TARGETS)
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
@@ -687,7 +619,7 @@ endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
# configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
HOSTCFLAGS = $(CFLAGS_FOR_BUILD)
|
||||
HOSTCFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
export HOSTCFLAGS
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/%onf:
|
||||
@@ -703,8 +635,7 @@ COMMON_CONFIG_ENV = \
|
||||
KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \
|
||||
BR2_CONFIG=$(BR2_CONFIG) \
|
||||
BR2_EXTERNAL=$(BR2_EXTERNAL)
|
||||
BUILDROOT_CONFIG=$(BUILDROOT_CONFIG)
|
||||
|
||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@@ -744,7 +675,7 @@ allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
randpackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@grep -v BR2_PACKAGE_ $(BUILDROOT_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@grep '^config BR2_PACKAGE_' Config.in.legacy | \
|
||||
while read config pkg; do \
|
||||
echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
|
||||
@@ -755,7 +686,7 @@ randpackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@grep -v BR2_PACKAGE_ $(BUILDROOT_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@grep '^config BR2_PACKAGE_' Config.in.legacy | \
|
||||
while read config pkg; do \
|
||||
echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
|
||||
@@ -766,7 +697,7 @@ allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@grep -v BR2_PACKAGE_ $(BUILDROOT_CONFIG) > $(CONFIG_DIR)/.config.nopkg
|
||||
@$(COMMON_CONFIG_ENV) \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
$< --allnoconfig $(CONFIG_CONFIG_IN)
|
||||
@@ -788,10 +719,6 @@ defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@$(COMMON_CONFIG_ENV) $< --defconfig=$(TOPDIR)/configs/$@ $(CONFIG_CONFIG_IN)
|
||||
|
||||
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(BR2_EXTERNAL)/configs/%_defconfig outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@$(COMMON_CONFIG_ENV) $< --defconfig=$(BR2_EXTERNAL)/configs/$@ $(CONFIG_CONFIG_IN)
|
||||
|
||||
savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@$(COMMON_CONFIG_ENV) $< \
|
||||
@@ -800,7 +727,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
# check if download URLs are outdated
|
||||
source-check:
|
||||
$(MAKE1) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
|
||||
$(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
|
||||
|
||||
.PHONY: defconfig savedefconfig
|
||||
|
||||
@@ -827,8 +754,8 @@ printvars:
|
||||
$(info $V=$($V) ($(value $V)))))
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(STAMP_DIR) $(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
$(LEGAL_INFO_DIR)
|
||||
|
||||
distclean: clean
|
||||
@@ -838,7 +765,7 @@ endif
|
||||
ifeq ($(O),output)
|
||||
rm -rf $(O)
|
||||
endif
|
||||
rm -rf $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
|
||||
rm -rf $(BUILDROOT_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
|
||||
|
||||
help:
|
||||
@echo 'Cleaning:'
|
||||
@@ -850,7 +777,6 @@ help:
|
||||
@echo ' toolchain - build toolchain'
|
||||
@echo ' <package>-rebuild - force recompile <package>'
|
||||
@echo ' <package>-reconfigure - force reconfigure <package>'
|
||||
@echo ' <package>-graph-depends - generate graph of the dependency tree for package'
|
||||
@echo
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@@ -879,20 +805,21 @@ endif
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
@echo ' uclibc-menuconfig - Run uClibc menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_CTNG),y)
|
||||
@echo ' ctng-menuconfig - Run crosstool-NG menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_BAREBOX),y)
|
||||
@echo ' barebox-menuconfig - Run barebox menuconfig'
|
||||
@echo ' barebox-savedefconfig - Run barebox savedefconfig'
|
||||
endif
|
||||
@echo
|
||||
@echo 'Documentation:'
|
||||
@echo ' manual - build manual in all formats'
|
||||
@echo ' manual - build manual in HTML, split HTML, PDF and txt'
|
||||
@echo ' manual-html - build manual in HTML'
|
||||
@echo ' manual-split-html - build manual in split HTML'
|
||||
@echo ' manual-pdf - build manual in PDF'
|
||||
@echo ' manual-text - build manual in text'
|
||||
@echo ' manual-txt - build manual in txt'
|
||||
@echo ' manual-epub - build manual in ePub'
|
||||
@echo ' graph-build - generate graphs of the build times'
|
||||
@echo ' graph-depends - generate graph of the dependency tree'
|
||||
@echo
|
||||
@echo 'Miscellaneous:'
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
@@ -903,26 +830,19 @@ endif
|
||||
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
|
||||
@echo ' make O=dir - Locate all output files in "dir", including .config'
|
||||
@echo
|
||||
@echo 'Built-in configs:'
|
||||
@$(foreach b, $(sort $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig))), \
|
||||
printf " %-35s - Build for %s\\n" $(b) $(b:_defconfig=);)
|
||||
ifneq ($(wildcard $(BR2_EXTERNAL)/configs/*_defconfig),)
|
||||
@echo
|
||||
@echo 'User-provided configs:'
|
||||
@$(foreach b, $(sort $(notdir $(wildcard $(BR2_EXTERNAL)/configs/*_defconfig))), \
|
||||
printf " %-35s - Build for %s\\n" $(b) $(b:_defconfig=);)
|
||||
endif
|
||||
@echo
|
||||
@echo 'See docs/README, or generate the Buildroot manual for further details'
|
||||
@echo
|
||||
|
||||
release: OUT = buildroot-$(BR2_VERSION)
|
||||
release: OUT=buildroot-$(BR2_VERSION)
|
||||
|
||||
# Create release tarballs. We need to fiddle a bit to add the generated
|
||||
# documentation to the git output
|
||||
release:
|
||||
git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
|
||||
$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
|
||||
$(MAKE) O=$(OUT) manual-html manual-txt manual-pdf
|
||||
tar rf $(OUT).tar $(OUT)
|
||||
gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
|
||||
bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2
|
||||
|
||||
@@ -12,38 +12,6 @@ ifeq ($(BR2_LEGACY),y)
|
||||
$(error "You have legacy configuration in your .config! Please check your configuration.")
|
||||
endif
|
||||
|
||||
#
|
||||
# Legacy options from 2014.02
|
||||
#
|
||||
|
||||
# The BUILDROOT_DL_DIR environment variable was renamed by BR2_DL_DIR. We
|
||||
# want to detect someone using the old variable, _except_ if also the new
|
||||
# variable was set. By the time we get here, however, we no longer have
|
||||
# access to the BR2_DL_DIR environment variable (because it has been overridden
|
||||
# by the .config inclusion). However, the environment variable (if defined) was
|
||||
# saved in DL_DIR, so we can use that.
|
||||
ifneq ($(BUILDROOT_DL_DIR),)
|
||||
ifneq ($(BUILDROOT_DL_DIR),$(DL_DIR))
|
||||
$(error "The BUILDROOT_DL_DIR environment variable was renamed to BR2_DL_DIR.")
|
||||
endif
|
||||
endif
|
||||
|
||||
# If a script is using the deprecated BUILDROOT_CONFIG, make sure it fails.
|
||||
# Add some directories in front just in case someone used dirname on it.
|
||||
BUILDROOT_CONFIG_FAKE = /tmp/deprecated/The-BUILDROOT_CONFIG-environment-variable-was-renamed-to-BR2_CONFIG
|
||||
|
||||
# Similar to above for BUILDROOT_CONFIG, but here we have no .config equivalent.
|
||||
ifneq ($(BUILDROOT_CONFIG),)
|
||||
ifneq ($(BUILDROOT_CONFIG),$(BR2_CONFIG))
|
||||
ifneq ($(BUILDROOT_CONFIG),$(BUILDROOT_CONFIG_FAKE))
|
||||
$(error "The BUILDROOT_CONFIG environment variable was renamed to BR2_CONFIG.")
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
BUILDROOT_CONFIG = $(BUILDROOT_CONFIG_FAKE)
|
||||
export BUILDROOT_CONFIG
|
||||
|
||||
#
|
||||
# Legacy options from 2012.08
|
||||
#
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
menu "Target options"
|
||||
|
||||
config BR2_ARCH_IS_64
|
||||
bool
|
||||
|
||||
config BR2_KERNEL_64_USERLAND_32
|
||||
bool
|
||||
|
||||
config BR2_SOFT_FLOAT
|
||||
bool
|
||||
|
||||
@@ -56,12 +51,6 @@ config BR2_aarch64
|
||||
config BR2_avr32
|
||||
bool "AVR32"
|
||||
select BR2_SOFT_FLOAT
|
||||
# This architecture is obsolete and complicated to maintain to
|
||||
# do the lack of upstream support in the major toolchain
|
||||
# components. If you're interested by AVR32, contact the
|
||||
# Buildroot community. Otherwise, its support will be removed
|
||||
# by the 2015.02 release.
|
||||
depends on BR2_DEPRECATED_SINCE_2014_08
|
||||
help
|
||||
The AVR32 is a 32-bit RISC microprocessor architecture designed by
|
||||
Atmel.
|
||||
@@ -135,36 +124,10 @@ config BR2_mips64el
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
config BR2_nios2
|
||||
bool "Nios II"
|
||||
help
|
||||
Nios II is a soft core processor from Altera Corporation.
|
||||
http://www.altera.com/
|
||||
http://en.wikipedia.org/wiki/Nios_II
|
||||
|
||||
config BR2_powerpc
|
||||
bool "PowerPC"
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Big endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
config BR2_powerpc64
|
||||
bool "PowerPC64 (big endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Big endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
config BR2_powerpc64le
|
||||
bool "PowerPC64 (little endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Little endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
@@ -342,11 +305,7 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
|
||||
source "arch/Config.in.mips"
|
||||
endif
|
||||
|
||||
if BR2_nios2
|
||||
source "arch/Config.in.nios2"
|
||||
endif
|
||||
|
||||
if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
if BR2_powerpc
|
||||
source "arch/Config.in.powerpc"
|
||||
endif
|
||||
|
||||
@@ -365,5 +324,3 @@ endif
|
||||
if BR2_xtensa
|
||||
source "arch/Config.in.xtensa"
|
||||
endif
|
||||
|
||||
endmenu # Target options
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Choise of atomic instructions presence
|
||||
config BR2_ARC_ATOMIC_EXT
|
||||
bool "Atomic extension (LLOCK/SCOND instructions)"
|
||||
select BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
|
||||
|
||||
config BR2_ARCH
|
||||
default "arc" if BR2_arcle
|
||||
default "arceb" if BR2_arceb
|
||||
@@ -17,3 +12,7 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "arc700"
|
||||
|
||||
config BR2_ARC_SITE
|
||||
string
|
||||
default "http://www.synopsys.com/apps/arc-developer/"
|
||||
|
||||
@@ -44,6 +44,12 @@ choice
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_arm7tdmi
|
||||
bool "arm7tdmi"
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
config BR2_arm720t
|
||||
bool "arm720t"
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
config BR2_arm920t
|
||||
bool "arm920t"
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
@@ -92,11 +98,6 @@ config BR2_cortex_a9
|
||||
select BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||
select BR2_ARM_CPU_MAYBE_HAS_VFPV3
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
config BR2_cortex_a12
|
||||
bool "cortex-A12"
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
config BR2_cortex_a15
|
||||
bool "cortex-A15"
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
@@ -340,7 +341,10 @@ config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_arm
|
||||
default "BIG" if BR2_armeb
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
config BR2_GCC_TARGET_TUNE
|
||||
default "arm7tdmi" if BR2_arm7tdmi
|
||||
default "arm7tdmi" if BR2_arm720t
|
||||
default "arm7tdmi" if BR2_arm740t
|
||||
default "arm920" if BR2_arm920
|
||||
default "arm920t" if BR2_arm920t
|
||||
default "arm922t" if BR2_arm922t
|
||||
@@ -353,7 +357,6 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a7" if BR2_cortex_a7
|
||||
default "cortex-a8" if BR2_cortex_a8
|
||||
default "cortex-a9" if BR2_cortex_a9
|
||||
default "cortex-a12" if BR2_cortex_a12
|
||||
default "cortex-a15" if BR2_cortex_a15
|
||||
default "fa526" if BR2_fa526
|
||||
default "marvell-pj4" if BR2_pj4
|
||||
@@ -362,6 +365,8 @@ config BR2_GCC_TARGET_CPU
|
||||
default "iwmmxt" if BR2_iwmmxt
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "armv4t" if BR2_arm7tdmi
|
||||
default "armv4t" if BR2_arm720t
|
||||
default "armv4t" if BR2_arm920t
|
||||
default "armv4t" if BR2_arm922t
|
||||
default "armv5te" if BR2_arm926t
|
||||
@@ -374,7 +379,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "armv7-a" if BR2_cortex_a7
|
||||
default "armv7-a" if BR2_cortex_a8
|
||||
default "armv7-a" if BR2_cortex_a9
|
||||
default "armv7-a" if BR2_cortex_a12
|
||||
default "armv7-a" if BR2_cortex_a15
|
||||
default "armv4" if BR2_fa526
|
||||
default "armv7-a" if BR2_pj4
|
||||
|
||||
@@ -3,6 +3,3 @@ config BR2_ARCH
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "BIG"
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "ap"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
config BR2_ARCH
|
||||
default "microblazeel" if BR2_microblazeel
|
||||
default "microblaze" if BR2_microblazebe
|
||||
default "microblaze"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_microblazeel
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default BR2_mips_32 if BR2_mips || BR2_mipsel
|
||||
default BR2_mips_3 if BR2_mips
|
||||
default BR2_mips_1 if BR2_mipsel
|
||||
default BR2_mips_64 if BR2_mips64 || BR2_mips64el
|
||||
help
|
||||
Specific CPU variant to use
|
||||
@@ -11,16 +12,14 @@ choice
|
||||
|
||||
config BR2_mips_1
|
||||
bool "mips I (generic)"
|
||||
depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_mips_2
|
||||
bool "mips II"
|
||||
depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_mips_3
|
||||
bool "mips III"
|
||||
depends on BR2_DEPRECATED_SINCE_2013_11
|
||||
config BR2_mips_4
|
||||
bool "mips IV"
|
||||
depends on BR2_DEPRECATED_SINCE_2013_11
|
||||
config BR2_mips_32
|
||||
bool "mips 32"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
@@ -29,25 +28,25 @@ config BR2_mips_32r2
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_mips_64
|
||||
bool "mips 64"
|
||||
depends on BR2_ARCH_IS_64
|
||||
config BR2_mips_64r2
|
||||
bool "mips 64r2"
|
||||
depends on BR2_ARCH_IS_64
|
||||
endchoice
|
||||
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
depends on BR2_mips64 || BR2_mips64el
|
||||
default BR2_MIPS_NABI32
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default BR2_MIPS_OABI32 if !BR2_ARCH_IS_64
|
||||
default BR2_MIPS_NABI32 if BR2_ARCH_IS_64
|
||||
|
||||
help
|
||||
Application Binary Interface to use
|
||||
|
||||
config BR2_MIPS_OABI32
|
||||
bool "o32"
|
||||
config BR2_MIPS_NABI32
|
||||
bool "n32"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_KERNEL_64_USERLAND_32
|
||||
config BR2_MIPS_NABI64
|
||||
bool "n64"
|
||||
depends on BR2_ARCH_IS_64
|
||||
@@ -73,7 +72,7 @@ config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_mipsel || BR2_mips64el
|
||||
default "BIG" if BR2_mips || BR2_mips64
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
config BR2_GCC_TARGET_TUNE
|
||||
default "mips1" if BR2_mips_1
|
||||
default "mips2" if BR2_mips_2
|
||||
default "mips3" if BR2_mips_3
|
||||
@@ -83,10 +82,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "mips64" if BR2_mips_64
|
||||
default "mips64r2" if BR2_mips_64r2
|
||||
|
||||
config BR2_MIPS_OABI32
|
||||
bool
|
||||
default y if BR2_mips || BR2_mipsel
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "32" if BR2_MIPS_OABI32
|
||||
default "n32" if BR2_MIPS_NABI32
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
config BR2_ARCH
|
||||
default "nios2"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
@@ -1,11 +1,6 @@
|
||||
config BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
bool
|
||||
|
||||
config BR2_POWERPC_CPU_HAS_SPE
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_powerpc
|
||||
default BR2_generic_powerpc
|
||||
help
|
||||
Specific CPU variant to use
|
||||
@@ -13,130 +8,84 @@ config BR2_generic_powerpc
|
||||
bool "generic"
|
||||
config BR2_powerpc_401
|
||||
bool "401"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_403
|
||||
bool "403"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_405
|
||||
bool "405"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_405fp
|
||||
bool "405 with FPU"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_440
|
||||
bool "440"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_440fp
|
||||
bool "440 with FPU"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_464
|
||||
bool "464"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_464fp
|
||||
bool "464 with FPU"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_476
|
||||
bool "476"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_476fp
|
||||
bool "476 with FPU"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_505
|
||||
bool "505"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_601
|
||||
bool "601"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_602
|
||||
bool "602"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_603
|
||||
bool "603"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_603e
|
||||
bool "603e"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_604
|
||||
bool "604"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_604e
|
||||
bool "604e"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_620
|
||||
bool "620"
|
||||
config BR2_powerpc_630
|
||||
bool "630"
|
||||
config BR2_powerpc_740
|
||||
bool "740"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_7400
|
||||
bool "7400"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_7450
|
||||
bool "7450"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_750
|
||||
bool "750"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_821
|
||||
bool "821"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_823
|
||||
bool "823"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_860
|
||||
bool "860"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_970
|
||||
bool "970"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_8540
|
||||
bool "8540 / e500v1"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_SPE
|
||||
config BR2_powerpc_8548
|
||||
bool "8548 / e500v2"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_SPE
|
||||
config BR2_powerpc_e300c2
|
||||
bool "e300c2"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_e300c3
|
||||
bool "e300c3"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_e500mc
|
||||
bool "e500mc"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_power4
|
||||
bool "power4"
|
||||
config BR2_powerpc_power5
|
||||
bool "power5"
|
||||
config BR2_powerpc_power6
|
||||
bool "power6"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_power7
|
||||
bool "power7"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_power8
|
||||
bool "power8"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
|
||||
depends on BR2_powerpc
|
||||
default BR2_powerpc_SPE if BR2_powerpc_8540 || BR2_powerpc_8548
|
||||
default BR2_powerpc_CLASSIC
|
||||
help
|
||||
Application Binary Interface to use
|
||||
|
||||
config BR2_powerpc_CLASSIC
|
||||
bool "Classic"
|
||||
depends on !BR2_POWERPC_CPU_HAS_SPE
|
||||
depends on !(BR2_powerpc_8540 || BR2_powerpc_8548)
|
||||
config BR2_powerpc_SPE
|
||||
bool "SPE"
|
||||
depends on BR2_POWERPC_CPU_HAS_SPE
|
||||
depends on BR2_powerpc_8540 || BR2_powerpc_8548
|
||||
endchoice
|
||||
|
||||
config BR2_POWERPC_SOFT_FLOAT
|
||||
@@ -150,12 +99,9 @@ config BR2_POWERPC_SOFT_FLOAT
|
||||
|
||||
config BR2_ARCH
|
||||
default "powerpc" if BR2_powerpc
|
||||
default "powerpc64" if BR2_powerpc64
|
||||
default "powerpc64le" if BR2_powerpc64le
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "BIG" if BR2_powerpc || BR2_powerpc64
|
||||
default "LITTLE" if BR2_powerpc64le
|
||||
default "BIG"
|
||||
|
||||
config BR2_GCC_TARGET_TUNE
|
||||
default "401" if BR2_powerpc_401
|
||||
@@ -190,11 +136,6 @@ config BR2_GCC_TARGET_TUNE
|
||||
default "e300c2" if BR2_powerpc_e300c2
|
||||
default "e300c3" if BR2_powerpc_e300c3
|
||||
default "e500mc" if BR2_powerpc_e500mc
|
||||
default "power4" if BR2_powerpc_power4
|
||||
default "power5" if BR2_powerpc_power5
|
||||
default "power6" if BR2_powerpc_power6
|
||||
default "power7" if BR2_powerpc_power7
|
||||
default "power8" if BR2_powerpc_power8
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "altivec" if BR2_PPC_ABI_altivec
|
||||
|
||||
@@ -5,8 +5,14 @@ choice
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_sh2
|
||||
bool "sh2 (SH2 big endian)"
|
||||
config BR2_sh2a
|
||||
bool "sh2a (SH2A big endian)"
|
||||
config BR2_sh3
|
||||
bool "sh3 (SH3 little endian)"
|
||||
config BR2_sh3eb
|
||||
bool "sh3eb (SH3 big endian)"
|
||||
config BR2_sh4
|
||||
bool "sh4 (SH4 little endian)"
|
||||
config BR2_sh4eb
|
||||
@@ -18,7 +24,10 @@ config BR2_sh4aeb
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "sh2" if BR2_sh2
|
||||
default "sh2a" if BR2_sh2a
|
||||
default "sh3" if BR2_sh3
|
||||
default "sh3eb" if BR2_sh3eb
|
||||
default "sh4" if BR2_sh4
|
||||
default "sh4eb" if BR2_sh4eb
|
||||
default "sh4a" if BR2_sh4a
|
||||
@@ -26,5 +35,7 @@ config BR2_ARCH
|
||||
default "sh64" if BR2_sh64
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_sh4 || BR2_sh4a || BR2_sh64
|
||||
default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb
|
||||
default "LITTLE" if BR2_sh3 || BR2_sh4 || BR2_sh4a || \
|
||||
BR2_x86_64 || BR2_sh64
|
||||
default "BIG" if BR2_sh2 || BR2_sh2a || BR2_sh3eb || \
|
||||
BR2_sh4eb || BR2_sh4aeb
|
||||
|
||||
@@ -25,6 +25,12 @@ config BR2_ENDIAN
|
||||
|
||||
config BR2_GCC_TARGET_TUNE
|
||||
default "v8" if BR2_sparc_v8
|
||||
default "v9" if BR2_sparc_v9
|
||||
default "v9" if BR2_sparc_v9a
|
||||
default "v9" if BR2_sparc_v9b
|
||||
default "ultrasparc" if BR2_sparc_ultrasparc
|
||||
default "ultrasparc3" if BR2_sparc_ultrasparc3
|
||||
default "niagara" if BR2_sparc_niagara
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "sparchfleon" if BR2_sparc_sparchfleon
|
||||
|
||||
@@ -9,10 +9,6 @@ config BR2_X86_CPU_HAS_SSE3
|
||||
bool
|
||||
config BR2_X86_CPU_HAS_SSSE3
|
||||
bool
|
||||
config BR2_X86_CPU_HAS_SSE4
|
||||
bool
|
||||
config BR2_X86_CPU_HAS_SSE42
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
@@ -83,15 +79,6 @@ config BR2_x86_core2
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
config BR2_x86_corei7
|
||||
bool "corei7"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_atom
|
||||
bool "atom"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -133,15 +120,6 @@ config BR2_x86_barcelona
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
config BR2_x86_jaguar
|
||||
bool "jaguar"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_geode
|
||||
bool "geode"
|
||||
# Don't include MMX support because there several variant of geode
|
||||
@@ -186,12 +164,10 @@ config BR2_ARCH
|
||||
default "i686" if BR2_x86_prescott
|
||||
default "i686" if BR2_x86_nocona && BR2_i386
|
||||
default "i686" if BR2_x86_core2 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7 && BR2_i386
|
||||
default "i686" if BR2_x86_atom && BR2_i386
|
||||
default "i686" if BR2_x86_opteron && BR2_i386
|
||||
default "i686" if BR2_x86_opteron_sse3 && BR2_i386
|
||||
default "i686" if BR2_x86_barcelona && BR2_i386
|
||||
default "i686" if BR2_x86_jaguar && BR2_i386
|
||||
default "i686" if BR2_x86_k6
|
||||
default "i686" if BR2_x86_k6_2
|
||||
default "i686" if BR2_x86_athlon
|
||||
@@ -216,12 +192,10 @@ config BR2_GCC_TARGET_TUNE
|
||||
default "prescott" if BR2_x86_prescott
|
||||
default "nocona" if BR2_x86_nocona
|
||||
default "core2" if BR2_x86_core2
|
||||
default "corei7" if BR2_x86_corei7
|
||||
default "atom" if BR2_x86_atom
|
||||
default "k8" if BR2_x86_opteron
|
||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||
default "barcelona" if BR2_x86_barcelona
|
||||
default "btver2" if BR2_x86_jaguar
|
||||
default "k6" if BR2_x86_k6
|
||||
default "k6-2" if BR2_x86_k6_2
|
||||
default "athlon" if BR2_x86_athlon
|
||||
@@ -247,12 +221,10 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "prescott" if BR2_x86_prescott
|
||||
default "nocona" if BR2_x86_nocona
|
||||
default "core2" if BR2_x86_core2
|
||||
default "corei7" if BR2_x86_corei7
|
||||
default "atom" if BR2_x86_atom
|
||||
default "k8" if BR2_x86_opteron
|
||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||
default "barcelona" if BR2_x86_barcelona
|
||||
default "btver2" if BR2_x86_jaguar
|
||||
default "k6" if BR2_x86_k6
|
||||
default "k6-2" if BR2_x86_k6_2
|
||||
default "athlon" if BR2_x86_athlon
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
# post-image.sh for SoCkit
|
||||
# 2014, "Roman Diouskine" <roman.diouskine@savoirfairelinux.com>
|
||||
# 2014, "Sebastien Bourdelin" <sebastien.bourdelin@savoirfairelinux.com>
|
||||
|
||||
# create a DTB file copy with the name expected by the u-boot config
|
||||
cp -af $BINARIES_DIR/socfpga_cyclone5_sockit.dtb $BINARIES_DIR/socfpga.dtb
|
||||
@@ -1,157 +0,0 @@
|
||||
SoCkit
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This is the buildroot board support for the Arrow SoCkit Evaluation Board.
|
||||
|
||||
A good source of information is :
|
||||
http://www.rocketboards.org/foswiki/Documentation/ArrowSoCKitEvaluationBoard
|
||||
|
||||
How it works
|
||||
============
|
||||
|
||||
Boot process :
|
||||
--------------
|
||||
|
||||
In summary, the bootloader has multiple stages, an hardcoded boot routine is
|
||||
loaded from an on-chip ROM.
|
||||
|
||||
- That first stage is scanning the SD card's partition table to find
|
||||
partition having the 0xA2 type.
|
||||
- This partition is expected to contain a boot image on its first 60 Kb,
|
||||
because u-boot is bigger, we must fill it with a preloader (u-boot-spl)
|
||||
which will load the u-boot image.
|
||||
- Then the u-boot image will load the Linux kernel.
|
||||
|
||||
A good source of information for the boot process is :
|
||||
http://xillybus.com/tutorials/u-boot-image-altera-soc
|
||||
|
||||
Note for the SPL :
|
||||
The SPL generated by the u-boot from Rocketboards doesn't seems to work,
|
||||
therefore we provide a patch for {uboot-PKG}/board/altera/socfpga_cyclone5/*
|
||||
based on the files generated with the Altera example design.
|
||||
|
||||
For more information about this files please look at :
|
||||
http://www.rocketboards.org/foswiki/Documentation/PreloaderUbootCustomization#Common_Source_Code
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The altera_sockit_defconfig configuration is a minimal configuration with
|
||||
all that is required to bring the SoCkit :
|
||||
|
||||
$ make altera_sockit_defconfig
|
||||
|
||||
Build everything
|
||||
----------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext3 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── socfpga_cyclone5_sockit.dtb
|
||||
├── socfpga.dtb
|
||||
├── u-boot.img
|
||||
├── u-boot-spl.bin
|
||||
└── uImage
|
||||
|
||||
|
||||
Signing the Preloader
|
||||
---------------------
|
||||
|
||||
*** BEWARE ****
|
||||
The u-boot-spl.bin must be signed using the Altera's tool "mkpimage".
|
||||
This tool comes as a part of the Altera development environnment (SoC EDS).
|
||||
A fork of this tool have been done by Maxime Hadjinlian and can be found here :
|
||||
https://github.com/maximeh/mkpimage
|
||||
|
||||
Remember that without signing the u-boot-spl.bin, the board will not boot !!!
|
||||
|
||||
$ mkpimage u-boot-spl.bin -o u-boot-spl-signed.bin
|
||||
|
||||
Prepare your SDcard
|
||||
===================
|
||||
|
||||
A good source of information for the partitioning process is :
|
||||
http://www.rocketboards.org/foswiki/view/Projects/SoCKitLinaroLinuxDesktop#Partition_the_SD_Card
|
||||
|
||||
Create the SDcard partition table
|
||||
----------------------------------
|
||||
|
||||
Determine the device associated to the SD card :
|
||||
|
||||
$ cat /proc/partitions
|
||||
|
||||
let's assume it is /dev/mmcblk0 :
|
||||
|
||||
$ sudo fdisk /dev/mmcblk0
|
||||
|
||||
Delete all previous partitions with 'd' then create the new partition table,
|
||||
using these options, pressing enter after each one:
|
||||
|
||||
* n p 1 9000000 +20480K t 1 b
|
||||
* n p 2 4096 +4496384K t 83
|
||||
* n p 3 2048 +1024K t 3 a2
|
||||
|
||||
Using the 'p' option, the SD card's partition must look like this :
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/mmcblk0p1 9000000 9041919 20960 b W95 FAT32
|
||||
/dev/mmcblk0p2 4096 8996863 4496384 83 Linux
|
||||
/dev/mmcblk0p3 2048 4095 1024 a2 Unknown
|
||||
|
||||
Then write the partition table using 'w' and exit.
|
||||
|
||||
Make partition one a DOS partition :
|
||||
|
||||
$ sudo mkdosfs /dev/mmcblk0p1
|
||||
|
||||
Install the binaries to the SDcard
|
||||
----------------------------------
|
||||
|
||||
Remember your binaries are located in output/images/, go inside that directory :
|
||||
|
||||
$ cd output/images
|
||||
|
||||
The partition with type a2 is the partition scan by the first bootloader stage
|
||||
in the SoCkit ROM to find the next bootloader stage so we must write the signed
|
||||
preloader and the u-boot binaries in that partition :
|
||||
|
||||
$ sudo dd if=u-boot-spl-signed.bin of=/dev/mmcblk0p3 bs=64k seek=0
|
||||
$ sudo dd if=u-boot.img of=/dev/mmcblk0p3 bs=64k seek=4
|
||||
|
||||
Copy the Linux kernel and its Device tree :
|
||||
|
||||
$ sudo mkdir /mnt/sdcard
|
||||
$ sudo mount /dev/mmcblk0p1 /mnt/sdcard
|
||||
$ sudo cp socfpga.dtb uImage /mnt/sdcard
|
||||
$ sudo umount /mnt/sdcard
|
||||
|
||||
Copy the rootfs :
|
||||
|
||||
$ sudo dd if=rootfs.ext2 of=/dev/mmcblk0p2 bs=64k
|
||||
$ sudo sync
|
||||
|
||||
It's Done!
|
||||
|
||||
Finish
|
||||
======
|
||||
|
||||
Eject your SDcard, insert it in your SoCkit, and power it up.
|
||||
|
||||
if you want a serial console, you can plug a micro B USB cable on the USB-UART
|
||||
port, the serial port config to used is 57600/8-N-1.
|
||||
@@ -1,820 +0,0 @@
|
||||
From c70f2ebb350da20af1a0ed4b7960b8e5a1952713 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
|
||||
Date: Thu, 20 Feb 2014 11:51:31 -0500
|
||||
Subject: [PATCH] board: add to sockit a working preloader design
|
||||
|
||||
---
|
||||
board/altera/socfpga_cyclone5/build.h | 2 +-
|
||||
board/altera/socfpga_cyclone5/iocsr_config.c | 314 ++++++++++-----------
|
||||
board/altera/socfpga_cyclone5/pinmux_config.c | 32 +--
|
||||
board/altera/socfpga_cyclone5/pinmux_config.h | 8 +-
|
||||
board/altera/socfpga_cyclone5/sdram/sdram_config.h | 14 +-
|
||||
.../altera/socfpga_cyclone5/sdram/sequencer_auto.h | 16 +-
|
||||
.../sdram/sequencer_auto_ac_init.c | 16 +-
|
||||
.../socfpga_cyclone5/sdram/sequencer_defines.h | 34 +--
|
||||
8 files changed, 218 insertions(+), 218 deletions(-)
|
||||
|
||||
diff --git a/board/altera/socfpga_cyclone5/build.h b/board/altera/socfpga_cyclone5/build.h
|
||||
index e5d9c3c..a369015 100644
|
||||
--- a/board/altera/socfpga_cyclone5/build.h
|
||||
+++ b/board/altera/socfpga_cyclone5/build.h
|
||||
@@ -29,7 +29,7 @@
|
||||
* Handoff files must provide user option whether to
|
||||
* enable watchdog during preloader execution phase
|
||||
*/
|
||||
-#define CONFIG_PRELOADER_WATCHDOG_ENABLE (0)
|
||||
+#define CONFIG_PRELOADER_WATCHDOG_ENABLE (1)
|
||||
|
||||
/*
|
||||
* Handoff files must provide user option whether to enable
|
||||
diff --git a/board/altera/socfpga_cyclone5/iocsr_config.c b/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
index fa663e1..90fc154 100644
|
||||
--- a/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
+++ b/board/altera/socfpga_cyclone5/iocsr_config.c
|
||||
@@ -7,113 +7,113 @@ const unsigned long iocsr_scan_chain0_table[((CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH
|
||||
0xC0000000,
|
||||
0x0000003F,
|
||||
0x00008000,
|
||||
- 0x00020080,
|
||||
- 0x08020000,
|
||||
- 0x08000000,
|
||||
- 0x00018020,
|
||||
+ 0x00060180,
|
||||
+ 0x18060000,
|
||||
+ 0x18000000,
|
||||
+ 0x00018060,
|
||||
0x00000000,
|
||||
0x00004000,
|
||||
- 0x00010040,
|
||||
- 0x04010000,
|
||||
- 0x04000000,
|
||||
- 0x00000010,
|
||||
- 0x00004010,
|
||||
+ 0x000300C0,
|
||||
+ 0x0C030000,
|
||||
+ 0x0C000000,
|
||||
+ 0x00000030,
|
||||
+ 0x0000C030,
|
||||
0x00002000,
|
||||
- 0x00020000,
|
||||
- 0x02008000,
|
||||
- 0x02000000,
|
||||
- 0x00000008,
|
||||
- 0x00002008,
|
||||
+ 0x00018060,
|
||||
+ 0x06018000,
|
||||
+ 0x06000000,
|
||||
+ 0x00000018,
|
||||
+ 0x00006018,
|
||||
0x00001000,
|
||||
};
|
||||
|
||||
const unsigned long iocsr_scan_chain1_table[((CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH / 32) + 1)] = {
|
||||
- 0x000C0300,
|
||||
- 0x10040000,
|
||||
- 0x100000C0,
|
||||
- 0x00000040,
|
||||
- 0x00010040,
|
||||
+ 0x00100000,
|
||||
+ 0x300C0000,
|
||||
+ 0x300000C0,
|
||||
+ 0x000000C0,
|
||||
+ 0x000300C0,
|
||||
0x00008000,
|
||||
0x00080000,
|
||||
- 0x18060000,
|
||||
- 0x18000000,
|
||||
- 0x00000060,
|
||||
- 0x00018060,
|
||||
+ 0x20000000,
|
||||
+ 0x00000000,
|
||||
+ 0x00000080,
|
||||
+ 0x00020000,
|
||||
0x00004000,
|
||||
- 0x00010040,
|
||||
+ 0x000300C0,
|
||||
0x10000000,
|
||||
- 0x04000000,
|
||||
- 0x00000010,
|
||||
- 0x00004010,
|
||||
+ 0x0C000000,
|
||||
+ 0x00000030,
|
||||
+ 0x0000C030,
|
||||
0x00002000,
|
||||
- 0x06008020,
|
||||
- 0x02008000,
|
||||
+ 0x06018060,
|
||||
+ 0x06018000,
|
||||
0x01FE0000,
|
||||
0xF8000000,
|
||||
0x00000007,
|
||||
0x00001000,
|
||||
- 0x00004010,
|
||||
- 0x01004000,
|
||||
- 0x01000000,
|
||||
- 0x00003004,
|
||||
- 0x00001004,
|
||||
+ 0x0000C030,
|
||||
+ 0x0300C000,
|
||||
+ 0x03000000,
|
||||
+ 0x0000300C,
|
||||
+ 0x0000300C,
|
||||
0x00000800,
|
||||
0x00000000,
|
||||
0x00000000,
|
||||
- 0x00800000,
|
||||
- 0x00000002,
|
||||
+ 0x01800000,
|
||||
+ 0x00000006,
|
||||
0x00002000,
|
||||
0x00000400,
|
||||
0x00000000,
|
||||
- 0x00401000,
|
||||
+ 0x00C03000,
|
||||
0x00000003,
|
||||
0x00000000,
|
||||
0x00000000,
|
||||
0x00000200,
|
||||
- 0x00600802,
|
||||
+ 0x00601806,
|
||||
0x00000000,
|
||||
- 0x80200000,
|
||||
- 0x80000600,
|
||||
- 0x00000200,
|
||||
+ 0x80600000,
|
||||
+ 0x80000601,
|
||||
+ 0x00000601,
|
||||
0x00000100,
|
||||
- 0x00300401,
|
||||
- 0xC0100400,
|
||||
- 0x40100000,
|
||||
- 0x40000300,
|
||||
- 0x000C0100,
|
||||
+ 0x00300C03,
|
||||
+ 0xC0300C00,
|
||||
+ 0xC0300000,
|
||||
+ 0xC0000300,
|
||||
+ 0x000C0300,
|
||||
0x00000080,
|
||||
};
|
||||
|
||||
const unsigned long iocsr_scan_chain2_table[((CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH / 32) + 1)] = {
|
||||
- 0x80040100,
|
||||
+ 0x300C0300,
|
||||
0x00000000,
|
||||
0x0FF00000,
|
||||
0x00000000,
|
||||
- 0x0C010040,
|
||||
+ 0x0C0300C0,
|
||||
0x00008000,
|
||||
- 0x18020080,
|
||||
- 0x00000000,
|
||||
- 0x08000000,
|
||||
- 0x00040020,
|
||||
- 0x06018060,
|
||||
+ 0x18060180,
|
||||
+ 0x18060000,
|
||||
+ 0x18000000,
|
||||
+ 0x00018060,
|
||||
+ 0x00018060,
|
||||
0x00004000,
|
||||
- 0x0C010040,
|
||||
- 0x04010000,
|
||||
+ 0x000300C0,
|
||||
+ 0x0C030000,
|
||||
0x00000030,
|
||||
0x00000000,
|
||||
- 0x03004010,
|
||||
+ 0x0300C030,
|
||||
0x00002000,
|
||||
- 0x06008020,
|
||||
- 0x02008000,
|
||||
- 0x02000018,
|
||||
- 0x00006008,
|
||||
- 0x01802008,
|
||||
+ 0x00018060,
|
||||
+ 0x06018000,
|
||||
+ 0x06000000,
|
||||
+ 0x00000018,
|
||||
+ 0x00006018,
|
||||
0x00001000,
|
||||
- 0x03004010,
|
||||
- 0x01004000,
|
||||
- 0x0100000C,
|
||||
- 0x00003004,
|
||||
- 0x00C01004,
|
||||
+ 0x0000C030,
|
||||
+ 0x00000000,
|
||||
+ 0x03000000,
|
||||
+ 0x0000000C,
|
||||
+ 0x00C0300C,
|
||||
0x00000800,
|
||||
};
|
||||
|
||||
@@ -170,14 +170,14 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xA0000034,
|
||||
0x0D000001,
|
||||
0x6068030C,
|
||||
- 0xC7034018,
|
||||
- 0x0E381A01,
|
||||
+ 0xCF034059,
|
||||
+ 0x1E781A03,
|
||||
0x8030C0D0,
|
||||
- 0x34018606,
|
||||
- 0x01A01C70,
|
||||
+ 0x34059606,
|
||||
+ 0x01A03CF0,
|
||||
0x0C0D0000,
|
||||
- 0x18606803,
|
||||
- 0x01C70340,
|
||||
+ 0x59606803,
|
||||
+ 0x03CF0340,
|
||||
0xD000001A,
|
||||
0x068030C0,
|
||||
0x10040000,
|
||||
@@ -244,15 +244,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xA0000034,
|
||||
0x0D000001,
|
||||
0x6068030C,
|
||||
- 0xC7034018,
|
||||
- 0x0E381A01,
|
||||
+ 0xCF034059,
|
||||
+ 0x1E781A03,
|
||||
0x8030C0D0,
|
||||
- 0x34018606,
|
||||
+ 0x34059606,
|
||||
0x01A00000,
|
||||
0x0C0D0000,
|
||||
- 0x18606803,
|
||||
- 0x01C70340,
|
||||
- 0xD00E381A,
|
||||
+ 0x59606803,
|
||||
+ 0x03CF0340,
|
||||
+ 0xD01E781A,
|
||||
0x068030C0,
|
||||
0x10040000,
|
||||
0x00200000,
|
||||
@@ -273,7 +273,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -301,7 +301,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -321,15 +321,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x01860680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -347,7 +347,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -375,7 +375,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00015000,
|
||||
@@ -395,15 +395,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
- 0x821A00C3,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
+ 0x821A02CB,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -421,7 +421,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -449,7 +449,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -469,15 +469,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -495,7 +495,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0xAA0D4000,
|
||||
- 0x01C3A808,
|
||||
+ 0x01C3A810,
|
||||
0xAA0D4000,
|
||||
0x01C3A810,
|
||||
0x00040100,
|
||||
@@ -523,7 +523,7 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x2A835000,
|
||||
- 0x0070EA02,
|
||||
+ 0x0070EA04,
|
||||
0x2A835000,
|
||||
0x0070EA04,
|
||||
0x00010040,
|
||||
@@ -543,15 +543,15 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x14864000,
|
||||
0x69A47A05,
|
||||
0xCBCF23D7,
|
||||
- 0xF41E791E,
|
||||
- 0x034ED348,
|
||||
+ 0xF5DE791E,
|
||||
+ 0x0356D348,
|
||||
0x821A0000,
|
||||
0x0000D000,
|
||||
0x00000680,
|
||||
0xD769A47A,
|
||||
0x1ECBCF23,
|
||||
- 0x48F41E79,
|
||||
- 0x00034ED3,
|
||||
+ 0x48F5DE79,
|
||||
+ 0x000356D3,
|
||||
0x00080200,
|
||||
0x00001000,
|
||||
0x00080200,
|
||||
@@ -567,80 +567,80 @@ const unsigned long iocsr_scan_chain3_table[((CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH
|
||||
0x04000002,
|
||||
0x00820000,
|
||||
0x00489000,
|
||||
- 0x001A1A1A,
|
||||
- 0x085506A0,
|
||||
- 0x0000E1D4,
|
||||
- 0x045506A0,
|
||||
- 0x0000E1D4,
|
||||
- 0x085506A0,
|
||||
- 0x8000E1D4,
|
||||
+ 0x801A1A1A,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
+ 0x00000200,
|
||||
+ 0x80000004,
|
||||
0x00000200,
|
||||
0x00000004,
|
||||
- 0x04000000,
|
||||
- 0x00000009,
|
||||
- 0x00002410,
|
||||
+ 0x00040000,
|
||||
+ 0x10000000,
|
||||
+ 0x00000000,
|
||||
0x00000040,
|
||||
- 0x41000000,
|
||||
- 0x00002082,
|
||||
- 0x00000350,
|
||||
- 0x000000DA,
|
||||
+ 0x00010000,
|
||||
+ 0x40002000,
|
||||
+ 0x00000100,
|
||||
+ 0x40000002,
|
||||
+ 0x00000100,
|
||||
+ 0x40000002,
|
||||
0x00000100,
|
||||
0x40000002,
|
||||
0x00000100,
|
||||
0x00000002,
|
||||
- 0x042A8350,
|
||||
- 0x000070EA,
|
||||
- 0x86000000,
|
||||
- 0x08000004,
|
||||
+ 0x00020000,
|
||||
+ 0x08000000,
|
||||
0x00000000,
|
||||
- 0x00482000,
|
||||
- 0x21800000,
|
||||
- 0x00101061,
|
||||
- 0x021541A8,
|
||||
- 0x00003875,
|
||||
- 0x011541A8,
|
||||
- 0x00003875,
|
||||
- 0x021541A8,
|
||||
- 0x20003875,
|
||||
+ 0x00000020,
|
||||
+ 0x00008000,
|
||||
+ 0x20001000,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
+ 0x00000080,
|
||||
+ 0x20000001,
|
||||
0x00000080,
|
||||
0x00000001,
|
||||
- 0x41000000,
|
||||
- 0x00000002,
|
||||
- 0x00FF0904,
|
||||
+ 0x00010000,
|
||||
+ 0x04000000,
|
||||
+ 0x00FF0000,
|
||||
0x00000000,
|
||||
- 0x90400000,
|
||||
- 0x00000820,
|
||||
+ 0x00004000,
|
||||
+ 0x00000800,
|
||||
0x80000001,
|
||||
- 0x38D612AF,
|
||||
- 0x86F8E38E,
|
||||
- 0x0A0A78B4,
|
||||
- 0x000D020A,
|
||||
+ 0x00041419,
|
||||
+ 0x40000000,
|
||||
+ 0x04000816,
|
||||
+ 0x000D0000,
|
||||
0x00006800,
|
||||
- 0x028A4320,
|
||||
- 0xEBB4D23D,
|
||||
- 0x8F65E791,
|
||||
- 0xA47A0F3C,
|
||||
- 0x0001A769,
|
||||
- 0x00410D00,
|
||||
+ 0x00000340,
|
||||
+ 0xD000001A,
|
||||
+ 0x06800000,
|
||||
+ 0x00340000,
|
||||
+ 0x0001A000,
|
||||
+ 0x00000D00,
|
||||
0x40000068,
|
||||
- 0x3D000003,
|
||||
- 0x91EBB4D2,
|
||||
- 0x3C8F65E7,
|
||||
- 0x69A47A0F,
|
||||
- 0x000001A7,
|
||||
+ 0x1A000003,
|
||||
+ 0x00D00000,
|
||||
+ 0x00068000,
|
||||
+ 0x00003400,
|
||||
+ 0x000001A0,
|
||||
+ 0x00000401,
|
||||
+ 0x00000008,
|
||||
0x00000401,
|
||||
0x00000008,
|
||||
0x00000401,
|
||||
0x00000008,
|
||||
- 0x00000540,
|
||||
- 0x000003A8,
|
||||
- 0x10AA0D40,
|
||||
- 0x8001C3A8,
|
||||
+ 0x00000401,
|
||||
+ 0x80000008,
|
||||
0x0000007F,
|
||||
+ 0x20000000,
|
||||
0x00000000,
|
||||
- 0x00004060,
|
||||
- 0xE1208000,
|
||||
+ 0xE0000080,
|
||||
0x0000001F,
|
||||
- 0x00004100,
|
||||
+ 0x00004000,
|
||||
};
|
||||
|
||||
diff --git a/board/altera/socfpga_cyclone5/pinmux_config.c b/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
index 730067e..cfd74cd 100644
|
||||
--- a/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
+++ b/board/altera/socfpga_cyclone5/pinmux_config.c
|
||||
@@ -23,7 +23,7 @@ unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
||||
0, /* EMACIO18 */
|
||||
0, /* EMACIO19 */
|
||||
3, /* FLASHIO0 */
|
||||
- 3, /* FLASHIO1 */
|
||||
+ 0, /* FLASHIO1 */
|
||||
3, /* FLASHIO2 */
|
||||
3, /* FLASHIO3 */
|
||||
0, /* FLASHIO4 */
|
||||
@@ -34,25 +34,25 @@ unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
||||
3, /* FLASHIO9 */
|
||||
3, /* FLASHIO10 */
|
||||
3, /* FLASHIO11 */
|
||||
- 3, /* GENERALIO0 */
|
||||
- 3, /* GENERALIO1 */
|
||||
- 3, /* GENERALIO2 */
|
||||
- 3, /* GENERALIO3 */
|
||||
- 3, /* GENERALIO4 */
|
||||
- 3, /* GENERALIO5 */
|
||||
- 3, /* GENERALIO6 */
|
||||
- 3, /* GENERALIO7 */
|
||||
- 3, /* GENERALIO8 */
|
||||
+ 0, /* GENERALIO0 */
|
||||
+ 1, /* GENERALIO1 */
|
||||
+ 1, /* GENERALIO2 */
|
||||
+ 1, /* GENERALIO3 */
|
||||
+ 1, /* GENERALIO4 */
|
||||
+ 0, /* GENERALIO5 */
|
||||
+ 0, /* GENERALIO6 */
|
||||
+ 0, /* GENERALIO7 */
|
||||
+ 0, /* GENERALIO8 */
|
||||
3, /* GENERALIO9 */
|
||||
3, /* GENERALIO10 */
|
||||
3, /* GENERALIO11 */
|
||||
3, /* GENERALIO12 */
|
||||
- 2, /* GENERALIO13 */
|
||||
- 2, /* GENERALIO14 */
|
||||
- 3, /* GENERALIO15 */
|
||||
- 3, /* GENERALIO16 */
|
||||
- 2, /* GENERALIO17 */
|
||||
- 2, /* GENERALIO18 */
|
||||
+ 0, /* GENERALIO13 */
|
||||
+ 0, /* GENERALIO14 */
|
||||
+ 1, /* GENERALIO15 */
|
||||
+ 1, /* GENERALIO16 */
|
||||
+ 1, /* GENERALIO17 */
|
||||
+ 1, /* GENERALIO18 */
|
||||
0, /* GENERALIO19 */
|
||||
0, /* GENERALIO20 */
|
||||
0, /* GENERALIO21 */
|
||||
diff --git a/board/altera/socfpga_cyclone5/pinmux_config.h b/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
index fb483ab..64c750a 100644
|
||||
--- a/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
+++ b/board/altera/socfpga_cyclone5/pinmux_config.h
|
||||
@@ -11,15 +11,15 @@
|
||||
#define CONFIG_HPS_UART0 (1)
|
||||
#define CONFIG_HPS_UART1 (0)
|
||||
#define CONFIG_HPS_TRACE (0)
|
||||
-#define CONFIG_HPS_I2C0 (1)
|
||||
-#define CONFIG_HPS_I2C1 (0)
|
||||
+#define CONFIG_HPS_I2C0 (0)
|
||||
+#define CONFIG_HPS_I2C1 (1)
|
||||
#define CONFIG_HPS_I2C2 (0)
|
||||
#define CONFIG_HPS_I2C3 (0)
|
||||
#define CONFIG_HPS_SPIM0 (1)
|
||||
-#define CONFIG_HPS_SPIM1 (0)
|
||||
+#define CONFIG_HPS_SPIM1 (1)
|
||||
#define CONFIG_HPS_SPIS0 (0)
|
||||
#define CONFIG_HPS_SPIS1 (0)
|
||||
-#define CONFIG_HPS_CAN0 (1)
|
||||
+#define CONFIG_HPS_CAN0 (0)
|
||||
#define CONFIG_HPS_CAN1 (0)
|
||||
|
||||
#define CONFIG_HPS_SDMMC_BUSWIDTH (4)
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sdram_config.h b/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
index b90d6f3..dd027ef 100755
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sdram_config.h
|
||||
@@ -4,16 +4,16 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMTYPE (2)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMBL (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ADDRORDER (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (1)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCCORREN (1)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (0)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCCORREN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_REORDEREN (1)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_STARVELIMIT (10)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_DQSTRKEN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_NODMPINS (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCWL (6)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCWL (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_AL (0)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCL (7)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRRD (4)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TCL (11)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRRD (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TFAW (12)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING1_TRFC (104)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TREFI (3120)
|
||||
@@ -21,7 +21,7 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TRP (6)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TWR (6)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING2_IF_TWTR (4)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP (4)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRAS (14)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRC (20)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TMRD (4)
|
||||
@@ -33,7 +33,7 @@
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_ROWBITS (15)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_BANKBITS (3)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_CSBITS (1)
|
||||
-#define CONFIG_HPS_SDR_CTRLCFG_DRAMIFWIDTH_IFWIDTH (40)
|
||||
+#define CONFIG_HPS_SDR_CTRLCFG_DRAMIFWIDTH_IFWIDTH (32)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMDEVWIDTH_DEVWIDTH (8)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_DRAMINTR_INTREN (0)
|
||||
#define CONFIG_HPS_SDR_CTRLCFG_STATICCFG_MEMBL (2)
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h b/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
index e8c5484..919676d 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_auto.h
|
||||
@@ -34,7 +34,7 @@
|
||||
#define __RW_MGR_ac_read_en 0x21
|
||||
#define __RW_MGR_ac_mrs3_mirr 0x0C
|
||||
#define __RW_MGR_ac_mrs2 0x05
|
||||
-#define __RW_MGR_CONTENT_ac_mrs1 0x10090044
|
||||
+#define __RW_MGR_CONTENT_ac_mrs1 0x10090006
|
||||
#define __RW_MGR_CONTENT_ac_mrs3 0x100B0000
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0_nodata_wl_1 0x18980000
|
||||
#define __RW_MGR_CONTENT_ac_act_1 0x106B0000
|
||||
@@ -46,8 +46,8 @@
|
||||
#define __RW_MGR_CONTENT_ac_init_reset_0_cke_0 0x20700000
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_1_norden 0x10580008
|
||||
#define __RW_MGR_CONTENT_ac_pre_all 0x10280400
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_user 0x10080431
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_dll_reset 0x10080530
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_user 0x10080471
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_dll_reset 0x10080570
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_0 0x13580000
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_1 0x1C980008
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_0_1 0x13580008
|
||||
@@ -55,21 +55,21 @@
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_1_col_1 0x1C9B0008
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0 0x1C980000
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_1_0 0x135B0000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs1_mirr 0x100A0024
|
||||
+#define __RW_MGR_CONTENT_ac_mrs1_mirr 0x100A0006
|
||||
#define __RW_MGR_CONTENT_ac_read_bank_1_1 0x135B0008
|
||||
#define __RW_MGR_CONTENT_ac_des_odt_1 0x38780000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_dll_reset_mirr 0x100804C8
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_dll_reset_mirr 0x100804E8
|
||||
#define __RW_MGR_CONTENT_ac_zqcl 0x10380400
|
||||
#define __RW_MGR_CONTENT_ac_write_predata 0x38F80000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs0_user_mirr 0x10080449
|
||||
+#define __RW_MGR_CONTENT_ac_mrs0_user_mirr 0x10080469
|
||||
#define __RW_MGR_CONTENT_ac_ref 0x10480000
|
||||
#define __RW_MGR_CONTENT_ac_nop 0x30780000
|
||||
#define __RW_MGR_CONTENT_ac_rdimm 0x10780000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs2_mirr 0x10090010
|
||||
+#define __RW_MGR_CONTENT_ac_mrs2_mirr 0x10090218
|
||||
#define __RW_MGR_CONTENT_ac_write_bank_0_col_0_nodata 0x18180000
|
||||
#define __RW_MGR_CONTENT_ac_read_en 0x33780000
|
||||
#define __RW_MGR_CONTENT_ac_mrs3_mirr 0x100B0000
|
||||
-#define __RW_MGR_CONTENT_ac_mrs2 0x100A0008
|
||||
+#define __RW_MGR_CONTENT_ac_mrs2 0x100A0218
|
||||
|
||||
#define __RW_MGR_READ_B2B_WAIT2 0x6A
|
||||
#define __RW_MGR_LFSR_WR_RD_BANK_0_WAIT 0x31
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c b/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
index e16efa1..20b4ca1 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_auto_ac_init.c
|
||||
@@ -6,16 +6,16 @@ const alt_u32 ac_rom_init[36] =
|
||||
{
|
||||
0x20700000,
|
||||
0x20780000,
|
||||
- 0x10080431,
|
||||
- 0x10080530,
|
||||
- 0x10090044,
|
||||
- 0x100a0008,
|
||||
+ 0x10080471,
|
||||
+ 0x10080570,
|
||||
+ 0x10090006,
|
||||
+ 0x100a0218,
|
||||
0x100b0000,
|
||||
0x10380400,
|
||||
- 0x10080449,
|
||||
- 0x100804c8,
|
||||
- 0x100a0024,
|
||||
- 0x10090010,
|
||||
+ 0x10080469,
|
||||
+ 0x100804e8,
|
||||
+ 0x100a0006,
|
||||
+ 0x10090218,
|
||||
0x100b0000,
|
||||
0x30780000,
|
||||
0x38780000,
|
||||
diff --git a/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h b/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
index 52faf3f..b85b85c 100644
|
||||
--- a/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
+++ b/board/altera/socfpga_cyclone5/sdram/sequencer_defines.h
|
||||
@@ -1,28 +1,28 @@
|
||||
#ifndef _SEQUENCER_DEFINES_H_
|
||||
#define _SEQUENCER_DEFINES_H_
|
||||
|
||||
-#define AC_ROM_MR1_MIRR 0000000100100
|
||||
+#define AC_ROM_MR1_MIRR 0000000000110
|
||||
#define AC_ROM_MR1_OCD_ENABLE
|
||||
-#define AC_ROM_MR2_MIRR 0000000010000
|
||||
+#define AC_ROM_MR2_MIRR 0001000011000
|
||||
#define AC_ROM_MR3_MIRR 0000000000000
|
||||
#define AC_ROM_MR0_CALIB
|
||||
-#define AC_ROM_MR0_DLL_RESET_MIRR 0010011001000
|
||||
-#define AC_ROM_MR0_DLL_RESET 0010100110000
|
||||
-#define AC_ROM_MR0_MIRR 0010001001001
|
||||
-#define AC_ROM_MR0 0010000110001
|
||||
-#define AC_ROM_MR1 0000001000100
|
||||
-#define AC_ROM_MR2 0000000001000
|
||||
+#define AC_ROM_MR0_DLL_RESET_MIRR 0010011101000
|
||||
+#define AC_ROM_MR0_DLL_RESET 0010101110000
|
||||
+#define AC_ROM_MR0_MIRR 0010001101001
|
||||
+#define AC_ROM_MR0 0010001110001
|
||||
+#define AC_ROM_MR1 0000000000110
|
||||
+#define AC_ROM_MR2 0001000011000
|
||||
#define AC_ROM_MR3 0000000000000
|
||||
#define AFI_CLK_FREQ 401
|
||||
#define AFI_RATE_RATIO 1
|
||||
#define ARRIAVGZ 0
|
||||
#define ARRIAV 0
|
||||
-#define AVL_CLK_FREQ 67
|
||||
+#define AVL_CLK_FREQ 81
|
||||
#define BFM_MODE 0
|
||||
#define BURST2 0
|
||||
#define CALIBRATE_BIT_SLIPS 0
|
||||
-#define CALIB_LFIFO_OFFSET 7
|
||||
-#define CALIB_VFIFO_OFFSET 5
|
||||
+#define CALIB_LFIFO_OFFSET 11
|
||||
+#define CALIB_VFIFO_OFFSET 9
|
||||
#define CYCLONEV 1
|
||||
#define DDR2 0
|
||||
#define DDR3 1
|
||||
@@ -89,20 +89,20 @@
|
||||
#define RW_MGR_MEM_CHIP_SELECT_WIDTH 1
|
||||
#define RW_MGR_MEM_CLK_EN_WIDTH 1
|
||||
#define RW_MGR_MEM_CONTROL_WIDTH 1
|
||||
-#define RW_MGR_MEM_DATA_MASK_WIDTH 5
|
||||
-#define RW_MGR_MEM_DATA_WIDTH 40
|
||||
+#define RW_MGR_MEM_DATA_MASK_WIDTH 4
|
||||
+#define RW_MGR_MEM_DATA_WIDTH 32
|
||||
#define RW_MGR_MEM_DQ_PER_READ_DQS 8
|
||||
#define RW_MGR_MEM_DQ_PER_WRITE_DQS 8
|
||||
-#define RW_MGR_MEM_IF_READ_DQS_WIDTH 5
|
||||
-#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 5
|
||||
+#define RW_MGR_MEM_IF_READ_DQS_WIDTH 4
|
||||
+#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 4
|
||||
#define RW_MGR_MEM_NUMBER_OF_CS_PER_DIMM 1
|
||||
#define RW_MGR_MEM_NUMBER_OF_RANKS 1
|
||||
#define RW_MGR_MEM_ODT_WIDTH 1
|
||||
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_READ_DQS 1
|
||||
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_WRITE_DQS 1
|
||||
#define RW_MGR_MR0_BL 1
|
||||
-#define RW_MGR_MR0_CAS_LATENCY 3
|
||||
-#define RW_MGR_TRUE_MEM_DATA_MASK_WIDTH 5
|
||||
+#define RW_MGR_MR0_CAS_LATENCY 7
|
||||
+#define RW_MGR_TRUE_MEM_DATA_MASK_WIDTH 4
|
||||
#define RW_MGR_WRITE_TO_DEBUG_READ 1.0
|
||||
#define SKEW_CALIBRATION 0
|
||||
#define STATIC_FULL_CALIBRATION 1
|
||||
--
|
||||
1.9.0
|
||||
|
||||
@@ -3,7 +3,7 @@ ARM software simulator of the AArch64 architecture.
|
||||
|
||||
First, one has to download the AArch64 software simulator from:
|
||||
|
||||
https://silver.arm.com/download/download.tm?pv=1509509
|
||||
https://silver.arm.com/download/download.tm?pv=1317469
|
||||
|
||||
Then, use the arm_foundationv8_defconfig configuration to build your
|
||||
Buildroot system.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
@@ -199,8 +200,6 @@ CONFIG_IMX_SDMA=y
|
||||
CONFIG_IMX_DMA=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_IIO=m
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_IMX=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_EXT3_FS_POSIX_ACL=y
|
||||
@@ -1,7 +1,10 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
@@ -14,8 +17,8 @@ CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_BSD_DISKLABEL=y
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
# CONFIG_ARCH_MULTI_V7 is not set
|
||||
CONFIG_ARCH_MXS=y
|
||||
CONFIG_MACH_MXS_DT=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
@@ -36,6 +39,8 @@ CONFIG_IP_PNP=y
|
||||
# CONFIG_INET_DIAG is not set
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_RAW=m
|
||||
CONFIG_CAN_BCM=m
|
||||
CONFIG_CAN_VCAN=m
|
||||
CONFIG_CAN_FLEXCAN=m
|
||||
CONFIG_BT=m
|
||||
@@ -55,11 +60,8 @@ CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_FW_LOADER=m
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_DATAFLASH=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
# CONFIG_M25PXX_USE_FAST_READ is not set
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_GPMI_NAND=y
|
||||
CONFIG_MTD_UBI=y
|
||||
@@ -81,18 +83,14 @@ CONFIG_RT73USB=m
|
||||
CONFIG_ZD1211RW=m
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_INPUT_UINPUT=m
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_SERIAL_MXS_AUART=y
|
||||
CONFIG_TTY_PRINTK=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
@@ -104,15 +102,11 @@ CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_HWMON=m
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_STMP3XXX_RTC_WATCHDOG=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_MEDIA_SUPPORT=m
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MXS=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_LCD_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
# CONFIG_BACKLIGHT_GENERIC is not set
|
||||
CONFIG_BACKLIGHT_PWM=y
|
||||
@@ -127,17 +121,17 @@ CONFIG_USB_DEBUG=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_PRINTER=y
|
||||
CONFIG_USB_WDM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_UDC=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_DEBUG_FILES=y
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_MXS=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
@@ -148,6 +142,7 @@ CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_STMP=y
|
||||
@@ -1,266 +0,0 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_BSD_DISKLABEL=y
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_ARCH_MXC=y
|
||||
CONFIG_MXC_IRQ_PRIOR=y
|
||||
CONFIG_MACH_IMX51_DT=y
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_STAT_DETAILS=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_CPU_FREQ_IMX=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
# CONFIG_SUSPEND is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_PNP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_RAW=m
|
||||
CONFIG_CAN_BCM=m
|
||||
CONFIG_CAN_VCAN=m
|
||||
CONFIG_CAN_MCP251X=m
|
||||
CONFIG_BT=m
|
||||
CONFIG_BT_L2CAP=y
|
||||
CONFIG_BT_SCO=y
|
||||
CONFIG_BT_RFCOMM=m
|
||||
CONFIG_BT_RFCOMM_TTY=y
|
||||
CONFIG_BT_BNEP=m
|
||||
CONFIG_BT_HIDP=m
|
||||
CONFIG_BT_HCIBTUSB=m
|
||||
CONFIG_BT_HCIUART=m
|
||||
CONFIG_BT_HCIUART_H4=y
|
||||
CONFIG_BT_HCIUART_BCSP=y
|
||||
CONFIG_CFG80211=m
|
||||
CONFIG_MAC80211=m
|
||||
CONFIG_MAC80211_RC_PID=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_FW_LOADER=m
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_MXC=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MISC_DEVICES=y
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_EEPROM_AT25=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_ST=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_CHR_DEV_SCH=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_SMSC_PHY=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_LIBERTAS=m
|
||||
CONFIG_LIBERTAS_SDIO=m
|
||||
CONFIG_RT2X00=m
|
||||
CONFIG_RT73USB=m
|
||||
CONFIG_ZD1211RW=m
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_KEYBOARD_GPIO=m
|
||||
CONFIG_KEYBOARD_IMX=m
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_WM831X=y
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_INPUT_UINPUT=m
|
||||
CONFIG_INPUT_WM831X_ON=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_8250=m
|
||||
CONFIG_SERIAL_IMX=y
|
||||
CONFIG_SERIAL_IMX_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_IMX=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_IMX=y
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_WM831X=m
|
||||
CONFIG_POWER_SUPPLY=m
|
||||
CONFIG_WM831X_BACKUP=m
|
||||
CONFIG_WM831X_POWER=m
|
||||
CONFIG_HWMON=m
|
||||
CONFIG_SENSORS_AS1531=m
|
||||
CONFIG_SENSORS_WM831X=m
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||
CONFIG_WM831X_WATCHDOG=m
|
||||
CONFIG_IMX2_WDT=y
|
||||
CONFIG_MFD_WM831X_I2C=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_MFD_IMX_IPU_V3=y
|
||||
CONFIG_MEDIA_SUPPORT=m
|
||||
CONFIG_VIDEO_DEV=m
|
||||
# CONFIG_RC_CORE is not set
|
||||
# CONFIG_MEDIA_TUNER_SIMPLE is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA8290 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA827X is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA18271 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA9887 is not set
|
||||
# CONFIG_MEDIA_TUNER_TEA5761 is not set
|
||||
# CONFIG_MEDIA_TUNER_TEA5767 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT20XX is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2060 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2266 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2131 is not set
|
||||
# CONFIG_MEDIA_TUNER_QT1010 is not set
|
||||
# CONFIG_MEDIA_TUNER_XC2028 is not set
|
||||
# CONFIG_MEDIA_TUNER_XC5000 is not set
|
||||
# CONFIG_MEDIA_TUNER_MXL5005S is not set
|
||||
# CONFIG_MEDIA_TUNER_MXL5007T is not set
|
||||
# CONFIG_MEDIA_TUNER_MC44S803 is not set
|
||||
# CONFIG_MEDIA_TUNER_MAX2165 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA18218 is not set
|
||||
CONFIG_VIDEO_VIVI=m
|
||||
CONFIG_USB_VIDEO_CLASS=m
|
||||
# CONFIG_RADIO_ADAPTERS is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MX5=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_8x8=y
|
||||
CONFIG_LOGO=y
|
||||
# CONFIG_LOGO_LINUX_MONO is not set
|
||||
# CONFIG_LOGO_LINUX_VGA16 is not set
|
||||
CONFIG_SOUND=m
|
||||
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_MIXER_OSS=m
|
||||
CONFIG_SND_PCM_OSS=m
|
||||
# CONFIG_SND_DRIVERS is not set
|
||||
# CONFIG_SND_ARM is not set
|
||||
# CONFIG_SND_SPI is not set
|
||||
# CONFIG_SND_USB is not set
|
||||
CONFIG_SND_SOC=m
|
||||
CONFIG_SND_IMX_SOC=m
|
||||
CONFIG_SND_SOC_APF51_DEV_WM8960=m
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_DEBUG=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
# CONFIG_USB_DEVICE_CLASS is not set
|
||||
CONFIG_USB_SUSPEND=y
|
||||
CONFIG_USB_OTG=y
|
||||
# CONFIG_USB_OTG_WHITELIST is not set
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_MXC=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_PRINTER=y
|
||||
CONFIG_USB_WDM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_PHY=y
|
||||
CONFIG_NOP_USB_XCEIV=y
|
||||
CONFIG_USB_GPIO_VBUS=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_GADGET=m
|
||||
CONFIG_USB_GADGET_DEBUG_FILES=y
|
||||
CONFIG_USB_GADGET_DEBUG_FS=y
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_SERIAL=m
|
||||
CONFIG_USB_CDC_COMPOSITE=m
|
||||
CONFIG_USB_G_MULTI=m
|
||||
CONFIG_USB_G_MULTI_CDC=y
|
||||
CONFIG_USB_G_HID=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_ESDHC_IMX=y
|
||||
CONFIG_MMC_SPI=m
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_WM831X_STATUS=m
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_MXC=y
|
||||
CONFIG_RTC_DRV_WM831X=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_IIO=m
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT2_FS_XATTR=y
|
||||
CONFIG_EXT2_FS_POSIX_ACL=y
|
||||
CONFIG_EXT2_FS_SECURITY=y
|
||||
CONFIG_EXT2_FS_XIP=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_EXT3_FS_POSIX_ACL=y
|
||||
CONFIG_EXT3_FS_SECURITY=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_ISO9660_FS=y
|
||||
CONFIG_JOLIET=y
|
||||
CONFIG_ZISOFS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CONFIG_JFFS2_LZO=y
|
||||
CONFIG_JFFS2_CMODE_NONE=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
@@ -1,73 +0,0 @@
|
||||
Atmel SAMA5D3 Xplained board
|
||||
============================
|
||||
|
||||
This document explains how to set up a basic Buildroot system on the
|
||||
Atmel SAMA5D3 Xplained board, whose main site is
|
||||
http://www.atmel.com/tools/ATSAMA5D3-XPLD.aspx. Additional details can
|
||||
also be found on the http://www.at91.com/linux4sam/bin/view/Linux4SAM/
|
||||
web site.
|
||||
|
||||
Note that the default Buildroot configuration is prepared to boot from
|
||||
an SD card: the first stage bootloader, second stage bootloader,
|
||||
kernel image and root filesystem are all located on the SD card. Some
|
||||
adjustements in the bootloader configuration will be needed to boot
|
||||
from NAND flash.
|
||||
|
||||
Configuring and building Buildroot
|
||||
----------------------------------
|
||||
|
||||
make atmel_xplained_defconfig
|
||||
make
|
||||
|
||||
Preparing the SD card
|
||||
---------------------
|
||||
|
||||
The SD card must be partitionned with at least two partitions: one
|
||||
FAT16 partition for the bootloaders, kernel image and Device Tree
|
||||
blob, and one ext4 partition for the root filesystem. To partition the
|
||||
SD card:
|
||||
|
||||
sudo sfdisk -uM /dev/mmcblk0 <<EOF
|
||||
,64,6
|
||||
;
|
||||
EOF
|
||||
|
||||
This creates a 64 MB partition for the FAT16 filesystem (type 6) and
|
||||
uses the rest for the ext4 filesystem used for the root filesystem.
|
||||
|
||||
Then, format both partitions:
|
||||
|
||||
sudo mkfs.msdos -n boot /dev/mmcblk0p1
|
||||
sudo mkfs.ext4 -L rootfs -O ^huge_file /dev/mmcblk0p2
|
||||
|
||||
Note: the -O ^huge_file option is needed to avoid enabling the huge
|
||||
files features of ext4 (to support files larges than 2 TB), which
|
||||
needs the kernel option CONFIG_LBDAF to be enabled.
|
||||
|
||||
Mount both partitions (if not done automatically by your system):
|
||||
|
||||
sudo mount /dev/mmcblk0p1 /media/boot
|
||||
sudo mount /dev/mmcblk0p2 /media/rootfs
|
||||
|
||||
Copy the bootloaders, kernel image and Device Tree blob to the first
|
||||
partition:
|
||||
|
||||
cp output/images/sama5d3_xplained-sdcardboot-uboot-3.6.2.bin /media/boot/boot.bin
|
||||
cp output/images/u-boot.bin /media/boot/u-boot.bin
|
||||
cp output/images/zImage /media/boot/zImage
|
||||
cp output/images/at91-sama5d3_xplained.dtb /media/boot/at91-sama5d3_xplained.dtb
|
||||
|
||||
Extract the root filesystem to the second partition:
|
||||
|
||||
sudo tar -C /media/rootfs -xf output/images/rootfs.tar
|
||||
|
||||
Unmount both partitions:
|
||||
|
||||
sudo umount /media/boot
|
||||
sudo umount /media/rootfs
|
||||
|
||||
Insert your SD card in your Xplained board, and enjoy. The default
|
||||
U-Boot environment will properly load the kernel and Device Tree blob
|
||||
from the first partition of the SD card, so everything works
|
||||
automatically.
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
This is the buildroot board support for the Avnet Zedboard. The Zedboard is
|
||||
a development board based on the Xilinx Zynq-7000 based All-Programmable
|
||||
System-On-Chip.
|
||||
|
||||
Zedboard information including schematics, reference designs, and manuals are
|
||||
available from http://www.zedboard.org .
|
||||
|
||||
The U-Boot firmware for the Xilinx Zynq All Programmable SoC depends
|
||||
on some propietary code. This dependency consists of a pair of
|
||||
files are available from the Xilinx SDK installation.
|
||||
|
||||
You will need these files from Xilinx SDK installation to generate
|
||||
the U-Boot firmware:
|
||||
ps7_init.c
|
||||
ps7_init.h
|
||||
|
||||
Buildroot will create the following files and place them in the
|
||||
<output>/images directory.
|
||||
zynq-zed.dtb
|
||||
rootfs.cpio.uboot
|
||||
uImage
|
||||
u-boot.img
|
||||
boot.bin
|
||||
|
||||
|
||||
uboot.bin -- U-Boot SPL w/ Xilinx boot.bin wrapper
|
||||
---------------------------------------------------
|
||||
|
||||
Due to licensing issues, the files ps7_init.c/h are not able to be
|
||||
distributed with the U-Boot source code. These files are required to make a
|
||||
boot.bin file.
|
||||
|
||||
If you already have the Xilinx tools installed, the following sequence will
|
||||
unpack, patch and build the rfs, kernel, uboot, and uboot-spl.
|
||||
|
||||
make zedboard_defconfig
|
||||
make uboot-patch
|
||||
cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \
|
||||
output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/
|
||||
|
||||
After copying these files into the U-Boot source tree, you can
|
||||
continue the build with:
|
||||
|
||||
make
|
||||
|
||||
*Notice*
|
||||
While the build will successfully complete without the ps7_init.*
|
||||
files, the uboot.bin file generated by this configuration will not
|
||||
function properly on the Zedboard. Therefore, it is imperative that
|
||||
the ps7_init.* files be copied into the U-Boot source tree any time
|
||||
the clean, or uboot-dirclean targets are made.
|
||||
|
||||
|
||||
Resulting system
|
||||
----------------
|
||||
A FAT32 partition should be created at the beggining of the SD Card
|
||||
and the following files should be installed:
|
||||
/boot.bin
|
||||
/devicetree.dtb
|
||||
/uImage
|
||||
/uramdisk.image.gz
|
||||
/u-boot.img
|
||||
|
||||
|
||||
All needed files can be taken from output/images/
|
||||
|
||||
boot.bin, uImage and u-boot.img are direct copies of the same files
|
||||
available on output/images/
|
||||
|
||||
devicetree.dtb is just zynq-zed.dtb renamed.
|
||||
|
||||
uramdisk.image.gz is rootfs.cpio.uboot renamed
|
||||
@@ -1,3 +1,5 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_DEFAULT_HOSTNAME="beaglebone"
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
@@ -7,67 +9,39 @@ CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=16
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=m
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_ARCH_OMAP2PLUS=y
|
||||
CONFIG_ARCH_OMAP=y
|
||||
CONFIG_OMAP_RESET_CLOCKS=y
|
||||
CONFIG_OMAP_MUX_DEBUG=y
|
||||
CONFIG_ARCH_OMAP3=y
|
||||
CONFIG_ARCH_OMAP4=y
|
||||
CONFIG_SOC_AM43XX=y
|
||||
# CONFIG_ARCH_OMAP2PLUS_TYPICAL is not set
|
||||
# CONFIG_SOC_TI81XX is not set
|
||||
# CONFIG_MACH_OMAP3_BEAGLE is not set
|
||||
# CONFIG_MACH_DEVKIT8000 is not set
|
||||
# CONFIG_MACH_OMAP_LDP is not set
|
||||
# CONFIG_MACH_OMAP3530_LV_SOM is not set
|
||||
# CONFIG_MACH_OMAP3_TORPEDO is not set
|
||||
# CONFIG_MACH_OVERO is not set
|
||||
# CONFIG_MACH_OMAP3EVM is not set
|
||||
# CONFIG_MACH_OMAP3_PANDORA is not set
|
||||
# CONFIG_MACH_TOUCHBOOK is not set
|
||||
# CONFIG_MACH_OMAP_3430SDP is not set
|
||||
# CONFIG_MACH_NOKIA_RM680 is not set
|
||||
# CONFIG_MACH_NOKIA_RX51 is not set
|
||||
# CONFIG_MACH_OMAP_ZOOM2 is not set
|
||||
# CONFIG_MACH_OMAP_ZOOM3 is not set
|
||||
# CONFIG_MACH_CM_T35 is not set
|
||||
# CONFIG_MACH_CM_T3517 is not set
|
||||
# CONFIG_MACH_IGEP0020 is not set
|
||||
# CONFIG_MACH_IGEP0030 is not set
|
||||
# CONFIG_MACH_SBC3530 is not set
|
||||
# CONFIG_MACH_OMAP_3630SDP is not set
|
||||
# CONFIG_ARCH_OMAP2 is not set
|
||||
# CONFIG_ARCH_OMAP3 is not set
|
||||
# CONFIG_ARCH_OMAP4 is not set
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_HAVE_ARM_ARCH_TIMER=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_ARM_ERRATA_720789=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_STAT_DETAILS=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_GENERIC_CPUFREQ_CPU0=y
|
||||
# CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
|
||||
CONFIG_FPE_NWFPE=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
@@ -87,41 +61,42 @@ CONFIG_IP_PNP_RARP=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_OMAP_OCP2SCP=y
|
||||
CONFIG_OMAP_INTERCONNECT=y
|
||||
CONFIG_CONNECTOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=16384
|
||||
CONFIG_CROSSBAR=y
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
CONFIG_MD=y
|
||||
CONFIG_ATA=y
|
||||
# CONFIG_SATA_PMP is not set
|
||||
CONFIG_SATA_AHCI_PLATFORM=m
|
||||
# CONFIG_ATA_SFF is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_CADENCE is not set
|
||||
CONFIG_MII=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_TI_CPSW=y
|
||||
CONFIG_TI_CPTS=y
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_AT803X_PHY=y
|
||||
CONFIG_SMSC_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_POLLDEV=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_SERIO_LIBPS2=y
|
||||
CONFIG_INPUT_MISC=y
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
@@ -131,15 +106,11 @@ 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_OMAP=y
|
||||
CONFIG_SERIAL_OMAP_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_OMAP=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_OMAP24XX=y
|
||||
CONFIG_SPI_TI_QSPI=y
|
||||
CONFIG_DEBUG_PINCTRL=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
@@ -149,41 +120,27 @@ CONFIG_THERMAL=y
|
||||
CONFIG_THERMAL_GOV_FAIR_SHARE=y
|
||||
CONFIG_THERMAL_GOV_USER_SPACE=y
|
||||
CONFIG_CPU_THERMAL=y
|
||||
CONFIG_TI_SOC_THERMAL=y
|
||||
CONFIG_TI_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_OMAP_WATCHDOG=y
|
||||
CONFIG_MFD_SYSCON=y
|
||||
CONFIG_MFD_TPS65217=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_REGULATOR_PBIAS=y
|
||||
CONFIG_REGULATOR_TPS65023=y
|
||||
CONFIG_REGULATOR_TPS6507X=y
|
||||
CONFIG_REGULATOR_TPS65217=y
|
||||
CONFIG_REGULATOR_TIAVSCLASS0=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FIRMWARE_EDID=y
|
||||
CONFIG_FB_DA8XX=y
|
||||
CONFIG_FB_DA8XX_TDA998X=y
|
||||
CONFIG_OMAP2_DSS=y
|
||||
CONFIG_OMAP2_DSS_SDI=y
|
||||
CONFIG_OMAP2_DSS_DSI=y
|
||||
CONFIG_FB_OMAP2=y
|
||||
CONFIG_DISPLAY_CONNECTOR_HDMI=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_SUSPEND=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_MUSB_HDRC=m
|
||||
CONFIG_USB_MUSB_OMAP2PLUS=m
|
||||
CONFIG_USB_MUSB_DSPS=m
|
||||
CONFIG_USB_TI_CPPI41_DMA=y
|
||||
CONFIG_USB_MUSB_AM35X=m
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_AM335X_PHY_USB=y
|
||||
CONFIG_USB_TEST=y
|
||||
CONFIG_OMAP_USB2=m
|
||||
CONFIG_OMAP_USB3=m
|
||||
CONFIG_OMAP_CONTROL_USB=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_DEBUG=y
|
||||
CONFIG_USB_GADGET_DEBUG_FILES=y
|
||||
CONFIG_USB_GADGET_DEBUG_FS=y
|
||||
CONFIG_USB_ZERO=m
|
||||
CONFIG_USB_ETH=m
|
||||
@@ -195,7 +152,6 @@ CONFIG_MMC=y
|
||||
CONFIG_MMC_UNSAFE_RESUME=y
|
||||
CONFIG_SDIO_UART=y
|
||||
CONFIG_MMC_OMAP=y
|
||||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
@@ -212,10 +168,7 @@ CONFIG_RTC_DRV_OMAP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_TI_EDMA=y
|
||||
CONFIG_DMA_OMAP=y
|
||||
CONFIG_TI_CPPI41=y
|
||||
CONFIG_COMMON_CLK_DEBUG=y
|
||||
CONFIG_OMAP_USB2=y
|
||||
CONFIG_OMAP_PIPE3=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_FS_XATTR is not set
|
||||
@@ -225,24 +178,23 @@ CONFIG_QFMT_V2=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_SCHEDSTATS=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_PROVE_LOCKING=y
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_CRYPTO_MANAGER=m
|
||||
CONFIG_CRYPTO_SHA256=m
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
@@ -1,34 +0,0 @@
|
||||
From 29885f2f3d700341d322274db6ad085e601c0994 Mon Sep 17 00:00:00 2001
|
||||
From: Pantelis Antoniou <panto@antoniou-consulting.com>
|
||||
Date: Fri, 4 Jan 2013 00:32:33 +0200
|
||||
Subject: [PATCH 3/3] arm: Export cache flush management symbols when
|
||||
!MULTI_CACHE
|
||||
|
||||
When compiling a kernel without CONFIG_MULTI_CACHE enabled the
|
||||
dma access functions end up not being exported. Fix it.
|
||||
|
||||
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
|
||||
---
|
||||
arch/arm/kernel/setup.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
|
||||
index da1d1aa..dcb678c 100644
|
||||
--- a/arch/arm/kernel/setup.c
|
||||
+++ b/arch/arm/kernel/setup.c
|
||||
@@ -923,3 +923,12 @@ const struct seq_operations cpuinfo_op = {
|
||||
.stop = c_stop,
|
||||
.show = c_show
|
||||
};
|
||||
+
|
||||
+/* export the cache management functions */
|
||||
+#ifndef MULTI_CACHE
|
||||
+
|
||||
+EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
|
||||
+EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
|
||||
+EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
BIN
board/boundarydevices/nitrogen6x/6q_bootscript
Normal file
BIN
board/boundarydevices/nitrogen6x/6q_bootscript
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,18 +1,18 @@
|
||||
#!/bin/sh
|
||||
# post-build fixups
|
||||
# for further details, see
|
||||
#
|
||||
# http://boundarydevices.com/u-boot-on-i-mx6/
|
||||
#
|
||||
# for furthe details, see
|
||||
# http://boundarydevices.com/u-boot-conventions-for-i-mx6-nitrogen6x-and-sabrelite/
|
||||
|
||||
TARGET_DIR=$1
|
||||
IMAGES_DIR=$1/../images
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
# bd u-boot looks for bootscript here
|
||||
cp $BOARD_DIR/6x_bootscript $TARGET_DIR
|
||||
cp $BOARD_DIR/6q_bootscript $TARGET_DIR
|
||||
|
||||
# u-boot / update script for bd upgradeu command
|
||||
if [ -e $BINARIES_DIR/u-boot.imx ];
|
||||
if [ -e $IMAGES_DIR/u-boot.bin ];
|
||||
then
|
||||
cp $BINARIES_DIR/u-boot.imx $TARGET_DIR
|
||||
cp $BOARD_DIR/6x_upgrade $TARGET_DIR
|
||||
cp $IMAGES_DIR/u-boot.bin $TARGET_DIR
|
||||
cp $BOARD_DIR/6q_upgrade $TARGET_DIR
|
||||
fi
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
set bootargs console=ttymxc1,115200 root=/dev/mmcblk0p1 rootwait consoleblank=0
|
||||
${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
TARGET_DIR=$1
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "boot script" \
|
||||
-d $BOARD_DIR/6q_bootscript.txt $TARGET_DIR/6q_bootscript
|
||||
@@ -1,36 +0,0 @@
|
||||
This is the minimal buildroot support for the Congatec QMX6 Qseven CoM
|
||||
|
||||
conga-QMX6 is based on the freescale iMX6 SoC. For more information please
|
||||
have a look at http://www.congatec.com/products/qseven/conga-qmx6.html
|
||||
|
||||
The configuration is based on the currently latest kernel release from
|
||||
Congatec's git repository which is based on 3.0.35. The bootloader u-boot
|
||||
is preconfigured on the CPU module and does not need to be replaced.
|
||||
|
||||
To build the default configuration you only have to:
|
||||
|
||||
make qmx6_defconfig && make
|
||||
|
||||
You will need a microSD card of sufficient size and the first or only
|
||||
partition configured as Linux type.
|
||||
|
||||
To transfer the system to the card do:
|
||||
|
||||
$ sudo dd if=output/images/rootfs.ext2 of=/dev/sdX1
|
||||
|
||||
You can optionally extend the filesystem size to the whole partition:
|
||||
|
||||
$ sudo resize2fs /dev/sdX1
|
||||
|
||||
You can also update the card image without completely rewriting it:
|
||||
|
||||
$ sudo mount /dev/sdX1 /mnt
|
||||
$ sudo tar xf output/images/rootfs.tar -C /mnt
|
||||
$ sudo umount /mnt
|
||||
|
||||
Connect a terminal program to the rs232 connector marked "CONSOLE"
|
||||
with baudrate set to 115200, insert the microSD card into the socket
|
||||
on the CPU module and power the board to watch the system boot.
|
||||
|
||||
Booting from the SD card slot on the base board is currently not
|
||||
supported.
|
||||
@@ -1,749 +0,0 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=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_AUDIT=y
|
||||
CONFIG_IRQ_DOMAIN_DEBUG=y
|
||||
CONFIG_RCU_FAST_NO_HZ=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=19
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_RESOURCE_COUNTERS=y
|
||||
CONFIG_CGROUP_MEM_RES_CTLR=y
|
||||
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
|
||||
CONFIG_CGROUP_MEM_RES_CTLR_KMEM=y
|
||||
CONFIG_CGROUP_PERF=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_CFS_BANDWIDTH=y
|
||||
CONFIG_RT_GROUP_SCHED=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_PERF_COUNTERS=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
CONFIG_BLK_DEV_BSGLIB=y
|
||||
CONFIG_BLK_DEV_INTEGRITY=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_OSF_PARTITION=y
|
||||
CONFIG_AMIGA_PARTITION=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_BSD_DISKLABEL=y
|
||||
CONFIG_MINIX_SUBPARTITION=y
|
||||
CONFIG_SOLARIS_X86_PARTITION=y
|
||||
CONFIG_UNIXWARE_DISKLABEL=y
|
||||
CONFIG_SGI_PARTITION=y
|
||||
CONFIG_SUN_PARTITION=y
|
||||
CONFIG_KARMA_PARTITION=y
|
||||
CONFIG_EFI_PARTITION=y
|
||||
CONFIG_CFQ_GROUP_IOSCHED=y
|
||||
CONFIG_ARCH_SUN7I=y
|
||||
CONFIG_SUNXI_SCALING_MIN=408
|
||||
# CONFIG_CACHE_L2X0 is not set
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_COMPACTION=y
|
||||
CONFIG_KSM=y
|
||||
CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/mmc0p1 rw init=/init loglevel=8"
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_STAT=m
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_FANTASY=y
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=m
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
|
||||
CONFIG_CPU_FREQ_USR_EVNT_NOTIFY=y
|
||||
CONFIG_CPU_FREQ_DVFS=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_FIB_TRIE_STATS=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_ROUTE_MULTIPATH=y
|
||||
CONFIG_IP_ROUTE_VERBOSE=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IP_PNP_RARP=y
|
||||
CONFIG_NET_IPIP=y
|
||||
CONFIG_NET_IPGRE_DEMUX=m
|
||||
CONFIG_NET_IPGRE=m
|
||||
CONFIG_NET_IPGRE_BROADCAST=y
|
||||
CONFIG_IP_MROUTE=y
|
||||
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_PIMSM_V1=y
|
||||
CONFIG_IP_PIMSM_V2=y
|
||||
CONFIG_ARPD=y
|
||||
CONFIG_SYN_COOKIES=y
|
||||
CONFIG_INET_AH=y
|
||||
CONFIG_INET_ESP=y
|
||||
CONFIG_INET_IPCOMP=y
|
||||
CONFIG_INET_DIAG=m
|
||||
CONFIG_INET_UDP_DIAG=m
|
||||
CONFIG_TCP_CONG_ADVANCED=y
|
||||
CONFIG_TCP_CONG_BIC=y
|
||||
CONFIG_TCP_CONG_WESTWOOD=y
|
||||
CONFIG_TCP_CONG_HTCP=y
|
||||
CONFIG_TCP_CONG_HSTCP=y
|
||||
CONFIG_TCP_CONG_HYBLA=y
|
||||
CONFIG_TCP_CONG_SCALABLE=y
|
||||
CONFIG_TCP_CONG_LP=y
|
||||
CONFIG_TCP_CONG_VENO=y
|
||||
CONFIG_TCP_CONG_YEAH=y
|
||||
CONFIG_TCP_CONG_ILLINOIS=y
|
||||
CONFIG_TCP_MD5SIG=y
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_IPV6_PRIVACY=y
|
||||
CONFIG_IPV6_ROUTER_PREF=y
|
||||
CONFIG_IPV6_ROUTE_INFO=y
|
||||
CONFIG_IPV6_OPTIMISTIC_DAD=y
|
||||
CONFIG_INET6_AH=m
|
||||
CONFIG_INET6_ESP=m
|
||||
CONFIG_INET6_IPCOMP=m
|
||||
CONFIG_IPV6_MIP6=m
|
||||
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
|
||||
CONFIG_INET6_XFRM_MODE_TUNNEL=m
|
||||
CONFIG_INET6_XFRM_MODE_BEET=m
|
||||
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
|
||||
CONFIG_IPV6_SIT=m
|
||||
CONFIG_IPV6_SIT_6RD=y
|
||||
CONFIG_IPV6_TUNNEL=m
|
||||
CONFIG_IPV6_MULTIPLE_TABLES=y
|
||||
CONFIG_IPV6_SUBTREES=y
|
||||
CONFIG_IPV6_MROUTE=y
|
||||
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
|
||||
CONFIG_IPV6_PIMSM_V2=y
|
||||
# CONFIG_ANDROID_PARANOID_NETWORK is not set
|
||||
CONFIG_NETWORK_SECMARK=y
|
||||
CONFIG_NETWORK_PHY_TIMESTAMPING=y
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NF_CONNTRACK=m
|
||||
CONFIG_NF_CONNTRACK_SECMARK=y
|
||||
CONFIG_NF_CONNTRACK_ZONES=y
|
||||
CONFIG_NF_CONNTRACK_EVENTS=y
|
||||
CONFIG_NF_CONNTRACK_TIMEOUT=y
|
||||
CONFIG_NF_CONNTRACK_TIMESTAMP=y
|
||||
CONFIG_NF_CT_PROTO_DCCP=m
|
||||
CONFIG_NF_CT_PROTO_SCTP=m
|
||||
CONFIG_NF_CT_PROTO_UDPLITE=m
|
||||
CONFIG_NF_CONNTRACK_AMANDA=m
|
||||
CONFIG_NF_CONNTRACK_FTP=m
|
||||
CONFIG_NF_CONNTRACK_H323=m
|
||||
CONFIG_NF_CONNTRACK_IRC=m
|
||||
CONFIG_NF_CONNTRACK_NETBIOS_NS=m
|
||||
CONFIG_NF_CONNTRACK_SNMP=m
|
||||
CONFIG_NF_CONNTRACK_PPTP=m
|
||||
CONFIG_NF_CONNTRACK_SANE=m
|
||||
CONFIG_NF_CONNTRACK_SIP=m
|
||||
CONFIG_NF_CONNTRACK_TFTP=m
|
||||
CONFIG_NF_CT_NETLINK=m
|
||||
CONFIG_NF_CT_NETLINK_TIMEOUT=m
|
||||
CONFIG_NETFILTER_TPROXY=m
|
||||
CONFIG_NETFILTER_XT_SET=m
|
||||
CONFIG_NETFILTER_XT_TARGET_AUDIT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_DSCP=m
|
||||
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LED=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_MARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TEE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TPROXY=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TRACE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_SECMARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CPU=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DCCP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DSCP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_ESP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_HELPER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPVS=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MARK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_NFACCT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_OSF=m
|
||||
CONFIG_NETFILTER_XT_MATCH_OWNER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_POLICY=m
|
||||
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
|
||||
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
|
||||
CONFIG_NETFILTER_XT_MATCH_QUOTA2=m
|
||||
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
|
||||
CONFIG_NETFILTER_XT_MATCH_REALM=m
|
||||
CONFIG_NETFILTER_XT_MATCH_RECENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_SCTP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_SOCKET=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STRING=m
|
||||
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
|
||||
CONFIG_NETFILTER_XT_MATCH_TIME=m
|
||||
CONFIG_NETFILTER_XT_MATCH_U32=m
|
||||
CONFIG_IP_SET=m
|
||||
CONFIG_IP_SET_BITMAP_IP=m
|
||||
CONFIG_IP_SET_BITMAP_IPMAC=m
|
||||
CONFIG_IP_SET_BITMAP_PORT=m
|
||||
CONFIG_IP_SET_HASH_IP=m
|
||||
CONFIG_IP_SET_HASH_IPPORT=m
|
||||
CONFIG_IP_SET_HASH_IPPORTIP=m
|
||||
CONFIG_IP_SET_HASH_IPPORTNET=m
|
||||
CONFIG_IP_SET_HASH_NET=m
|
||||
CONFIG_IP_SET_HASH_NETPORT=m
|
||||
CONFIG_IP_SET_HASH_NETIFACE=m
|
||||
CONFIG_IP_SET_LIST_SET=m
|
||||
CONFIG_IP_VS=m
|
||||
CONFIG_IP_VS_IPV6=y
|
||||
CONFIG_IP_VS_PROTO_TCP=y
|
||||
CONFIG_IP_VS_PROTO_UDP=y
|
||||
CONFIG_IP_VS_PROTO_ESP=y
|
||||
CONFIG_IP_VS_PROTO_AH=y
|
||||
CONFIG_IP_VS_PROTO_SCTP=y
|
||||
CONFIG_IP_VS_RR=m
|
||||
CONFIG_IP_VS_WRR=m
|
||||
CONFIG_IP_VS_LC=m
|
||||
CONFIG_IP_VS_WLC=m
|
||||
CONFIG_IP_VS_LBLC=m
|
||||
CONFIG_IP_VS_LBLCR=m
|
||||
CONFIG_IP_VS_DH=m
|
||||
CONFIG_IP_VS_SH=m
|
||||
CONFIG_IP_VS_SED=m
|
||||
CONFIG_IP_VS_NQ=m
|
||||
CONFIG_IP_VS_FTP=m
|
||||
CONFIG_IP_VS_PE_SIP=m
|
||||
CONFIG_NF_CONNTRACK_IPV4=m
|
||||
CONFIG_IP_NF_QUEUE=m
|
||||
CONFIG_IP_NF_IPTABLES=m
|
||||
CONFIG_IP_NF_MATCH_AH=m
|
||||
CONFIG_IP_NF_MATCH_ECN=m
|
||||
CONFIG_IP_NF_MATCH_RPFILTER=m
|
||||
CONFIG_IP_NF_MATCH_TTL=m
|
||||
CONFIG_IP_NF_FILTER=m
|
||||
CONFIG_IP_NF_TARGET_REJECT=m
|
||||
CONFIG_IP_NF_TARGET_REJECT_SKERR=y
|
||||
CONFIG_IP_NF_TARGET_ULOG=m
|
||||
CONFIG_NF_NAT=m
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_IP_NF_TARGET_NETMAP=m
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=m
|
||||
CONFIG_IP_NF_MANGLE=m
|
||||
CONFIG_IP_NF_TARGET_CLUSTERIP=m
|
||||
CONFIG_IP_NF_TARGET_ECN=m
|
||||
CONFIG_IP_NF_TARGET_TTL=m
|
||||
CONFIG_IP_NF_RAW=m
|
||||
CONFIG_IP_NF_ARPTABLES=m
|
||||
CONFIG_IP_NF_ARPFILTER=m
|
||||
CONFIG_IP_NF_ARP_MANGLE=m
|
||||
CONFIG_NF_CONNTRACK_IPV6=m
|
||||
CONFIG_IP6_NF_QUEUE=m
|
||||
CONFIG_IP6_NF_IPTABLES=m
|
||||
CONFIG_IP6_NF_MATCH_AH=m
|
||||
CONFIG_IP6_NF_MATCH_EUI64=m
|
||||
CONFIG_IP6_NF_MATCH_FRAG=m
|
||||
CONFIG_IP6_NF_MATCH_OPTS=m
|
||||
CONFIG_IP6_NF_MATCH_HL=m
|
||||
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
|
||||
CONFIG_IP6_NF_MATCH_MH=m
|
||||
CONFIG_IP6_NF_MATCH_RPFILTER=m
|
||||
CONFIG_IP6_NF_MATCH_RT=m
|
||||
CONFIG_IP6_NF_TARGET_HL=m
|
||||
CONFIG_IP6_NF_FILTER=m
|
||||
CONFIG_IP6_NF_TARGET_REJECT=m
|
||||
CONFIG_IP6_NF_TARGET_REJECT_SKERR=y
|
||||
CONFIG_IP6_NF_MANGLE=m
|
||||
CONFIG_IP6_NF_RAW=m
|
||||
CONFIG_BRIDGE_NF_EBTABLES=m
|
||||
CONFIG_BRIDGE_EBT_BROUTE=m
|
||||
CONFIG_BRIDGE_EBT_T_FILTER=m
|
||||
CONFIG_BRIDGE_EBT_T_NAT=m
|
||||
CONFIG_BRIDGE_EBT_802_3=m
|
||||
CONFIG_BRIDGE_EBT_AMONG=m
|
||||
CONFIG_BRIDGE_EBT_ARP=m
|
||||
CONFIG_BRIDGE_EBT_IP=m
|
||||
CONFIG_BRIDGE_EBT_IP6=m
|
||||
CONFIG_BRIDGE_EBT_LIMIT=m
|
||||
CONFIG_BRIDGE_EBT_MARK=m
|
||||
CONFIG_BRIDGE_EBT_PKTTYPE=m
|
||||
CONFIG_BRIDGE_EBT_STP=m
|
||||
CONFIG_BRIDGE_EBT_VLAN=m
|
||||
CONFIG_BRIDGE_EBT_ARPREPLY=m
|
||||
CONFIG_BRIDGE_EBT_DNAT=m
|
||||
CONFIG_BRIDGE_EBT_MARK_T=m
|
||||
CONFIG_BRIDGE_EBT_REDIRECT=m
|
||||
CONFIG_BRIDGE_EBT_SNAT=m
|
||||
CONFIG_BRIDGE_EBT_LOG=m
|
||||
CONFIG_BRIDGE_EBT_ULOG=m
|
||||
CONFIG_BRIDGE_EBT_NFLOG=m
|
||||
CONFIG_L2TP=m
|
||||
CONFIG_L2TP_V3=y
|
||||
CONFIG_L2TP_IP=m
|
||||
CONFIG_L2TP_ETH=m
|
||||
CONFIG_BRIDGE=m
|
||||
CONFIG_VLAN_8021Q=m
|
||||
CONFIG_VLAN_8021Q_GVRP=y
|
||||
CONFIG_BATMAN_ADV=m
|
||||
CONFIG_OPENVSWITCH=m
|
||||
CONFIG_NETPRIO_CGROUP=m
|
||||
CONFIG_NET_PKTGEN=m
|
||||
CONFIG_IRDA=m
|
||||
CONFIG_IRLAN=m
|
||||
CONFIG_IRNET=m
|
||||
CONFIG_IRCOMM=m
|
||||
CONFIG_IRDA_ULTRA=y
|
||||
CONFIG_IRTTY_SIR=m
|
||||
CONFIG_KINGSUN_DONGLE=m
|
||||
CONFIG_KSDAZZLE_DONGLE=m
|
||||
CONFIG_KS959_DONGLE=m
|
||||
CONFIG_USB_IRDA=m
|
||||
CONFIG_SIGMATEL_FIR=m
|
||||
CONFIG_MCS_FIR=m
|
||||
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_HCIBTSDIO=m
|
||||
CONFIG_BT_HCIBCM203X=m
|
||||
CONFIG_BT_HCIBPA10X=m
|
||||
CONFIG_BT_HCIBFUSB=m
|
||||
CONFIG_BT_MRVL=m
|
||||
CONFIG_BT_MRVL_SDIO=m
|
||||
CONFIG_BT_ATH3K=m
|
||||
CONFIG_AF_RXRPC=m
|
||||
CONFIG_RXKAD=m
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
|
||||
CONFIG_WIRELESS_EXT_SYSFS=y
|
||||
CONFIG_LIB80211=m
|
||||
CONFIG_CFG80211_ALLOW_RECONNECT=y
|
||||
CONFIG_MAC80211=m
|
||||
CONFIG_MAC80211_MESH=y
|
||||
CONFIG_WIMAX=m
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
||||
CONFIG_CONNECTOR=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_CRYPTOLOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=2
|
||||
CONFIG_SUNXI_DBGREG=m
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_BLK_DEV_SR_VENDOR=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI_PLATFORM=y
|
||||
CONFIG_SW_SATA_AHCI_PLATFORM=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_BONDING=m
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_SUNXI_EMAC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PPP=m
|
||||
CONFIG_PPP_BSDCOMP=m
|
||||
CONFIG_PPP_DEFLATE=m
|
||||
CONFIG_PPP_FILTER=y
|
||||
CONFIG_PPP_MPPE=m
|
||||
CONFIG_PPP_MULTILINK=y
|
||||
CONFIG_PPPOE=m
|
||||
CONFIG_PPPOLAC=m
|
||||
CONFIG_PPPOPNS=m
|
||||
CONFIG_PPP_ASYNC=m
|
||||
CONFIG_PPP_SYNC_TTY=m
|
||||
CONFIG_USB_IPHETH=m
|
||||
CONFIG_ATH_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTL8192CU_SW=m
|
||||
CONFIG_RTL8188EU=m
|
||||
CONFIG_RTXX7X_SW=m
|
||||
CONFIG_INPUT_POLLDEV=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_INPUT_KEYRESET=y
|
||||
CONFIG_KEYBOARD_HV2605_KEYBOARD=m
|
||||
CONFIG_INPUT_JOYSTICK=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_GT801=m
|
||||
CONFIG_TOUCHSCREEN_GT811=m
|
||||
CONFIG_TOUCHSCREEN_GT818=m
|
||||
CONFIG_TOUCHSCREEN_FT5X_TS=m
|
||||
CONFIG_TOUCHSCREEN_ZT8031=m
|
||||
CONFIG_GSENSOR=y
|
||||
CONFIG_SENSORS_BMA250=m
|
||||
CONFIG_MEMSIC_ECOMPASS=m
|
||||
CONFIG_SENSORS_MXC622X=m
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_NONSTANDARD=y
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=8
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=8
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_DEBUG=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_SUNXI=m
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_AW_AXP=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
CONFIG_VIDEO_DEV=y
|
||||
CONFIG_MEDIA_TUNER_CUSTOMISE=y
|
||||
# CONFIG_MEDIA_TUNER_SIMPLE is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA8290 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA827X is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA18271 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA9887 is not set
|
||||
# CONFIG_MEDIA_TUNER_TEA5767 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT20XX is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2060 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2266 is not set
|
||||
# CONFIG_MEDIA_TUNER_MT2131 is not set
|
||||
# CONFIG_MEDIA_TUNER_QT1010 is not set
|
||||
# CONFIG_MEDIA_TUNER_MXL5005S is not set
|
||||
# CONFIG_MEDIA_TUNER_MXL5007T is not set
|
||||
# CONFIG_MEDIA_TUNER_MC44S803 is not set
|
||||
# CONFIG_MEDIA_TUNER_MAX2165 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA18218 is not set
|
||||
# CONFIG_MEDIA_TUNER_TDA18212 is not set
|
||||
CONFIG_USB_VIDEO_CLASS=m
|
||||
CONFIG_USB_M5602=m
|
||||
CONFIG_USB_STV06XX=m
|
||||
CONFIG_USB_GL860=m
|
||||
CONFIG_USB_GSPCA_BENQ=m
|
||||
CONFIG_USB_GSPCA_CONEX=m
|
||||
CONFIG_USB_GSPCA_CPIA1=m
|
||||
CONFIG_USB_GSPCA_ETOMS=m
|
||||
CONFIG_USB_GSPCA_FINEPIX=m
|
||||
CONFIG_USB_GSPCA_JEILINJ=m
|
||||
CONFIG_USB_GSPCA_JL2005BCD=m
|
||||
CONFIG_USB_GSPCA_KINECT=m
|
||||
CONFIG_USB_GSPCA_KONICA=m
|
||||
CONFIG_USB_GSPCA_MARS=m
|
||||
CONFIG_USB_GSPCA_MR97310A=m
|
||||
CONFIG_USB_GSPCA_NW80X=m
|
||||
CONFIG_USB_GSPCA_OV519=m
|
||||
CONFIG_USB_GSPCA_OV534=m
|
||||
CONFIG_USB_GSPCA_OV534_9=m
|
||||
CONFIG_USB_GSPCA_PAC207=m
|
||||
CONFIG_USB_GSPCA_PAC7302=m
|
||||
CONFIG_USB_GSPCA_PAC7311=m
|
||||
CONFIG_USB_GSPCA_SE401=m
|
||||
CONFIG_USB_GSPCA_SN9C2028=m
|
||||
CONFIG_USB_GSPCA_SN9C20X=m
|
||||
CONFIG_USB_GSPCA_SONIXB=m
|
||||
CONFIG_USB_GSPCA_SONIXJ=m
|
||||
CONFIG_USB_GSPCA_SPCA500=m
|
||||
CONFIG_USB_GSPCA_SPCA501=m
|
||||
CONFIG_USB_GSPCA_SPCA505=m
|
||||
CONFIG_USB_GSPCA_SPCA506=m
|
||||
CONFIG_USB_GSPCA_SPCA508=m
|
||||
CONFIG_USB_GSPCA_SPCA561=m
|
||||
CONFIG_USB_GSPCA_SPCA1528=m
|
||||
CONFIG_USB_GSPCA_SQ905=m
|
||||
CONFIG_USB_GSPCA_SQ905C=m
|
||||
CONFIG_USB_GSPCA_SQ930X=m
|
||||
CONFIG_USB_GSPCA_STK014=m
|
||||
CONFIG_USB_GSPCA_STV0680=m
|
||||
CONFIG_USB_GSPCA_SUNPLUS=m
|
||||
CONFIG_USB_GSPCA_T613=m
|
||||
CONFIG_USB_GSPCA_TOPRO=m
|
||||
CONFIG_USB_GSPCA_TV8532=m
|
||||
CONFIG_USB_GSPCA_VC032X=m
|
||||
CONFIG_USB_GSPCA_VICAM=m
|
||||
CONFIG_USB_GSPCA_XIRLINK_CIT=m
|
||||
CONFIG_USB_GSPCA_ZC3XX=m
|
||||
CONFIG_VIDEO_PVRUSB2=m
|
||||
CONFIG_VIDEO_HDPVR=m
|
||||
CONFIG_VIDEO_EM28XX=m
|
||||
CONFIG_VIDEO_EM28XX_ALSA=m
|
||||
CONFIG_VIDEO_CX231XX=m
|
||||
CONFIG_VIDEO_CX231XX_ALSA=m
|
||||
CONFIG_VIDEO_TM6000=m
|
||||
CONFIG_VIDEO_TM6000_ALSA=m
|
||||
CONFIG_VIDEO_USBVISION=m
|
||||
CONFIG_USB_ET61X251=m
|
||||
CONFIG_USB_SN9C102=m
|
||||
CONFIG_USB_PWC=m
|
||||
CONFIG_VIDEO_CPIA2=m
|
||||
CONFIG_USB_ZR364XX=m
|
||||
CONFIG_USB_STKWEBCAM=m
|
||||
CONFIG_USB_S2255=m
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
||||
CONFIG_SOC_CAMERA=m
|
||||
CONFIG_SOC_CAMERA_IMX074=m
|
||||
CONFIG_SOC_CAMERA_MT9M001=m
|
||||
CONFIG_SOC_CAMERA_MT9M111=m
|
||||
CONFIG_SOC_CAMERA_MT9T031=m
|
||||
CONFIG_SOC_CAMERA_MT9T112=m
|
||||
CONFIG_SOC_CAMERA_MT9V022=m
|
||||
CONFIG_SOC_CAMERA_RJ54N1=m
|
||||
CONFIG_SOC_CAMERA_TW9910=m
|
||||
CONFIG_SOC_CAMERA_PLATFORM=m
|
||||
CONFIG_SOC_CAMERA_OV2640=m
|
||||
CONFIG_SOC_CAMERA_OV5642=m
|
||||
CONFIG_SOC_CAMERA_OV6650=m
|
||||
CONFIG_SOC_CAMERA_OV772X=m
|
||||
CONFIG_SOC_CAMERA_OV9640=m
|
||||
CONFIG_SOC_CAMERA_OV9740=m
|
||||
CONFIG_V4L_MEM2MEM_DRIVERS=y
|
||||
# CONFIG_VIDEO_CSI_SUN4I is not set
|
||||
CONFIG_RADIO_SI470X=y
|
||||
CONFIG_USB_SI470X=m
|
||||
CONFIG_I2C_SI470X=m
|
||||
CONFIG_USB_MR800=m
|
||||
CONFIG_USB_DSBR=m
|
||||
CONFIG_RADIO_SI4713=m
|
||||
CONFIG_USB_KEENE=m
|
||||
CONFIG_RADIO_TEA5764=m
|
||||
CONFIG_RADIO_SAA7706H=m
|
||||
CONFIG_RADIO_TEF6862=m
|
||||
CONFIG_RADIO_WL1273=m
|
||||
CONFIG_AUDIO_ENGINE=y
|
||||
CONFIG_PA_CONTROL=y
|
||||
CONFIG_DRM=m
|
||||
CONFIG_DRM_MALI=m
|
||||
CONFIG_DRM_UDL=m
|
||||
CONFIG_MALI=m
|
||||
CONFIG_MALI400_DEBUG=y
|
||||
CONFIG_MALI400_GPU_UTILIZATION=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_SUNXI=y
|
||||
CONFIG_FB_SUNXI_LCD=y
|
||||
CONFIG_FB_SUNXI_HDMI=y
|
||||
CONFIG_HDMI_CEC=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_LOGO=y
|
||||
# CONFIG_LOGO_LINUX_MONO is not set
|
||||
# CONFIG_LOGO_LINUX_VGA16 is not set
|
||||
# CONFIG_LOGO_LINUX_CLUT224 is not set
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_SEQUENCER=m
|
||||
CONFIG_SND_MIXER_OSS=m
|
||||
CONFIG_SND_PCM_OSS=m
|
||||
CONFIG_SND_SEQUENCER_OSS=y
|
||||
CONFIG_SND_HRTIMER=m
|
||||
CONFIG_SND_VERBOSE_PRINTK=y
|
||||
CONFIG_SND_ALOOP=m
|
||||
CONFIG_SND_USB_AUDIO=m
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SUNXI_SOC_SPDIF=y
|
||||
CONFIG_HIDRAW=y
|
||||
CONFIG_UHID=y
|
||||
CONFIG_HID_PID=y
|
||||
CONFIG_USB_HIDDEV=y
|
||||
CONFIG_HID_KYE=y
|
||||
CONFIG_HID_LOGITECH_DJ=y
|
||||
CONFIG_LOGITECH_FF=y
|
||||
# CONFIG_LOGIWHEELS_FF is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_STORAGE_REALTEK=y
|
||||
CONFIG_USB_STORAGE_DATAFAB=y
|
||||
CONFIG_USB_STORAGE_FREECOM=y
|
||||
CONFIG_USB_STORAGE_ISD200=y
|
||||
CONFIG_USB_STORAGE_USBAT=y
|
||||
CONFIG_USB_STORAGE_SDDR09=y
|
||||
CONFIG_USB_STORAGE_SDDR55=y
|
||||
CONFIG_USB_STORAGE_JUMPSHOT=y
|
||||
CONFIG_USB_STORAGE_ALAUDA=y
|
||||
CONFIG_USB_STORAGE_ONETOUCH=y
|
||||
CONFIG_USB_STORAGE_KARMA=y
|
||||
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
|
||||
CONFIG_USB_STORAGE_ENE_UB6250=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_CONSOLE=y
|
||||
CONFIG_USB_SERIAL_GENERIC=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=m
|
||||
CONFIG_USB_SERIAL_PL2303=m
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_FILE_STORAGE=m
|
||||
CONFIG_USB_FILE_STORAGE_TEST=y
|
||||
CONFIG_MMC=y
|
||||
# CONFIG_MMC_BLOCK_BOUNCE is not set
|
||||
CONFIG_MMC_USHC=y
|
||||
CONFIG_MMC_SUNXI_POWER_CONTROL=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_SUNXI=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_SUN4I=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_ANDROID=y
|
||||
CONFIG_ANDROID_BINDER_IPC=y
|
||||
CONFIG_ANDROID_LOGGER=y
|
||||
CONFIG_ANDROID_RAM_CONSOLE=y
|
||||
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_REISERFS_FS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_QUOTA_NETLINK_INTERFACE=y
|
||||
# CONFIG_PRINT_QUOTA_WARNING is not set
|
||||
CONFIG_QFMT_V2=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_FSCACHE=y
|
||||
CONFIG_FSCACHE_STATS=y
|
||||
CONFIG_CACHEFILES=y
|
||||
CONFIG_ISO9660_FS=y
|
||||
CONFIG_JOLIET=y
|
||||
CONFIG_ZISOFS=y
|
||||
CONFIG_UDF_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
|
||||
CONFIG_NTFS_FS=y
|
||||
CONFIG_NTFS_RW=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_CONFIGFS_FS=y
|
||||
CONFIG_HFS_FS=y
|
||||
CONFIG_HFSPLUS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_NFS_V3_ACL=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_NFS_V4_1=y
|
||||
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="y"
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NFS_USE_LEGACY_DNS=y
|
||||
CONFIG_NFSD=m
|
||||
CONFIG_NFSD_V3_ACL=y
|
||||
CONFIG_NFSD_V4=y
|
||||
CONFIG_NFSD_FAULT_INJECTION=y
|
||||
CONFIG_CIFS=y
|
||||
CONFIG_CIFS_DFS_UPCALL=y
|
||||
CONFIG_NLS_DEFAULT="utf8"
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_936=y
|
||||
CONFIG_NLS_CODEPAGE_950=y
|
||||
CONFIG_NLS_CODEPAGE_932=y
|
||||
CONFIG_NLS_CODEPAGE_949=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_STRIP_ASM_SYMS=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DEBUG_SHIRQ=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_SCHEDSTATS=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_LIST=y
|
||||
CONFIG_BOOT_PRINTK_DELAY=y
|
||||
CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DYNAMIC_DEBUG=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_SECURITYFS=y
|
||||
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
|
||||
CONFIG_CRYPTO_GF128MUL=y
|
||||
CONFIG_CRYPTO_SEQIV=y
|
||||
CONFIG_CRYPTO_SHA256=m
|
||||
CONFIG_CRYPTO_SHA512=m
|
||||
CONFIG_CRYPTO_AES=y
|
||||
CONFIG_CRYPTO_ZLIB=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_LIBCRC32C=y
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
IMAGES_DIR=$1
|
||||
SPL_IMG=$IMAGES_DIR/sunxi-spl.bin
|
||||
SPL_UBOOT=$IMAGES_DIR/u-boot-sunxi-with-spl.bin
|
||||
UBOOT_IMG=$IMAGES_DIR/u-boot.bin
|
||||
UIMAGE=$IMAGES_DIR/uImage
|
||||
BIN_BOARD_FILE=$IMAGES_DIR/script.bin
|
||||
@@ -28,12 +27,12 @@ if [ $# -ne 2 ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ `id -u` -ne 0 ]; then
|
||||
if [ $EUID -ne 0 ]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $SPL_IMG -a ! -f $SPL_UBOOT ] ||
|
||||
if [ ! -f $SPL_IMG ] ||
|
||||
[ ! -f $UBOOT_IMG ] ||
|
||||
[ ! -f $UIMAGE ] ||
|
||||
[ ! -f $BIN_BOARD_FILE ] ||
|
||||
@@ -114,11 +113,7 @@ umount $D2
|
||||
rm -fr $P1
|
||||
rm -fr $P2
|
||||
|
||||
if [ -e $SPL_UBOOT ]; then
|
||||
dd if=$SPL_UBOOT of=$DRIVE bs=1024 seek=8
|
||||
else
|
||||
# write SPL
|
||||
dd if=$SPL_IMG of=$DRIVE bs=1024 seek=8
|
||||
# write mele u-boot
|
||||
dd if=$UBOOT_IMG of=$DRIVE bs=1024 seek=32
|
||||
fi
|
||||
# write SPL
|
||||
dd if=$SPL_IMG of=$DRIVE bs=1024 seek=8
|
||||
# write mele u-boot
|
||||
dd if=$UBOOT_IMG of=$DRIVE bs=1024 seek=32
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cubieboard and cubieboard2
|
||||
cubieboard
|
||||
|
||||
-----
|
||||
Intro
|
||||
@@ -13,10 +13,8 @@ For more information, please see http://linux-sunxi.org/FirstSteps
|
||||
How to build it
|
||||
---------------
|
||||
|
||||
You need to use the cubieboard_defconfig or cubieboard2_defconfig, to do so:
|
||||
You need to use the cubieboard_defconfig, to do so:
|
||||
* make cubieboard_defconfig
|
||||
or
|
||||
* make cubieboard2_defconfig
|
||||
|
||||
And to compile:
|
||||
* make
|
||||
@@ -33,7 +31,6 @@ After building, you should obtain this tree:
|
||||
+-- script.bin
|
||||
+-- sunxi-spl.bin
|
||||
+-- u-boot.bin
|
||||
+-- u-boot-sunxi-with-spl.bin (optional)
|
||||
`-- uImage
|
||||
|
||||
--------------------------
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EXPERT=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
# CONFIG_PPC_CHRP is not set
|
||||
# CONFIG_PPC_PMAC is not set
|
||||
CONFIG_PPC_83xx=y
|
||||
CONFIG_MPC831x_RDB=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_SPARSE_IRQ=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
@@ -29,6 +31,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
# CONFIG_FW_LOADER is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
@@ -49,8 +52,10 @@ CONFIG_MD_LINEAR=y
|
||||
CONFIG_MD_RAID0=y
|
||||
CONFIG_MD_RAID1=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_E100=y
|
||||
CONFIG_GIANFAR=y
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
@@ -68,6 +73,7 @@ CONFIG_WATCHDOG=y
|
||||
CONFIG_VIDEO_OUTPUT_CONTROL=m
|
||||
# CONFIG_USB_HID is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
@@ -76,6 +82,7 @@ CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
|
||||
CONFIG_USB_UHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_NET2280=y
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_INTF_DEV_UIE_EMUL=y
|
||||
@@ -83,12 +90,18 @@ CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
CONFIG_INOTIFY=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
CONFIG_SYSCTL_SYSCALL_CHECK=y
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
@@ -6,7 +6,7 @@ It won't work for NOR and will brick that bootloader!
|
||||
Also don't go playing around with different U-boot versions or flash targets
|
||||
unless you've got the necessary hardware and/or know-how to unbrick your kit.
|
||||
|
||||
2014.01 is known good for NAND.
|
||||
2013.04 is known good for NAND.
|
||||
******************** WARNING ********************
|
||||
|
||||
You'll need to program the files created by buildroot into the flash.
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_IRQ_DOMAIN_DEBUG=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
@@ -44,13 +45,16 @@ CONFIG_NET_IPIP=y
|
||||
CONFIG_IP_MROUTE=y
|
||||
CONFIG_IP_PIMSM_V1=y
|
||||
CONFIG_IP_PIMSM_V2=y
|
||||
CONFIG_ARPD=y
|
||||
CONFIG_INET_ESP=y
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
CONFIG_INET_LRO=y
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
@@ -80,6 +84,7 @@ CONFIG_DUMMY=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_VITESSE_PHY=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_SERIO_LIBPS2=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
@@ -87,13 +92,16 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_SERIAL_QE=m
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_CPM=m
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_MON=y
|
||||
@@ -110,7 +118,9 @@ CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_CMOS=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
# CONFIG_NET_DMA is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_USE_FOR_EXT23=y
|
||||
CONFIG_MSDOS_FS=m
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
@@ -122,11 +132,12 @@ CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
CONFIG_CRYPTO_SHA256=y
|
||||
CONFIG_CRYPTO_SHA512=y
|
||||
CONFIG_CRYPTO_AES=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_FSL_CAAM=y
|
||||
@@ -6,21 +6,7 @@ It won't work for NAND or SPI and will brick those bootloaders!
|
||||
Also don't go playing around with different U-boot versions or flash targets
|
||||
unless you've got the necessary hardware and/or know-how to unbrick your kit.
|
||||
|
||||
2014.01 is known good for NOR on the P1010RDB-PA kit.
|
||||
|
||||
Freescale released a revised version of the kit with a faster processor and
|
||||
some other hardware changes named P1010RDB-PB. U-Boot needs to be configured
|
||||
differently for this kit hence this default config WILL NOT WORK.
|
||||
This is ONLY related to U-Boot, otherwise the configuration is the same,
|
||||
you can perfectly use the generated kernel and rootfs.
|
||||
|
||||
IF you want to build an U-Boot for the new kit just change
|
||||
BR2_TARGET_UBOOT_BOARDNAME from P1010RDB-PA_NOR to P1010RDB-PB_NOR.
|
||||
!!!!! THIS IS COMPLETELY UNTESTED BY BR DEVS SO YOU ARE ON YOUR OWN !!!!!
|
||||
If it works we'd like to know so drop an email to the mailing list. Thanks.
|
||||
|
||||
If your kit doesn't mention PA nor PB in their shipping inventory then it's
|
||||
the old version (PA).
|
||||
2013.04 is known good for NOR.
|
||||
******************** WARNING ********************
|
||||
|
||||
You'll need to program the files created by buildroot into the flash.
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
Lego Mindstorms EV3
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This is the buildroot basic board support for the Lego Mindstorms EV3
|
||||
programmable brick. No support for sensors and drivers is provided for the
|
||||
moment.
|
||||
|
||||
The Lego Mindstorms EV3 brick comprises a Texas Instruments AM1808 SoC, with
|
||||
an ARM 926EJ-S main processor running at 300 MHz.
|
||||
See:
|
||||
- https://en.wikipedia.org/wiki/Lego_Mindstorms_EV3
|
||||
- http://www.lego.com/en-us/mindstorms/products/ev3/31313-mindstorms-ev3/
|
||||
- http://www.ti.com/product/am1808
|
||||
|
||||
The buildroot configuration uses the Linux kernel of the ev3dev project.
|
||||
See:
|
||||
- http://botbench.com/blog/2013/07/31/lego-mindstorms-ev3-source-code-available/
|
||||
- https://github.com/mindboards/ev3sources
|
||||
|
||||
Note that the EV3 configuration uses gcc 4.7, as the boot is broken with gcc
|
||||
4.8.
|
||||
|
||||
How it works
|
||||
============
|
||||
|
||||
Boot process :
|
||||
--------------
|
||||
|
||||
The u-boot on-board the EV3 brick has provision to boot a Linux kernel from the
|
||||
external µSD card. It will try to load a uImage from the first µSD card
|
||||
partition, which must be formatted with a FAT filesystem.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The lego_ev3_defconfig configuration provides basic support to boot on the Lego
|
||||
Mindstorms EV3 programmable brick:
|
||||
|
||||
$ make lego_ev3_defconfig
|
||||
|
||||
Build everything
|
||||
----------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext3 -> rootfs.ext2
|
||||
└── uImage
|
||||
|
||||
|
||||
Prepare your SDcard
|
||||
===================
|
||||
|
||||
The following µSD card layout is recommended:
|
||||
|
||||
- First partition formated with a FAT filesystem, containing the uImage.
|
||||
- Second partition formatted as ext2 or ext3, containing the root filesystem.
|
||||
|
||||
Create the SDcard partition table
|
||||
----------------------------------
|
||||
|
||||
Determine the device associated to the SD card :
|
||||
|
||||
$ cat /proc/partitions
|
||||
|
||||
Let's assume it is /dev/mmcblk0 :
|
||||
|
||||
$ sudo fdisk /dev/mmcblk0
|
||||
|
||||
Delete all previous partitions by creating a new disklabel with 'o', then
|
||||
create the new partition table, using these options, pressing enter after each
|
||||
one:
|
||||
|
||||
* n p 1 2048 +10M t c
|
||||
* n p 2 22528 +256M
|
||||
|
||||
Using the 'p' option, the SD card's partition must look like this :
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/mmcblk0p1 2048 22527 10240 c W95 FAT32 (LBA)
|
||||
/dev/mmcblk0p2 22528 546815 262144 83 Linux
|
||||
|
||||
Then write the partition table using 'w' and exit.
|
||||
|
||||
Make partition one a DOS partition :
|
||||
|
||||
$ sudo mkfs.vfat /dev/mmcblk0p1
|
||||
|
||||
Install the binaries to the SDcard
|
||||
----------------------------------
|
||||
|
||||
Remember your binaries are located in output/images/, go inside that directory :
|
||||
|
||||
$ cd output/images
|
||||
|
||||
Copy the Linux kernel:
|
||||
|
||||
$ sudo mkdir /mnt/sdcard
|
||||
$ sudo mount /dev/mmcblk0p1 /mnt/sdcard
|
||||
$ sudo cp uImage /mnt/sdcard
|
||||
$ sudo umount /mnt/sdcard
|
||||
|
||||
Copy the rootfs :
|
||||
|
||||
$ sudo dd if=rootfs.ext3 of=/dev/mmcblk0p2 bs=1M
|
||||
$ sync
|
||||
|
||||
It's Done!
|
||||
|
||||
Finish
|
||||
======
|
||||
|
||||
Eject your µSD card, insert it in your Lego EV3, and power it up.
|
||||
|
||||
To have a serial console, you will need a proper USB to Lego serial port
|
||||
adapter plugged into the EV3 sensors port 1.
|
||||
See:
|
||||
- http://botbench.com/blog/2013/08/15/ev3-creating-console-cable/
|
||||
- http://botbench.com/blog/2013/08/05/mindsensors-ev3-usb-console-adapter/
|
||||
|
||||
The serial port config to use is 115200/8-N-1.
|
||||
@@ -1,6 +0,0 @@
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /bzImage root=/dev/mmcblk0p2 rootwait console=ttyPCH0,115200
|
||||
}
|
||||
@@ -1,172 +0,0 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_RCU_FANOUT=32
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_CGROUP_DEBUG=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_RESOURCE_COUNTERS=y
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_MEMCG_SWAP=y
|
||||
CONFIG_MEMCG_KMEM=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_RT_GROUP_SCHED=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=y
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_MATOM=y
|
||||
CONFIG_SCHED_SMT=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
|
||||
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
|
||||
# CONFIG_MTRR_SANITIZER is not set
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
CONFIG_HZ_1000=y
|
||||
CONFIG_PM_RUNTIME=y
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_ADVANCED_DEBUG=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_X86_ACPI_CPUFREQ=y
|
||||
CONFIG_INTEL_IDLE=y
|
||||
CONFIG_PCI_MMCONFIG=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_HOTPLUG_PCI=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_XFRM_SUB_POLICY=y
|
||||
CONFIG_NET_KEY_MIGRATE=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_ROUTE_MULTIPATH=y
|
||||
CONFIG_IP_ROUTE_VERBOSE=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IP_PNP_RARP=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_FW_LOADER=m
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_CRYPTOLOOP=m
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_PCH_PHUB=m
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_DUMMY=m
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_TUN=m
|
||||
CONFIG_PCH_GBE=m
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO_POLLED=y
|
||||
# CONFIG_MOUSE_PS2 is not set
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_PCH_UART=y
|
||||
CONFIG_SERIAL_PCH_UART_CONSOLE=y
|
||||
CONFIG_GEN_RTC=y
|
||||
CONFIG_GEN_RTC_X=y
|
||||
CONFIG_HPET=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
CONFIG_I2C_EG20T=m
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_TOPCLIFF_PCH=m
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||
CONFIG_GPIO_SCH=y
|
||||
CONFIG_GPIO_PCH=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_SOFT_WATCHDOG=m
|
||||
CONFIG_AGP=m
|
||||
CONFIG_DRM=m
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_EFI=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||
CONFIG_SOUND=m
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_HDA_INTEL=m
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_SUSPEND=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=m
|
||||
CONFIG_USB_EG20T=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_PCH_DMA=y
|
||||
CONFIG_MINNOWBOARD=y
|
||||
CONFIG_MINNOWBOARD_GPIO=m
|
||||
CONFIG_MINNOWBOARD_KEYS=m
|
||||
CONFIG_EFI_VARS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
|
||||
CONFIG_ISO9660_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_CONFIGFS_FS=m
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_FRAME_WARN=1024
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_LATENCYTOP=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
cp board/minnowboard/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
||||
@@ -1,40 +0,0 @@
|
||||
Prepare the SD card for the Minnow Board
|
||||
========================================
|
||||
|
||||
1. Partition the SD card with a GPT partition table
|
||||
|
||||
sudo cgdisk /dev/mmcblk0
|
||||
|
||||
Create two partitions:
|
||||
|
||||
a) First partition of a few dozens of megabytes, which will be
|
||||
used to store the bootloader and the kernel image. Type must
|
||||
be EF00 (EFI partition).
|
||||
|
||||
b) Second partition of any size, which will be used to store the
|
||||
root filesystem. Type must be 8300 (Linux filesystem)
|
||||
|
||||
2. Prepare the boot partition
|
||||
|
||||
We will format it, mount it, copy the EFI data generated by
|
||||
Buildroot, and the kernel image.
|
||||
|
||||
sudo mkfs.vfat -F 32 -n boot /dev/mmcblk0p1
|
||||
sudo mount /dev/mmcblk0p1 /mnt
|
||||
sudo cp -a output/images/efi-part/* /mnt/
|
||||
sudo cp output/images/bzImage /mnt/
|
||||
sudo umount /mnt
|
||||
|
||||
3. Prepare the root partition
|
||||
|
||||
We will format it, mount it, and extract the root filesystem.
|
||||
|
||||
sudo mkfs.ext3 -L root /dev/mmcblk0p2
|
||||
sudo mount /dev/mmcblk0p2 /mnt
|
||||
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||
sudo umount /mnt
|
||||
|
||||
4. Enjoy
|
||||
|
||||
Additional information about this board can be found at
|
||||
http://www.minnowboard.org/.
|
||||
@@ -0,0 +1,47 @@
|
||||
From 4c0c9be05004d1eb674b7586216b3d93cc04531c Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Wed, 10 Apr 2013 11:13:43 +0200
|
||||
Subject: [PATCH 1/3] mmc: mxs-mmc: add cd-inverted property
|
||||
|
||||
The card-detect GPIO is inverted on some boards. Handle such case.
|
||||
|
||||
Acked-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index 4efe302..0cdf1f6 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -72,6 +72,7 @@ struct mxs_mmc_host {
|
||||
int sdio_irq_en;
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
+ bool cd_inverted;
|
||||
};
|
||||
|
||||
static int mxs_mmc_get_ro(struct mmc_host *mmc)
|
||||
@@ -96,7 +97,7 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
return !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
- BM_SSP_STATUS_CARD_DETECT);
|
||||
+ BM_SSP_STATUS_CARD_DETECT)) ^ host->cd_inverted;
|
||||
}
|
||||
|
||||
static void mxs_mmc_reset(struct mxs_mmc_host *host)
|
||||
@@ -691,6 +692,8 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
if (flags & OF_GPIO_ACTIVE_LOW)
|
||||
host->wp_inverted = 1;
|
||||
|
||||
+ host->cd_inverted = of_property_read_bool(np, "cd-inverted");
|
||||
+
|
||||
mmc->f_min = 400000;
|
||||
mmc->f_max = 288000000;
|
||||
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
|
||||
--
|
||||
1.8.1.5
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
From 5086e5f41fd107539911edf62f2d202753ed1980 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Wed, 10 Apr 2013 11:13:44 +0200
|
||||
Subject: [PATCH 2/3] mmc: mxs-mmc: add non-removable property
|
||||
|
||||
Some boards have non removable cards like eMMC. Handle such case.
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Acked-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 10 +++++++---
|
||||
1 file changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index 0cdf1f6..c231881 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -73,6 +73,7 @@ struct mxs_mmc_host {
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
bool cd_inverted;
|
||||
+ bool non_removable;
|
||||
};
|
||||
|
||||
static int mxs_mmc_get_ro(struct mmc_host *mmc)
|
||||
@@ -96,8 +97,9 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_mmc_host *host = mmc_priv(mmc);
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
- return !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
- BM_SSP_STATUS_CARD_DETECT)) ^ host->cd_inverted;
|
||||
+ return host->non_removable ||
|
||||
+ !(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
+ BM_SSP_STATUS_CARD_DETECT) ^ host->cd_inverted;
|
||||
}
|
||||
|
||||
static void mxs_mmc_reset(struct mxs_mmc_host *host)
|
||||
@@ -687,8 +689,10 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA;
|
||||
else if (bus_width == 8)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA;
|
||||
+ host->non_removable = of_property_read_bool(np, "non-removable");
|
||||
+ if (host->non_removable)
|
||||
+ mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
host->wp_gpio = of_get_named_gpio_flags(np, "wp-gpios", 0, &flags);
|
||||
-
|
||||
if (flags & OF_GPIO_ACTIVE_LOW)
|
||||
host->wp_inverted = 1;
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From 1d53196a0d604fcf636203fac21e944b6a9cf275 Mon Sep 17 00:00:00 2001
|
||||
From: Hector Palacios <hector.palacios@digi.com>
|
||||
Date: Wed, 10 Apr 2013 11:13:45 +0200
|
||||
Subject: [PATCH 3/3] mmc: mxs-mmc: add broken-cd property
|
||||
|
||||
According to bindings documentation for mmc, the property 'broken-cd'
|
||||
can be used to indicate card-detection is not available and polling
|
||||
must be used instead. This patch retrieves this property
|
||||
and sets a custom flag. On the get_cd() hook, it returns 1 if
|
||||
the flag is set, to always assume the card is present.
|
||||
|
||||
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Signed-off-by: Chris Ball <cjb@laptop.org>
|
||||
---
|
||||
drivers/mmc/host/mxs-mmc.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
|
||||
index c231881..146a53b 100644
|
||||
--- a/drivers/mmc/host/mxs-mmc.c
|
||||
+++ b/drivers/mmc/host/mxs-mmc.c
|
||||
@@ -73,6 +73,7 @@ struct mxs_mmc_host {
|
||||
int wp_gpio;
|
||||
bool wp_inverted;
|
||||
bool cd_inverted;
|
||||
+ bool broken_cd;
|
||||
bool non_removable;
|
||||
};
|
||||
|
||||
@@ -97,7 +98,7 @@ static int mxs_mmc_get_cd(struct mmc_host *mmc)
|
||||
struct mxs_mmc_host *host = mmc_priv(mmc);
|
||||
struct mxs_ssp *ssp = &host->ssp;
|
||||
|
||||
- return host->non_removable ||
|
||||
+ return host->non_removable || host->broken_cd ||
|
||||
!(readl(ssp->base + HW_SSP_STATUS(ssp)) &
|
||||
BM_SSP_STATUS_CARD_DETECT) ^ host->cd_inverted;
|
||||
}
|
||||
@@ -689,6 +690,7 @@ static int mxs_mmc_probe(struct platform_device *pdev)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA;
|
||||
else if (bus_width == 8)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA;
|
||||
+ host->broken_cd = of_property_read_bool(np, "broken-cd");
|
||||
host->non_removable = of_property_read_bool(np, "non-removable");
|
||||
if (host->non_removable)
|
||||
mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
--
|
||||
1.8.1.5
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 1897fda94190498573f9d1b72bc6b7b58c720957 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
|
||||
Date: Sat, 6 Apr 2013 10:42:10 -0300
|
||||
Subject: [PATCH 1/1] ARM: dts: imx23-olinuxino: mark sdcard cd as broken
|
||||
|
||||
The imx23-olinuxino sdcard doesn't have card detect.
|
||||
|
||||
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
|
||||
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
||||
---
|
||||
arch/arm/boot/dts/imx23-olinuxino.dts | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
index e7484e4..d107c4a 100644
|
||||
--- a/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
+++ b/arch/arm/boot/dts/imx23-olinuxino.dts
|
||||
@@ -29,6 +29,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
|
||||
bus-width = <4>;
|
||||
+ broken-cd;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
@@ -11,7 +12,6 @@ CONFIG_IKCONFIG_PROC=y
|
||||
# CONFIG_IPC_NS is not set
|
||||
# CONFIG_PID_NS is not set
|
||||
# CONFIG_NET_NS is not set
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_PERF_EVENTS=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_MODULES=y
|
||||
@@ -22,14 +22,15 @@ CONFIG_MODVERSIONS=y
|
||||
CONFIG_BLK_DEV_INTEGRITY=y
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
# CONFIG_ARCH_MULTI_V7 is not set
|
||||
CONFIG_ARCH_MXS=y
|
||||
# CONFIG_ARM_THUMB is not set
|
||||
CONFIG_MACH_MXS_DT=y
|
||||
CONFIG_ARM_THUMB=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_ATAGS=y
|
||||
CONFIG_CMDLINE="console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait"
|
||||
CONFIG_CMDLINE_FROM_BOOTLOADER=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -43,47 +44,46 @@ CONFIG_SYN_COOKIES=y
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CAN=m
|
||||
CONFIG_CAN_RAW=m
|
||||
CONFIG_CAN_BCM=m
|
||||
CONFIG_CAN_FLEXCAN=m
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_DATAFLASH=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
# CONFIG_M25PXX_USE_FAST_READ is not set
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_GPMI_NAND=y
|
||||
CONFIG_MTD_UBI=y
|
||||
# CONFIG_BLK_DEV is not set
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_ETHERNET is not set
|
||||
CONFIG_ENC28J60=y
|
||||
CONFIG_USB_USBNET=y
|
||||
CONFIG_USB_NET_SMSC95XX=y
|
||||
CONFIG_RTL8187=m
|
||||
CONFIG_ATH_CARDS=m
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_RT2X00=m
|
||||
CONFIG_RT73USB=m
|
||||
CONFIG_RT2800USB=m
|
||||
CONFIG_RT2800USB_RT53XX=y
|
||||
CONFIG_RT2800USB_RT55XX=y
|
||||
CONFIG_RT2800USB_UNKNOWN=y
|
||||
CONFIG_RTL_CARDS=m
|
||||
CONFIG_RTL8192CU=m
|
||||
# CONFIG_RTLWIFI_DEBUG is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
CONFIG_SMSC_PHY=y
|
||||
CONFIG_ICPLUS_PHY=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_INPUT_EVDEV=m
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
CONFIG_TOUCHSCREEN_TSC2007=m
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
@@ -98,11 +98,9 @@ CONFIG_I2C_MXS=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_MXS=y
|
||||
CONFIG_PTP_1588_CLOCK=y
|
||||
CONFIG_DEBUG_GPIO=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_STMP3XXX_RTC_WATCHDOG=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_FB=y
|
||||
@@ -112,61 +110,79 @@ CONFIG_LCD_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_PWM=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HRTIMER=y
|
||||
# CONFIG_SND_SUPPORT_OLD_API is not set
|
||||
# CONFIG_SND_VERBOSE_PROCFS is not set
|
||||
# CONFIG_SND_DRIVERS is not set
|
||||
# CONFIG_SND_ARM is not set
|
||||
# CONFIG_SND_SPI is not set
|
||||
# CONFIG_SND_USB is not set
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_MXS_SOC_BUILTIN=y
|
||||
CONFIG_SND_MXS_SOC=y
|
||||
CONFIG_SND_SOC_MXS_SGTL5000=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_CHIPIDEA=y
|
||||
CONFIG_USB_CHIPIDEA_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_MXS=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1307=m
|
||||
CONFIG_RTC_DRV_STMP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_MXS_DMA=y
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_MXS_LRADC=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_IIO_SYSFS_TRIGGER=y
|
||||
CONFIG_COMMON_CLK_DEBUG=y
|
||||
CONFIG_IIO=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_MXS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT2_FS_XATTR=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
CONFIG_FSCACHE=m
|
||||
CONFIG_FSCACHE_STATS=y
|
||||
CONFIG_CACHEFILES=m
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
CONFIG_JFFS2_LZO=y
|
||||
CONFIG_JFFS2_RUBIN=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3_ACL=y
|
||||
CONFIG_NFS_V4=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_ISO8859_15=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_FRAME_WARN=2048
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_UNUSED_SYMBOLS=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOCKUP_DETECTOR=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
CONFIG_PROVE_LOCKING=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_KEYS=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DEV_MXS_DCP=y
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC_ITU_T=m
|
||||
CONFIG_CRC7=m
|
||||
CONFIG_FONTS=y
|
||||
@@ -65,9 +65,9 @@ diff -Nura imx-bootlets-src-10.12.01/linux_prep/cmdlines/imx23_olinuxino_dev.txt
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/cmdlines/imx23_olinuxino_dev.txt 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/cmdlines/imx23_olinuxino_dev.txt 2013-05-17 15:07:49.663496106 -0300
|
||||
@@ -0,0 +1,3 @@
|
||||
+console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait
|
||||
+console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait
|
||||
+console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
+noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
|
||||
diff -Nura imx-bootlets-src-10.12.01/linux_prep/core/setup.c imx-bootlets-src-10.12.01-olinuxino/linux_prep/core/setup.c
|
||||
--- imx-bootlets-src-10.12.01/linux_prep/core/setup.c 2010-11-04 04:35:38.000000000 -0300
|
||||
+++ imx-bootlets-src-10.12.01-olinuxino/linux_prep/core/setup.c 2013-05-17 15:08:39.246114205 -0300
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
This configuration is intended as a base image.
|
||||
It includes kernel and firmware support for the common USB WiFi hardware.
|
||||
Packages for WiFi support are up to the user, you'll probably want
|
||||
one or more of: hostapd, iw, wireless_tools and/or wpa_supplicant.
|
||||
This configuration is intended as a base image, it doesn't have support
|
||||
for things like WiFi, either in the kernel or packages.
|
||||
|
||||
It also pulls up the console on the serial port, not on TV output.
|
||||
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_TASKSTATS=y
|
||||
CONFIG_SCHED_AUTOGROUP=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_BLK_DEV_BSGLIB=y
|
||||
CONFIG_ARCH_VEXPRESS=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_COMPAT=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_DIAG=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_VSOCKETS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
CONFIG_SCSI_VIRTIO=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_DUMMY=y
|
||||
CONFIG_MACVLAN=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NLMON=y
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_VIRTIO_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
||||
CONFIG_MAILBOX=y
|
||||
CONFIG_PL320_MBOX=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
@@ -1,7 +0,0 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.1.0
|
||||
@@ -7,4 +7,4 @@ graphical window is the framebuffer.
|
||||
|
||||
Startup time is slow because of the SMP CPU emulation so be patient.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
CONFIG_ARCH_VERSATILE=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
@@ -5,14 +7,16 @@ CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_ARCH_VERSATILE=y
|
||||
CONFIG_MACH_VERSATILE_AB=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
CONFIG_LEDS=y
|
||||
CONFIG_LEDS_CPU=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE="root=1f03 mem=32M"
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -23,22 +27,24 @@ CONFIG_IP_PNP_BOOTP=y
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_PARTITIONS=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_PHYSMAP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_EEPROM_LEGACY=m
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_SYM53C8XX_2=y
|
||||
CONFIG_EEPROM_LEGACY=m
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_SMC91X=y
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
CONFIG_SERIO_AMBAKMI=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_SERIAL_8250=m
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
@@ -46,12 +52,15 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_ARMCLCD=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_MIXER_OSS=m
|
||||
@@ -66,14 +75,15 @@ CONFIG_CRAMFS=y
|
||||
CONFIG_MINIX_FS=y
|
||||
CONFIG_ROMFS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_NFSD_V3=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_NLS_CODEPAGE_850=m
|
||||
CONFIG_NLS_ISO8859_1=m
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_DEBUG_ERRORS=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_INITRAMFS_SOURCE="rootfs.cpio"
|
||||
CONFIG_INITRAMFS_COMPRESSION_GZIP=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_KALLSYMS_EXTRA_PASS=y
|
||||
# CONFIG_HOTPLUG is not set
|
||||
# CONFIG_BASE_FULL is not set
|
||||
# CONFIG_FUTEX is not set
|
||||
# CONFIG_EPOLL is not set
|
||||
@@ -15,7 +20,6 @@ CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_OPT_LIB_ASM=y
|
||||
CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3adsp"
|
||||
CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
|
||||
@@ -36,7 +40,7 @@ CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_VENDOR_XILINX=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_XILINX_EMACLITE=y
|
||||
# CONFIG_INPUT is not set
|
||||
# CONFIG_SERIO is not set
|
||||
@@ -49,12 +53,16 @@ CONFIG_SERIAL_UARTLITE_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_CIFS=y
|
||||
CONFIG_CIFS_STATS=y
|
||||
CONFIG_CIFS_STATS2=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_SLAB=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_DEBUG_SLAB=y
|
||||
CONFIG_DEBUG_SPINLOCK=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
367
board/qemu/microblazebe-mmu/system.dts
Normal file
367
board/qemu/microblazebe-mmu/system.dts
Normal file
@@ -0,0 +1,367 @@
|
||||
/*
|
||||
* Device Tree Generator version: 1.1
|
||||
*
|
||||
* (C) Copyright 2007-2008 Xilinx, Inc.
|
||||
* (C) Copyright 2007-2009 Michal Simek
|
||||
*
|
||||
* Michal SIMEK <monstr@monstr.eu>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* CAUTION: This file is automatically generated by libgen.
|
||||
* Version: Xilinx EDK 10.1.03 EDK_K_SP3.6
|
||||
*
|
||||
* XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,microblaze";
|
||||
hard-reset-gpios = <&LEDs_8Bit 2 1>;
|
||||
model = "testing";
|
||||
DDR2_SDRAM: memory@90000000 {
|
||||
device_type = "memory";
|
||||
reg = < 0x90000000 0x10000000 >;
|
||||
} ;
|
||||
aliases {
|
||||
ethernet0 = &Hard_Ethernet_MAC;
|
||||
serial0 = &RS232_Uart_1;
|
||||
} ;
|
||||
chosen {
|
||||
bootargs = "console=ttyUL0,115200 highres=on";
|
||||
linux,stdout-path = "/plb@0/serial@84000000";
|
||||
} ;
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#cpus = <0x1>;
|
||||
#size-cells = <0>;
|
||||
microblaze_0: cpu@0 {
|
||||
clock-frequency = <125000000>;
|
||||
compatible = "xlnx,microblaze-7.10.d";
|
||||
d-cache-baseaddr = <0x90000000>;
|
||||
d-cache-highaddr = <0x9fffffff>;
|
||||
d-cache-line-size = <0x10>;
|
||||
d-cache-size = <0x2000>;
|
||||
device_type = "cpu";
|
||||
i-cache-baseaddr = <0x90000000>;
|
||||
i-cache-highaddr = <0x9fffffff>;
|
||||
i-cache-line-size = <0x10>;
|
||||
i-cache-size = <0x2000>;
|
||||
model = "microblaze,7.10.d";
|
||||
reg = <0>;
|
||||
timebase-frequency = <125000000>;
|
||||
xlnx,addr-tag-bits = <0xf>;
|
||||
xlnx,allow-dcache-wr = <0x1>;
|
||||
xlnx,allow-icache-wr = <0x1>;
|
||||
xlnx,area-optimized = <0x0>;
|
||||
xlnx,cache-byte-size = <0x2000>;
|
||||
xlnx,d-lmb = <0x1>;
|
||||
xlnx,d-opb = <0x0>;
|
||||
xlnx,d-plb = <0x1>;
|
||||
xlnx,data-size = <0x20>;
|
||||
xlnx,dcache-addr-tag = <0xf>;
|
||||
xlnx,dcache-always-used = <0x1>;
|
||||
xlnx,dcache-byte-size = <0x2000>;
|
||||
xlnx,dcache-line-len = <0x4>;
|
||||
xlnx,dcache-use-fsl = <0x1>;
|
||||
xlnx,debug-enabled = <0x1>;
|
||||
xlnx,div-zero-exception = <0x1>;
|
||||
xlnx,dopb-bus-exception = <0x0>;
|
||||
xlnx,dynamic-bus-sizing = <0x1>;
|
||||
xlnx,edge-is-positive = <0x1>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,endianness = <0x1>;
|
||||
xlnx,fpu-exception = <0x1>;
|
||||
xlnx,fsl-data-size = <0x20>;
|
||||
xlnx,fsl-exception = <0x0>;
|
||||
xlnx,fsl-links = <0x0>;
|
||||
xlnx,i-lmb = <0x1>;
|
||||
xlnx,i-opb = <0x0>;
|
||||
xlnx,i-plb = <0x1>;
|
||||
xlnx,icache-always-used = <0x1>;
|
||||
xlnx,icache-line-len = <0x4>;
|
||||
xlnx,icache-use-fsl = <0x1>;
|
||||
xlnx,ill-opcode-exception = <0x1>;
|
||||
xlnx,instance = "microblaze_0";
|
||||
xlnx,interconnect = <0x1>;
|
||||
xlnx,interrupt-is-edge = <0x0>;
|
||||
xlnx,iopb-bus-exception = <0x0>;
|
||||
xlnx,mmu-dtlb-size = <0x4>;
|
||||
xlnx,mmu-itlb-size = <0x2>;
|
||||
xlnx,mmu-tlb-access = <0x3>;
|
||||
xlnx,mmu-zones = <0x10>;
|
||||
xlnx,number-of-pc-brk = <0x1>;
|
||||
xlnx,number-of-rd-addr-brk = <0x0>;
|
||||
xlnx,number-of-wr-addr-brk = <0x0>;
|
||||
xlnx,opcode-0x0-illegal = <0x1>;
|
||||
xlnx,pvr = <0x2>;
|
||||
xlnx,pvr-user1 = <0x0>;
|
||||
xlnx,pvr-user2 = <0x0>;
|
||||
xlnx,reset-msr = <0x0>;
|
||||
xlnx,sco = <0x0>;
|
||||
xlnx,unaligned-exceptions = <0x1>;
|
||||
xlnx,use-barrel = <0x1>;
|
||||
xlnx,use-dcache = <0x1>;
|
||||
xlnx,use-div = <0x1>;
|
||||
xlnx,use-ext-brk = <0x1>;
|
||||
xlnx,use-ext-nm-brk = <0x1>;
|
||||
xlnx,use-extended-fsl-instr = <0x0>;
|
||||
xlnx,use-fpu = <0x2>;
|
||||
xlnx,use-hw-mul = <0x2>;
|
||||
xlnx,use-icache = <0x1>;
|
||||
xlnx,use-interrupt = <0x1>;
|
||||
xlnx,use-mmu = <0x3>;
|
||||
xlnx,use-msr-instr = <0x1>;
|
||||
xlnx,use-pcmp-instr = <0x1>;
|
||||
} ;
|
||||
} ;
|
||||
mb_plb: plb@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,plb-v46-1.03.a", "xlnx,plb-v46-1.00.a", "simple-bus";
|
||||
ranges ;
|
||||
FLASH: flash@a0000000 {
|
||||
bank-width = <2>;
|
||||
compatible = "xlnx,xps-mch-emc-2.00.a", "cfi-flash";
|
||||
reg = < 0xa0000000 0x2000000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,include-datawidth-matching-0 = <0x1>;
|
||||
xlnx,include-datawidth-matching-1 = <0x0>;
|
||||
xlnx,include-datawidth-matching-2 = <0x0>;
|
||||
xlnx,include-datawidth-matching-3 = <0x0>;
|
||||
xlnx,include-negedge-ioregs = <0x0>;
|
||||
xlnx,include-plb-ipif = <0x1>;
|
||||
xlnx,include-wrbuf = <0x1>;
|
||||
xlnx,max-mem-width = <0x10>;
|
||||
xlnx,mch-native-dwidth = <0x20>;
|
||||
xlnx,mch-plb-clk-period-ps = <0x1f40>;
|
||||
xlnx,mch-splb-awidth = <0x20>;
|
||||
xlnx,mch0-accessbuf-depth = <0x10>;
|
||||
xlnx,mch0-protocol = <0x0>;
|
||||
xlnx,mch0-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch1-accessbuf-depth = <0x10>;
|
||||
xlnx,mch1-protocol = <0x0>;
|
||||
xlnx,mch1-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch2-accessbuf-depth = <0x10>;
|
||||
xlnx,mch2-protocol = <0x0>;
|
||||
xlnx,mch2-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch3-accessbuf-depth = <0x10>;
|
||||
xlnx,mch3-protocol = <0x0>;
|
||||
xlnx,mch3-rddatabuf-depth = <0x10>;
|
||||
xlnx,mem0-width = <0x10>;
|
||||
xlnx,mem1-width = <0x20>;
|
||||
xlnx,mem2-width = <0x20>;
|
||||
xlnx,mem3-width = <0x20>;
|
||||
xlnx,num-banks-mem = <0x1>;
|
||||
xlnx,num-channels = <0x0>;
|
||||
xlnx,priority-mode = <0x0>;
|
||||
xlnx,synch-mem-0 = <0x0>;
|
||||
xlnx,synch-mem-1 = <0x0>;
|
||||
xlnx,synch-mem-2 = <0x0>;
|
||||
xlnx,synch-mem-3 = <0x0>;
|
||||
xlnx,synch-pipedelay-0 = <0x2>;
|
||||
xlnx,synch-pipedelay-1 = <0x2>;
|
||||
xlnx,synch-pipedelay-2 = <0x2>;
|
||||
xlnx,synch-pipedelay-3 = <0x2>;
|
||||
xlnx,tavdv-ps-mem-0 = <0x1adb0>;
|
||||
xlnx,tavdv-ps-mem-1 = <0x3a98>;
|
||||
xlnx,tavdv-ps-mem-2 = <0x3a98>;
|
||||
xlnx,tavdv-ps-mem-3 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-0 = <0x1adb0>;
|
||||
xlnx,tcedv-ps-mem-1 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-2 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-3 = <0x3a98>;
|
||||
xlnx,thzce-ps-mem-0 = <0x88b8>;
|
||||
xlnx,thzce-ps-mem-1 = <0x1b58>;
|
||||
xlnx,thzce-ps-mem-2 = <0x1b58>;
|
||||
xlnx,thzce-ps-mem-3 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-0 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-1 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-2 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-3 = <0x1b58>;
|
||||
xlnx,tlzwe-ps-mem-0 = <0x88b8>;
|
||||
xlnx,tlzwe-ps-mem-1 = <0x0>;
|
||||
xlnx,tlzwe-ps-mem-2 = <0x0>;
|
||||
xlnx,tlzwe-ps-mem-3 = <0x0>;
|
||||
xlnx,twc-ps-mem-0 = <0x2af8>;
|
||||
xlnx,twc-ps-mem-1 = <0x3a98>;
|
||||
xlnx,twc-ps-mem-2 = <0x3a98>;
|
||||
xlnx,twc-ps-mem-3 = <0x3a98>;
|
||||
xlnx,twp-ps-mem-0 = <0x11170>;
|
||||
xlnx,twp-ps-mem-1 = <0x2ee0>;
|
||||
xlnx,twp-ps-mem-2 = <0x2ee0>;
|
||||
xlnx,twp-ps-mem-3 = <0x2ee0>;
|
||||
xlnx,xcl0-linesize = <0x4>;
|
||||
xlnx,xcl0-writexfer = <0x1>;
|
||||
xlnx,xcl1-linesize = <0x4>;
|
||||
xlnx,xcl1-writexfer = <0x1>;
|
||||
xlnx,xcl2-linesize = <0x4>;
|
||||
xlnx,xcl2-writexfer = <0x1>;
|
||||
xlnx,xcl3-linesize = <0x4>;
|
||||
xlnx,xcl3-writexfer = <0x1>;
|
||||
} ;
|
||||
Hard_Ethernet_MAC: xps-ll-temac@81c00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,compound";
|
||||
ranges ;
|
||||
ethernet@81c00000 {
|
||||
compatible = "xlnx,xps-ll-temac-1.01.b", "xlnx,xps-ll-temac-1.00.a";
|
||||
device_type = "network";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 5 2 >;
|
||||
llink-connected = <&PIM3>;
|
||||
local-mac-address = [ 00 0a 35 00 00 00 ];
|
||||
reg = < 0x81c00000 0x40 >;
|
||||
xlnx,bus2core-clk-ratio = <0x1>;
|
||||
xlnx,phy-type = <0x1>;
|
||||
xlnx,phyaddr = <0x1>;
|
||||
xlnx,rxcsum = <0x0>;
|
||||
xlnx,rxfifo = <0x1000>;
|
||||
xlnx,temac-type = <0x0>;
|
||||
xlnx,txcsum = <0x0>;
|
||||
xlnx,txfifo = <0x1000>;
|
||||
} ;
|
||||
} ;
|
||||
IIC_EEPROM: i2c@81600000 {
|
||||
compatible = "xlnx,xps-iic-2.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 6 2 >;
|
||||
reg = < 0x81600000 0x10000 >;
|
||||
xlnx,clk-freq = <0x7735940>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gpo-width = <0x1>;
|
||||
xlnx,iic-freq = <0x186a0>;
|
||||
xlnx,scl-inertial-delay = <0x0>;
|
||||
xlnx,sda-inertial-delay = <0x0>;
|
||||
xlnx,ten-bit-adr = <0x0>;
|
||||
} ;
|
||||
LEDs_8Bit: gpio@81400000 {
|
||||
compatible = "xlnx,xps-gpio-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 7 2 >;
|
||||
reg = < 0x81400000 0x10000 >;
|
||||
xlnx,all-inputs = <0x0>;
|
||||
xlnx,all-inputs-2 = <0x0>;
|
||||
xlnx,dout-default = <0x0>;
|
||||
xlnx,dout-default-2 = <0x0>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gpio-width = <0x8>;
|
||||
xlnx,interrupt-present = <0x1>;
|
||||
xlnx,is-bidir = <0x1>;
|
||||
xlnx,is-bidir-2 = <0x1>;
|
||||
xlnx,is-dual = <0x0>;
|
||||
xlnx,tri-default = <0xffffffff>;
|
||||
xlnx,tri-default-2 = <0xffffffff>;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
} ;
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
heartbeat {
|
||||
label = "Heartbeat";
|
||||
gpios = <&LEDs_8Bit 4 1>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
yellow {
|
||||
label = "Yellow";
|
||||
gpios = <&LEDs_8Bit 5 1>;
|
||||
};
|
||||
|
||||
red {
|
||||
label = "Red";
|
||||
gpios = <&LEDs_8Bit 6 1>;
|
||||
};
|
||||
|
||||
green {
|
||||
label = "Green";
|
||||
gpios = <&LEDs_8Bit 7 1>;
|
||||
};
|
||||
} ;
|
||||
RS232_Uart_1: serial@84000000 {
|
||||
clock-frequency = <125000000>;
|
||||
compatible = "xlnx,xps-uartlite-1.00.a";
|
||||
current-speed = <115200>;
|
||||
device_type = "serial";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 8 0 >;
|
||||
port-number = <0>;
|
||||
reg = < 0x84000000 0x10000 >;
|
||||
xlnx,baudrate = <0x1c200>;
|
||||
xlnx,data-bits = <0x8>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,odd-parity = <0x0>;
|
||||
xlnx,use-parity = <0x0>;
|
||||
} ;
|
||||
SysACE_CompactFlash: sysace@83600000 {
|
||||
compatible = "xlnx,xps-sysace-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 4 2 >;
|
||||
reg = < 0x83600000 0x10000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,mem-width = <0x10>;
|
||||
} ;
|
||||
debug_module: debug@84400000 {
|
||||
compatible = "xlnx,mdm-1.00.d";
|
||||
reg = < 0x84400000 0x10000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,interconnect = <0x1>;
|
||||
xlnx,jtag-chain = <0x2>;
|
||||
xlnx,mb-dbg-ports = <0x1>;
|
||||
xlnx,uart-width = <0x8>;
|
||||
xlnx,use-uart = <0x1>;
|
||||
xlnx,write-fsl-ports = <0x0>;
|
||||
} ;
|
||||
mpmc@90000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,mpmc-4.02.a";
|
||||
ranges ;
|
||||
PIM3: sdma@84600180 {
|
||||
compatible = "xlnx,ll-dma-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 2 2 1 2 >;
|
||||
reg = < 0x84600180 0x80 >;
|
||||
} ;
|
||||
} ;
|
||||
xps_intc_0: interrupt-controller@81800000 {
|
||||
#interrupt-cells = <0x2>;
|
||||
compatible = "xlnx,xps-intc-1.00.a";
|
||||
interrupt-controller ;
|
||||
reg = < 0x81800000 0x10000 >;
|
||||
xlnx,kind-of-intr = <0x100>;
|
||||
xlnx,num-intr-inputs = <0x9>;
|
||||
} ;
|
||||
xps_timer_1: timer@83c00000 {
|
||||
compatible = "xlnx,xps-timer-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 3 2 >;
|
||||
reg = < 0x83c00000 0x10000 >;
|
||||
xlnx,count-width = <0x20>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gen0-assert = <0x1>;
|
||||
xlnx,gen1-assert = <0x1>;
|
||||
xlnx,one-timer-only = <0x0>;
|
||||
xlnx,trig0-assert = <0x1>;
|
||||
xlnx,trig1-assert = <0x1>;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -Nur linux-3.14.orig/drivers/net/ethernet/xilinx/xilinx_emaclite.c linux-3.14/drivers/net/ethernet/xilinx/xilinx_emaclite.c
|
||||
--- linux-3.14.orig/drivers/net/ethernet/xilinx/xilinx_emaclite.c 2014-03-31 05:40:15.000000000 +0200
|
||||
+++ linux-3.14/drivers/net/ethernet/xilinx/xilinx_emaclite.c 2014-04-11 22:53:42.000000000 +0200
|
||||
@@ -1249,6 +1249,7 @@
|
||||
{ .compatible = "xlnx,opb-ethernetlite-1.01.b", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-1.00.a", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-2.00.a", },
|
||||
+ { .compatible = "xlnx,xps-ethernetlite-2.00.b", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-2.01.a", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-3.00.a", },
|
||||
{ /* end of list */ },
|
||||
@@ -1,11 +1,16 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_INITRAMFS_SOURCE="rootfs.cpio"
|
||||
CONFIG_INITRAMFS_COMPRESSION_GZIP=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_KALLSYMS_EXTRA_PASS=y
|
||||
# CONFIG_HOTPLUG is not set
|
||||
# CONFIG_BASE_FULL is not set
|
||||
# CONFIG_FUTEX is not set
|
||||
# CONFIG_EPOLL is not set
|
||||
@@ -15,7 +20,6 @@ CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3adsp"
|
||||
CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
|
||||
CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
|
||||
@@ -35,7 +39,7 @@ CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_VENDOR_XILINX=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_XILINX_EMACLITE=y
|
||||
# CONFIG_INPUT is not set
|
||||
# CONFIG_SERIO is not set
|
||||
@@ -48,12 +52,16 @@ CONFIG_SERIAL_UARTLITE_CONSOLE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_CIFS=y
|
||||
CONFIG_CIFS_STATS=y
|
||||
CONFIG_CIFS_STATS2=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_SLAB=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
CONFIG_DEBUG_SLAB=y
|
||||
CONFIG_DEBUG_SPINLOCK=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
367
board/qemu/microblazeel-mmu/system.dts
Normal file
367
board/qemu/microblazeel-mmu/system.dts
Normal file
@@ -0,0 +1,367 @@
|
||||
/*
|
||||
* Device Tree Generator version: 1.1
|
||||
*
|
||||
* (C) Copyright 2007-2008 Xilinx, Inc.
|
||||
* (C) Copyright 2007-2009 Michal Simek
|
||||
*
|
||||
* Michal SIMEK <monstr@monstr.eu>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* CAUTION: This file is automatically generated by libgen.
|
||||
* Version: Xilinx EDK 10.1.03 EDK_K_SP3.6
|
||||
*
|
||||
* XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,microblaze";
|
||||
hard-reset-gpios = <&LEDs_8Bit 2 1>;
|
||||
model = "testing";
|
||||
DDR2_SDRAM: memory@90000000 {
|
||||
device_type = "memory";
|
||||
reg = < 0x90000000 0x10000000 >;
|
||||
} ;
|
||||
aliases {
|
||||
ethernet0 = &Hard_Ethernet_MAC;
|
||||
serial0 = &RS232_Uart_1;
|
||||
} ;
|
||||
chosen {
|
||||
bootargs = "console=ttyUL0,115200 highres=on";
|
||||
linux,stdout-path = "/plb@0/serial@84000000";
|
||||
} ;
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#cpus = <0x1>;
|
||||
#size-cells = <0>;
|
||||
microblaze_0: cpu@0 {
|
||||
clock-frequency = <125000000>;
|
||||
compatible = "xlnx,microblaze-7.10.d";
|
||||
d-cache-baseaddr = <0x90000000>;
|
||||
d-cache-highaddr = <0x9fffffff>;
|
||||
d-cache-line-size = <0x10>;
|
||||
d-cache-size = <0x2000>;
|
||||
device_type = "cpu";
|
||||
i-cache-baseaddr = <0x90000000>;
|
||||
i-cache-highaddr = <0x9fffffff>;
|
||||
i-cache-line-size = <0x10>;
|
||||
i-cache-size = <0x2000>;
|
||||
model = "microblaze,7.10.d";
|
||||
reg = <0>;
|
||||
timebase-frequency = <125000000>;
|
||||
xlnx,addr-tag-bits = <0xf>;
|
||||
xlnx,allow-dcache-wr = <0x1>;
|
||||
xlnx,allow-icache-wr = <0x1>;
|
||||
xlnx,area-optimized = <0x0>;
|
||||
xlnx,cache-byte-size = <0x2000>;
|
||||
xlnx,d-lmb = <0x1>;
|
||||
xlnx,d-opb = <0x0>;
|
||||
xlnx,d-plb = <0x1>;
|
||||
xlnx,data-size = <0x20>;
|
||||
xlnx,dcache-addr-tag = <0xf>;
|
||||
xlnx,dcache-always-used = <0x1>;
|
||||
xlnx,dcache-byte-size = <0x2000>;
|
||||
xlnx,dcache-line-len = <0x4>;
|
||||
xlnx,dcache-use-fsl = <0x1>;
|
||||
xlnx,debug-enabled = <0x1>;
|
||||
xlnx,div-zero-exception = <0x1>;
|
||||
xlnx,dopb-bus-exception = <0x0>;
|
||||
xlnx,dynamic-bus-sizing = <0x1>;
|
||||
xlnx,edge-is-positive = <0x1>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,endianness = <0x1>;
|
||||
xlnx,fpu-exception = <0x1>;
|
||||
xlnx,fsl-data-size = <0x20>;
|
||||
xlnx,fsl-exception = <0x0>;
|
||||
xlnx,fsl-links = <0x0>;
|
||||
xlnx,i-lmb = <0x1>;
|
||||
xlnx,i-opb = <0x0>;
|
||||
xlnx,i-plb = <0x1>;
|
||||
xlnx,icache-always-used = <0x1>;
|
||||
xlnx,icache-line-len = <0x4>;
|
||||
xlnx,icache-use-fsl = <0x1>;
|
||||
xlnx,ill-opcode-exception = <0x1>;
|
||||
xlnx,instance = "microblaze_0";
|
||||
xlnx,interconnect = <0x1>;
|
||||
xlnx,interrupt-is-edge = <0x0>;
|
||||
xlnx,iopb-bus-exception = <0x0>;
|
||||
xlnx,mmu-dtlb-size = <0x4>;
|
||||
xlnx,mmu-itlb-size = <0x2>;
|
||||
xlnx,mmu-tlb-access = <0x3>;
|
||||
xlnx,mmu-zones = <0x10>;
|
||||
xlnx,number-of-pc-brk = <0x1>;
|
||||
xlnx,number-of-rd-addr-brk = <0x0>;
|
||||
xlnx,number-of-wr-addr-brk = <0x0>;
|
||||
xlnx,opcode-0x0-illegal = <0x1>;
|
||||
xlnx,pvr = <0x2>;
|
||||
xlnx,pvr-user1 = <0x0>;
|
||||
xlnx,pvr-user2 = <0x0>;
|
||||
xlnx,reset-msr = <0x0>;
|
||||
xlnx,sco = <0x0>;
|
||||
xlnx,unaligned-exceptions = <0x1>;
|
||||
xlnx,use-barrel = <0x1>;
|
||||
xlnx,use-dcache = <0x1>;
|
||||
xlnx,use-div = <0x1>;
|
||||
xlnx,use-ext-brk = <0x1>;
|
||||
xlnx,use-ext-nm-brk = <0x1>;
|
||||
xlnx,use-extended-fsl-instr = <0x0>;
|
||||
xlnx,use-fpu = <0x2>;
|
||||
xlnx,use-hw-mul = <0x2>;
|
||||
xlnx,use-icache = <0x1>;
|
||||
xlnx,use-interrupt = <0x1>;
|
||||
xlnx,use-mmu = <0x3>;
|
||||
xlnx,use-msr-instr = <0x1>;
|
||||
xlnx,use-pcmp-instr = <0x1>;
|
||||
} ;
|
||||
} ;
|
||||
mb_plb: plb@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,plb-v46-1.03.a", "xlnx,plb-v46-1.00.a", "simple-bus";
|
||||
ranges ;
|
||||
FLASH: flash@a0000000 {
|
||||
bank-width = <2>;
|
||||
compatible = "xlnx,xps-mch-emc-2.00.a", "cfi-flash";
|
||||
reg = < 0xa0000000 0x2000000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,include-datawidth-matching-0 = <0x1>;
|
||||
xlnx,include-datawidth-matching-1 = <0x0>;
|
||||
xlnx,include-datawidth-matching-2 = <0x0>;
|
||||
xlnx,include-datawidth-matching-3 = <0x0>;
|
||||
xlnx,include-negedge-ioregs = <0x0>;
|
||||
xlnx,include-plb-ipif = <0x1>;
|
||||
xlnx,include-wrbuf = <0x1>;
|
||||
xlnx,max-mem-width = <0x10>;
|
||||
xlnx,mch-native-dwidth = <0x20>;
|
||||
xlnx,mch-plb-clk-period-ps = <0x1f40>;
|
||||
xlnx,mch-splb-awidth = <0x20>;
|
||||
xlnx,mch0-accessbuf-depth = <0x10>;
|
||||
xlnx,mch0-protocol = <0x0>;
|
||||
xlnx,mch0-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch1-accessbuf-depth = <0x10>;
|
||||
xlnx,mch1-protocol = <0x0>;
|
||||
xlnx,mch1-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch2-accessbuf-depth = <0x10>;
|
||||
xlnx,mch2-protocol = <0x0>;
|
||||
xlnx,mch2-rddatabuf-depth = <0x10>;
|
||||
xlnx,mch3-accessbuf-depth = <0x10>;
|
||||
xlnx,mch3-protocol = <0x0>;
|
||||
xlnx,mch3-rddatabuf-depth = <0x10>;
|
||||
xlnx,mem0-width = <0x10>;
|
||||
xlnx,mem1-width = <0x20>;
|
||||
xlnx,mem2-width = <0x20>;
|
||||
xlnx,mem3-width = <0x20>;
|
||||
xlnx,num-banks-mem = <0x1>;
|
||||
xlnx,num-channels = <0x0>;
|
||||
xlnx,priority-mode = <0x0>;
|
||||
xlnx,synch-mem-0 = <0x0>;
|
||||
xlnx,synch-mem-1 = <0x0>;
|
||||
xlnx,synch-mem-2 = <0x0>;
|
||||
xlnx,synch-mem-3 = <0x0>;
|
||||
xlnx,synch-pipedelay-0 = <0x2>;
|
||||
xlnx,synch-pipedelay-1 = <0x2>;
|
||||
xlnx,synch-pipedelay-2 = <0x2>;
|
||||
xlnx,synch-pipedelay-3 = <0x2>;
|
||||
xlnx,tavdv-ps-mem-0 = <0x1adb0>;
|
||||
xlnx,tavdv-ps-mem-1 = <0x3a98>;
|
||||
xlnx,tavdv-ps-mem-2 = <0x3a98>;
|
||||
xlnx,tavdv-ps-mem-3 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-0 = <0x1adb0>;
|
||||
xlnx,tcedv-ps-mem-1 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-2 = <0x3a98>;
|
||||
xlnx,tcedv-ps-mem-3 = <0x3a98>;
|
||||
xlnx,thzce-ps-mem-0 = <0x88b8>;
|
||||
xlnx,thzce-ps-mem-1 = <0x1b58>;
|
||||
xlnx,thzce-ps-mem-2 = <0x1b58>;
|
||||
xlnx,thzce-ps-mem-3 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-0 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-1 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-2 = <0x1b58>;
|
||||
xlnx,thzoe-ps-mem-3 = <0x1b58>;
|
||||
xlnx,tlzwe-ps-mem-0 = <0x88b8>;
|
||||
xlnx,tlzwe-ps-mem-1 = <0x0>;
|
||||
xlnx,tlzwe-ps-mem-2 = <0x0>;
|
||||
xlnx,tlzwe-ps-mem-3 = <0x0>;
|
||||
xlnx,twc-ps-mem-0 = <0x2af8>;
|
||||
xlnx,twc-ps-mem-1 = <0x3a98>;
|
||||
xlnx,twc-ps-mem-2 = <0x3a98>;
|
||||
xlnx,twc-ps-mem-3 = <0x3a98>;
|
||||
xlnx,twp-ps-mem-0 = <0x11170>;
|
||||
xlnx,twp-ps-mem-1 = <0x2ee0>;
|
||||
xlnx,twp-ps-mem-2 = <0x2ee0>;
|
||||
xlnx,twp-ps-mem-3 = <0x2ee0>;
|
||||
xlnx,xcl0-linesize = <0x4>;
|
||||
xlnx,xcl0-writexfer = <0x1>;
|
||||
xlnx,xcl1-linesize = <0x4>;
|
||||
xlnx,xcl1-writexfer = <0x1>;
|
||||
xlnx,xcl2-linesize = <0x4>;
|
||||
xlnx,xcl2-writexfer = <0x1>;
|
||||
xlnx,xcl3-linesize = <0x4>;
|
||||
xlnx,xcl3-writexfer = <0x1>;
|
||||
} ;
|
||||
Hard_Ethernet_MAC: xps-ll-temac@81c00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,compound";
|
||||
ranges ;
|
||||
ethernet@81c00000 {
|
||||
compatible = "xlnx,xps-ll-temac-1.01.b", "xlnx,xps-ll-temac-1.00.a";
|
||||
device_type = "network";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 5 2 >;
|
||||
llink-connected = <&PIM3>;
|
||||
local-mac-address = [ 00 0a 35 00 00 00 ];
|
||||
reg = < 0x81c00000 0x40 >;
|
||||
xlnx,bus2core-clk-ratio = <0x1>;
|
||||
xlnx,phy-type = <0x1>;
|
||||
xlnx,phyaddr = <0x1>;
|
||||
xlnx,rxcsum = <0x0>;
|
||||
xlnx,rxfifo = <0x1000>;
|
||||
xlnx,temac-type = <0x0>;
|
||||
xlnx,txcsum = <0x0>;
|
||||
xlnx,txfifo = <0x1000>;
|
||||
} ;
|
||||
} ;
|
||||
IIC_EEPROM: i2c@81600000 {
|
||||
compatible = "xlnx,xps-iic-2.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 6 2 >;
|
||||
reg = < 0x81600000 0x10000 >;
|
||||
xlnx,clk-freq = <0x7735940>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gpo-width = <0x1>;
|
||||
xlnx,iic-freq = <0x186a0>;
|
||||
xlnx,scl-inertial-delay = <0x0>;
|
||||
xlnx,sda-inertial-delay = <0x0>;
|
||||
xlnx,ten-bit-adr = <0x0>;
|
||||
} ;
|
||||
LEDs_8Bit: gpio@81400000 {
|
||||
compatible = "xlnx,xps-gpio-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 7 2 >;
|
||||
reg = < 0x81400000 0x10000 >;
|
||||
xlnx,all-inputs = <0x0>;
|
||||
xlnx,all-inputs-2 = <0x0>;
|
||||
xlnx,dout-default = <0x0>;
|
||||
xlnx,dout-default-2 = <0x0>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gpio-width = <0x8>;
|
||||
xlnx,interrupt-present = <0x1>;
|
||||
xlnx,is-bidir = <0x1>;
|
||||
xlnx,is-bidir-2 = <0x1>;
|
||||
xlnx,is-dual = <0x0>;
|
||||
xlnx,tri-default = <0xffffffff>;
|
||||
xlnx,tri-default-2 = <0xffffffff>;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
} ;
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
heartbeat {
|
||||
label = "Heartbeat";
|
||||
gpios = <&LEDs_8Bit 4 1>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
yellow {
|
||||
label = "Yellow";
|
||||
gpios = <&LEDs_8Bit 5 1>;
|
||||
};
|
||||
|
||||
red {
|
||||
label = "Red";
|
||||
gpios = <&LEDs_8Bit 6 1>;
|
||||
};
|
||||
|
||||
green {
|
||||
label = "Green";
|
||||
gpios = <&LEDs_8Bit 7 1>;
|
||||
};
|
||||
} ;
|
||||
RS232_Uart_1: serial@84000000 {
|
||||
clock-frequency = <125000000>;
|
||||
compatible = "xlnx,xps-uartlite-1.00.a";
|
||||
current-speed = <115200>;
|
||||
device_type = "serial";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 8 0 >;
|
||||
port-number = <0>;
|
||||
reg = < 0x84000000 0x10000 >;
|
||||
xlnx,baudrate = <0x1c200>;
|
||||
xlnx,data-bits = <0x8>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,odd-parity = <0x0>;
|
||||
xlnx,use-parity = <0x0>;
|
||||
} ;
|
||||
SysACE_CompactFlash: sysace@83600000 {
|
||||
compatible = "xlnx,xps-sysace-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 4 2 >;
|
||||
reg = < 0x83600000 0x10000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,mem-width = <0x10>;
|
||||
} ;
|
||||
debug_module: debug@84400000 {
|
||||
compatible = "xlnx,mdm-1.00.d";
|
||||
reg = < 0x84400000 0x10000 >;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,interconnect = <0x1>;
|
||||
xlnx,jtag-chain = <0x2>;
|
||||
xlnx,mb-dbg-ports = <0x1>;
|
||||
xlnx,uart-width = <0x8>;
|
||||
xlnx,use-uart = <0x1>;
|
||||
xlnx,write-fsl-ports = <0x0>;
|
||||
} ;
|
||||
mpmc@90000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "xlnx,mpmc-4.02.a";
|
||||
ranges ;
|
||||
PIM3: sdma@84600180 {
|
||||
compatible = "xlnx,ll-dma-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 2 2 1 2 >;
|
||||
reg = < 0x84600180 0x80 >;
|
||||
} ;
|
||||
} ;
|
||||
xps_intc_0: interrupt-controller@81800000 {
|
||||
#interrupt-cells = <0x2>;
|
||||
compatible = "xlnx,xps-intc-1.00.a";
|
||||
interrupt-controller ;
|
||||
reg = < 0x81800000 0x10000 >;
|
||||
xlnx,kind-of-intr = <0x100>;
|
||||
xlnx,num-intr-inputs = <0x9>;
|
||||
} ;
|
||||
xps_timer_1: timer@83c00000 {
|
||||
compatible = "xlnx,xps-timer-1.00.a";
|
||||
interrupt-parent = <&xps_intc_0>;
|
||||
interrupts = < 3 2 >;
|
||||
reg = < 0x83c00000 0x10000 >;
|
||||
xlnx,count-width = <0x20>;
|
||||
xlnx,family = "virtex5";
|
||||
xlnx,gen0-assert = <0x1>;
|
||||
xlnx,gen1-assert = <0x1>;
|
||||
xlnx,one-timer-only = <0x0>;
|
||||
xlnx,trig0-assert = <0x1>;
|
||||
xlnx,trig1-assert = <0x1>;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -Nur linux-3.14.orig/drivers/net/ethernet/xilinx/xilinx_emaclite.c linux-3.14/drivers/net/ethernet/xilinx/xilinx_emaclite.c
|
||||
--- linux-3.14.orig/drivers/net/ethernet/xilinx/xilinx_emaclite.c 2014-03-31 05:40:15.000000000 +0200
|
||||
+++ linux-3.14/drivers/net/ethernet/xilinx/xilinx_emaclite.c 2014-04-11 22:53:42.000000000 +0200
|
||||
@@ -1249,6 +1249,7 @@
|
||||
{ .compatible = "xlnx,opb-ethernetlite-1.01.b", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-1.00.a", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-2.00.a", },
|
||||
+ { .compatible = "xlnx,xps-ethernetlite-2.00.b", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-2.01.a", },
|
||||
{ .compatible = "xlnx,xps-ethernetlite-3.00.a", },
|
||||
{ /* end of list */ },
|
||||
@@ -1,15 +1,21 @@
|
||||
CONFIG_MIPS_MALTA=y
|
||||
CONFIG_CPU_MIPS32_R2=y
|
||||
CONFIG_MIPS_MT_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=15
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_UTS_NS=y
|
||||
CONFIG_IPC_NS=y
|
||||
CONFIG_PID_NS=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
@@ -18,6 +24,7 @@ CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -31,13 +38,18 @@ CONFIG_IP_PNP=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
# CONFIG_MISC_DEVICES is not set
|
||||
CONFIG_IDE=y
|
||||
CONFIG_BLK_DEV_IDECD=y
|
||||
CONFIG_IDE_GENERIC=y
|
||||
CONFIG_BLK_DEV_GENERIC=y
|
||||
CONFIG_BLK_DEV_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_PCNET32=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
@@ -47,13 +59,18 @@ CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_MFD_SUPPORT is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_CIRRUS=y
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
@@ -6,4 +6,4 @@ The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
enabled.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,16 +1,23 @@
|
||||
CONFIG_MIPS_MALTA=y
|
||||
CONFIG_CPU_MIPS64_R1=y
|
||||
CONFIG_64BIT=y
|
||||
CONFIG_64BIT_PHYS_ADDR=y
|
||||
CONFIG_MIPS_MT_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=15
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_UTS_NS=y
|
||||
CONFIG_IPC_NS=y
|
||||
CONFIG_PID_NS=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
@@ -19,9 +26,7 @@ CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_MIPS32_COMPAT=y
|
||||
CONFIG_MIPS32_O32=y
|
||||
CONFIG_MIPS32_N32=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -35,25 +40,39 @@ CONFIG_IP_PNP=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
# CONFIG_MISC_DEVICES is not set
|
||||
CONFIG_IDE=y
|
||||
CONFIG_BLK_DEV_IDECD=y
|
||||
CONFIG_IDE_GENERIC=y
|
||||
CONFIG_BLK_DEV_GENERIC=y
|
||||
CONFIG_BLK_DEV_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_PCNET32=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_MFD_SUPPORT is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_CIRRUS=y
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
@@ -3,6 +3,9 @@ Run the emulation with:
|
||||
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.
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
enabled.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
This configuration is known to be flaky.
|
||||
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
CONFIG_MIPS_MALTA=y
|
||||
CONFIG_CPU_LITTLE_ENDIAN=y
|
||||
CONFIG_CPU_MIPS64_R1=y
|
||||
CONFIG_64BIT=y
|
||||
CONFIG_MIPS_MT_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=15
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_MIPS32_COMPAT=y
|
||||
CONFIG_MIPS32_O32=y
|
||||
CONFIG_MIPS32_N32=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_IDE=y
|
||||
CONFIG_BLK_DEV_IDECD=y
|
||||
CONFIG_IDE_GENERIC=y
|
||||
CONFIG_BLK_DEV_GENERIC=y
|
||||
CONFIG_BLK_DEV_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_PCNET32=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_CIRRUS=y
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
@@ -1,8 +0,0 @@
|
||||
Run the emulation with:
|
||||
|
||||
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.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
@@ -2,15 +2,21 @@ CONFIG_MIPS_MALTA=y
|
||||
CONFIG_CPU_LITTLE_ENDIAN=y
|
||||
CONFIG_CPU_MIPS32_R2=y
|
||||
CONFIG_MIPS_MT_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=15
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_UTS_NS=y
|
||||
CONFIG_IPC_NS=y
|
||||
CONFIG_PID_NS=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
@@ -19,6 +25,7 @@ CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
@@ -32,13 +39,18 @@ CONFIG_IP_PNP=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
# CONFIG_MISC_DEVICES is not set
|
||||
CONFIG_IDE=y
|
||||
CONFIG_BLK_DEV_IDECD=y
|
||||
CONFIG_IDE_GENERIC=y
|
||||
CONFIG_BLK_DEV_GENERIC=y
|
||||
CONFIG_BLK_DEV_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_PCNET32=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
@@ -48,13 +60,18 @@ CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_MFD_SUPPORT is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_CIRRUS=y
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
@@ -6,4 +6,4 @@ The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
enabled.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,47 +1,86 @@
|
||||
CONFIG_ALTIVEC=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_SWAP=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_COMPAT_BRK=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_LBDAF=y
|
||||
CONFIG_PPC_PMAC=y
|
||||
CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
|
||||
CONFIG_PPC601_SYNC_FIX=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_PCCARD=y
|
||||
CONFIG_PCMCIA=y
|
||||
CONFIG_PCMCIA_LOAD_CIS=y
|
||||
CONFIG_PCMCIA_IOCTL=y
|
||||
CONFIG_YENTA=y
|
||||
CONFIG_ADVANCED_OPTIONS=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_MMAP=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_INET_LRO=y
|
||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||
CONFIG_CONNECTOR=y
|
||||
CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_PROC_EVENTS=y
|
||||
CONFIG_BLK_DEV=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_IDE=y
|
||||
CONFIG_IDE_GD=y
|
||||
CONFIG_IDE_GD_ATA=y
|
||||
CONFIG_BLK_DEV_IDECD=y
|
||||
CONFIG_IDE_PROC_FS=y
|
||||
CONFIG_BLK_DEV_CMD64X=y
|
||||
CONFIG_BLK_DEV_IDE_PMAC=y
|
||||
CONFIG_IEEE1394=y
|
||||
CONFIG_IEEE1394_OHCI1394=y
|
||||
CONFIG_IEEE1394_ETH1394=y
|
||||
CONFIG_IEEE1394_RAWIO=y
|
||||
CONFIG_IEEE1394_VIDEO1394=y
|
||||
CONFIG_IEEE1394_DV1394=y
|
||||
CONFIG_MACINTOSH_DRIVERS=y
|
||||
CONFIG_ADB=y
|
||||
CONFIG_ADB_CUDA=y
|
||||
CONFIG_ADB_PMU=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_PCNET32=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_MACE=y
|
||||
CONFIG_BMAC=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
CONFIG_8139TOO=y
|
||||
CONFIG_HAPPYMEAL=y
|
||||
CONFIG_SUNGEM=y
|
||||
CONFIG_CASSINI=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_PCNET32=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
CONFIG_8139TOO=y
|
||||
CONFIG_8139TOO_PIO=y
|
||||
CONFIG_SERIO=y
|
||||
CONFIG_SERIAL_PMACZILOG=y
|
||||
CONFIG_SERIAL_PMACZILOG_TTYS=y
|
||||
CONFIG_SERIAL_PMACZILOG_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_SSB=y
|
||||
CONFIG_SSB_PCIHOST=y
|
||||
CONFIG_SSB_PCMCIAHOST=y
|
||||
CONFIG_SSB_DRIVER_PCICORE=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_MISC_FILESYSTEMS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_LIBCRC32C=y
|
||||
CONFIG_BOOTX_TEXT=y
|
||||
CONFIG_CRYPTO_HW=y
|
||||
@@ -1,8 +1,8 @@
|
||||
Run the emulation with:
|
||||
|
||||
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
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -hda output/images/rootfs.ext2 -append "console=ttyS0 root=/dev/hdc" -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.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -3,6 +3,9 @@ CONFIG_SYSVIPC=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_OPROFILE=y
|
||||
@@ -31,7 +34,11 @@ CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_PATA_PLATFORM=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
CONFIG_8139TOO=y
|
||||
# CONFIG_8139TOO_PIO is not set
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_FF_MEMLESS=m
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
@@ -59,6 +66,7 @@ CONFIG_LOGO=y
|
||||
# CONFIG_LOGO_SUPERH_MONO is not set
|
||||
# CONFIG_LOGO_SUPERH_VGA16 is not set
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_YMFPCI=m
|
||||
CONFIG_SOUND_PRIME=m
|
||||
CONFIG_HID_A4TECH=y
|
||||
@@ -92,5 +100,6 @@ CONFIG_TMPFS=y
|
||||
CONFIG_MINIX_FS=y
|
||||
CONFIG_NLS_CODEPAGE_932=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRC_T10DIF=y
|
||||
@@ -5,4 +5,4 @@ Run the emulation with:
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
Run the emulation with:
|
||||
|
||||
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 -display none
|
||||
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.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
@@ -29,8 +29,12 @@ CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_ATA_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
@@ -41,9 +45,11 @@ CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_MFD_SUPPORT is not set
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HDA_INTEL=y
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
# CONFIG_X86_PLATFORM_DEVICES is not set
|
||||
# CONFIG_DMIID is not set
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
@@ -29,8 +29,12 @@ CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_ATA_PIIX=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
@@ -41,13 +45,15 @@ CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_MFD_SUPPORT is not set
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_HDA_INTEL=y
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
# CONFIG_X86_PLATFORM_DEVICES is not set
|
||||
# CONFIG_DMIID is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT2_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
# CONFIG_INOTIFY_USER is not set
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
@@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
|
||||
Tested with QEMU 1.7.0
|
||||
Tested with QEMU 1.5.2
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_XTENSA_VARIANT_DC232B=y
|
||||
# CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set
|
||||
CONFIG_XTENSA_PLATFORM_XTFPGA=y
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="console=ttyS0,38400"
|
||||
# CONFIG_COMPACTION is not set
|
||||
# CONFIG_BOUNCE is not set
|
||||
# CONFIG_CROSS_MEMORY_ATTACH is not set
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_VGA_CONSOLE is not set
|
||||
# CONFIG_S32C1I_SELFTEST is not set
|
||||
CONFIG_LD_NO_RELAX=y
|
||||
@@ -1,16 +0,0 @@
|
||||
disable boot-uboot and boot-redboot, requires a patched u-boot and mkimage
|
||||
|
||||
Signed-off-by:Waldemar Brodkorb <wbx@openadk.org>
|
||||
|
||||
diff -Nur linux-3.15.orig/arch/xtensa/boot/Makefile linux-3.15/arch/xtensa/boot/Makefile
|
||||
--- linux-3.15.orig/arch/xtensa/boot/Makefile 2014-06-08 20:19:54.000000000 +0200
|
||||
+++ linux-3.15/arch/xtensa/boot/Makefile 2014-06-14 20:07:15.206091165 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf
|
||||
bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot
|
||||
-bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot
|
||||
+bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-elf
|
||||
|
||||
zImage Image: $(bootdir-y)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-xtensa -M lx60 -cpu dc232b -monitor null -nographic -kernel output/images/Image.elf
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.0.0
|
||||
Binary file not shown.
@@ -4,124 +4,124 @@ Intro
|
||||
=====
|
||||
|
||||
To be able to use your RaspberryPi 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
|
||||
Buildroot, you have a prior choice to make, will you 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
|
||||
Volatile rootfs
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
How to build it
|
||||
---------------
|
||||
|
||||
The raspberrypi_defconfig configuration is a minimal configuration with
|
||||
all that is required to bring the Raspberry Pi. You should base your
|
||||
work on this defconfig:
|
||||
You need to use the rpi_defconfig, to do so:
|
||||
* make rpi_defconfig
|
||||
|
||||
$ make raspberrypi_defconfig
|
||||
Then, you need to select the kind of images you want:
|
||||
* make menuconfig
|
||||
* Select "Filesystem images"
|
||||
* Select "initial RAM filesystem linked into linux kernel"
|
||||
|
||||
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
|
||||
----------------
|
||||
|
||||
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; consider getting yourself a coffee ;-) )
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
What is generated
|
||||
-----------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- rootfs.tar
|
||||
+-- rpi-firmware
|
||||
| +-- bootcode.bin
|
||||
| +-- config.txt
|
||||
| +-- fixup_cd.dat
|
||||
| +-- fixup.dat
|
||||
| +-- start_cd.elf
|
||||
| `-- start.elf
|
||||
| +-- bootcode.bin
|
||||
| +-- config.txt
|
||||
| +-- fixup_cd.dat
|
||||
| +-- fixup.dat
|
||||
| +-- start_cd.elf
|
||||
| `-- start.elf
|
||||
`-- zImage
|
||||
|
||||
Note for Volatile: rootfs.tar will only be there if you kept
|
||||
"tar the root filesystem" option selected in "Filesystem images".
|
||||
Note : rootfs.tar will only be there if you kept "tar the root filesystem"
|
||||
option selected in "Filesystem images".
|
||||
|
||||
Prepare you SDCard
|
||||
==================
|
||||
Where should the binaries be copied on the SDCard
|
||||
-------------------------------------------------
|
||||
|
||||
For more information, visit
|
||||
http://elinux.org/RPi_Advanced_Setup#Advanced_SD_card_setup
|
||||
Your SDCard must have its first partition using fat32 and marked bootable.
|
||||
|
||||
In summary, your SDCard must have first partition in fat32 and marked bootable.
|
||||
At the root of the partition, the RaspberryPi must find the following files:
|
||||
|
||||
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
|
||||
* bootcode.bin
|
||||
* config.txt
|
||||
* fixup_cd.dat
|
||||
* fixup.dat
|
||||
* start_cd.elf
|
||||
* start.elf
|
||||
* zImage
|
||||
|
||||
So you should copy the entire content of output/images/rpi-firmware along with
|
||||
zImage.
|
||||
|
||||
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.
|
||||
is that the first partition must be using fat32 and bootable.
|
||||
|
||||
Mount the partitions (adjust 'sdX' to match your SDcard device):
|
||||
Persistent rootfs
|
||||
=================
|
||||
|
||||
$ sudo mount /dev/sdX1 /mnt/mountpointboot
|
||||
$ sudo mount /dev/sdX2 /mnt/mountpointroot (only for persistent rootfs)
|
||||
How to build it
|
||||
---------------
|
||||
|
||||
Install the binaries to the SDCard
|
||||
----------------------------------
|
||||
You only need to use the rpi_defconfig, to do so:
|
||||
* make rpi_defconfig
|
||||
|
||||
At the root of the boot partition, the RaspberryPi must find the following
|
||||
files:
|
||||
What is generated
|
||||
-----------------
|
||||
|
||||
* bootcode.bin
|
||||
* config.txt
|
||||
* fixup.dat
|
||||
* start.elf
|
||||
* zImage
|
||||
After building, you should obtain this tree:
|
||||
|
||||
For example:
|
||||
output/images/
|
||||
+-- rootfs.tar
|
||||
+-- rpi-firmware
|
||||
| +-- bootcode.bin
|
||||
| +-- config.txt
|
||||
| +-- fixup_cd.dat
|
||||
| +-- fixup.dat
|
||||
| +-- start_cd.elf
|
||||
| `-- start.elf
|
||||
`-- zImage
|
||||
|
||||
$ cp output/images/rpi-firmware/* /mnt/mountpointboot
|
||||
$ cp output/images/zImage /mnt/mountpointboot
|
||||
Where should the binaries be copied on the SDCard
|
||||
-------------------------------------------------
|
||||
|
||||
Note: The kernel image file name is defined in config.txt like this:
|
||||
kernel=zImage
|
||||
Your SDCard must have its first partition using fat32 and marked bootable.
|
||||
It should also have another partition which will contain your rootfs, it should
|
||||
be partitioned as ext4.
|
||||
|
||||
If you use a volatile rootfs, Skip to "Finish", below. For a persistent
|
||||
rootfs, there are further steps to do.
|
||||
Boot partition
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Extract (as root!) the contents of the rootfs.tar archive into the second
|
||||
partition you created above:
|
||||
The first partition will contain everything used to boot the RaspberryPi.
|
||||
You must copy theses files at the root of partition:
|
||||
|
||||
$ sudo tar xf rootfs.tar -C /mnt/mountpointroot
|
||||
* bootcode.bin
|
||||
* config.txt
|
||||
* fixup_cd.dat
|
||||
* fixup.dat
|
||||
* start_cd.elf
|
||||
* start.elf
|
||||
* zImage
|
||||
|
||||
Finish
|
||||
======
|
||||
So you should copy the entire content of output/images/rpi-firmware along with
|
||||
zImage.
|
||||
|
||||
Unmount all the partitions:
|
||||
Rootfs partition
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
$ sudo umount /mnt/mountpointboot
|
||||
$ sudo umount /mnt/mountpointroot (only for persistent rootfs)
|
||||
The second partition will contain your rootfs.
|
||||
Simply extract (as root!) the contents of the rootfs.tar archive
|
||||
into this partition.
|
||||
|
||||
And eject your SDcard from your computer SDcard reader.
|
||||
For example: (Assuming mountpoint is a directory and exist)
|
||||
|
||||
$ sudo mount /dev/sdXY /mnt/mountpoint
|
||||
$ sudo tar xf rootfs.tar -C /mnt/mountpoint
|
||||
|
||||
Insert the SDcard into your Raspberry Pi, and power it up. Your new system
|
||||
should come up, now.
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
SERIAL 1 115200
|
||||
CONSOLE 0
|
||||
|
||||
DEFAULT linux
|
||||
|
||||
LABEL linux
|
||||
SAY Now booting the kernel from SYSLINUX...
|
||||
LINUX /boot/bzImage
|
||||
APPEND console=ttyS1,115200n8 root=/dev/sda1 rootfstype=ext4 rw
|
||||
@@ -1,113 +0,0 @@
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
# CONFIG_X86_EXTENDED_PLATFORM is not set
|
||||
CONFIG_MELAN=y
|
||||
CONFIG_X86_GENERIC=y
|
||||
CONFIG_X86_REBOOTFIXUPS=y
|
||||
CONFIG_NOHIGHMEM=y
|
||||
# CONFIG_COMPACTION is not set
|
||||
# CONFIG_BOUNCE is not set
|
||||
# CONFIG_CROSS_MEMORY_ATTACH is not set
|
||||
# CONFIG_RELOCATABLE is not set
|
||||
# CONFIG_SUSPEND is not set
|
||||
# CONFIG_ACPI is not set
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_TS5500=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_BLK_DEV is not set
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_SCSI_LOWLEVEL is not set
|
||||
CONFIG_ATA=y
|
||||
# CONFIG_ATA_VERBOSE_ERROR is not set
|
||||
# CONFIG_SATA_PMP is not set
|
||||
CONFIG_ATA_GENERIC=y
|
||||
CONFIG_PATA_LEGACY=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_CORE is not set
|
||||
# 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_ARC 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_TULIP=y
|
||||
CONFIG_DM9102=y
|
||||
# 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_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_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_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SUN is not set
|
||||
# CONFIG_NET_VENDOR_TEHUTI is not set
|
||||
# CONFIG_NET_VENDOR_TI is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_DAVICOM_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_TS5500=y
|
||||
CONFIG_SENSORS_MAX197=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_SC520_WDT=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||
CONFIG_USB_SERIAL_PL2303=y
|
||||
# CONFIG_X86_PLATFORM_DEVICES is not set
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
# CONFIG_DMIID is not set
|
||||
CONFIG_EXT4_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
# CONFIG_INOTIFY_USER is not set
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_ISO8859_15=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
CONFIG_XZ_DEC=y
|
||||
@@ -1,117 +0,0 @@
|
||||
From 510acd057785ff52bfdfed6360a44a42f44e078f Mon Sep 17 00:00:00 2001
|
||||
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
|
||||
Date: Mon, 7 Jul 2014 15:56:11 -0400
|
||||
Subject: [PATCH] x86: (ts5500) add board support for TS-5400
|
||||
|
||||
This patch extends the TS-5500 board support to identify the compatible
|
||||
TS-5400 Single Board Computer (ID 0x40).
|
||||
|
||||
It also adds a new "name" sysfs attribute for more human readable
|
||||
identification, actually printing "TS-5500" or "TS-5400".
|
||||
|
||||
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
|
||||
---
|
||||
arch/x86/platform/ts5500/ts5500.c | 34 +++++++++++++++++++++++++++-------
|
||||
1 file changed, 27 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/arch/x86/platform/ts5500/ts5500.c b/arch/x86/platform/ts5500/ts5500.c
|
||||
index 9471b94..127fce2 100644
|
||||
--- a/arch/x86/platform/ts5500/ts5500.c
|
||||
+++ b/arch/x86/platform/ts5500/ts5500.c
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
/* Product code register */
|
||||
#define TS5500_PRODUCT_CODE_ADDR 0x74
|
||||
-#define TS5500_PRODUCT_CODE 0x60 /* TS-5500 product code */
|
||||
|
||||
/* SRAM/RS-485/ADC options, and RS-485 RTS/Automatic RS-485 flags register */
|
||||
#define TS5500_SRAM_RS485_ADC_ADDR 0x75
|
||||
@@ -64,9 +63,17 @@
|
||||
#define TS5500_ADC_CONV_MSB_ADDR 0x197 /* MSB register */
|
||||
#define TS5500_ADC_CONV_DELAY 12 /* usec */
|
||||
|
||||
+static const struct ts5x00_info {
|
||||
+ const int id;
|
||||
+ const char * const name;
|
||||
+} ts5x00_info[] = {
|
||||
+ { 0x40, "TS-5400" },
|
||||
+ { 0x60, "TS-5500" },
|
||||
+};
|
||||
+
|
||||
/**
|
||||
* struct ts5500_sbc - TS-5500 board description
|
||||
- * @id: Board product ID.
|
||||
+ * @info: Board identification.
|
||||
* @sram: Flag for SRAM option.
|
||||
* @rs485: Flag for RS-485 option.
|
||||
* @adc: Flag for Analog/Digital converter option.
|
||||
@@ -75,7 +82,7 @@
|
||||
* @jumpers: Bitfield for jumpers' state.
|
||||
*/
|
||||
struct ts5500_sbc {
|
||||
- int id;
|
||||
+ const struct ts5x00_info *info;
|
||||
bool sram;
|
||||
bool rs485;
|
||||
bool adc;
|
||||
@@ -117,18 +124,21 @@ static int __init ts5500_check_signature(void)
|
||||
static int __init ts5500_detect_config(struct ts5500_sbc *sbc)
|
||||
{
|
||||
u8 tmp;
|
||||
+ int i;
|
||||
int ret = 0;
|
||||
|
||||
if (!request_region(TS5500_PRODUCT_CODE_ADDR, 4, "ts5500"))
|
||||
return -EBUSY;
|
||||
|
||||
tmp = inb(TS5500_PRODUCT_CODE_ADDR);
|
||||
- if (tmp != TS5500_PRODUCT_CODE) {
|
||||
- pr_err("This platform is not a TS-5500 (found ID 0x%x)\n", tmp);
|
||||
+ for (i = 0; i < ARRAY_SIZE(ts5x00_info) && !sbc->info; ++i)
|
||||
+ if (tmp == ts5x00_info[i].id)
|
||||
+ sbc->info = &ts5x00_info[i];
|
||||
+ if (!sbc->info) {
|
||||
+ pr_err("Not a known TS-5x00 platform (found ID 0x%x)\n", tmp);
|
||||
ret = -ENODEV;
|
||||
goto cleanup;
|
||||
}
|
||||
- sbc->id = tmp;
|
||||
|
||||
tmp = inb(TS5500_SRAM_RS485_ADC_ADDR);
|
||||
sbc->sram = tmp & TS5500_SRAM;
|
||||
@@ -152,7 +162,15 @@ static ssize_t ts5500_show_id(struct device *dev,
|
||||
{
|
||||
struct ts5500_sbc *sbc = dev_get_drvdata(dev);
|
||||
|
||||
- return sprintf(buf, "0x%.2x\n", sbc->id);
|
||||
+ return sprintf(buf, "0x%.2x\n", sbc->info->id);
|
||||
+}
|
||||
+
|
||||
+static ssize_t ts5500_show_name(struct device *dev,
|
||||
+ struct device_attribute *attr, char *buf)
|
||||
+{
|
||||
+ struct ts5500_sbc *sbc = dev_get_drvdata(dev);
|
||||
+
|
||||
+ return sprintf(buf, "%s\n", sbc->info->name);
|
||||
}
|
||||
|
||||
static ssize_t ts5500_show_jumpers(struct device *dev,
|
||||
@@ -180,6 +198,7 @@ TS5500_SHOW(ereset)
|
||||
TS5500_SHOW(itr)
|
||||
|
||||
static DEVICE_ATTR(id, S_IRUGO, ts5500_show_id, NULL);
|
||||
+static DEVICE_ATTR(name, S_IRUGO, ts5500_show_name, NULL);
|
||||
static DEVICE_ATTR(jumpers, S_IRUGO, ts5500_show_jumpers, NULL);
|
||||
static DEVICE_ATTR(sram, S_IRUGO, ts5500_show_sram, NULL);
|
||||
static DEVICE_ATTR(rs485, S_IRUGO, ts5500_show_rs485, NULL);
|
||||
@@ -189,6 +208,7 @@ static DEVICE_ATTR(itr, S_IRUGO, ts5500_show_itr, NULL);
|
||||
|
||||
static struct attribute *ts5500_attributes[] = {
|
||||
&dev_attr_id.attr,
|
||||
+ &dev_attr_name.attr,
|
||||
&dev_attr_jumpers.attr,
|
||||
&dev_attr_sram.attr,
|
||||
&dev_attr_rs485.attr,
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
Technologic Systems TS-5x00 SBCs
|
||||
================================
|
||||
|
||||
This document explains how to set up a basic Buildroot system for the
|
||||
Technologic Systems TS-5x00 serie of x86-based Single Board Computers.
|
||||
|
||||
TS-5x00 Single Board Computers are based on the AMD Elan520 processor. For more
|
||||
information please have a look at http://wiki.embeddedarm.com/wiki/#AMD
|
||||
|
||||
The kernel configuration works for any AMD Elan520-based SBCs, but the support
|
||||
is enhanced for the TS-5500 and TS-5400 models (on-board devices registration
|
||||
and additional sysfs attributes under /sys/devices/platform/).
|
||||
|
||||
To build the default configuration you only have to:
|
||||
|
||||
$ make ts5x00_defconfig
|
||||
$ make
|
||||
|
||||
You will need a Compact Flash card of sufficient size and the first or only
|
||||
partition configured as Linux type, with the bootable flag.
|
||||
|
||||
You can transfer the system on the partition then optionally resize it with:
|
||||
|
||||
# dd if=output/images/rootfs.ext4 of=/dev/sdX1
|
||||
# resize2fs /dev/sdX1
|
||||
|
||||
Or you can just extract the root filesystem to the partition with:
|
||||
|
||||
# mount /dev/sdX1 /mnt
|
||||
# tar -pxf output/images/rootfs.tar -C /mnt
|
||||
# umount /mnt
|
||||
|
||||
To install the bootloader, you will need to copy the MBR:
|
||||
|
||||
# cat output/images/syslinux/mbr.bin > /dev/sdX
|
||||
|
||||
Then install SYSLINUX in the mounted partition:
|
||||
|
||||
# mount /dev/sdX1 /mnt
|
||||
# output/host/sbin/extlinux --install /mnt/boot/syslinux
|
||||
# umount /mnt
|
||||
|
||||
IMPORTANT: In order for the board to boot the Compact Flash with a recent
|
||||
config, the BIOS must use Logical Block Addressing (LBA). You can do it by
|
||||
choosing "Ide 0: AUTOCONFIG, LBA" under "IDE DRIVE GEOMETRY" in the "Basic CMOS
|
||||
Configuration" screen. For details about the CMOS setup, please see:
|
||||
http://wiki.embeddedarm.com/wiki/TS-5500#System_BIOS_Setup_Screens
|
||||
|
||||
Connect a terminal program to the rs232 connector marked "COM2"
|
||||
with baudrate set to 115200, insert the Compact Flash card into the socket,
|
||||
power up the board, and enjoy.
|
||||
@@ -1,37 +0,0 @@
|
||||
Minimal board support for the Wandboard
|
||||
|
||||
Wandboard's homepage is here: http://www.wandboard.org/
|
||||
|
||||
This config is only tested with the dual core wandboard.
|
||||
|
||||
Installing:
|
||||
|
||||
You need a micro SD card and a slot/adapter for your development machine.
|
||||
|
||||
Partition the SD card leaving at least 1 MB in front of the first partition.
|
||||
|
||||
Partition layout (example):
|
||||
|
||||
Disk /dev/sdi: 3965 MB, 3965190144 bytes
|
||||
255 heads, 63 sectors/track, 482 cylinders
|
||||
Units = cylinders of 16065 * 512 = 8225280 bytes
|
||||
Sector size (logical/physical): 512 bytes / 512 bytes
|
||||
I/O size (minimum/optimal): 512 bytes / 512 bytes
|
||||
Disk identifier: 0x77b47445
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/sdi1 2 482 3863632+ 83 Linux
|
||||
|
||||
Copy u-boot and its environment to the SD card:
|
||||
sudo dd if=output/images/u-boot.imx bs=512 seek=2 of=/dev/sd<x>
|
||||
sudo dd if=output/images/uboot-env.bin bs=512 seek=768 of=/dev/sd<x>
|
||||
|
||||
Copy the root filesystem:
|
||||
sudo dd if=output/images/rootfs.ext2 of=/dev/sd<x>1
|
||||
|
||||
Alternative commands to copy root filesystem:
|
||||
sudo mkfs.ext4 /dev/sd<x>1
|
||||
sudo mount /dev/sd<x>1 /mnt
|
||||
sudo tar xf output/images/rootfs.tar -C /mnt
|
||||
sudo umount /mnt
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
baudrate=115200
|
||||
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
|
||||
bootdelay=3
|
||||
bootscript=echo Running bootscript from mmc ...; source
|
||||
console=ttymxc0
|
||||
ethact=FEC
|
||||
ethaddr=00:1f:7b:b2:05:ee
|
||||
ethprime=FEC
|
||||
loadaddr=0x12000000
|
||||
loadbootscript=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
|
||||
loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
|
||||
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
|
||||
mmcboot=echo Booting from mmc ...; run mmcargs; bootm;
|
||||
mmcdev=0
|
||||
mmcpart=1
|
||||
mmcroot=/dev/mmcblk0p1 rootwait rw
|
||||
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
|
||||
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi;
|
||||
script=boot/boot.scr
|
||||
uimage=boot/uImage
|
||||
@@ -6,8 +6,6 @@ source "boot/at91dataflashboot/Config.in"
|
||||
source "boot/barebox/Config.in"
|
||||
source "boot/boot-wrapper-aarch64/Config.in"
|
||||
source "boot/grub/Config.in"
|
||||
source "boot/grub2/Config.in"
|
||||
source "boot/gummiboot/Config.in"
|
||||
source "boot/lpc32xxcdl/Config.in"
|
||||
source "boot/mxs-bootlets/Config.in"
|
||||
source "boot/syslinux/Config.in"
|
||||
@@ -15,3 +13,4 @@ source "boot/uboot/Config.in"
|
||||
source "boot/xloader/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
@@ -45,3 +45,6 @@ config BR2_TARGET_AT91BOOTSTRAP_MEMORY
|
||||
default "nandflash" if BR2_TARGET_AT91BOOTSTRAP_NANDFLASH
|
||||
|
||||
endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
AT91BOOTSTRAP_VERSION = 1.16
|
||||
AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap
|
||||
AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap/
|
||||
AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip
|
||||
|
||||
AT91BOOTSTRAP_BOARD = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_BOARD))
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user