mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
Compare commits
491 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03ceab6d16 | ||
|
|
def11d7922 | ||
|
|
6d24b41b09 | ||
|
|
4280c15039 | ||
|
|
73662a63c6 | ||
|
|
c5b15fe4f9 | ||
|
|
8eb5dcf34b | ||
|
|
717ce1a949 | ||
|
|
c24c2c629c | ||
|
|
066a388c6b | ||
|
|
3f1832f674 | ||
|
|
a2befc3a38 | ||
|
|
0a19eea3ec | ||
|
|
8661ae32ad | ||
|
|
261cb20a08 | ||
|
|
5ddfc12703 | ||
|
|
dcb7f907a9 | ||
|
|
bba4bdfc53 | ||
|
|
086bdfd378 | ||
|
|
3d6ff4f527 | ||
|
|
00dbf19c38 | ||
|
|
5207e68a8c | ||
|
|
7553f043ad | ||
|
|
d6628bca39 | ||
|
|
d54dc133e1 | ||
|
|
7a7bd4b873 | ||
|
|
40281284ad | ||
|
|
6a180a9a1f | ||
|
|
74c7b15a90 | ||
|
|
3c61d73209 | ||
|
|
08bd8712ef | ||
|
|
8b67554a3f | ||
|
|
14c2442858 | ||
|
|
eaf412b548 | ||
|
|
46b71cb0be | ||
|
|
342a3d8dab | ||
|
|
832068e494 | ||
|
|
718e1ecf5f | ||
|
|
94f70d5810 | ||
|
|
c6a3b7bff2 | ||
|
|
615ba54394 | ||
|
|
cda6b7fe0f | ||
|
|
6252ef7fc3 | ||
|
|
f37b7823e5 | ||
|
|
2e727571cc | ||
|
|
7b911b583a | ||
|
|
e8850ffdd5 | ||
|
|
731f3dfa21 | ||
|
|
2c4de62b14 | ||
|
|
fd10b42ab8 | ||
|
|
1bbf39bd73 | ||
|
|
d83f347c25 | ||
|
|
8139e21c97 | ||
|
|
ee7f92e19f | ||
|
|
0edfb24c38 | ||
|
|
a792668b58 | ||
|
|
1e39b8a6ff | ||
|
|
0829989046 | ||
|
|
bdca8ee84b | ||
|
|
2987a6fef5 | ||
|
|
3da8371745 | ||
|
|
7100a2cc33 | ||
|
|
779c9699f9 | ||
|
|
f94818b0fa | ||
|
|
d390906f66 | ||
|
|
6d27a63e45 | ||
|
|
3a9b75fe04 | ||
|
|
38071138ee | ||
|
|
9a9fdf9289 | ||
|
|
e1231afc01 | ||
|
|
9b9765b8a3 | ||
|
|
fc09aae5b4 | ||
|
|
5aeca1f669 | ||
|
|
79f22504d7 | ||
|
|
a5617a52d0 | ||
|
|
57c7706bac | ||
|
|
4baff8bb22 | ||
|
|
134ab1ce4f | ||
|
|
3ec57751fa | ||
|
|
93e56f5210 | ||
|
|
defa3768ea | ||
|
|
0802fc24e9 | ||
|
|
7487e914da | ||
|
|
e3b84754d4 | ||
|
|
436ceeafbc | ||
|
|
5d425d3334 | ||
|
|
80a7e8216e | ||
|
|
7b236b937d | ||
|
|
d8bf70e01e | ||
|
|
42852b31ef | ||
|
|
4a6f726506 | ||
|
|
3e40b680fb | ||
|
|
7733fad43c | ||
|
|
e2531c0178 | ||
|
|
d8f71a4c56 | ||
|
|
27a35801b8 | ||
|
|
2ba094de31 | ||
|
|
aead8be336 | ||
|
|
502465e435 | ||
|
|
1b1fcb638e | ||
|
|
8c3e2cbb53 | ||
|
|
5fe4b2c399 | ||
|
|
a23c0e5968 | ||
|
|
2b81a500f9 | ||
|
|
375d68d110 | ||
|
|
76cd6b18e3 | ||
|
|
ee673bae77 | ||
|
|
66ac654d8e | ||
|
|
6b04b2dda6 | ||
|
|
d06e802223 | ||
|
|
faf266b460 | ||
|
|
88404d6b80 | ||
|
|
84babf1c1a | ||
|
|
dfa93b47f7 | ||
|
|
a2a9f6358d | ||
|
|
cee43cbcbd | ||
|
|
5256c77b46 | ||
|
|
e8b320a708 | ||
|
|
4a49379571 | ||
|
|
4461b3213d | ||
|
|
8ed392f3d6 | ||
|
|
aea3ac7a9f | ||
|
|
a18e5eb09b | ||
|
|
a82b3262b2 | ||
|
|
390ed5d201 | ||
|
|
20695936ad | ||
|
|
14b600203b | ||
|
|
d36f64e8d9 | ||
|
|
df8fa1712c | ||
|
|
c7746857d1 | ||
|
|
2444085bdc | ||
|
|
f372dca94f | ||
|
|
d2f1e0a2f2 | ||
|
|
f8a9fe6406 | ||
|
|
7a2934c84c | ||
|
|
a67631eb6e | ||
|
|
2a273b6129 | ||
|
|
d2605833a3 | ||
|
|
421344df69 | ||
|
|
6b6e0c8204 | ||
|
|
a7dfa29d12 | ||
|
|
dc77b0824e | ||
|
|
16891da22d | ||
|
|
971e0b0c5f | ||
|
|
5ba5301cdc | ||
|
|
f3967173cc | ||
|
|
08f46cc60c | ||
|
|
91a3f5aec6 | ||
|
|
0a63f874a2 | ||
|
|
d018125508 | ||
|
|
25728f9a57 | ||
|
|
cc57dfebac | ||
|
|
c312adc985 | ||
|
|
ec35c076e1 | ||
|
|
e9378d9f1e | ||
|
|
cae6aa9a41 | ||
|
|
14e9f44c07 | ||
|
|
2e8aac2294 | ||
|
|
cf96a9bec0 | ||
|
|
4aadcac168 | ||
|
|
0e80ba1779 | ||
|
|
a52db793e9 | ||
|
|
a4e27b1160 | ||
|
|
f64a740f36 | ||
|
|
7ba2e23d8b | ||
|
|
9c3e2f9789 | ||
|
|
1515839642 | ||
|
|
eed2108482 | ||
|
|
d9632d5985 | ||
|
|
d9382d641a | ||
|
|
bbceb3c9ea | ||
|
|
20c79086f1 | ||
|
|
dc662b1a6c | ||
|
|
dc6bf5b173 | ||
|
|
bf7d98d841 | ||
|
|
d4e64bd61b | ||
|
|
73b942e57e | ||
|
|
5d2df61ebd | ||
|
|
5796753b6b | ||
|
|
cc06f041fc | ||
|
|
66c1b5f408 | ||
|
|
5a05d31da2 | ||
|
|
cd21fa2d66 | ||
|
|
c1d52aea49 | ||
|
|
bae709907c | ||
|
|
bee85e782f | ||
|
|
17bbd07af4 | ||
|
|
f8a117435a | ||
|
|
e4280ff8f0 | ||
|
|
c72d3a2a7e | ||
|
|
008f2c2050 | ||
|
|
bc83dd2706 | ||
|
|
9b22dc764d | ||
|
|
362281b466 | ||
|
|
39820e507d | ||
|
|
6d7a560719 | ||
|
|
f2619d0576 | ||
|
|
ce2977d9e0 | ||
|
|
7c4c38403d | ||
|
|
208e2388df | ||
|
|
cd97b5d2b1 | ||
|
|
e157720be3 | ||
|
|
28f9df141e | ||
|
|
0327c24e5f | ||
|
|
5f3dc70b4f | ||
|
|
90a83c0b37 | ||
|
|
2f7496e938 | ||
|
|
01e5bee40f | ||
|
|
0d2a304ef3 | ||
|
|
5bedeb2fb3 | ||
|
|
ce7a7896c5 | ||
|
|
70b489f2d9 | ||
|
|
f8cdf54d4d | ||
|
|
21f39f524f | ||
|
|
16b17c9a15 | ||
|
|
1541d648aa | ||
|
|
e0cfcc4719 | ||
|
|
e9c61ecb58 | ||
|
|
9baaa5b4a3 | ||
|
|
afb6e3ed52 | ||
|
|
c034b33f24 | ||
|
|
0a4b5206d2 | ||
|
|
90a939e2bd | ||
|
|
c847b4a639 | ||
|
|
4e20ad196d | ||
|
|
d0252d7e39 | ||
|
|
48558c83cb | ||
|
|
5c8747d2c4 | ||
|
|
5fd3015c7e | ||
|
|
95375f81f7 | ||
|
|
6d8abaf9f1 | ||
|
|
42c675281a | ||
|
|
e098308f8d | ||
|
|
0376a2bc11 | ||
|
|
b66293db17 | ||
|
|
3c5be770be | ||
|
|
f076d71d3b | ||
|
|
b367ca32e5 | ||
|
|
95632704cd | ||
|
|
f05c8a432c | ||
|
|
2e913392df | ||
|
|
a058d34151 | ||
|
|
8ab51b67a8 | ||
|
|
0b3daf7849 | ||
|
|
97fc987c5f | ||
|
|
c601f4661f | ||
|
|
9e896860ae | ||
|
|
ef52202c15 | ||
|
|
bbb3879666 | ||
|
|
a7544cf97e | ||
|
|
7adabb75c7 | ||
|
|
79f7d48fb7 | ||
|
|
db8fcd04ba | ||
|
|
24c0ee47f0 | ||
|
|
66382bac30 | ||
|
|
12b199c0c2 | ||
|
|
f009b7b93e | ||
|
|
9e7663e299 | ||
|
|
fcf418180a | ||
|
|
880438cba4 | ||
|
|
1944b48a3f | ||
|
|
1b07928aa6 | ||
|
|
38faeafab7 | ||
|
|
efa734844b | ||
|
|
0b109bd2bd | ||
|
|
8a1ee4db48 | ||
|
|
ea8805eb74 | ||
|
|
2859aeb84e | ||
|
|
605d22042b | ||
|
|
70bef8e495 | ||
|
|
45ab970892 | ||
|
|
b52f9a6c5f | ||
|
|
deae09e965 | ||
|
|
89432d78bd | ||
|
|
f8245eb195 | ||
|
|
014f85f91b | ||
|
|
c05f907d05 | ||
|
|
4b116eb0f2 | ||
|
|
c5afc3717c | ||
|
|
e7143fd26c | ||
|
|
cfd73405e0 | ||
|
|
3b49bfe676 | ||
|
|
62939dbd28 | ||
|
|
bbc53fa844 | ||
|
|
fcc7cd3c7b | ||
|
|
b65e08c576 | ||
|
|
723cc255f7 | ||
|
|
9ffd5ee4e9 | ||
|
|
cb749b5126 | ||
|
|
9e42c6d04e | ||
|
|
4861aed1f1 | ||
|
|
8c7c0ab344 | ||
|
|
d0880f70fa | ||
|
|
21f540be4e | ||
|
|
8f8d414b61 | ||
|
|
51a6c84962 | ||
|
|
b4c493d376 | ||
|
|
3a9d3bc0c3 | ||
|
|
b0bcafc6a0 | ||
|
|
74b46041e4 | ||
|
|
d242cb2094 | ||
|
|
af42c27da6 | ||
|
|
0e6695fc36 | ||
|
|
234dd8e6a2 | ||
|
|
a0aa54eb0d | ||
|
|
e6480f2bb9 | ||
|
|
7360f16a22 | ||
|
|
dda08e492d | ||
|
|
b0ff93adfb | ||
|
|
60033b8f88 | ||
|
|
3c57ebe4dd | ||
|
|
b10a805820 | ||
|
|
f7950dbfe5 | ||
|
|
747946b596 | ||
|
|
bcf3103f0e | ||
|
|
221d609bcf | ||
|
|
e64b34e957 | ||
|
|
0717f0357d | ||
|
|
bdd274110a | ||
|
|
649915fb75 | ||
|
|
d67a67efaa | ||
|
|
5a6087d62e | ||
|
|
c2c06aad27 | ||
|
|
8d472bb50c | ||
|
|
fa1c862617 | ||
|
|
1c2e5b09aa | ||
|
|
8f0b667cd2 | ||
|
|
b52a0b2a8b | ||
|
|
c2e372b097 | ||
|
|
34ac5cda02 | ||
|
|
99befa6d00 | ||
|
|
19f280c311 | ||
|
|
8fce387097 | ||
|
|
bd2d103890 | ||
|
|
454057b4ee | ||
|
|
606e2f6ede | ||
|
|
d7cb5c080c | ||
|
|
e84d41681a | ||
|
|
369888f7a4 | ||
|
|
9adf75d95d | ||
|
|
37f488843c | ||
|
|
2c0b0ab899 | ||
|
|
dbfcdc6836 | ||
|
|
e082ababc9 | ||
|
|
5528286147 | ||
|
|
a01db91eb1 | ||
|
|
5ec8da031b | ||
|
|
43695a9892 | ||
|
|
b12dfaf15c | ||
|
|
2d75c7927f | ||
|
|
43f8bb8c25 | ||
|
|
27ad470d7d | ||
|
|
f94f9a2397 | ||
|
|
cca9999695 | ||
|
|
a1c3efb52c | ||
|
|
f026f825ce | ||
|
|
0c5f68a4d3 | ||
|
|
7f63d39eeb | ||
|
|
9fd4c35058 | ||
|
|
bea251c696 | ||
|
|
e991961d4e | ||
|
|
68902f7437 | ||
|
|
f472b915c0 | ||
|
|
9c4a7dc903 | ||
|
|
2ed19cb1de | ||
|
|
11f7a7b4fb | ||
|
|
4f266b685f | ||
|
|
24c80c9bfd | ||
|
|
39ae9160d4 | ||
|
|
3f83273eef | ||
|
|
808bfd0731 | ||
|
|
ef3fe1bef6 | ||
|
|
b2b55b459c | ||
|
|
d134ce8b56 | ||
|
|
a9326c9aab | ||
|
|
7f4a2bbcf3 | ||
|
|
47f20335f5 | ||
|
|
601bf47ef8 | ||
|
|
4565a1d75f | ||
|
|
1886506b6b | ||
|
|
a8342a525b | ||
|
|
645ff758fe | ||
|
|
50e00c3b6d | ||
|
|
4e20e8fe00 | ||
|
|
2d7d697fbf | ||
|
|
54b2f13106 | ||
|
|
c8041ee7d8 | ||
|
|
b008550f7f | ||
|
|
0bf480856e | ||
|
|
8145105ee3 | ||
|
|
02ad75e9ee | ||
|
|
d8ce8742e2 | ||
|
|
62c10600ab | ||
|
|
12c9f7dd6d | ||
|
|
40955025d8 | ||
|
|
1bde07d6ed | ||
|
|
d9c35d5cea | ||
|
|
22acade2ec | ||
|
|
a877a07ee8 | ||
|
|
b6ec7ae656 | ||
|
|
792b018b37 | ||
|
|
e1d1c379e9 | ||
|
|
190ec1134b | ||
|
|
5806dd23ed | ||
|
|
b224dc9e01 | ||
|
|
1010c311c4 | ||
|
|
d170a72498 | ||
|
|
267e167216 | ||
|
|
9bb9a6db18 | ||
|
|
d2e7ec721f | ||
|
|
c0e8772a7f | ||
|
|
64be796285 | ||
|
|
848fa1d243 | ||
|
|
265356b6b9 | ||
|
|
4a9d409aba | ||
|
|
f113cc3340 | ||
|
|
1d0aabccd4 | ||
|
|
97dad8faa9 | ||
|
|
507e88bea8 | ||
|
|
5917191b3f | ||
|
|
8ad1885adb | ||
|
|
5ddcdb4ceb | ||
|
|
43ba7c1af8 | ||
|
|
c8623910ed | ||
|
|
7cfa3acbbe | ||
|
|
c1ae7cdd69 | ||
|
|
7d7873df78 | ||
|
|
11eb9e7fbe | ||
|
|
d6dfc2109c | ||
|
|
713bb00aa2 | ||
|
|
8c9a74836a | ||
|
|
7dc413255b | ||
|
|
eb9e933292 | ||
|
|
7cbb85c150 | ||
|
|
72a6bd4b5d | ||
|
|
bdb40d8bac | ||
|
|
b87f2942f0 | ||
|
|
a15d47f090 | ||
|
|
88f95f82b7 | ||
|
|
07225ca919 | ||
|
|
96c8f0b216 | ||
|
|
8a28f7e8ac | ||
|
|
0c8407a9bc | ||
|
|
60859a1e1a | ||
|
|
fe83751e8f | ||
|
|
09be7e24e5 | ||
|
|
90424fe30b | ||
|
|
a521a0d2e7 | ||
|
|
7e96cbcc06 | ||
|
|
2e9f7d6fd5 | ||
|
|
4c730a2c16 | ||
|
|
72958d1e4c | ||
|
|
2077f955ef | ||
|
|
2c6390a5d0 | ||
|
|
2dda9ea0d3 | ||
|
|
657d3155d5 | ||
|
|
a03182ad02 | ||
|
|
0239612fb2 | ||
|
|
c3b72c6cd7 | ||
|
|
e3c6b3853e | ||
|
|
f694c0761d | ||
|
|
c61788f097 | ||
|
|
1d7299194c | ||
|
|
39ea7bcec0 | ||
|
|
b5a574afcc | ||
|
|
e993877714 | ||
|
|
08d78545cc | ||
|
|
61d8d88d40 | ||
|
|
adaebbcccd | ||
|
|
2211f63e79 | ||
|
|
6e223241e1 | ||
|
|
ddfb134399 | ||
|
|
7dbf60b29d | ||
|
|
14520a6866 | ||
|
|
3e70816f54 | ||
|
|
a0f4ddfbe0 | ||
|
|
f00bc8ac3b | ||
|
|
28df108c9b | ||
|
|
6ba2d9e28c | ||
|
|
e88733af57 | ||
|
|
f7c26a2678 | ||
|
|
5ae7310636 | ||
|
|
b847ed050d | ||
|
|
8b56bfe838 | ||
|
|
a1dd178f3a | ||
|
|
7c60be98b2 | ||
|
|
ba2a0cf5a1 | ||
|
|
2c10350977 | ||
|
|
3e974ba2d2 | ||
|
|
309e91930e | ||
|
|
1f52b2ae1d |
115
CHANGES
115
CHANGES
@@ -1,3 +1,118 @@
|
||||
2012.02, Released February 29th, 2012:
|
||||
|
||||
Updated/fixed packages: libecore
|
||||
|
||||
2012.02-rc3, Released February 27th, 2012:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Automatic host dependencies handling for cmake packages
|
||||
fixed. Customize package deprecated as using a post-build
|
||||
script is nowadays the preferred way of adding extra stuff to
|
||||
the rootfs.
|
||||
|
||||
Linux-headers 3.0.x / 3.2.x stable version bumped.
|
||||
|
||||
QEMU defconfigs updated to 3.2.x kernels and readme fixed.
|
||||
|
||||
Updated/fixed packages: dropbear, ffmpeg, libpng
|
||||
|
||||
2012.02-rc2, Released February 19th, 2012:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: uClibc: Added upstream post-0.9.33 fixes, Bump
|
||||
linux-headers 3.0.x / 3.2.x stable versions.
|
||||
|
||||
Documentation: Added makedev / <pkg>_DEVICES /
|
||||
<pkg>_PERMISSIONS documentation.
|
||||
|
||||
Updated/fixed packages: busybox, ffmpeg, gst-dsp, libecore,
|
||||
libvncserver, mxml, python.
|
||||
|
||||
2012.02-rc1, Released February 12th, 2012:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Toolchain: Default to GCC 4.5.x, add binutils 2.22. Java
|
||||
support removed, Powerpc SPE ABI support. GDB ELF support fix,
|
||||
GDB 7.4, crosstool-NG 1.13.4.
|
||||
|
||||
Gentargets: scp and mercurial support.
|
||||
Autotools: derive host dependencies from target by default.
|
||||
Packages can now declare device table snippets.
|
||||
|
||||
Host utilities menu with commonly used host tools.
|
||||
|
||||
defconfigs: qemu configs for x86-64, mips and sparc, at91
|
||||
defconfigs now use modern U-Boot / mainline Linux, added
|
||||
lpc3250 defconfigs.
|
||||
|
||||
uClibc: remove 0.9.30, backport unshare() support, add
|
||||
0.9.32.1 / 0.9.33, use same config for ctng.
|
||||
|
||||
Bootloaders: U-Boot: add 2011.12, remove 2010.xx versions,
|
||||
Barebox: add 2012.01/02, remove 2011.10/11, LPC32xx
|
||||
bootloaders added.
|
||||
|
||||
Various manual updates. Release tarballs now contain generated
|
||||
manual in text/html/pdf formats.
|
||||
|
||||
Buildroot now calls the stop function of scripts in
|
||||
/etc/init.d at shutdown.
|
||||
|
||||
Updated/fixed packages: atk, avahi, barebox, bash, beecrypt,
|
||||
bind, binutils, bison, bluez_utils, bzip2, busybox, cairo,
|
||||
ccache, cdrkit, coreutils, cramfs, dbus, dbus-glib, dialog,
|
||||
diffutils, dmalloc, dropbear, e2fsprogs, ebtables, ed,
|
||||
ethtool, expat, ffmpeg, file, fis, flex, fluxbox, fontconfig,
|
||||
freetype, gawk, grep, gst-dsp, gst-ffmpeg, gst-plugins-base,
|
||||
hdparm, hostapd, htop, i2c-tools, icu, iproute2, ipsec-tools,
|
||||
ipset, iptables, iw, jpeg, kismet, lame, libcap, libcgi,
|
||||
libev, libeXosip2, libffi, libftdi, libgpg-error, libgtk2,
|
||||
libidn, libmms, libmnl, libmodbus, libnl, libogg, libosip,
|
||||
libpcap, libpng, libraw1394, libroxml, libusb, libusb-compat,
|
||||
libv4l, libvorbis, libxcb, libxml-parser-perl, libxslt,
|
||||
lighttpd, links, lm-sensors, lua, m4, module-init-tools, mpc,
|
||||
mesa3d, mpd, mpfr, mplayer, mtd-utils, nano, nbd, ncurses,
|
||||
netperf, netsnmp, ntp, opencv, openocd, openssl, openvpn, orc,
|
||||
pciutils, pcre, pixman, pkg-config, poco, popt, proftpd,
|
||||
python, python-serial, qt, ruby, samba, sdl, sdparm,
|
||||
squashfs3, sshfs, sqlite, squid, sudo, syslinux, tcl, tcpdump,
|
||||
ti-utils, tiff, tremor, uboot, uboot-tools, udev, usbmount,
|
||||
util-linux, vala, valgrind, vsftpd, wpa_supplicant,
|
||||
xapp_{bdftopcf,mkfontdir,mkfontscale,xkbcomp,xcursorgen,xinit},
|
||||
xapp_xinput, xapp_xman, xcb-util, xdm, xenomai,
|
||||
xf86-video-sis, xfont_{encodings,font-util},
|
||||
xlib_lib{fontenc,X11,Xau,Xcursor,Xdmcp,Xfixes,Xfont,Xrender},
|
||||
xlib_libxkbfile, xterm, xutil_makedepend, yajl
|
||||
|
||||
New packages: boost, connman, dstat, expedite, explorercanvas,
|
||||
feh, flot, giblib, igh-ethercat, imlib2, jquery,
|
||||
jquery-sparklines, jquery-validation, jsmin, kmod, libecore,
|
||||
libedbus, libedje, libeet, libeina, libelementary, libesmtp,
|
||||
libethumb, libevas, libical, libmbus, liboauth, liburcu,
|
||||
libvncserver, linux-firmware,
|
||||
lttng-{babeltrace,libust,modules,tools}, NetworkManager,
|
||||
open2300, python-distutilscross, python-dpkt,
|
||||
python-netifaces, python-pygame, python-setuptools, rt-tests,
|
||||
sam-ba, sane-backends, sqlcipher, transmission, unionfs,
|
||||
xf86-input-tslib, xinput-calibrator
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#743: Add Transmission bit torrent option to buildroot
|
||||
#755: Add Boost libraries as a package
|
||||
#2299: Add crypto support to libsoup
|
||||
#2617: Pixman 0.19.2 & Cairo 1.10.0
|
||||
#3403: libgpg-error: bump to version 1.10
|
||||
#3409: libgpg-error: download from gnupg.org
|
||||
#3421: nano: make tiny flag optional
|
||||
#3691: New EFL packages
|
||||
#4664: Cannot patch AT91Bootstrap
|
||||
#4700: setlocalversion not working for combination svn/ubuntu 11.10...
|
||||
#4760: Qt: add host-pkg-config to dependency-list
|
||||
|
||||
2011.11, Released November 30th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
19
Config.in
19
Config.in
@@ -36,6 +36,18 @@ config BR2_LOCALFILES
|
||||
string "Local files retrieval command"
|
||||
default "cp"
|
||||
|
||||
config BR2_SCP
|
||||
string "Secure copy (scp) command"
|
||||
default "scp"
|
||||
|
||||
config BR2_SSH
|
||||
string "Secure shell (ssh) command"
|
||||
default "ssh"
|
||||
|
||||
config BR2_HG
|
||||
string "Mercurial (hg) command"
|
||||
default "hg"
|
||||
|
||||
config BR2_ZCAT
|
||||
string "zcat command"
|
||||
default "gzip -d -c"
|
||||
@@ -102,7 +114,10 @@ config BR2_PRIMARY_SITE
|
||||
Primary site to download from. If this option is set then buildroot
|
||||
will try to download package source first from this site and try the
|
||||
default if the file is not found.
|
||||
NOTE: This only works for packages using the Makefile.autotools.in
|
||||
Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
|
||||
scp://[user@]host:path.
|
||||
NOTE: This works for all packages using the central package
|
||||
infrastructure (generic, autotools, cmake, ...)
|
||||
|
||||
config BR2_BACKUP_SITE
|
||||
string "Backup download site"
|
||||
@@ -356,6 +371,8 @@ source "target/generic/Config.in"
|
||||
|
||||
source "package/Config.in"
|
||||
|
||||
source "package/Config.in.host"
|
||||
|
||||
source "fs/Config.in"
|
||||
|
||||
source "boot/Config.in"
|
||||
|
||||
30
Makefile
30
Makefile
@@ -24,7 +24,13 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2011.11
|
||||
export BR2_VERSION:=2012.02
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
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
|
||||
|
||||
# This top-level Makefile can *not* be executed in parallel
|
||||
.NOTPARALLEL:
|
||||
@@ -192,6 +198,7 @@ unexport CPP
|
||||
unexport CFLAGS
|
||||
unexport CXXFLAGS
|
||||
unexport GREP_OPTIONS
|
||||
unexport CONFIG_SITE
|
||||
|
||||
GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
|
||||
|
||||
@@ -277,8 +284,6 @@ TARGET_DIR:=$(BASE_DIR)/target
|
||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||
TARGET_SKELETON=$(TOPDIR)/fs/skeleton
|
||||
|
||||
BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
CCACHE:=$(HOST_DIR)/usr/bin/ccache
|
||||
CCACHE_CACHE_DIR=$(HOME)/.buildroot-ccache
|
||||
@@ -298,6 +303,8 @@ include package/Makefile.in
|
||||
|
||||
all: world
|
||||
|
||||
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.
|
||||
@@ -359,7 +366,7 @@ HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
|
||||
$(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
|
||||
|
||||
dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
$(BASE_TARGETS): dirs $(O)/toolchainfile.cmake
|
||||
|
||||
@@ -368,7 +375,7 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(CONFIG_DIR)/.config
|
||||
|
||||
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||
|
||||
world: prepare dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
world: prepare dirs dependencies $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
|
||||
$(O)/toolchainfile.cmake:
|
||||
@echo -en "\
|
||||
@@ -390,7 +397,7 @@ $(O)/toolchainfile.cmake:
|
||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
||||
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
@@ -696,8 +703,15 @@ endif
|
||||
|
||||
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)/ master|gzip -9 >$(OUT).tar.gz
|
||||
git archive --format=tar --prefix=$(OUT)/ master > $(OUT).tar
|
||||
$(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
|
||||
rm -rf $(OUT) $(OUT).tar
|
||||
|
||||
################################################################################
|
||||
# GENDOC -- generates the make targets needed to build a specific type of
|
||||
@@ -720,7 +734,7 @@ $(1)-$(3): $$(O)/docs/$(1)/$(1).$(4)
|
||||
|
||||
$$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES)
|
||||
@echo "Generating $(5) $(1)..."
|
||||
$(Q)mkdir -p $$(O)/docs/$(1)/$(2)
|
||||
$(Q)mkdir -p $$(@D)
|
||||
$(Q)a2x $(6) -f $(2) -d book -L -r $(TOPDIR)/docs/images \
|
||||
-D $$(@D) $$<
|
||||
endef
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 053ba505eb0d40287ac5750daf454af0aed2ce75 Mon Sep 17 00:00:00 2001
|
||||
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
|
||||
Date: Tue, 4 Oct 2011 14:19:58 +0200
|
||||
Subject: [PATCH 1/2] [ARM] mach-types: Re-add apf9328
|
||||
|
||||
|
||||
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
|
||||
---
|
||||
arch/arm/tools/mach-types | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
|
||||
index fff68d0..07811a7 100644
|
||||
--- a/arch/arm/tools/mach-types
|
||||
+++ b/arch/arm/tools/mach-types
|
||||
@@ -188,6 +188,7 @@ omap_2430sdp MACH_OMAP_2430SDP OMAP_2430SDP 900
|
||||
davinci_evm MACH_DAVINCI_EVM DAVINCI_EVM 901
|
||||
palmz72 MACH_PALMZ72 PALMZ72 904
|
||||
nxdb500 MACH_NXDB500 NXDB500 905
|
||||
+apf9328 MACH_APF9328 APF9328 906
|
||||
palmt5 MACH_PALMT5 PALMT5 917
|
||||
palmtc MACH_PALMTC PALMTC 918
|
||||
omap_apollon MACH_OMAP_APOLLON OMAP_APOLLON 919
|
||||
--
|
||||
1.7.3.4
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
APF9328 needs CONFIG_MTD_CFI_INTELEXT to boot on its NOR FLASH.
|
||||
|
||||
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
|
||||
|
||||
Index: linux-3.1.1/arch/arm/mach-imx/Kconfig
|
||||
===================================================================
|
||||
--- linux-3.1.1.orig/arch/arm/mach-imx/Kconfig 2011-11-16 14:45:55.000000000 +0100
|
||||
+++ linux-3.1.1/arch/arm/mach-imx/Kconfig 2011-11-16 14:47:20.000000000 +0100
|
||||
@@ -84,6 +84,7 @@
|
||||
bool "APF9328"
|
||||
select SOC_IMX1
|
||||
select IMX_HAVE_PLATFORM_IMX_UART
|
||||
+ select MTD_CFI_INTELEXT
|
||||
help
|
||||
Say Yes here if you are using the Armadeus APF9328 development board
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=scsi -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=smc91c111 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
76
board/qemu/mips-malta/linux-3.2.config
Normal file
76
board/qemu/mips-malta/linux-3.2.config
Normal file
@@ -0,0 +1,76 @@
|
||||
CONFIG_MIPS_MALTA=y
|
||||
CONFIG_CPU_MIPS32_R2=y
|
||||
CONFIG_MIPS_MT_SMP=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_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
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
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
|
||||
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_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_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
|
||||
7
board/qemu/mips-malta/readme.txt
Normal file
7
board/qemu/mips-malta/readme.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips -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. No keyboard support has been
|
||||
enabled.
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mipsel -M malta -kernel vmlinux -serial stdio -hda rootfs.ext2 -append "root=/dev/hda"
|
||||
qemu-system-mipsel -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. No keyboard support has been
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc -M g3beige -kernel vmlinux -hda rootfs.ext2 -append "console=ttyS0 root=/dev/hdc" -serial stdio
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -hda output/images/rootfs.ext2 -append "console=ttyS0 root=/dev/hdc" -serial stdio
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
7
board/qemu/sparc-ss10/readme.txt
Normal file
7
board/qemu/sparc-ss10/readme.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
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
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
5
board/qemu/x86/readme.txt
Normal file
5
board/qemu/x86/readme.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
67
board/qemu/x86_64/linux-3.2.config
Normal file
67
board/qemu/x86_64/linux-3.2.config
Normal file
@@ -0,0 +1,67 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
# CONFIG_X86_EXTENDED_PLATFORM is not set
|
||||
# CONFIG_SCHED_OMIT_FRAME_POINTER is not set
|
||||
# CONFIG_MTRR_SANITIZER is not set
|
||||
# CONFIG_SECCOMP is not set
|
||||
# CONFIG_RELOCATABLE is not set
|
||||
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_PREVENT_FIRMWARE_BUILD is not set
|
||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
||||
# CONFIG_BLK_DEV is not set
|
||||
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
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
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_EXT2_FS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
# CONFIG_INOTIFY_USER is not set
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
||||
# CONFIG_UNUSED_SYMBOLS is not set
|
||||
# CONFIG_FRAME_POINTER is not set
|
||||
# CONFIG_X86_VERBOSE_BOOTUP is not set
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
5
board/qemu/x86_64/readme.txt
Normal file
5
board/qemu/x86_64/readme.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide -append root=/dev/sda
|
||||
|
||||
The login prompt will appear in the graphical window.
|
||||
@@ -1,11 +1,12 @@
|
||||
menu "Bootloaders"
|
||||
|
||||
source "boot/barebox/Config.in"
|
||||
source "boot/grub/Config.in"
|
||||
source "boot/syslinux/Config.in"
|
||||
source "boot/uboot/Config.in"
|
||||
source "boot/at91bootstrap/Config.in"
|
||||
source "boot/at91dataflashboot/Config.in"
|
||||
source "boot/barebox/Config.in"
|
||||
source "boot/grub/Config.in"
|
||||
source "boot/lpc32xxcdl/Config.in"
|
||||
source "boot/syslinux/Config.in"
|
||||
source "boot/uboot/Config.in"
|
||||
source "boot/xloader/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
config BR2_TARGET_AT91BOOTSTRAP
|
||||
depends on BR2_arm
|
||||
depends on BR2_arm926t
|
||||
bool "AT91 Bootstrap"
|
||||
help
|
||||
AT91Bootstrap is a first level bootloader for the Atmel AT91
|
||||
@@ -10,6 +10,15 @@ config BR2_TARGET_AT91BOOTSTRAP
|
||||
|
||||
if BR2_TARGET_AT91BOOTSTRAP
|
||||
|
||||
config BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR
|
||||
string "custom patch dir"
|
||||
help
|
||||
If your board requires custom patches, add the path to the
|
||||
directory containing the patches here. The patches must be
|
||||
named at91bootstrap-<version>-<something>.patch.
|
||||
|
||||
Most users may leave this empty
|
||||
|
||||
config BR2_TARGET_AT91BOOTSTRAP_BOARD
|
||||
string "Bootstrap board"
|
||||
default ""
|
||||
|
||||
@@ -0,0 +1,299 @@
|
||||
Every AT91SAM plaforms were broken between 2010.12 and 2011.03 because
|
||||
of the relocation changes.
|
||||
|
||||
We have to get JUMP_ADDR consistant with what is used by u-boot
|
||||
(CONFIG_SYS_TEXT_BASE).
|
||||
|
||||
I didn't know what to do with at91sam9m10g45ek as it doesn't seems to be
|
||||
converted yet. But anyway, that means that it is either not working or
|
||||
doesn't care so changing it here shouldn't harm.
|
||||
|
||||
I also chose to "repartition" the dataflash. u-boot is now living at
|
||||
0x4000, letting 16kB for the bootstrap. We also have to increase the
|
||||
IMG_SIZE as u-boot as grown larger than the default value.
|
||||
As requested on the u-boot ML, we assume that it could be up to 512kB
|
||||
big.
|
||||
|
||||
It means that now, you have to flash your kernel at 0x0008C000 instead
|
||||
of 0x00042000. And so you also have to load it from that adress from
|
||||
u-boot.
|
||||
|
||||
Then, remember that you could decrease IMG_SIZE to boot faster.
|
||||
|
||||
Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
|
||||
---
|
||||
board/at91sam9260ek/dataflash/at91sam9260ek.h | 6 +++---
|
||||
board/at91sam9260ek/nandflash/at91sam9260ek.h | 2 +-
|
||||
board/at91sam9261ek/dataflash/at91sam9261ek.h | 6 +++---
|
||||
board/at91sam9261ek/nandflash/at91sam9261ek.h | 2 +-
|
||||
board/at91sam9263ek/dataflash/at91sam9263ek.h | 6 +++---
|
||||
board/at91sam9263ek/nandflash/at91sam9263ek.h | 2 +-
|
||||
board/at91sam9g10ek/dataflash/at91sam9g10ek.h | 6 +++---
|
||||
board/at91sam9g10ek/nandflash/at91sam9g10ek.h | 2 +-
|
||||
board/at91sam9g20ek/dataflash/at91sam9g20ek.h | 6 +++---
|
||||
board/at91sam9g20ek/nandflash/at91sam9g20ek.h | 2 +-
|
||||
board/at91sam9m10ekes/dataflash/at91sam9m10ekes.h | 4 ++--
|
||||
.../at91sam9m10g45ek/dataflash/at91sam9m10g45ek.h | 4 ++--
|
||||
board/at91sam9rlek/dataflash/at91sam9rlek.h | 6 +++---
|
||||
board/at91sam9rlek/nandflash/at91sam9rlek.h | 2 +-
|
||||
board/at91sam9xeek/dataflash/at91sam9xeek.h | 6 +++---
|
||||
board/at91sam9xeek/nandflash/at91sam9xeek.h | 2 +-
|
||||
16 files changed, 32 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/board/at91sam9260ek/dataflash/at91sam9260ek.h b/board/at91sam9260ek/dataflash/at91sam9260ek.h
|
||||
index 1834246..5c52bc6 100644
|
||||
--- a/board/at91sam9260ek/dataflash/at91sam9260ek.h
|
||||
+++ b/board/at91sam9260ek/dataflash/at91sam9260ek.h
|
||||
@@ -73,11 +73,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS1_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x44B /* AT91SAM9260-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9260ek/nandflash/at91sam9260ek.h b/board/at91sam9260ek/nandflash/at91sam9260ek.h
|
||||
index 2cac601..f8fdff2 100644
|
||||
--- a/board/at91sam9260ek/nandflash/at91sam9260ek.h
|
||||
+++ b/board/at91sam9260ek/nandflash/at91sam9260ek.h
|
||||
@@ -92,7 +92,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 0x44B /* AT91SAM9260-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9261ek/dataflash/at91sam9261ek.h b/board/at91sam9261ek/dataflash/at91sam9261ek.h
|
||||
index 8ce30e9..675f80b 100644
|
||||
--- a/board/at91sam9261ek/dataflash/at91sam9261ek.h
|
||||
+++ b/board/at91sam9261ek/dataflash/at91sam9261ek.h
|
||||
@@ -96,11 +96,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x350 /* AT91SAM9261-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9261ek/nandflash/at91sam9261ek.h b/board/at91sam9261ek/nandflash/at91sam9261ek.h
|
||||
index badc3ac..e628c97 100644
|
||||
--- a/board/at91sam9261ek/nandflash/at91sam9261ek.h
|
||||
+++ b/board/at91sam9261ek/nandflash/at91sam9261ek.h
|
||||
@@ -114,7 +114,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 0x350 /* AT91SAM9261-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9263ek/dataflash/at91sam9263ek.h b/board/at91sam9263ek/dataflash/at91sam9263ek.h
|
||||
index 5c9da4b..d07b5d1 100644
|
||||
--- a/board/at91sam9263ek/dataflash/at91sam9263ek.h
|
||||
+++ b/board/at91sam9263ek/dataflash/at91sam9263ek.h
|
||||
@@ -95,11 +95,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x4B2 /* AT91SAM9263-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9263ek/nandflash/at91sam9263ek.h b/board/at91sam9263ek/nandflash/at91sam9263ek.h
|
||||
index 505afc7..8ab4f46 100644
|
||||
--- a/board/at91sam9263ek/nandflash/at91sam9263ek.h
|
||||
+++ b/board/at91sam9263ek/nandflash/at91sam9263ek.h
|
||||
@@ -108,7 +108,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 1202 /* AT91SAM9263-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9g10ek/dataflash/at91sam9g10ek.h b/board/at91sam9g10ek/dataflash/at91sam9g10ek.h
|
||||
index b2faf44..0882644 100644
|
||||
--- a/board/at91sam9g10ek/dataflash/at91sam9g10ek.h
|
||||
+++ b/board/at91sam9g10ek/dataflash/at91sam9g10ek.h
|
||||
@@ -97,11 +97,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x350 /* AT91SAM9261-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9g10ek/nandflash/at91sam9g10ek.h b/board/at91sam9g10ek/nandflash/at91sam9g10ek.h
|
||||
index 66c40a3..6c3ecda 100644
|
||||
--- a/board/at91sam9g10ek/nandflash/at91sam9g10ek.h
|
||||
+++ b/board/at91sam9g10ek/nandflash/at91sam9g10ek.h
|
||||
@@ -115,7 +115,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 0x350 /* AT91SAM9G10-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9g20ek/dataflash/at91sam9g20ek.h b/board/at91sam9g20ek/dataflash/at91sam9g20ek.h
|
||||
index eea0439..44bd578 100644
|
||||
--- a/board/at91sam9g20ek/dataflash/at91sam9g20ek.h
|
||||
+++ b/board/at91sam9g20ek/dataflash/at91sam9g20ek.h
|
||||
@@ -74,11 +74,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS1_DATAFLASH /* Boot on SPI NCS1 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x658 /* AT91SAM9G20-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9g20ek/nandflash/at91sam9g20ek.h b/board/at91sam9g20ek/nandflash/at91sam9g20ek.h
|
||||
index 31bd499..e797e4d 100644
|
||||
--- a/board/at91sam9g20ek/nandflash/at91sam9g20ek.h
|
||||
+++ b/board/at91sam9g20ek/nandflash/at91sam9g20ek.h
|
||||
@@ -93,7 +93,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 0x658 /* AT91SAM9G20-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9m10ekes/dataflash/at91sam9m10ekes.h b/board/at91sam9m10ekes/dataflash/at91sam9m10ekes.h
|
||||
index a60fd41..144dd6d 100644
|
||||
--- a/board/at91sam9m10ekes/dataflash/at91sam9m10ekes.h
|
||||
+++ b/board/at91sam9m10ekes/dataflash/at91sam9m10ekes.h
|
||||
@@ -88,8 +88,8 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x9CD /* AT91SAM9M10-EKES */
|
||||
#define JUMP_ADDR 0x73F00000 /* Final Jump Address */
|
||||
diff --git a/board/at91sam9m10g45ek/dataflash/at91sam9m10g45ek.h b/board/at91sam9m10g45ek/dataflash/at91sam9m10g45ek.h
|
||||
index 5c726b5..3152b79 100644
|
||||
--- a/board/at91sam9m10g45ek/dataflash/at91sam9m10g45ek.h
|
||||
+++ b/board/at91sam9m10g45ek/dataflash/at91sam9m10g45ek.h
|
||||
@@ -84,8 +84,8 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x726 /* AT91SAM9M10G45-EK */
|
||||
#define JUMP_ADDR 0x73F00000 /* Final Jump Address */
|
||||
diff --git a/board/at91sam9rlek/dataflash/at91sam9rlek.h b/board/at91sam9rlek/dataflash/at91sam9rlek.h
|
||||
index 05c42dc..be277b6 100644
|
||||
--- a/board/at91sam9rlek/dataflash/at91sam9rlek.h
|
||||
+++ b/board/at91sam9rlek/dataflash/at91sam9rlek.h
|
||||
@@ -88,11 +88,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS0_DATAFLASH /* Boot on SPI NCS0 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 1326 /* AT91SAM9RL-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9rlek/nandflash/at91sam9rlek.h b/board/at91sam9rlek/nandflash/at91sam9rlek.h
|
||||
index 656b4ba..594db8f 100644
|
||||
--- a/board/at91sam9rlek/nandflash/at91sam9rlek.h
|
||||
+++ b/board/at91sam9rlek/nandflash/at91sam9rlek.h
|
||||
@@ -112,7 +112,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 1326 /* AT91SAM9RL-EK */
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9xeek/dataflash/at91sam9xeek.h b/board/at91sam9xeek/dataflash/at91sam9xeek.h
|
||||
index 27d1822..e3172da 100644
|
||||
--- a/board/at91sam9xeek/dataflash/at91sam9xeek.h
|
||||
+++ b/board/at91sam9xeek/dataflash/at91sam9xeek.h
|
||||
@@ -73,11 +73,11 @@
|
||||
/* ******************************************************************* */
|
||||
#define AT91C_SPI_PCS_DATAFLASH AT91C_SPI_PCS1_DATAFLASH /* Boot on SPI NCS1 */
|
||||
|
||||
-#define IMG_ADDRESS 0x8400 /* Image Address in DataFlash */
|
||||
-#define IMG_SIZE 0x33900 /* Image Size in DataFlash */
|
||||
+#define IMG_ADDRESS 0x4000 /* Image Address in DataFlash */
|
||||
+#define IMG_SIZE 0x80000 /* Image Size in DataFlash */
|
||||
|
||||
#define MACH_TYPE 0x44B /* AT91SAM9XE-EK same id as AT91SAM9260-EK*/
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
diff --git a/board/at91sam9xeek/nandflash/at91sam9xeek.h b/board/at91sam9xeek/nandflash/at91sam9xeek.h
|
||||
index 5dbc63e..9fac7cb 100644
|
||||
--- a/board/at91sam9xeek/nandflash/at91sam9xeek.h
|
||||
+++ b/board/at91sam9xeek/nandflash/at91sam9xeek.h
|
||||
@@ -94,7 +94,7 @@
|
||||
#define IMG_SIZE 0x40000 /* Image Size in NandFlash */
|
||||
|
||||
#define MACH_TYPE 0x44B /* AT91SAM9XE-EK same id as AT91SAM9260-EK*/
|
||||
-#define JUMP_ADDR 0x23F00000 /* Final Jump Address */
|
||||
+#define JUMP_ADDR 0x21F00000 /* Final Jump Address */
|
||||
|
||||
/* ******************************************************************* */
|
||||
/* Application Settings */
|
||||
--
|
||||
1.7.5.4
|
||||
|
||||
@@ -21,6 +21,15 @@ define AT91BOOTSTRAP_EXTRACT_CMDS
|
||||
rmdir $(BUILD_DIR)/Bootstrap-v$(AT91BOOTSTRAP_VERSION)
|
||||
endef
|
||||
|
||||
ifneq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR)),)
|
||||
define AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
|
||||
support/scripts/apply-patches.sh $(@D) $(BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR) \
|
||||
at91bootstrap-$(AT91BOOTSTRAP_VERSION)-\*.patch
|
||||
endef
|
||||
|
||||
AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
|
||||
endif
|
||||
|
||||
define AT91BOOTSTRAP_BUILD_CMDS
|
||||
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
|
||||
endef
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
config BR2_TARGET_AT91DATAFLASHBOOT
|
||||
depends on BR2_arm
|
||||
depends on BR2_arm926t
|
||||
bool "AT91 DataFlashBoot"
|
||||
|
||||
@@ -8,19 +8,19 @@ config BR2_TARGET_BAREBOX
|
||||
if BR2_TARGET_BAREBOX
|
||||
choice
|
||||
prompt "version"
|
||||
default BR2_TARGET_BAREBOX_2011_10
|
||||
default BR2_TARGET_BAREBOX_2012_02
|
||||
help
|
||||
Select the specific Barebox version you want to use
|
||||
|
||||
config BR2_TARGET_BAREBOX_2011_08
|
||||
config BR2_TARGET_BAREBOX_2011_12
|
||||
depends on BR2_DEPRECATED
|
||||
bool "2011.08"
|
||||
bool "2011.12"
|
||||
|
||||
config BR2_TARGET_BAREBOX_2011_09
|
||||
bool "2011.09"
|
||||
config BR2_TARGET_BAREBOX_2012_01
|
||||
bool "2012.01"
|
||||
|
||||
config BR2_TARGET_BAREBOX_2011_10
|
||||
bool "2011.10"
|
||||
config BR2_TARGET_BAREBOX_2012_02
|
||||
bool "2012.02"
|
||||
|
||||
config BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
bool "Custom tarball"
|
||||
@@ -39,9 +39,9 @@ endif
|
||||
|
||||
config BR2_TARGET_BAREBOX_VERSION
|
||||
string
|
||||
default "2011.08.0" if BR2_TARGET_BAREBOX_2011_08
|
||||
default "2011.09.0" if BR2_TARGET_BAREBOX_2011_09
|
||||
default "2011.10.0" if BR2_TARGET_BAREBOX_2011_10
|
||||
default "2011.12.0" if BR2_TARGET_BAREBOX_2011_12
|
||||
default "2012.01.0" if BR2_TARGET_BAREBOX_2012_01
|
||||
default "2012.02.0" if BR2_TARGET_BAREBOX_2012_02
|
||||
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
|
||||
|
||||
|
||||
10
boot/lpc32xxcdl/Config.in
Normal file
10
boot/lpc32xxcdl/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_TARGET_LPC32XXCDL
|
||||
depends on BR2_arm926t
|
||||
bool "LPC32XX CDL (kickstart and S1L)"
|
||||
|
||||
if BR2_TARGET_LPC32XXCDL
|
||||
|
||||
config BR2_TARGET_LPC32XXCDL_BOARDNAME
|
||||
string "LPC32xx board name"
|
||||
|
||||
endif #BR2_TARGET_LPC32XXCDL
|
||||
52
boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch
Normal file
52
boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch
Normal file
@@ -0,0 +1,52 @@
|
||||
Use CROSS_COMPILE as compiler name and stop using libc
|
||||
|
||||
Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
|
||||
---
|
||||
makerule/lpc32xx/make.lpc32xx.gnu | 22 +++++++++++-----------
|
||||
1 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
index 1014c28..3277d99 100644
|
||||
--- a/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
+++ b/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
@@ -27,19 +27,19 @@ CFLAGS += -mno-sched-prolog -fno-hosted -mno-thumb-interwork -ffunction-sectio
|
||||
CFLAGS += -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
|
||||
AFLAGS = -mcpu=arm926ej-s
|
||||
AFLAGS += -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
|
||||
-CC = arm-none-eabi-gcc
|
||||
-AS = arm-none-eabi-as
|
||||
-AR = arm-none-eabi-ar -r
|
||||
-LD = arm-none-eabi-gcc
|
||||
-NM = arm-none-eabi-nm
|
||||
-OBJDUMP = arm-none-eabi-objdump
|
||||
-OBJCOPY = arm-none-eabi-objcopy
|
||||
-READELF = arm-none-eabi-readelf
|
||||
+CC = $(CROSS_COMPILE)gcc
|
||||
+AS = $(CROSS_COMPILE)as
|
||||
+AR = $(CROSS_COMPILE)ar -r
|
||||
+LD = $(CROSS_COMPILE)gcc
|
||||
+NM = $(CROSS_COMPILE)nm
|
||||
+OBJDUMP = $(CROSS_COMPILE)objdump
|
||||
+OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
+READELF = $(CROSS_COMPILE)readelf
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
LK = -static
|
||||
LK += -Wl,--start-group $(TARGET_CSP_LIB) $(TARGET_BSP_LIB) $(TARGET_GEN_LIB)
|
||||
-LK += -lgcc -lc -lg -lm -lstdc++ -lsupc++
|
||||
+LK += -nostdlib -lgcc #-lc -lg -lm -lstdc++ -lsupc++
|
||||
LK += -Wl,--end-group
|
||||
MAP = -Xlinker -Map -Xlinker
|
||||
LDESC = -Xlinker -T
|
||||
@@ -47,6 +47,6 @@ ENTRY = -e
|
||||
BIN = -bin
|
||||
EXT = .elf
|
||||
LEXT =
|
||||
-ELFTOREC =arm-none-eabi-objcopy -O srec --strip-all --verbose
|
||||
-ELFTOBIN =arm-none-eabi-objcopy -I elf32-littlearm -O binary --strip-all --verbose
|
||||
+ELFTOREC = $(OBJCOPY) -O srec --strip-all --verbose
|
||||
+ELFTOBIN = $(OBJCOPY) -I elf32-littlearm -O binary --strip-all --verbose
|
||||
REC =.srec
|
||||
--
|
||||
1.7.7.3
|
||||
|
||||
969
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch
Normal file
969
boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch
Normal file
@@ -0,0 +1,969 @@
|
||||
Remove duplicated files to stop the linker from complaining about duplicate
|
||||
symbols
|
||||
|
||||
Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
|
||||
---
|
||||
--- a/csps/lpc32xx/bsps/fdi3250/startup/examples/s1l/sysapi_timer.c 2011-10-05 19:10:37.000000000 +0200
|
||||
+++ /dev/null 2012-01-01 16:39:47.918907000 +0100
|
||||
@@ -1,212 +0,0 @@
|
||||
-/***********************************************************************
|
||||
- * $Id:: sysapi_timer.c 3394 2010-05-06 17:56:27Z usb10132 $
|
||||
- *
|
||||
- * Project: Time support functions
|
||||
- *
|
||||
- * Description:
|
||||
- * Implements the following functions required for the S1L API
|
||||
- * time_init
|
||||
- * time_reset
|
||||
- * time_start
|
||||
- * time_stop
|
||||
- * time_get
|
||||
- * time_get_rate
|
||||
- *
|
||||
- ***********************************************************************
|
||||
- * Software that is described herein is for illustrative purposes only
|
||||
- * which provides customers with programming information regarding the
|
||||
- * products. This software is supplied "AS IS" without any warranties.
|
||||
- * NXP Semiconductors assumes no responsibility or liability for the
|
||||
- * use of the software, conveys no license or title under any patent,
|
||||
- * copyright, or mask work right to the product. NXP Semiconductors
|
||||
- * reserves the right to make changes in the software without
|
||||
- * notification. NXP Semiconductors also make no representation or
|
||||
- * warranty that such application will be suitable for the specified
|
||||
- * use without further testing or modification.
|
||||
- **********************************************************************/
|
||||
-
|
||||
-#include "s1l_sys_inf.h"
|
||||
-#include "lpc32xx_intc_driver.h"
|
||||
-#include "lpc32xx_timer_driver.h"
|
||||
-
|
||||
-static UNS_64 base_rate;
|
||||
-static INT_32 tdev = 0;
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_init
|
||||
- *
|
||||
- * Purpose: Initializes time system
|
||||
- *
|
||||
- * Processing: Initializes the system timer.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: 0 if the init failed, otherwise non-zero
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-INT_32 time_init(void)
|
||||
-{
|
||||
- TMR_PSCALE_SETUP_T pscale;
|
||||
-
|
||||
- /* Open timer driver */
|
||||
- if (tdev == 0)
|
||||
- {
|
||||
- tdev = timer_open((void *) TIMER_CNTR0, 0);
|
||||
- if (tdev != 0)
|
||||
- {
|
||||
- /* Use a prescale count to 100000 */
|
||||
- pscale.ps_tick_val = 100000;
|
||||
- pscale.ps_us_val = 0; /* Not needed when ps_tick_val != 0 */
|
||||
- timer_ioctl(tdev, TMR_SETUP_PSCALE, (INT_32) &pscale);
|
||||
-
|
||||
- /* Get timer clock rate */
|
||||
- base_rate = (UNS_64) timer_ioctl(tdev, TMR_GET_STATUS,
|
||||
- TMR_GET_CLOCK);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- return tdev;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_reset
|
||||
- *
|
||||
- * Purpose: Resets system timer
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: Nothing
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-void time_reset(void)
|
||||
-{
|
||||
- if (tdev != 0)
|
||||
- {
|
||||
- timer_ioctl(tdev, TMR_RESET, 1);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_start
|
||||
- *
|
||||
- * Purpose: Starts system timer
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: Nothing
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-void time_start(void)
|
||||
-{
|
||||
- if (tdev != 0)
|
||||
- {
|
||||
- timer_ioctl(tdev, TMR_ENABLE, 1);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_stop
|
||||
- *
|
||||
- * Purpose: Stops system timer
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: Nothing
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-void time_stop(void)
|
||||
-{
|
||||
- if (tdev != 0)
|
||||
- {
|
||||
- timer_ioctl(tdev, TMR_ENABLE, 0);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_get
|
||||
- *
|
||||
- * Purpose: Returns current system time value
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: The number of ticks of the timer counter
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-UNS_64 time_get(void)
|
||||
-{
|
||||
- TMR_COUNTS_T tcounts;
|
||||
- UNS_64 ticks = 0;
|
||||
-
|
||||
- if (tdev != 0)
|
||||
- {
|
||||
- timer_ioctl(tdev, TMR_GET_COUNTS, (INT_32) &tcounts);
|
||||
-
|
||||
- /* Compute number of timer ticks */
|
||||
- ticks = (UNS_64) tcounts.count_val * 100000;
|
||||
- ticks = ticks + (UNS_64) tcounts.ps_count_val;
|
||||
- }
|
||||
-
|
||||
- return ticks;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: time_get_rate
|
||||
- *
|
||||
- * Purpose:
|
||||
- * Returns base tick rate (ticks per second) of the time counter
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: The timer tick rate (in ticks per second)
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-UNS_64 time_get_rate(void)
|
||||
-{
|
||||
- return base_rate;
|
||||
-}
|
||||
-
|
||||
--- a/csps/lpc32xx/bsps/fdi3250/startup/examples/s1l/sys_mmu_cmd_group.c 2011-10-05 19:10:37.000000000 +0200
|
||||
+++ /dev/null 2012-01-01 16:39:47.918907000 +0100
|
||||
@@ -1,746 +0,0 @@
|
||||
-/***********************************************************************
|
||||
- * $Id:: sys_mmu_cmd_group.c 3430 2010-05-07 17:39:08Z usb10132 $
|
||||
- *
|
||||
- * Project: Command processor for peek, poke, dump, and fill
|
||||
- *
|
||||
- * Description:
|
||||
- * Processes commands from the command prompt
|
||||
- *
|
||||
- ***********************************************************************
|
||||
- * Software that is described herein is for illustrative purposes only
|
||||
- * which provides customers with programming information regarding the
|
||||
- * products. This software is supplied "AS IS" without any warranties.
|
||||
- * NXP Semiconductors assumes no responsibility or liability for the
|
||||
- * use of the software, conveys no license or title under any patent,
|
||||
- * copyright, or mask work right to the product. NXP Semiconductors
|
||||
- * reserves the right to make changes in the software without
|
||||
- * notification. NXP Semiconductors also make no representation or
|
||||
- * warranty that such application will be suitable for the specified
|
||||
- * use without further testing or modification.
|
||||
- **********************************************************************/
|
||||
-
|
||||
-#include "lpc_arm922t_cp15_driver.h"
|
||||
-#include "lpc_string.h"
|
||||
-#include "startup.h"
|
||||
-#include "s1l_cmds.h"
|
||||
-#include "s1l_sys_inf.h"
|
||||
-
|
||||
-/* dcache command */
|
||||
-BOOL_32 cmd_dcache(void);
|
||||
-static UNS_32 cmd_dcache_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR), /* The "dcache" command */
|
||||
- (PARSE_TYPE_DEC | PARSE_TYPE_END)
|
||||
-};
|
||||
-static CMD_ROUTE_T core_dcache_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "dcache",
|
||||
- cmd_dcache,
|
||||
- (UNS_8 *) "Enables, disables, or flushes data cache",
|
||||
- (UNS_8 *) "dcache [0(disable), 1(enable), 2(flush)]",
|
||||
- cmd_dcache_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* icache command */
|
||||
-BOOL_32 cmd_icache(void);
|
||||
-static UNS_32 cmd_icache_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR), /* The "icache" command */
|
||||
- (PARSE_TYPE_DEC | PARSE_TYPE_END)
|
||||
-};
|
||||
-static CMD_ROUTE_T core_icache_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "icache",
|
||||
- cmd_icache,
|
||||
- (UNS_8 *) "Enables or disables instruction cache",
|
||||
- (UNS_8 *) "icache [0(disable), 1(enable)]",
|
||||
- cmd_icache_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* inval command */
|
||||
-BOOL_32 cmd_inval(void);
|
||||
-static UNS_32 cmd_inval_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR | PARSE_TYPE_END) /* The "inval" command */
|
||||
-};
|
||||
-static CMD_ROUTE_T core_inval_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "inval",
|
||||
- cmd_inval,
|
||||
- (UNS_8 *) "Flushes data cache and invalidates instruction cache",
|
||||
- (UNS_8 *) "inval",
|
||||
- cmd_inval_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* mmuenab command */
|
||||
-BOOL_32 cmd_mmuenab(void);
|
||||
-static UNS_32 cmd_mmuenab_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR), /* The "mmuenab" command */
|
||||
- (PARSE_TYPE_DEC | PARSE_TYPE_END)
|
||||
-};
|
||||
-static CMD_ROUTE_T core_mmuenab_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "mmuenab",
|
||||
- cmd_mmuenab,
|
||||
- (UNS_8 *) "Enables or disables the MMU",
|
||||
- (UNS_8 *) "mmuenab [0(disable), 1(enable)]",
|
||||
- cmd_mmuenab_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* map command */
|
||||
-BOOL_32 cmd_map(void);
|
||||
-static UNS_32 cmd_map_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR), /* The "map" command */
|
||||
- (PARSE_TYPE_HEX),
|
||||
- (PARSE_TYPE_HEX),
|
||||
- (PARSE_TYPE_DEC),
|
||||
- (PARSE_TYPE_DEC | PARSE_TYPE_END),
|
||||
-};
|
||||
-static CMD_ROUTE_T core_map_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "map",
|
||||
- cmd_map,
|
||||
- (UNS_8 *) "Maps a range of physical address sections to virtual addresses",
|
||||
- (UNS_8 *) "map [virt hex addr][phy hex addr][sections][0(uncached), 1(cached), 2(unmap)]",
|
||||
- cmd_map_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* mmuinfo command */
|
||||
-static BOOL_32 cmd_mmuinfo(void);
|
||||
-static UNS_32 cmd_mmuinfo_plist[] =
|
||||
-{
|
||||
- (PARSE_TYPE_STR | PARSE_TYPE_END) /* The "mmuinfo" command */
|
||||
-};
|
||||
-static CMD_ROUTE_T core_mmuinfo_cmd =
|
||||
-{
|
||||
- (UNS_8 *) "mmuinfo",
|
||||
- cmd_mmuinfo,
|
||||
- (UNS_8 *) "Dumps page table and MMU info",
|
||||
- (UNS_8 *) "mmuinfo",
|
||||
- cmd_mmuinfo_plist,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-/* MMU group */
|
||||
-static GROUP_LIST_T mmu_group =
|
||||
-{
|
||||
- (UNS_8 *) "mmu", /* mmu group */
|
||||
- (UNS_8 *) "MMU command group",
|
||||
- NULL,
|
||||
- NULL
|
||||
-};
|
||||
-
|
||||
-static UNS_8 enabled_msg [] =" enabled";
|
||||
-static UNS_8 disabled_msg [] =" disabled";
|
||||
-static UNS_8 dcache_msg[] = "Data cache";
|
||||
-static UNS_8 icache_msg[] = "Instruction cache";
|
||||
-static UNS_8 pagetab_msg[] = "Page table at address: ";
|
||||
-static UNS_8 slist_msg[] = "Type Virt Phy fl Size";
|
||||
-static UNS_8 mmu_msg [] ="MMU";
|
||||
-static UNS_8 cpage_msg[] = "Coarse page:";
|
||||
-static UNS_8 fpage_msg[] = "Fine page :";
|
||||
-static UNS_8 sect_msg[] = "Section :";
|
||||
-static UNS_8 mbytes_msg[] = "M";
|
||||
-static UNS_8 map1_err_msg[] =
|
||||
- "Error : section addresses must be aligned on a 32-bit boundary";
|
||||
-static UNS_8 map2_err_msg[] =
|
||||
- "Error : Number of sections exceeds address range of device";
|
||||
-static UNS_8 phya_msg[] = "Virtual address ";
|
||||
-static UNS_8 mapped_msg[] = " mapped to physical address ";
|
||||
-static UNS_8 unmapped_msg[] = " unmapped from physical address ";
|
||||
-static UNS_8 cached_msg[] = " (cached)";
|
||||
-static UNS_8 inval_msg[] = " invalidated";
|
||||
-static UNS_8 caches_msg [] ="Caches";
|
||||
-static UNS_8 flushed_msg[] = " flushed";
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: show_section
|
||||
- *
|
||||
- * Purpose: Display section information
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters:
|
||||
- * mmu_reg : MMU settings for this section
|
||||
- * virt_addr : Starting virtual address for this section
|
||||
- * segs : Number of 1M segments for this section
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: Nothing
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-static void show_section(UNS_32 mmu_reg,
|
||||
- UNS_32 virt_addr,
|
||||
- UNS_32 segs)
|
||||
-{
|
||||
- UNS_8 straddr [16];
|
||||
- UNS_32 mmu_phy;
|
||||
-
|
||||
- if ((mmu_reg & ARM922T_L1D_TYPE_PG_SN_MASK) !=
|
||||
- ARM922T_L1D_TYPE_FAULT)
|
||||
- {
|
||||
- if ((mmu_reg & ARM922T_L1D_TYPE_PG_SN_MASK) ==
|
||||
- ARM922T_L1D_TYPE_CPAGE)
|
||||
- {
|
||||
- term_dat_out(cpage_msg);
|
||||
- }
|
||||
- else if ((mmu_reg & ARM922T_L1D_TYPE_PG_SN_MASK) ==
|
||||
- ARM922T_L1D_TYPE_FPAGE)
|
||||
- {
|
||||
- term_dat_out(fpage_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out(sect_msg);
|
||||
- }
|
||||
-
|
||||
- /* Compute virtual address */
|
||||
- str_makehex(straddr, virt_addr, 8);
|
||||
- term_dat_out(straddr);
|
||||
- term_dat_out((UNS_8 *) " ");
|
||||
-
|
||||
- /* Compute mapped physical address */
|
||||
- if ((mmu_reg & ARM922T_L1D_TYPE_PG_SN_MASK) ==
|
||||
- ARM922T_L1D_TYPE_SECTION)
|
||||
- {
|
||||
- mmu_phy = mmu_reg & 0xFFF00000;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- /* Don't compute addresses for non-sections */
|
||||
- mmu_phy = 0;
|
||||
- }
|
||||
- str_makehex(straddr, mmu_phy, 8);
|
||||
- term_dat_out(straddr);
|
||||
- term_dat_out((UNS_8 *) " ");
|
||||
-
|
||||
- /* MMU flags */
|
||||
- if ((mmu_reg & ARM922T_L1D_BUFFERABLE) != 0)
|
||||
- {
|
||||
- term_dat_out((UNS_8 *) "b");
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out((UNS_8 *) " ");
|
||||
- }
|
||||
- if ((mmu_reg & ARM922T_L1D_CACHEABLE) != 0)
|
||||
- {
|
||||
- term_dat_out((UNS_8 *) "c");
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out((UNS_8 *) " ");
|
||||
- }
|
||||
- term_dat_out((UNS_8 *) " ");
|
||||
-
|
||||
- /* Displays used megabytes */
|
||||
- str_makedec(straddr, segs);
|
||||
- term_dat_out(straddr);
|
||||
- term_dat_out_crlf(mbytes_msg);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: mmu_dumpinfo
|
||||
- *
|
||||
- * Purpose: Display MMU info
|
||||
- *
|
||||
- * Processing:
|
||||
- * Display the MMU information, including enable status, cache
|
||||
- * status, and page table.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-static BOOL_32 mmu_dumpinfo(void)
|
||||
-{
|
||||
- UNS_32 segsz, last_mmu_reg, mmu_vrt, mmu_reg, mmu_vrtsav = 0, *pt;
|
||||
- UNS_32 mlast_mmu_reg, mmmu_reg;
|
||||
- int idx;
|
||||
- UNS_8 hexaddr [16];
|
||||
-
|
||||
- term_dat_out(mmu_msg);
|
||||
- if (cp15_mmu_enabled() == FALSE)
|
||||
- {
|
||||
- term_dat_out_crlf(disabled_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out_crlf(enabled_msg);
|
||||
-
|
||||
- /* Get MMU control register word */
|
||||
- mmu_reg = cp15_get_mmu_control_reg();
|
||||
-
|
||||
- /* Instruction cache status */
|
||||
- term_dat_out(icache_msg);
|
||||
- if ((mmu_reg & ARM922T_MMU_CONTROL_I) == 0)
|
||||
- {
|
||||
- term_dat_out_crlf(disabled_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out_crlf(enabled_msg);
|
||||
- }
|
||||
-
|
||||
- /* Data cache status */
|
||||
- term_dat_out(dcache_msg);
|
||||
- if ((mmu_reg & ARM922T_MMU_CONTROL_C) == 0)
|
||||
- {
|
||||
- term_dat_out_crlf(disabled_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out_crlf(enabled_msg);
|
||||
- }
|
||||
-
|
||||
- term_dat_out(pagetab_msg);
|
||||
- mmu_reg = (UNS_32) cp15_get_ttb();
|
||||
- str_makehex(hexaddr, mmu_reg, 8);
|
||||
- term_dat_out_crlf(hexaddr);
|
||||
- term_dat_out_crlf(slist_msg);
|
||||
-
|
||||
- /* Process MMU table - assume that the physical and
|
||||
- virtual locations of table are the same */
|
||||
- pt = (UNS_32 *) mmu_reg;
|
||||
- mmu_vrt = 0x0;
|
||||
- segsz = 0xFFFFFFFF;
|
||||
- last_mmu_reg = mlast_mmu_reg = 0xFFFFFFFF;
|
||||
- for (idx = 0; idx < 4096; idx++)
|
||||
- {
|
||||
- mmu_reg = *pt;
|
||||
- mmmu_reg = (mmu_reg & (ARM922T_L1D_TYPE_PG_SN_MASK |
|
||||
- ARM922T_L1D_BUFFERABLE | ARM922T_L1D_CACHEABLE));
|
||||
- segsz = segsz + 1;
|
||||
-
|
||||
- if ((last_mmu_reg != 0xFFFFFFFF) &&
|
||||
- (mlast_mmu_reg != mmmu_reg))
|
||||
- {
|
||||
- show_section(last_mmu_reg, mmu_vrtsav, segsz);
|
||||
- segsz = 0;
|
||||
- }
|
||||
-
|
||||
- if (mlast_mmu_reg != mmmu_reg)
|
||||
- {
|
||||
- mmu_vrtsav = mmu_vrt;
|
||||
- last_mmu_reg = mmu_reg;
|
||||
- mlast_mmu_reg = mmmu_reg;
|
||||
- }
|
||||
-
|
||||
- pt++;
|
||||
- mmu_vrt += 0x00100000;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: mmu_dumpmap
|
||||
- *
|
||||
- * Purpose: Map a virtual address range to a physical range
|
||||
- *
|
||||
- * Processing:
|
||||
- * From the input addresses and number of sections, generate the
|
||||
- * appropriate entries in the page table.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-static BOOL_32 mmu_dumpmap(UNS_32 vrt,
|
||||
- UNS_32 phy,
|
||||
- UNS_32 sections,
|
||||
- UNS_32 cache)
|
||||
-{
|
||||
- BOOL_32 processed = FALSE;
|
||||
- UNS_32 mmu_phy, mmu_vrt, tmp1 = 0, tmp2, *pt;
|
||||
- UNS_8 hexaddr [16];
|
||||
-
|
||||
- /* Verify address boundaries are sectional */
|
||||
- mmu_vrt = vrt & ~ARM922T_L2D_SN_BASE_MASK;
|
||||
- mmu_phy = phy & ~ARM922T_L2D_SN_BASE_MASK;
|
||||
- if ((mmu_vrt != 0) || (mmu_phy != 0))
|
||||
- {
|
||||
- term_dat_out_crlf(map1_err_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- /* Verify that address range and section count will not
|
||||
- exceed address range of device */
|
||||
- tmp1 = vrt >> 20;
|
||||
- tmp1 = (tmp1 + sections) - 1;
|
||||
- tmp2 = phy >> 20;
|
||||
- tmp2 = (tmp2 + sections) - 1;
|
||||
- if ((tmp1 < 4096) && (tmp2 < 4096))
|
||||
- {
|
||||
- /* Good address range and good section count */
|
||||
- processed = TRUE;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out_crlf(map2_err_msg);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- /* Generate static part of MMU word */
|
||||
- if (cache == 0)
|
||||
- {
|
||||
- /* Section mapped with cache disabled */
|
||||
- tmp1 = ARM922T_L1D_TYPE_SECTION;
|
||||
- }
|
||||
- else if (cache == 1)
|
||||
- {
|
||||
- /* Section mapped with cache enabled */
|
||||
- tmp1 = (ARM922T_L1D_BUFFERABLE | ARM922T_L1D_CACHEABLE |
|
||||
- ARM922T_L1D_TYPE_SECTION);
|
||||
- }
|
||||
- else if (cache == 2)
|
||||
- {
|
||||
- /* Section unmapped */
|
||||
- tmp1 = ARM922T_L1D_TYPE_FAULT;
|
||||
- }
|
||||
- tmp1 |= ARM922T_L1D_AP_ALL;
|
||||
-
|
||||
- /* Offset into page table for virtual address */
|
||||
- tmp2 = (vrt >> 20);
|
||||
- pt = cp15_get_ttb() + tmp2;
|
||||
-
|
||||
- /* Loop until all sections are complete */
|
||||
- while ((sections > 0) && (processed == TRUE))
|
||||
- {
|
||||
- /* Add in physical address */
|
||||
- tmp2 = tmp1 | (phy & ARM922T_L2D_SN_BASE_MASK);
|
||||
-
|
||||
- /* Save new section descriptor for virtual address */
|
||||
- *pt = tmp2;
|
||||
-
|
||||
- /* Output message shown the map */
|
||||
- term_dat_out(phya_msg);
|
||||
- str_makehex(hexaddr, phy, 8);
|
||||
- term_dat_out(hexaddr);
|
||||
- if (cache == 2)
|
||||
- {
|
||||
- term_dat_out(unmapped_msg);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- term_dat_out(mapped_msg);
|
||||
- }
|
||||
- str_makehex(hexaddr, vrt, 8);
|
||||
- term_dat_out(hexaddr);
|
||||
- if (cache == 1)
|
||||
- {
|
||||
- term_dat_out(cached_msg);
|
||||
- }
|
||||
- term_dat_out_crlf((UNS_8 *) "");
|
||||
-
|
||||
- /* Next section and page table entry*/
|
||||
- phy += 0x00100000;
|
||||
- vrt += 0x00100000;
|
||||
- pt++;
|
||||
- sections--;
|
||||
- }
|
||||
-
|
||||
- return processed;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_mmuinfo
|
||||
- *
|
||||
- * Purpose: Display MMU information
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-static BOOL_32 cmd_mmuinfo(void)
|
||||
-{
|
||||
- mmu_dumpinfo();
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_map
|
||||
- *
|
||||
- * Purpose: Map a physical address region to a virtual region
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-BOOL_32 cmd_map(void)
|
||||
-{
|
||||
- UNS_32 phy, virt, sects, ce = 0;
|
||||
-
|
||||
- /* Get arguments */
|
||||
- virt = cmd_get_field_val(1);
|
||||
- phy = cmd_get_field_val(2);
|
||||
- sects = cmd_get_field_val(3);
|
||||
- ce = cmd_get_field_val(4);
|
||||
-
|
||||
- if (ce <= 2)
|
||||
- {
|
||||
- mmu_dumpmap(virt, phy, sects, ce);
|
||||
- }
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_inval
|
||||
- *
|
||||
- * Purpose: MMU cache flush and invalidate
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-BOOL_32 cmd_inval(void)
|
||||
-{
|
||||
- dcache_flush();
|
||||
- icache_inval();
|
||||
- term_dat_out(caches_msg);
|
||||
- term_dat_out(inval_msg);
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_dcache
|
||||
- *
|
||||
- * Purpose: MMU data cache enable and disable
|
||||
- *
|
||||
- * Processing:
|
||||
- * If the value passed in the parser is 1, enable the data cache,
|
||||
- * otherwise disable the data cache.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-BOOL_32 cmd_dcache(void)
|
||||
-{
|
||||
- UNS_32 cenable;
|
||||
- UNS_8 *ppar;
|
||||
-
|
||||
- /* Get argument */
|
||||
- cenable = cmd_get_field_val(1);
|
||||
-
|
||||
- switch (cenable)
|
||||
- {
|
||||
- case 0:
|
||||
- dcache_flush();
|
||||
- cp15_set_dcache(0);
|
||||
- ppar = disabled_msg;
|
||||
- break;
|
||||
-
|
||||
- case 1:
|
||||
- cp15_invalidate_cache();
|
||||
- cp15_set_dcache(1);
|
||||
- ppar = enabled_msg;
|
||||
- break;
|
||||
-
|
||||
- case 2:
|
||||
- default:
|
||||
- dcache_flush();
|
||||
- ppar = flushed_msg;
|
||||
- break;
|
||||
- }
|
||||
-
|
||||
- term_dat_out(dcache_msg);
|
||||
- term_dat_out_crlf(ppar);
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_icache
|
||||
- *
|
||||
- * Purpose: MMU instruction cache enable and disable
|
||||
- *
|
||||
- * Processing:
|
||||
- * If the value passed in the parser is 1, enable the instruction
|
||||
- * cache, otherwise disable the instruction cache.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-BOOL_32 cmd_icache(void)
|
||||
-{
|
||||
- UNS_32 cenable;
|
||||
- UNS_8 *ppar;
|
||||
-
|
||||
- /* Get argument */
|
||||
- cenable = cmd_get_field_val(1);
|
||||
-
|
||||
- if (cenable == 1)
|
||||
- {
|
||||
- dcache_flush();
|
||||
- cp15_invalidate_cache();
|
||||
- cp15_set_icache(1);
|
||||
- ppar = enabled_msg;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- cp15_set_icache(0);
|
||||
- ppar = disabled_msg;
|
||||
- }
|
||||
-
|
||||
- term_dat_out(icache_msg);
|
||||
- term_dat_out_crlf(ppar);
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: cmd_mmuenab
|
||||
- *
|
||||
- * Purpose: Enable or disable MMU
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: TRUE if the command was processed, otherwise FALSE
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-BOOL_32 cmd_mmuenab(void)
|
||||
-{
|
||||
- UNS_8 *ppar;
|
||||
- UNS_32 cenable;
|
||||
-
|
||||
- term_dat_out_crlf((UNS_8 *) "Warning: Changing MMU status on "
|
||||
- " cached and buffered code can cause system crashes.");
|
||||
-
|
||||
- /* Get argument */
|
||||
- cenable = cmd_get_field_val(1);
|
||||
-
|
||||
- if (cenable == 1)
|
||||
- {
|
||||
- if ((cp15_get_mmu_control_reg() & ARM922T_MMU_CONTROL_C) != 0)
|
||||
- {
|
||||
- cp15_invalidate_cache();
|
||||
- }
|
||||
-
|
||||
- cp15_set_mmu(1);
|
||||
- ppar = enabled_msg;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- cp15_dcache_flush();
|
||||
- cp15_write_buffer_flush();
|
||||
- cp15_invalidate_cache();
|
||||
- cp15_set_mmu(0);
|
||||
- ppar = disabled_msg;
|
||||
- }
|
||||
-
|
||||
- term_dat_out(mmu_msg);
|
||||
- term_dat_out_crlf(ppar);
|
||||
-
|
||||
- return TRUE;
|
||||
-}
|
||||
-
|
||||
-/***********************************************************************
|
||||
- *
|
||||
- * Function: mmu_cmd_group_init
|
||||
- *
|
||||
- * Purpose: Initialize MMU command group
|
||||
- *
|
||||
- * Processing:
|
||||
- * See function.
|
||||
- *
|
||||
- * Parameters: None
|
||||
- *
|
||||
- * Outputs: None
|
||||
- *
|
||||
- * Returns: Nothin
|
||||
- *
|
||||
- * Notes: None
|
||||
- *
|
||||
- **********************************************************************/
|
||||
-void mmu_cmd_group_init(void)
|
||||
-{
|
||||
- /* Add MMU group */
|
||||
- cmd_add_group(&mmu_group);
|
||||
-
|
||||
- /* Add commands to the MMU group */
|
||||
- cmd_add_new_command(&mmu_group, &core_dcache_cmd);
|
||||
- cmd_add_new_command(&mmu_group, &core_icache_cmd);
|
||||
- cmd_add_new_command(&mmu_group, &core_inval_cmd);
|
||||
- cmd_add_new_command(&mmu_group, &core_mmuenab_cmd);
|
||||
- cmd_add_new_command(&mmu_group, &core_map_cmd);
|
||||
- cmd_add_new_command(&mmu_group, &core_mmuinfo_cmd);
|
||||
-}
|
||||
188
boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch
Normal file
188
boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch
Normal file
@@ -0,0 +1,188 @@
|
||||
Fix compilation and eabi issues
|
||||
|
||||
Since we are not linking with libc anymore, we need to define our own memset,
|
||||
strlen and memcpy. Also, as we are using a *libc compiler, we need to "handle"
|
||||
exceptions (mostly division by 0) by defining raise() and
|
||||
__aeabi_unwind_cpp_pr0.
|
||||
|
||||
Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
|
||||
---
|
||||
csps/lpc32xx/bsps/ea3250/source/libnosys_gnu.c | 41 +++++++++++++++++++++++
|
||||
csps/lpc32xx/bsps/fdi3250/source/libnosys_gnu.c | 41 +++++++++++++++++++++++
|
||||
csps/lpc32xx/bsps/phy3250/source/libnosys_gnu.c | 41 +++++++++++++++++++++++
|
||||
3 files changed, 123 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/ea3250/source/libnosys_gnu.c b/csps/lpc32xx/bsps/ea3250/source/libnosys_gnu.c
|
||||
index 385b0ab..f1f0a0a 100644
|
||||
--- a/csps/lpc32xx/bsps/ea3250/source/libnosys_gnu.c
|
||||
+++ b/csps/lpc32xx/bsps/ea3250/source/libnosys_gnu.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/times.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
/* errno definition */
|
||||
#undef errno
|
||||
@@ -125,4 +126,44 @@ int _write(int file, char *ptr, int len){
|
||||
return 0;
|
||||
}
|
||||
|
||||
+void * memset(void * s,int c,size_t count)
|
||||
+{
|
||||
+ char *xs = (char *) s;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *xs++ = c;
|
||||
+
|
||||
+ return s;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+size_t strlen(const char * s)
|
||||
+{
|
||||
+ const char *sc;
|
||||
+
|
||||
+ for (sc = s; *sc != '\0'; ++sc)
|
||||
+ /* nothing */;
|
||||
+ return sc - s;
|
||||
+}
|
||||
+
|
||||
+void * memcpy(void * dest,const void *src,size_t count)
|
||||
+{
|
||||
+ char *tmp = (char *) dest, *s = (char *) src;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *tmp++ = *s++;
|
||||
+
|
||||
+ return dest;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/* Dummy functions to avoid linker complaints */
|
||||
+void __aeabi_unwind_cpp_pr0(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
+void raise(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
#endif /*__GNUC__*/
|
||||
diff --git a/csps/lpc32xx/bsps/fdi3250/source/libnosys_gnu.c b/csps/lpc32xx/bsps/fdi3250/source/libnosys_gnu.c
|
||||
index 385b0ab..f1f0a0a 100644
|
||||
--- a/csps/lpc32xx/bsps/fdi3250/source/libnosys_gnu.c
|
||||
+++ b/csps/lpc32xx/bsps/fdi3250/source/libnosys_gnu.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/times.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
/* errno definition */
|
||||
#undef errno
|
||||
@@ -125,4 +126,44 @@ int _write(int file, char *ptr, int len){
|
||||
return 0;
|
||||
}
|
||||
|
||||
+void * memset(void * s,int c,size_t count)
|
||||
+{
|
||||
+ char *xs = (char *) s;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *xs++ = c;
|
||||
+
|
||||
+ return s;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+size_t strlen(const char * s)
|
||||
+{
|
||||
+ const char *sc;
|
||||
+
|
||||
+ for (sc = s; *sc != '\0'; ++sc)
|
||||
+ /* nothing */;
|
||||
+ return sc - s;
|
||||
+}
|
||||
+
|
||||
+void * memcpy(void * dest,const void *src,size_t count)
|
||||
+{
|
||||
+ char *tmp = (char *) dest, *s = (char *) src;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *tmp++ = *s++;
|
||||
+
|
||||
+ return dest;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/* Dummy functions to avoid linker complaints */
|
||||
+void __aeabi_unwind_cpp_pr0(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
+void raise(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
#endif /*__GNUC__*/
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/source/libnosys_gnu.c b/csps/lpc32xx/bsps/phy3250/source/libnosys_gnu.c
|
||||
index cfdb674..6b50c60 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/source/libnosys_gnu.c
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/source/libnosys_gnu.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/times.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
/* errno definition */
|
||||
#undef errno
|
||||
@@ -125,4 +126,44 @@ int _write(int file, char *ptr, int len){
|
||||
return 0;
|
||||
}
|
||||
|
||||
+void * memset(void * s,int c,size_t count)
|
||||
+{
|
||||
+ char *xs = (char *) s;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *xs++ = c;
|
||||
+
|
||||
+ return s;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+size_t strlen(const char * s)
|
||||
+{
|
||||
+ const char *sc;
|
||||
+
|
||||
+ for (sc = s; *sc != '\0'; ++sc)
|
||||
+ /* nothing */;
|
||||
+ return sc - s;
|
||||
+}
|
||||
+
|
||||
+void * memcpy(void * dest,const void *src,size_t count)
|
||||
+{
|
||||
+ char *tmp = (char *) dest, *s = (char *) src;
|
||||
+
|
||||
+ while (count--)
|
||||
+ *tmp++ = *s++;
|
||||
+
|
||||
+ return dest;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/* Dummy functions to avoid linker complaints */
|
||||
+void __aeabi_unwind_cpp_pr0(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
+void raise(void)
|
||||
+{
|
||||
+};
|
||||
+
|
||||
#endif /*__GNUC__*/
|
||||
--
|
||||
1.7.7.3
|
||||
|
||||
521
boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch
Normal file
521
boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch
Normal file
@@ -0,0 +1,521 @@
|
||||
Use slashes instead of backslashes
|
||||
|
||||
Signed-off-by: Alexandre Belloni <abelloni@adeneo-embedded.com>
|
||||
---
|
||||
.../bsps/common/examples/buildfiles/makefile | 10 +++---
|
||||
.../startup/examples/burners/makefile.burner | 16 +++++-----
|
||||
csps/lpc32xx/bsps/ea3250/source/makefile | 10 +++---
|
||||
csps/lpc32xx/bsps/fdi3250/source/makefile | 12 ++++----
|
||||
csps/lpc32xx/bsps/phy3250/examples/makefile | 2 +-
|
||||
csps/lpc32xx/bsps/phy3250/source/makefile | 2 +-
|
||||
.../examples/Burners/nor/kickstart/makefile | 2 +-
|
||||
.../startup/examples/Burners/nor/norerase/makefile | 2 +-
|
||||
.../startup/examples/Burners/nor/s1lapp/makefile | 2 +-
|
||||
.../examples/Burners/spi/kickstart/makefile | 2 +-
|
||||
csps/lpc32xx/source/makefile | 10 +++---
|
||||
lpc/source/makefile | 10 +++---
|
||||
makefile | 2 +-
|
||||
makerule/common/make.rules.environment | 30 ++++++++++----------
|
||||
makerule/lpc32xx/make.lpc32xx.gnu | 2 +-
|
||||
makerule/lpc32xx/make.lpc32xx.iar | 12 ++++----
|
||||
makerule/lpc32xx/make.lpc32xx.keil | 6 ++--
|
||||
makerule/lpc32xx/make.lpc32xx.rvw | 2 +-
|
||||
18 files changed, 67 insertions(+), 67 deletions(-)
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
|
||||
index cf4977c..1da2201 100644
|
||||
--- a/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
|
||||
+++ b/csps/lpc32xx/bsps/common/examples/buildfiles/makefile
|
||||
@@ -25,16 +25,16 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
-AFLAGS +=-I..\Include
|
||||
-CFLAGS +=-I..\Include
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
+AFLAGS +=-I../Include
|
||||
+CFLAGS +=-I../Include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -42,6 +42,6 @@ CFLAGS +=-I..\Include
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
|
||||
index fca3947..18bd703 100644
|
||||
--- a/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
|
||||
+++ b/csps/lpc32xx/bsps/common/startup/examples/burners/makefile.burner
|
||||
@@ -22,9 +22,9 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-COMMON_BASE := $(NXPMCU_SOFTWARE)\csps\$(CSP)\bsps\common
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
-include $(COMMON_BASE)\startup\examples\buildfiles\make.env
|
||||
+COMMON_BASE := $(NXPMCU_SOFTWARE)/csps/$(CSP)/bsps/common
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
+include $(COMMON_BASE)/startup/examples/buildfiles/make.env
|
||||
|
||||
########################################################################
|
||||
# ARM Realview
|
||||
@@ -38,7 +38,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
|
||||
#AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
|
||||
|
||||
# This runs from IRAM
|
||||
-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
|
||||
+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
|
||||
LDFLAGS = --remove
|
||||
MAP = --map --info=totals,sizes,unused --symbols --list
|
||||
endif
|
||||
@@ -55,7 +55,7 @@ AFLAGS += --predefine "USE_ALL_STACKS SETL {TRUE}"
|
||||
#AFLAGS += --predefine "RW_RELOC SETL {TRUE}"
|
||||
|
||||
# This runs from IRAM
|
||||
-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_rvw.ld
|
||||
+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_rvw.ld
|
||||
LDFLAGS = --remove
|
||||
MAP = --map --info=totals,sizes,unused --symbols --list
|
||||
endif
|
||||
@@ -72,7 +72,7 @@ AFLAGS += --defsym USE_ALL_STACKS=1
|
||||
#AFLAGS += --defsym RW_RELOC=1
|
||||
|
||||
# This runs from IRAM
|
||||
-LDSCRIPT =$(COMMON_BASE)\startup\examples\buildfiles\ldscript_iram_gnu.ld
|
||||
+LDSCRIPT =$(COMMON_BASE)/startup/examples/buildfiles/ldscript_iram_gnu.ld
|
||||
|
||||
endif
|
||||
|
||||
@@ -108,7 +108,7 @@ endif
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -157,6 +157,6 @@ endif
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
.PHONY: debug bin
|
||||
diff --git a/csps/lpc32xx/bsps/ea3250/source/makefile b/csps/lpc32xx/bsps/ea3250/source/makefile
|
||||
index 7cada25..2899b20 100644
|
||||
--- a/csps/lpc32xx/bsps/ea3250/source/makefile
|
||||
+++ b/csps/lpc32xx/bsps/ea3250/source/makefile
|
||||
@@ -22,16 +22,16 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
-AFLAGS +=-I..\Include
|
||||
-CFLAGS +=-I..\Include
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
+AFLAGS +=-I../Include
|
||||
+CFLAGS +=-I../Include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -64,7 +64,7 @@ realclean: lib_realclean
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
.PHONY: all lib_clean lib_realclean
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/fdi3250/source/makefile b/csps/lpc32xx/bsps/fdi3250/source/makefile
|
||||
index 4e153bb..11e4b63 100644
|
||||
--- a/csps/lpc32xx/bsps/fdi3250/source/makefile
|
||||
+++ b/csps/lpc32xx/bsps/fdi3250/source/makefile
|
||||
@@ -22,16 +22,16 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
-AFLAGS +=-I..\Include
|
||||
-CFLAGS +=-I..\Include
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
+AFLAGS +=-I../Include
|
||||
+CFLAGS +=-I../Include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -53,7 +53,7 @@ lib_clean:
|
||||
# delete all targets this Makefile can make and all built libraries
|
||||
# linked in
|
||||
lib_realclean:
|
||||
- -@$(RM) $(BSP_LIB_DIR)\*.a
|
||||
+ -@$(RM) $(BSP_LIB_DIR)/*.a
|
||||
-@$(RMDIR) $(BSP_LIB_DIR)
|
||||
|
||||
clean: lib_clean
|
||||
@@ -65,7 +65,7 @@ realclean: lib_realclean
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
.PHONY: all lib_clean lib_realclean
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/examples/makefile b/csps/lpc32xx/bsps/phy3250/examples/makefile
|
||||
index b939252..e7feaa6 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/examples/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/examples/makefile
|
||||
@@ -25,7 +25,7 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
SUBDIRS = adc dram_self_refresh hstimer hsuart i2c kscan lcd_colorbars
|
||||
SUBDIRS += lcd_tsc mi2c mstimer pwm pwm_simple rtc sdcard sdcard_dma
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/source/makefile b/csps/lpc32xx/bsps/phy3250/source/makefile
|
||||
index 7c48e7d..750b776 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/source/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/source/makefile
|
||||
@@ -32,7 +32,7 @@ include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
AFLAGS +=-I../Include
|
||||
CFLAGS +=-I../Include
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
|
||||
index 01e2b38..526d6cc 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/kickstart/makefile
|
||||
@@ -78,7 +78,7 @@ endif
|
||||
|
||||
########################################################################
|
||||
#
|
||||
-# Compiler\linker specific stuff
|
||||
+# Compiler/linker specific stuff
|
||||
#
|
||||
########################################################################
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
|
||||
index ce329f5..e81b8db 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/norerase/makefile
|
||||
@@ -77,7 +77,7 @@ endif
|
||||
|
||||
########################################################################
|
||||
#
|
||||
-# Compiler\linker specific stuff
|
||||
+# Compiler/linker specific stuff
|
||||
#
|
||||
########################################################################
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
|
||||
index 4426fc7..196faec 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/nor/s1lapp/makefile
|
||||
@@ -77,7 +77,7 @@ endif
|
||||
|
||||
########################################################################
|
||||
#
|
||||
-# Compiler\linker specific stuff
|
||||
+# Compiler/linker specific stuff
|
||||
#
|
||||
########################################################################
|
||||
|
||||
diff --git a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
|
||||
index dc73b64..39fc304 100644
|
||||
--- a/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
|
||||
+++ b/csps/lpc32xx/bsps/phy3250/startup/examples/Burners/spi/kickstart/makefile
|
||||
@@ -78,7 +78,7 @@ endif
|
||||
|
||||
########################################################################
|
||||
#
|
||||
-# Compiler\linker specific stuff
|
||||
+# Compiler/linker specific stuff
|
||||
#
|
||||
########################################################################
|
||||
|
||||
diff --git a/csps/lpc32xx/source/makefile b/csps/lpc32xx/source/makefile
|
||||
index 8e05456..16bd944 100644
|
||||
--- a/csps/lpc32xx/source/makefile
|
||||
+++ b/csps/lpc32xx/source/makefile
|
||||
@@ -25,16 +25,16 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
-AFLAGS +=-I..\Include
|
||||
-CFLAGS +=-I..\Include
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
+AFLAGS +=-I../Include
|
||||
+CFLAGS +=-I../Include
|
||||
|
||||
|
||||
########################################################################
|
||||
@@ -68,7 +68,7 @@ realclean: lib_realclean
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
.PHONY: all lib_clean lib_realclean
|
||||
|
||||
diff --git a/lpc/source/makefile b/lpc/source/makefile
|
||||
index 2860db9..ae7d612 100644
|
||||
--- a/lpc/source/makefile
|
||||
+++ b/lpc/source/makefile
|
||||
@@ -25,16 +25,16 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
# Pick up the assembler and C source files in the directory
|
||||
#
|
||||
########################################################################
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.ftypes
|
||||
-AFLAGS +=-I..\Include
|
||||
-CFLAGS +=-I..\Include
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.ftypes
|
||||
+AFLAGS +=-I../Include
|
||||
+CFLAGS +=-I../Include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -67,7 +67,7 @@ realclean: lib_realclean
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.build
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.build
|
||||
|
||||
.PHONY: all lib_clean lib_realclean
|
||||
|
||||
diff --git a/makefile b/makefile
|
||||
index 8645fcc..86fa6bc 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -34,7 +34,7 @@ TARGETS_CLN =gen_clean csp_clean bsp_clean
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\$(CSP)\make.$(CSP).$(TOOL)
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
diff --git a/makerule/common/make.rules.environment b/makerule/common/make.rules.environment
|
||||
index d5737fe..4e6df48 100644
|
||||
--- a/makerule/common/make.rules.environment
|
||||
+++ b/makerule/common/make.rules.environment
|
||||
@@ -52,7 +52,7 @@ ASTYLE =astyle --options=$(BUILD_ROOT)/tools/astyle.cfg
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
|
||||
+CSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/lib
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -60,7 +60,7 @@ CSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\lib
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
|
||||
+BSP_LIB_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)/lib
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -68,7 +68,7 @@ BSP_LIB_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)\lib
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
|
||||
+GEN_LIB_DIR =$(BUILD_ROOT)/$(GEN)/lib
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -76,9 +76,9 @@ GEN_LIB_DIR =$(BUILD_ROOT)\$(GEN)\lib
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-CSP_DIR =$(BUILD_ROOT)\csps\$(CSP)
|
||||
-CSP_SRC_DIR =$(CSP_DIR)\source
|
||||
-CSP_INC_DIR =$(CSP_DIR)\include
|
||||
+CSP_DIR =$(BUILD_ROOT)/csps/$(CSP)
|
||||
+CSP_SRC_DIR =$(CSP_DIR)/source
|
||||
+CSP_INC_DIR =$(CSP_DIR)/include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -86,9 +86,9 @@ CSP_INC_DIR =$(CSP_DIR)\include
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-BSP_DIR =$(BUILD_ROOT)\csps\$(CSP)\bsps\$(BSP)
|
||||
-BSP_SRC_DIR =$(BSP_DIR)\source
|
||||
-BSP_INC_DIR =$(BSP_DIR)\include
|
||||
+BSP_DIR =$(BUILD_ROOT)/csps/$(CSP)/bsps/$(BSP)
|
||||
+BSP_SRC_DIR =$(BSP_DIR)/source
|
||||
+BSP_INC_DIR =$(BSP_DIR)/include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -96,9 +96,9 @@ BSP_INC_DIR =$(BSP_DIR)\include
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-GEN_DIR =$(BUILD_ROOT)\$(GEN)
|
||||
-GEN_SRC_DIR =$(GEN_DIR)\source
|
||||
-GEN_INC_DIR =$(GEN_DIR)\include
|
||||
+GEN_DIR =$(BUILD_ROOT)/$(GEN)
|
||||
+GEN_SRC_DIR =$(GEN_DIR)/source
|
||||
+GEN_INC_DIR =$(GEN_DIR)/include
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@@ -151,6 +151,6 @@ endif
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-TARGET_CSP_LIB =$(CSP_LIB_DIR)\$(CSP_ARCHIVE)
|
||||
-TARGET_BSP_LIB =$(BSP_LIB_DIR)\$(BSP_ARCHIVE)
|
||||
-TARGET_GEN_LIB =$(GEN_LIB_DIR)\$(GEN_ARCHIVE)
|
||||
+TARGET_CSP_LIB =$(CSP_LIB_DIR)/$(CSP_ARCHIVE)
|
||||
+TARGET_BSP_LIB =$(BSP_LIB_DIR)/$(BSP_ARCHIVE)
|
||||
+TARGET_GEN_LIB =$(GEN_LIB_DIR)/$(GEN_ARCHIVE)
|
||||
diff --git a/makerule/lpc32xx/make.lpc32xx.gnu b/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
index 3277d99..d80b98d 100644
|
||||
--- a/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
+++ b/makerule/lpc32xx/make.lpc32xx.gnu
|
||||
@@ -19,7 +19,7 @@
|
||||
# use without further testing or modification.
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
|
||||
|
||||
CPU = arm926ej-s
|
||||
CFLAGS = -mcpu=arm926ej-s -Wall -Os
|
||||
diff --git a/makerule/lpc32xx/make.lpc32xx.iar b/makerule/lpc32xx/make.lpc32xx.iar
|
||||
index 238ebbf..27d163f 100644
|
||||
--- a/makerule/lpc32xx/make.lpc32xx.iar
|
||||
+++ b/makerule/lpc32xx/make.lpc32xx.iar
|
||||
@@ -19,12 +19,12 @@
|
||||
# use without further testing or modification.
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
|
||||
|
||||
-IARBASE = $(IAR_ROOT)\ARM
|
||||
-IARTOOLS = $(IARBASE)\bin
|
||||
-IAR_LIB = $(IARBASE)\lib
|
||||
-IAR_INC = $(IARBASE)\inc
|
||||
+IARBASE = $(IAR_ROOT)/ARM
|
||||
+IARTOOLS = $(IARBASE)/bin
|
||||
+IAR_LIB = $(IARBASE)/lib
|
||||
+IAR_INC = $(IARBASE)/inc
|
||||
CC = iccarm
|
||||
CCP = iccarm
|
||||
AS = iasmarm
|
||||
@@ -36,7 +36,7 @@ CFLAGS += -I"$(IAR_INC)"
|
||||
AFLAGS = --cpu 5TEJ
|
||||
LDFLAGS =
|
||||
LK = "$(TARGET_GEN_LIB)" "$(TARGET_CSP_LIB)" "$(TARGET_BSP_LIB)"
|
||||
-;LK += "$(IAR_LIB)\dl4tpannl8f.r79"
|
||||
+;LK += "$(IAR_LIB)/dl4tpannl8f.r79"
|
||||
MAP = --map
|
||||
LDESC = --config
|
||||
ENTRY = --entry
|
||||
diff --git a/makerule/lpc32xx/make.lpc32xx.keil b/makerule/lpc32xx/make.lpc32xx.keil
|
||||
index dd27583..7334d3f 100644
|
||||
--- a/makerule/lpc32xx/make.lpc32xx.keil
|
||||
+++ b/makerule/lpc32xx/make.lpc32xx.keil
|
||||
@@ -19,7 +19,7 @@
|
||||
# use without further testing or modification.
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
|
||||
|
||||
CC =armcc
|
||||
CCP =armcc
|
||||
@@ -27,11 +27,11 @@ AS =armasm
|
||||
LD =armlink
|
||||
AR =armar -r -s
|
||||
CFLAGS =--arm -O3 -g --device DARMP3 -D__MICROLIB
|
||||
-CFLAGS +=-I$(KEIL_RVCT)\inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
|
||||
+CFLAGS +=-I$(KEIL_RVCT)/inc -I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
|
||||
AFLAGS =--arm --device=DARMP3
|
||||
AFLAGS +=-I$(CSP_INC_DIR) -I$(BSP_INC_DIR) -I$(GEN_INC_DIR)
|
||||
LDFLAGS =--noremove
|
||||
-LK =--device DARMP3 --libpath $(KEIL_RVCT)\lib --scan $(TARGET_CSP_LIB)
|
||||
+LK =--device DARMP3 --libpath $(KEIL_RVCT)/lib --scan $(TARGET_CSP_LIB)
|
||||
LK +=--scan $(TARGET_BSP_LIB)
|
||||
LK +=--scan $(TARGET_GEN_LIB)
|
||||
MAP =--map --list
|
||||
diff --git a/makerule/lpc32xx/make.lpc32xx.rvw b/makerule/lpc32xx/make.lpc32xx.rvw
|
||||
index 59961dd..2419976 100644
|
||||
--- a/makerule/lpc32xx/make.lpc32xx.rvw
|
||||
+++ b/makerule/lpc32xx/make.lpc32xx.rvw
|
||||
@@ -19,7 +19,7 @@
|
||||
# use without further testing or modification.
|
||||
########################################################################
|
||||
|
||||
-include $(NXPMCU_SOFTWARE)\makerule\common\make.rules.environment
|
||||
+include $(NXPMCU_SOFTWARE)/makerule/common/make.rules.environment
|
||||
|
||||
CC =armcc
|
||||
CCP =armcpp
|
||||
--
|
||||
1.7.7.3
|
||||
|
||||
70
boot/lpc32xxcdl/lpc32xxcdl.mk
Normal file
70
boot/lpc32xxcdl/lpc32xxcdl.mk
Normal file
@@ -0,0 +1,70 @@
|
||||
#############################################################
|
||||
#
|
||||
# LPC32XX CDL
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LPC32XXCDL_VERSION = lpc32xx_cdl_v2.11
|
||||
LPC32XXCDL_SITE = http://git.lpcware.com/lpc3xxx_cdl.git
|
||||
LPC32XXCDL_SITE_METHOD = git
|
||||
|
||||
LPC32XXCDL_INSTALL_TARGET = NO
|
||||
LPC32XXCDL_INSTALL_IMAGES = YES
|
||||
|
||||
ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"ea3250")
|
||||
LPC32XXCDL_KICKSTART = kickstart/nand
|
||||
LPC32XXCDL_KICKSTART_BURNER = nand/kickstart
|
||||
LPC32XXCDL_S1L = s1l
|
||||
LPC32XXCDL_S1L_BURNER = nand/s1lapp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"phy3250")
|
||||
LPC32XXCDL_KICKSTART = kickstart/kickstart_nand
|
||||
LPC32XXCDL_KICKSTART_BURNER = nand/kickstart
|
||||
LPC32XXCDL_S1L = s1l/s1l_nand_boot
|
||||
LPC32XXCDL_S1L_BURNER = nand/s1lapp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_LPC32XXCDL_BOARDNAME),"fdi3250")
|
||||
LPC32XXCDL_KICKSTART = kickstart/nand
|
||||
LPC32XXCDL_KICKSTART_BURNER = nand/kickstart_jtag
|
||||
LPC32XXCDL_S1L = s1l
|
||||
LPC32XXCDL_S1L_BURNER = nand/s1lapp_jtag
|
||||
endif
|
||||
|
||||
LPC32XXCDL_BUILD_FLAGS = \
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
NXPMCU_WINBASE=$(@D) \
|
||||
NXPMCU_SOFTWARE=$(@D) \
|
||||
BSP=$(BR2_TARGET_LPC32XXCDL_BOARDNAME) \
|
||||
CSP=lpc32xx TOOL=gnu GEN=lpc
|
||||
|
||||
LPC32XXCDL_BOARD_STARTUP_DIR = \
|
||||
csps/lpc32xx/bsps/$(BR2_TARGET_LPC32XXCDL_BOARDNAME)/startup/examples/
|
||||
|
||||
# Source files are with dos newlines, which our patch infrastructure doesn't
|
||||
# handle. Work around it by converting the affected files to unix newlines
|
||||
# before patching
|
||||
define LPC32XXCDL_DOS2UNIX_FOR_PATCH
|
||||
sed -n 's|^[+-]\{3\} [^/]\+\([^ \t]*\)\(.*\)|$(@D)\1|p' \
|
||||
boot/lpc32xxcdl/*.patch| sort -u | xargs $(SED) 's/\x0D$$//'
|
||||
endef
|
||||
|
||||
LPC32XXCDL_POST_EXTRACT_HOOKS += LPC32XXCDL_DOS2UNIX_FOR_PATCH
|
||||
|
||||
define LPC32XXCDL_BUILD_CMDS
|
||||
$(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)
|
||||
$(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_KICKSTART_BURNER)
|
||||
$(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_KICKSTART)
|
||||
$(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_S1L_BURNER)
|
||||
$(MAKE1) $(LPC32XXCDL_BUILD_FLAGS) -C $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_S1L)
|
||||
endef
|
||||
|
||||
define LPC32XXCDL_INSTALL_IMAGES_CMDS
|
||||
cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_KICKSTART_BURNER)/*gnu.bin $(BINARIES_DIR)
|
||||
cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_KICKSTART)/*gnu.bin $(BINARIES_DIR)
|
||||
cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/Burners/$(LPC32XXCDL_S1L_BURNER)/*gnu.bin $(BINARIES_DIR)
|
||||
cp $(@D)/$(LPC32XXCDL_BOARD_STARTUP_DIR)/$(LPC32XXCDL_S1L)/*gnu.bin $(BINARIES_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS))
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: syslinux-3.85/Makefile
|
||||
===================================================================
|
||||
--- syslinux-3.85.orig/Makefile
|
||||
+++ syslinux-3.85/Makefile
|
||||
@@ -43,7 +43,7 @@
|
||||
mbr/mbr_c.bin mbr/altmbr_c.bin mbr/gptmbr_c.bin \
|
||||
mbr/mbr_f.bin mbr/altmbr_f.bin mbr/gptmbr_f.bin \
|
||||
core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \
|
||||
- gpxe/gpxelinux.0 dos/syslinux.com win32/syslinux.exe \
|
||||
+ gpxe/gpxelinux.0 dos/syslinux.com \
|
||||
dosutil/*.com dosutil/*.sys \
|
||||
$(MODULES)
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SYSLINUX_VERSION = 3.85
|
||||
SYSLINUX_VERSION = 4.04
|
||||
SYSLINUX_SOURCE = syslinux-$(SYSLINUX_VERSION).tar.bz2
|
||||
SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/3.xx/
|
||||
SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/4.xx/
|
||||
|
||||
SYSLINUX_INSTALL_TARGET = NO
|
||||
SYSLINUX_INSTALL_IMAGES = YES
|
||||
@@ -26,4 +26,18 @@ define SYSLINUX_INSTALL_IMAGES_CMDS
|
||||
done
|
||||
endef
|
||||
|
||||
|
||||
define HOST_SYSLINUX_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_SYSLINUX_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLROOT=$(HOST_DIR) install
|
||||
endef
|
||||
|
||||
define HOST_SYSLINUX_CLEAN_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) clean
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS))
|
||||
$(eval $(call GENTARGETS,host))
|
||||
|
||||
@@ -12,24 +12,23 @@ config BR2_TARGET_UBOOT_BOARDNAME
|
||||
|
||||
choice
|
||||
prompt "U-Boot Version"
|
||||
default BR2_TARGET_UBOOT_2011_06
|
||||
default BR2_TARGET_UBOOT_2011_12
|
||||
help
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_2011_12
|
||||
bool "2011.12"
|
||||
|
||||
config BR2_TARGET_UBOOT_2011_09
|
||||
bool "2011.09"
|
||||
|
||||
config BR2_TARGET_UBOOT_2011_06
|
||||
bool "2011.06"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_TARGET_UBOOT_2011_03
|
||||
bool "2011.03"
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_12
|
||||
bool "2010.12"
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_09
|
||||
bool "2010.09"
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_06
|
||||
bool "2010.06"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
bool "Custom tarball"
|
||||
@@ -48,11 +47,10 @@ endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2011.12" if BR2_TARGET_UBOOT_2011_12
|
||||
default "2011.09" if BR2_TARGET_UBOOT_2011_09
|
||||
default "2011.06" if BR2_TARGET_UBOOT_2011_06
|
||||
default "2011.03" if BR2_TARGET_UBOOT_2011_03
|
||||
default "2010.12" if BR2_TARGET_UBOOT_2010_12
|
||||
default "2010.09" if BR2_TARGET_UBOOT_2010_09
|
||||
default "2010.06" if BR2_TARGET_UBOOT_2010_06
|
||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
|
||||
|
||||
@@ -81,6 +79,9 @@ choice
|
||||
config BR2_TARGET_UBOOT_FORMAT_BIN
|
||||
bool "u-boot.bin"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
|
||||
bool "u-boot-nand.bin"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_KWB
|
||||
depends on BR2_arm
|
||||
bool "u-boot.kwb (Marvell)"
|
||||
|
||||
@@ -0,0 +1,181 @@
|
||||
From 9fc4787c7a6c797db649831f86e49c4bf9780b4e Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Belloni <alexandre.belloni@piout.net>
|
||||
Date: Mon, 2 Jan 2012 03:51:11 +0100
|
||||
Subject: [PATCH] Change kernel address in dataflash to match u-boot's size
|
||||
|
||||
On at91sam platforms, u-boot grew larger than the allocated size in
|
||||
dataflash, the layout was:
|
||||
bootstrap 0x00000000
|
||||
ubootenv 0x00004200
|
||||
uboot 0x00008400
|
||||
kernel 0x00042000
|
||||
|
||||
u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400 =
|
||||
0x39C00 bytes anymore.
|
||||
|
||||
Now, the layout is:
|
||||
bootstrap 0x00000000
|
||||
uboot 0x00004000
|
||||
ubootenv 0x00084000
|
||||
ubootenv2 0x00088000
|
||||
kernel 0x0008C000
|
||||
|
||||
Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
|
||||
---
|
||||
include/configs/at91sam9260ek.h | 18 ++++++++++++------
|
||||
include/configs/at91sam9261ek.h | 18 ++++++++++++------
|
||||
include/configs/at91sam9263ek.h | 10 +++++++---
|
||||
include/configs/at91sam9rlek.h | 10 +++++++---
|
||||
4 files changed, 38 insertions(+), 18 deletions(-)
|
||||
|
||||
diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
|
||||
index db52ee6..b537760 100644
|
||||
--- a/include/configs/at91sam9260ek.h
|
||||
+++ b/include/configs/at91sam9260ek.h
|
||||
@@ -185,10 +185,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS0 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH 1
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xC0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xC008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) " \
|
||||
@@ -199,10 +201,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS1 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH 1
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS1 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xD0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xD008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) " \
|
||||
@@ -231,6 +235,8 @@
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
#define CONFIG_SYS_LONGHELP 1
|
||||
#define CONFIG_CMDLINE_EDITING 1
|
||||
+#define CONFIG_AUTO_COMPLETE
|
||||
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
|
||||
index 5140b26..fa461da 100644
|
||||
--- a/include/configs/at91sam9261ek.h
|
||||
+++ b/include/configs/at91sam9261ek.h
|
||||
@@ -187,10 +187,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS0 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xC0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xC008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) " \
|
||||
@@ -201,10 +203,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS3 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS3 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS3 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xD0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xD008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) " \
|
||||
@@ -233,6 +237,8 @@
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
#define CONFIG_SYS_LONGHELP
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
+#define CONFIG_AUTO_COMPLETE
|
||||
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
|
||||
index 8399246..253bee4 100644
|
||||
--- a/include/configs/at91sam9263ek.h
|
||||
+++ b/include/configs/at91sam9263ek.h
|
||||
@@ -314,10 +314,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS0 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH 1
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xC0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xC008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) "\
|
||||
@@ -347,6 +349,8 @@
|
||||
#define CONFIG_AUTO_COMPLETE
|
||||
#define CONFIG_SYS_HUSH_PARSER
|
||||
#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
|
||||
+#define CONFIG_AUTO_COMPLETE
|
||||
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h
|
||||
index 79ea1f2..423f523 100644
|
||||
--- a/include/configs/at91sam9rlek.h
|
||||
+++ b/include/configs/at91sam9rlek.h
|
||||
@@ -153,10 +153,12 @@
|
||||
/* bootstrap + u-boot + env + linux in dataflash on CS0 */
|
||||
#define CONFIG_ENV_IS_IN_DATAFLASH 1
|
||||
#define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + 0x8400)
|
||||
-#define CONFIG_ENV_OFFSET 0x4200
|
||||
+#define CONFIG_ENV_OFFSET 0x84000
|
||||
#define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET)
|
||||
-#define CONFIG_ENV_SIZE 0x4200
|
||||
-#define CONFIG_BOOTCOMMAND "cp.b 0xC0042000 0x22000000 0x210000; bootm"
|
||||
+#define CONFIG_ENV_SIZE 0x4000
|
||||
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE)
|
||||
+#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
|
||||
+#define CONFIG_BOOTCOMMAND "cp.b 0xC008C000 0x22000000 0x210000; bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
|
||||
"root=/dev/mtdblock0 " \
|
||||
"mtdparts=atmel_nand:-(root) "\
|
||||
@@ -183,6 +185,8 @@
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
#define CONFIG_SYS_LONGHELP 1
|
||||
#define CONFIG_CMDLINE_EDITING 1
|
||||
+#define CONFIG_AUTO_COMPLETE
|
||||
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
--
|
||||
1.7.5.4
|
||||
|
||||
@@ -27,6 +27,8 @@ UBOOT_BIN = u-boot.kwb
|
||||
UBOOT_MAKE_TARGET = $(UBOOT_BIN)
|
||||
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y)
|
||||
UBOOT_BIN = u-boot.ldr
|
||||
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
|
||||
UBOOT_BIN = u-boot-nand.bin
|
||||
else
|
||||
UBOOT_BIN = u-boot.bin
|
||||
endif
|
||||
|
||||
31
configs/armadeus_apf9328_defconfig
Normal file
31
configs/armadeus_apf9328_defconfig
Normal file
@@ -0,0 +1,31 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm920t=y
|
||||
|
||||
# Toolchain
|
||||
BR2_STRIP_sstrip=y
|
||||
BR2_GCC_VERSION_4_4_X=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_PACKAGE_GDB_HOST=y
|
||||
BR2_ENABLE_LOCALE_PURGE=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
|
||||
# System
|
||||
BR2_TARGET_GENERIC_HOSTNAME="apf9328"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_JFFS2=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1.1"
|
||||
BR2_LINUX_KERNEL_PATCH="board/armadeus/apf9328"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="mx1"
|
||||
@@ -1,21 +1,19 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# First stage bootloader
|
||||
BR2_TARGET_AT91BOOTSTRAP=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASHCARD=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASH=y
|
||||
|
||||
# Second stage bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9260ek"
|
||||
BR2_TARGET_UBOOT_2010_06=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9260ek_dataflash_cs0"
|
||||
BR2_TARGET_UBOOT_2011_12=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.33"
|
||||
BR2_LINUX_KERNEL_PATCH="http://maxim.org.za/AT91RM9200/2.6/2.6.33-at91.patch.gz"
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9260ek"
|
||||
|
||||
|
||||
@@ -5,20 +5,17 @@ BR2_arm926t=y
|
||||
# First stage bootloader
|
||||
BR2_TARGET_AT91BOOTSTRAP=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9261ek"
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASHCARD=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASH=y
|
||||
|
||||
# Second stage bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9261ek"
|
||||
BR2_TARGET_UBOOT_2010_06=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9261ek_dataflash_cs0"
|
||||
BR2_TARGET_UBOOT_2011_12=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.33"
|
||||
BR2_LINUX_KERNEL_PATCH="http://maxim.org.za/AT91RM9200/2.6/2.6.33-at91.patch.gz"
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9261ek"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9261"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_TAR=y
|
||||
|
||||
@@ -5,20 +5,17 @@ BR2_arm926t=y
|
||||
# First stage bootloader
|
||||
BR2_TARGET_AT91BOOTSTRAP=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9263ek"
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASHCARD=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_DATAFLASH=y
|
||||
|
||||
# Second stage bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9263ek"
|
||||
BR2_TARGET_UBOOT_2010_06=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9263ek_dataflash_cs0"
|
||||
BR2_TARGET_UBOOT_2011_12=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.33"
|
||||
BR2_LINUX_KERNEL_PATCH="http://maxim.org.za/AT91RM9200/2.6/2.6.33-at91.patch.gz"
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9263ek"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9263"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_TAR=y
|
||||
BR2_TARGET_ROOTFS_TAR=y
|
||||
|
||||
@@ -9,14 +9,12 @@ BR2_TARGET_AT91BOOTSTRAP_DATAFLASHCARD=y
|
||||
|
||||
# Second stage bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek"
|
||||
BR2_TARGET_UBOOT_2010_06=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek_nandflash"
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.33"
|
||||
BR2_LINUX_KERNEL_PATCH="http://maxim.org.za/AT91RM9200/2.6/2.6.33-at91.patch.gz"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1.6"
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="at91sam9g20ek"
|
||||
|
||||
|
||||
39
configs/ea3250_defconfig
Normal file
39
configs/ea3250_defconfig
Normal file
@@ -0,0 +1,39 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
BR2_ARM_TYPE="ARM926T"
|
||||
BR2_ARM_EABI=y
|
||||
|
||||
#
|
||||
# GCC Options
|
||||
# We need to force GCC 4.3.x because it is the last version
|
||||
# that will compile a kernel with ethernet working correctly
|
||||
BR2_GCC_VERSION_4_3_X=y
|
||||
|
||||
|
||||
# Bootloaders
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="ea3250"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_FORMAT_BIN=y
|
||||
BR2_TARGET_LPC32XXCDL=y
|
||||
BR2_TARGET_LPC32XXCDL_BOARDNAME="ea3250"
|
||||
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master"
|
||||
BR2_LINUX_KERNEL_VERSION="master"
|
||||
BR2_LINUX_KERNEL_PATCH=""
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="ea3250"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
|
||||
39
configs/fdi3250_defconfig
Normal file
39
configs/fdi3250_defconfig
Normal file
@@ -0,0 +1,39 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
BR2_ARM_TYPE="ARM926T"
|
||||
BR2_ARM_EABI=y
|
||||
|
||||
#
|
||||
# GCC Options
|
||||
# We need to force GCC 4.3.x because it is the last version
|
||||
# that will compile a kernel with ethernet working correctly
|
||||
BR2_GCC_VERSION_4_3_X=y
|
||||
|
||||
|
||||
# Bootloaders
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="fdi3250"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_FORMAT_BIN=y
|
||||
BR2_TARGET_LPC32XXCDL=y
|
||||
BR2_TARGET_LPC32XXCDL_BOARDNAME="fdi3250"
|
||||
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master"
|
||||
BR2_LINUX_KERNEL_VERSION="master"
|
||||
BR2_LINUX_KERNEL_PATCH=""
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="fdi3250"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
|
||||
39
configs/phy3250_defconfig
Normal file
39
configs/phy3250_defconfig
Normal file
@@ -0,0 +1,39 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
BR2_ARM_TYPE="ARM926T"
|
||||
BR2_ARM_EABI=y
|
||||
|
||||
#
|
||||
# GCC Options
|
||||
# We need to force GCC 4.3.x because it is the last version
|
||||
# that will compile a kernel with ethernet working correctly
|
||||
BR2_GCC_VERSION_4_3_X=y
|
||||
|
||||
|
||||
# Bootloaders
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="phy3250"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/uboot-2009.03-lpc32xx"
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master"
|
||||
BR2_TARGET_UBOOT_FORMAT_BIN=y
|
||||
BR2_TARGET_LPC32XXCDL=y
|
||||
BR2_TARGET_LPC32XXCDL_BOARDNAME="phy3250"
|
||||
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.lpclinux.com/linux-2.6.34-lpc32xx"
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master"
|
||||
BR2_LINUX_KERNEL_VERSION="master"
|
||||
BR2_LINUX_KERNEL_PATCH=""
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="phy3250"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
|
||||
@@ -13,7 +13,7 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.1.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
19
configs/qemu_mips_malta_defconfig
Normal file
19
configs/qemu_mips_malta_defconfig
Normal file
@@ -0,0 +1,19 @@
|
||||
# Architecture
|
||||
BR2_mips=y
|
||||
BR2_mips_32r2=y
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
# Serial port config
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
@@ -9,9 +9,9 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.1.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
# Serial port config
|
||||
|
||||
@@ -9,9 +9,9 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.1.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
# Serial port config
|
||||
|
||||
@@ -18,7 +18,7 @@ BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-multilib-list=m4,m4-nofpu"
|
||||
# Linux kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-3.1.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-3.2.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
14
configs/qemu_sparc_ss10_defconfig
Normal file
14
configs/qemu_sparc_ss10_defconfig
Normal file
@@ -0,0 +1,14 @@
|
||||
# Architecture
|
||||
BR2_sparc=y
|
||||
BR2_sparc_supersparc=y
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Linux kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sparc32"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
17
configs/qemu_x86_64_defconfig
Normal file
17
configs/qemu_x86_64_defconfig
Normal file
@@ -0,0 +1,17 @@
|
||||
# Architecture
|
||||
BR2_x86_64=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.2.config"
|
||||
@@ -4,6 +4,7 @@ BR2_x86_pentiumpro=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
@@ -12,6 +13,6 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.0.4"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.2.6"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.0.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.2.config"
|
||||
|
||||
@@ -816,7 +816,7 @@ $(ZLIB_DIR)/libz.a: $(ZLIB_DIR)/.configured
|
||||
directory for your software, for example <code>libfoo</code>.</p>
|
||||
|
||||
<p>Some packages have been grouped by topic in a sub-directory:
|
||||
<code>multimedia</code>, <code>java</code>, <code>x11r7</code>, and
|
||||
<code>multimedia</code>, <code>x11r7</code>, and
|
||||
<code>games</code>. If your package fits in one of these
|
||||
categories, then create your package directory in these.</p>
|
||||
|
||||
@@ -905,7 +905,7 @@ source "package/libfoo/Config.in"
|
||||
<span style="color: #000000">10:</span><span style="color: #009900"> LIBFOO_DEPENDENCIES</span> = host-libaaa libbbb
|
||||
<span style="color: #000000">11:</span>
|
||||
<span style="color: #000000">12:</span> define LIBFOO_BUILD_CMDS
|
||||
<span style="color: #000000">13:</span> <span style="color: #009900">$(MAKE)</span> CC=<span style="color: #009900">$(TARGET_CC)</span> LD=<span style="color: #009900">$(TARGET_LD)</span> -C <span style="color: #009900">$(@D)</span> all
|
||||
<span style="color: #000000">13:</span> <span style="color: #009900">$(MAKE)</span> CC=<span style="color: #009900">"$(TARGET_CC)"</span> LD=<span style="color: #009900">"$(TARGET_LD)"</span> -C <span style="color: #009900">$(@D)</span> all
|
||||
<span style="color: #000000">14:</span> endef
|
||||
<span style="color: #000000">15:</span>
|
||||
<span style="color: #000000">16:</span> define LIBFOO_INSTALL_STAGING_CMDS
|
||||
|
||||
@@ -20,8 +20,8 @@ help:</p>
|
||||
<li>On the <a href="lists.html">buildroot mailing list</a>
|
||||
at <code>buildroot at uclibc.org</code></li>
|
||||
|
||||
<li>On the <a href="irc://freenode.net/#uclibc">Buildroot IRC
|
||||
channel</a>, <code>#uclibc</code> on Freenode</li>
|
||||
<li>On the <a href="irc://freenode.net/#buildroot">Buildroot IRC
|
||||
channel</a>, <code>#buildroot</code> on Freenode</li>
|
||||
|
||||
<li>On our <a href="https://bugs.uclibc.org">bugtracker</a>.</li>
|
||||
|
||||
|
||||
@@ -6,20 +6,20 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2011.11</b>, which can be downloaded
|
||||
The latest stable release is <b>2012.02</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2011.11.tar.gz">buildroot-2011.11.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2012.02.tar.gz">buildroot-2012.02.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2011.11.tar.bz2">buildroot-2011.11.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2012.02.tar.bz2">buildroot-2012.02.tar.bz2</a>.
|
||||
<p>
|
||||
<!--
|
||||
The latest release candidate is <b>2011.11-rc3</b>, which can be
|
||||
The latest release candidate is <b>2012.02-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2011.11-rc3.tar.gz">buildroot-2011.11-rc3.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2012.02-rc3.tar.gz">buildroot-2012.02-rc3.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2011.11-rc3.tar.bz2">buildroot-2011.11-rc3.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2012.02-rc3.tar.bz2">buildroot-2012.02-rc3.tar.bz2</a>.
|
||||
<p>
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<h3>Git Access</h3>
|
||||
|
||||
The buildroot repository can be browsed online through cgit at
|
||||
<a href="http://git.buildroot.net/buildroot">http://git.buildroot.net/buildroot</a>.
|
||||
<a href="http://git.buildroot.net/buildroot/">http://git.buildroot.net/buildroot</a>.
|
||||
To grab a copy of the repository use
|
||||
|
||||
<pre>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<br><a href="/about.html">About</a>
|
||||
<br><a href="/news.html">Latest News</a>
|
||||
<br><a href="/download.html">Download</a>
|
||||
<br><a href="http://git.buildroot.net/buildroot">Browse Source</a>
|
||||
<br><a href="http://git.buildroot.net/buildroot/">Browse Source</a>
|
||||
<br><a href="/git.html">Accessing Source</a>
|
||||
<br><a href="https://bugs.uclibc.org/">Bug Tracking</a>
|
||||
<br><a href="/docs.html">Documentation</a>
|
||||
|
||||
@@ -21,16 +21,20 @@ list with frequently asked questions...
|
||||
<p>
|
||||
|
||||
<center>
|
||||
<form method="GET" action="http://www.google.com/custom">
|
||||
<input type="hidden" name="domains" value="lists.busybox.net">
|
||||
<input type="hidden" name="sitesearch" value="lists.busybox.net">
|
||||
<input type="text" name="q" size="31" maxlength="255" value="">
|
||||
<br>
|
||||
<input type="submit" name="sa" value="search the mailing list archives">
|
||||
<br>
|
||||
<a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" height="32" width="75" align="middle"></a>
|
||||
<br>
|
||||
</form>
|
||||
<div id="cse" style="width: 100%;">Loading</div>
|
||||
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
google.load('search', '1', {language : 'en'});
|
||||
google.setOnLoadCallback(function() {
|
||||
var customSearchControl = new google.search.CustomSearchControl(
|
||||
'009810735161915413714:3rfmqierl8s');
|
||||
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
|
||||
var customSearchOptions = new google.search.DrawOptions();
|
||||
customSearchOptions.enableSearchboxOnly("http://google.com/cse?cx=009810735161915413714:3rfmqierl8s");
|
||||
customSearchControl.draw('cse', customSearchOptions);
|
||||
}, true);
|
||||
</script>
|
||||
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
|
||||
</center>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -24,7 +24,7 @@ system is based on hand-written Makefiles or shell scripts.
|
||||
10: LIBFOO_DEPENDENCIES = host-libaaa libbbb
|
||||
11:
|
||||
12: define LIBFOO_BUILD_CMDS
|
||||
13: $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all
|
||||
13: $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
|
||||
14: endef
|
||||
15:
|
||||
16: define LIBFOO_INSTALL_STAGING_CMDS
|
||||
@@ -38,7 +38,15 @@ system is based on hand-written Makefiles or shell scripts.
|
||||
24: $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d
|
||||
25: endef
|
||||
26:
|
||||
27: $(eval $(call GENTARGETS))
|
||||
27: define LIBFOO_DEVICES
|
||||
28: /dev/foo c 666 0 0 42 0 - - -
|
||||
29: endef
|
||||
30:
|
||||
31: define LIBFOO_PERMISSIONS
|
||||
32: /bin/foo f 4755 0 0 - - - - -
|
||||
33: endef
|
||||
34:
|
||||
35: $(eval $(call GENTARGETS))
|
||||
--------------------------------
|
||||
|
||||
The Makefile begins on line 6 to 8 with metadata information: the
|
||||
@@ -75,7 +83,7 @@ All these steps rely on the +$(@D)+ variable, which
|
||||
contains the directory where the source code of the package has been
|
||||
extracted.
|
||||
|
||||
Finally, on line 27, we call the +GENTARGETS+ which
|
||||
Finally, on line 35, we call the +GENTARGETS+ which
|
||||
generates, according to the variables defined previously, all the
|
||||
Makefile code necessary to make your package working.
|
||||
|
||||
@@ -125,9 +133,12 @@ information is (assuming the package name is +libfoo+) :
|
||||
* +LIBFOO_VERSION+, mandatory, must contain the version of the
|
||||
package. Note that if +HOST_LIBFOO_VERSION+ doesn't exist, it is
|
||||
assumed to be the same as +LIBFOO_VERSION+. It can also be a
|
||||
Subversion or Git branch or tag, for packages that are fetched
|
||||
revision number, branch or tag for packages that are fetched
|
||||
directly from their revision control system. +
|
||||
Example: +LIBFOO_VERSION = 0.1.2+
|
||||
Examples: +
|
||||
+LIBFOO_VERSION = 0.1.2+ +
|
||||
+LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057+ +
|
||||
+LIBFOO_VERSION = stable+
|
||||
|
||||
* +LIBFOO_SOURCE+ may contain the name of the tarball of
|
||||
the package. If +HOST_LIBFOO_SOURCE+ is not specified, it
|
||||
@@ -146,28 +157,37 @@ information is (assuming the package name is +libfoo+) :
|
||||
after extraction.
|
||||
|
||||
* +LIBFOO_SITE+ may contain the Internet location of the package. It
|
||||
can either be the HTTP or FTP location of a tarball, or the URL of a
|
||||
Git or Subversion repository (see +LIBFOO_SITE_METHOD+ below). If
|
||||
+HOST_LIBFOO_SITE+ is not specified, it defaults to
|
||||
can either be the HTTP, FTP or SCP location of a tarball, or the URL
|
||||
of a Git, Subversion, Mercurial or Bazaar repository (see
|
||||
+LIBFOO_SITE_METHOD+ below). +
|
||||
SCP URLs should be of the form +scp://[user@]host:filepath+. Note
|
||||
that filepath is relative to the user's home directory, so you may want
|
||||
to prepend the path with a slash for absolute paths:
|
||||
+scp://[user@]host:/absolutepath+. +
|
||||
If +HOST_LIBFOO_SITE+ is not specified, it defaults to
|
||||
+LIBFOO_SITE+. If none are specified, then the location is assumed
|
||||
to be
|
||||
+http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/packagename+. +
|
||||
Examples: +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ +
|
||||
+LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+
|
||||
Examples: +
|
||||
+LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ +
|
||||
+LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+ +
|
||||
+LIBFOO_SITE=git://github.com/kergoth/tslib.git+
|
||||
|
||||
* +LIBFOO_SITE_METHOD+ may contain the method to fetch the package
|
||||
source code. It can either be +wget+ (for normal FTP/HTTP downloads
|
||||
of tarballs), +svn+, +git+ or +bzr+. When not specified, it is
|
||||
guessed from the URL given in +LIBFOO_SITE+: +svn://+, +git://+ and
|
||||
+bzr://+ URLs will use the +svn+, +git+ and +bzr+ methods
|
||||
of tarballs), +scp+ (for downloads over SSH with scp), +svn+, +git+,
|
||||
+hg+ or +bzr+. When not specified, it is guessed from the URL given
|
||||
in +LIBFOO_SITE+: +scp://+, +svn://+, +git://+ and
|
||||
+bzr://+ URLs will use the +scp+, +svn+, +git+ and +bzr+ methods
|
||||
respectively. All other URL-types will use the +wget+ method. So for
|
||||
example, in the case of a package whose source code is available
|
||||
through Subversion repository on HTTP, one 'must' specifiy
|
||||
+LIBFOO_SITE_METHOD=svn+. For +svn+ and +git+ methods, what
|
||||
Buildroot does is a checkout/clone of the repository which is then
|
||||
tarballed and stored into the download cache. Next builds will not
|
||||
checkout/clone again, but will use the tarball directly. When
|
||||
+HOST_LIBFOO_SITE_METHOD+ is not specified, it defaults to the value
|
||||
through a Subversion repository on HTTP, one 'must' specifiy
|
||||
+LIBFOO_SITE_METHOD=svn+. Similarly, for Mercurial repositories, one
|
||||
'must' specify +LIBFOO_SITE_METHOD=hg+. For +svn+, +git+, +hg+ and
|
||||
+bzr+ methods, what Buildroot does is a checkout/clone of the repository
|
||||
which is then tarballed and stored into the download cache. Next
|
||||
builds will not checkout/clone again, but will use the tarball directly.
|
||||
When +HOST_LIBFOO_SITE_METHOD+ is not specified, it defaults to the value
|
||||
of +LIBFOO_SITE_METHOD+. See +package/multimedia/tremor/+ for an
|
||||
example.
|
||||
|
||||
@@ -188,6 +208,16 @@ information is (assuming the package name is +libfoo+) :
|
||||
variables are executed to install the package into the target
|
||||
directory.
|
||||
|
||||
* +LIBFOO_DEVICES+ lists the device files to be created by Buildroot
|
||||
when using the static device table. The syntax to use is the
|
||||
makedevs one. You can find some documentation for this syntax in the
|
||||
xref:makedev-syntax[]. This variable is optional.
|
||||
|
||||
* +LIBFOO_PERMISSIONS+ lists the changes of permissions to be done at
|
||||
the end of the build process. The syntax is once again the makedevs one.
|
||||
You can find some documentation for this syntax in the xref:makedev-syntax[].
|
||||
This variable is optional.
|
||||
|
||||
The recommended way to define these variables is to use the following
|
||||
syntax:
|
||||
|
||||
|
||||
4
docs/manual/appendix.txt
Normal file
4
docs/manual/appendix.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Appendix
|
||||
========
|
||||
|
||||
include::makedev-syntax.txt[]
|
||||
45
docs/manual/customize-toolchain.txt
Normal file
45
docs/manual/customize-toolchain.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
Customizing the toolchain
|
||||
-------------------------
|
||||
[[toolchain-custom]]
|
||||
|
||||
There are three distinct types of toolchain backend supported in Buildroot,
|
||||
available under the menu +Toolchain+, invoking +make menuconfig+.
|
||||
|
||||
Using the external toolchain backend
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
There is no way of tuning an external toolchain since Buildroot does not
|
||||
generate it.
|
||||
|
||||
It also requires to set the Buildroot settings according to the toolchain ones
|
||||
(see xref:external-toolchain[]).
|
||||
|
||||
Using the internal Buildroot toolchain backend
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The internal Buildroot toolchain backend *only* allows to generate
|
||||
*http://www.uclibc.org/[uClibc]-based toolchains*.
|
||||
|
||||
However, it allows to tune major settings, such as:
|
||||
|
||||
* Linux header version
|
||||
|
||||
* http://www.uclibc.org/[uClibc] configuration (see xref:uclibc-custom[uClibc])
|
||||
|
||||
* Binutils, GCC, Gdb and toolchain options
|
||||
|
||||
This is directly available after selecting the +Buildroot toolchain+ type in
|
||||
the menu +Toolchain+.
|
||||
|
||||
Using the Crosstool-NG backend
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The http://crosstool-ng.org[crosstool-NG] toolchain backend enables a rather
|
||||
limited set of settings under the Buildroot +Toolchain+ menu (ie. when invoking
|
||||
+make menuconfig+); mostly:
|
||||
|
||||
* The http://crosstool-ng.org[crosstool-NG] configuration file
|
||||
|
||||
* Gdb and some toolchain options
|
||||
|
||||
Then, the toolchain can be finely tuned invoking +make ctng-menuconfig+.
|
||||
@@ -8,3 +8,5 @@ include::customize-busybox-config.txt[]
|
||||
include::customize-uclibc-config.txt[]
|
||||
|
||||
include::customize-kernel-config.txt[]
|
||||
|
||||
include::customize-toolchain.txt[]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Using an external toolchain
|
||||
===========================
|
||||
[[external-toolchain]]
|
||||
|
||||
Using an already existing toolchain is useful for different
|
||||
reasons:
|
||||
|
||||
54
docs/manual/makedev-syntax.txt
Normal file
54
docs/manual/makedev-syntax.txt
Normal file
@@ -0,0 +1,54 @@
|
||||
[[makedev-syntax]]
|
||||
Makedev syntax documentation
|
||||
----------------------------
|
||||
|
||||
The makedev syntax is used across several places in Buildroot to
|
||||
define changes to be made for permissions or which device files to
|
||||
create and how to create them, in order to avoid to call mkdnod every
|
||||
now and then.
|
||||
|
||||
This syntax is derived from the makedev utility, and a more complete
|
||||
documentation can be found in the +package/makedevs/README+ file.
|
||||
|
||||
It takes the form of a line for each file, with the following layout:
|
||||
|
||||
|===========================================================
|
||||
|name |type |mode |uid |gid |major |minor |start |inc |count
|
||||
|===========================================================
|
||||
|
||||
There is a few non-trivial blocks here:
|
||||
|
||||
- +name+ is the path to the file you want to create/modify
|
||||
- +type+ is the type of the file, being one of :
|
||||
* f: a regular file
|
||||
* d: a directory
|
||||
* c: a character device file
|
||||
* b: a block device file
|
||||
* p: a named pipe
|
||||
- +mode+, +uid+ and +gid+ are the usual permissions stuff
|
||||
- +major+ and +minor+ are here for device files
|
||||
- +start+, +inc+ and +count+ are when you want to create a whole batch
|
||||
of files, and can be reduced to a loop, beginning at +start+,
|
||||
incrementing its counter by +inc+ until it reaches +count+
|
||||
|
||||
Let's say you want to change the permissions of a given file, using
|
||||
this syntax, you will need to put:
|
||||
-------------------------------------------------------------------
|
||||
/usr/bin/foobar f 644 0 0 - - - - -
|
||||
-------------------------------------------------------------------
|
||||
|
||||
On the other hand, if you want to create the device file +/dev/hda+
|
||||
and the corresponding 15 files for the partitions, you will need for
|
||||
+/dev/hda+:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
/dev/hda b 640 0 0 3 0 0 0 -
|
||||
-------------------------------------------------------------------
|
||||
|
||||
and then for device files corresponding to the partitions of
|
||||
+/dev/hda+, +/dev/hdaX+, +X+ ranging from 1 to 15:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
/dev/hda b 640 0 0 3 1 1 1 15
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -30,3 +30,5 @@ include::ccache-support.txt[]
|
||||
include::download-location.txt[]
|
||||
|
||||
include::adding-packages.txt[]
|
||||
|
||||
include::appendix.txt[]
|
||||
|
||||
@@ -5,12 +5,71 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>29 February 2012 -- 2012.02 released</b>
|
||||
|
||||
<p>The stable 2012.02 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.02">CHANGES</a>
|
||||
file for more details,
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2012.02.tar.bz2">2012.02 release</a>.</p>
|
||||
|
||||
<li><b>27 February 2012 -- 2012.02-rc3 released</b>
|
||||
|
||||
<p>RC3 is out with more bugfixes - See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.02_rc3">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2012.02-rc3.tar.bz2">2012.02-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>19 February 2012 -- 2012.02-rc2 released</b>
|
||||
|
||||
<p>Another week, another release candidate with more cleanups and
|
||||
build fixes. See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.02_rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2012.02-rc2.tar.bz2">2012.02-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>12 February 2012 -- 2012.02-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.02_rc1">CHANGES</a>
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2012-February/050234.html">announcement</a>.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2012.02-rc1.tar.bz2">2012.02-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>31 January 2012 -- Buildroot Developer Day</b>
|
||||
|
||||
<p>Another <i>Buildroot Developer Day</i> will take place on
|
||||
Friday, February 3rd in Brussels, Belgium - The day before <a
|
||||
href="http://fosdem.org">FOSDEM</a>. See the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2012-January/049340.html">announcement</a>
|
||||
or the <a href="http://free-electrons.com/blog/bdd-2012-brussels/">Free Electrons blog</a>
|
||||
for more info.</p>
|
||||
|
||||
<li><b>30 November 2011 -- 2011.11 released</b>
|
||||
|
||||
<p>The stable 2011.11 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2011.11">CHANGES</a>
|
||||
file for more details, and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2011-November/047926.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.11.tar.bz2">2011.11 release</a>.</p>
|
||||
|
||||
<li><b>26 November 2011 -- 2011.11-rc3 released</b>
|
||||
|
||||
@@ -50,6 +50,10 @@ $(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES)
|
||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
ifneq ($(ROOTFS_DEVICE_TABLES),)
|
||||
cat $(ROOTFS_DEVICE_TABLES) > $(FULL_DEVICE_TABLE)
|
||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
|
||||
echo -e '$(subst $(sep),\n,$(PACKAGES_DEVICES_TABLE))' >> $(FULL_DEVICE_TABLE)
|
||||
endif
|
||||
echo -e '$(subst $(sep),\n,$(PACKAGES_PERMISSIONS_TABLE))' >> $(FULL_DEVICE_TABLE)
|
||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(FULL_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
endif
|
||||
echo "$(ROOTFS_$(2)_CMD)" >> $(FAKEROOT_SCRIPT)
|
||||
|
||||
27
fs/skeleton/etc/init.d/rcK
Executable file
27
fs/skeleton/etc/init.d/rcK
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# Stop all init scripts in /etc/init.d
|
||||
# executing them in reversed numerical order.
|
||||
#
|
||||
for i in $(ls -r /etc/init.d/S??*) ;do
|
||||
|
||||
# Ignore dangling symlinks (if any).
|
||||
[ ! -f "$i" ] && continue
|
||||
|
||||
case "$i" in
|
||||
*.sh)
|
||||
# Source shell script for speed.
|
||||
(
|
||||
trap - INT QUIT TSTP
|
||||
set stop
|
||||
. $i
|
||||
)
|
||||
;;
|
||||
*)
|
||||
# No sh extension, so fork subprocess.
|
||||
$i stop
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
@@ -30,8 +30,7 @@ null::sysinit:/bin/hostname -F /etc/hostname
|
||||
::ctrlaltdel:/sbin/reboot
|
||||
|
||||
# Stuff to do before rebooting
|
||||
null::shutdown:/usr/bin/killall klogd
|
||||
null::shutdown:/usr/bin/killall syslogd
|
||||
null::shutdown:/etc/init.d/rcK
|
||||
null::shutdown:/bin/umount -a -r
|
||||
null::shutdown:/sbin/swapoff -a
|
||||
|
||||
|
||||
@@ -46,3 +46,4 @@ ttySC2
|
||||
ttySC3
|
||||
ttySC4
|
||||
ttySC5
|
||||
ttyGS0
|
||||
|
||||
1
fs/skeleton/run
Symbolic link
1
fs/skeleton/run
Symbolic link
@@ -0,0 +1 @@
|
||||
tmp
|
||||
1
fs/skeleton/var/lib/misc
Symbolic link
1
fs/skeleton/var/lib/misc
Symbolic link
@@ -0,0 +1 @@
|
||||
../../tmp
|
||||
@@ -3,10 +3,18 @@ menu "Linux Kernel Extensions"
|
||||
# Xenomai
|
||||
config BR2_LINUX_KERNEL_EXT_XENOMAI
|
||||
bool "Adeos/Xenomai Real-time patch"
|
||||
depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
|
||||
BR2_bfin || BR2_powerpc || BR2_sh4
|
||||
select BR2_PACKAGE_XENOMAI
|
||||
help
|
||||
Xenomai Kernel part.
|
||||
|
||||
In the current version of Xenomai, the following kernel
|
||||
versions are supported: on Blackfin, 2.6.34 and 2.6.36.9, on
|
||||
SH4, 2.6.32.10, on x86, 2.6.35.9, 2.6.37.6, 2.6.38.8, on
|
||||
ARM, 2.6.35.9, 2.6.37.6, 2.6.38.8, on NIOS2, 2.6.35, on
|
||||
PowerPC, 2.6.35.7, 2.6.36.4, 3.0.8.
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
|
||||
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
|
||||
string "Path for Adeos patch file"
|
||||
|
||||
@@ -19,10 +19,10 @@ if BR2_LINUX_KERNEL
|
||||
#
|
||||
choice
|
||||
prompt "Kernel version"
|
||||
default BR2_LINUX_KERNEL_3_1
|
||||
default BR2_LINUX_KERNEL_3_2
|
||||
|
||||
config BR2_LINUX_KERNEL_3_1
|
||||
bool "3.1.4"
|
||||
config BR2_LINUX_KERNEL_3_2
|
||||
bool "3.2.6"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -58,7 +58,6 @@ endchoice
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
||||
string "Kernel version"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "3.1.4"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom kernel tarball"
|
||||
@@ -74,7 +73,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.1.4" if BR2_LINUX_KERNEL_3_1
|
||||
default "3.2.6" if BR2_LINUX_KERNEL_3_2
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
@@ -40,7 +40,7 @@ LINUX_MAKE_FLAGS = \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
INSTALL_MOD_PATH=$(TARGET_DIR) \
|
||||
CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
|
||||
LZMA="$(LZMA)"
|
||||
DEPMOD=$(HOST_DIR)/usr/sbin/depmod
|
||||
|
||||
# Get the real Linux version, which tells us where kernel modules are
|
||||
# going to be installed in the target filesystem.
|
||||
|
||||
@@ -19,15 +19,20 @@ endmenu
|
||||
menu "Debugging, profiling and benchmark"
|
||||
source "package/bonnie/Config.in"
|
||||
source "package/dhrystone/Config.in"
|
||||
source "package/dstat/Config.in"
|
||||
source "package/dmalloc/Config.in"
|
||||
source "package/kexec/Config.in"
|
||||
source "package/lmbench/Config.in"
|
||||
source "package/lsof/Config.in"
|
||||
source "package/ltp-testsuite/Config.in"
|
||||
source "package/lttng-babeltrace/Config.in"
|
||||
source "package/lttng-modules/Config.in"
|
||||
source "package/lttng-tools/Config.in"
|
||||
source "package/ltrace/Config.in"
|
||||
source "package/memstat/Config.in"
|
||||
source "package/netperf/Config.in"
|
||||
source "package/oprofile/Config.in"
|
||||
source "package/rt-tests/Config.in"
|
||||
source "package/strace/Config.in"
|
||||
source "package/whetstone/Config.in"
|
||||
source "package/valgrind/Config.in"
|
||||
@@ -117,6 +122,7 @@ source "package/sdl_ttf/Config.in"
|
||||
source "package/sdl_gfx/Config.in"
|
||||
|
||||
comment "other GUIs"
|
||||
source "package/efl/Config.in"
|
||||
source "package/qt/Config.in"
|
||||
source "package/x11r7/Config.in"
|
||||
|
||||
@@ -133,6 +139,7 @@ source "package/fluxbox/Config.in"
|
||||
comment "X applications"
|
||||
source "package/alsamixergui/Config.in"
|
||||
source "package/docker/Config.in"
|
||||
source "package/feh/Config.in"
|
||||
source "package/gqview/Config.in"
|
||||
source "package/gmpc/Config.in"
|
||||
source "package/gob2/Config.in"
|
||||
@@ -183,7 +190,7 @@ source "package/input-tools/Config.in"
|
||||
source "package/iostat/Config.in"
|
||||
source "package/irda-utils/Config.in"
|
||||
source "package/kbd/Config.in"
|
||||
source "package/libv4l/Config.in"
|
||||
source "package/linux-firmware/Config.in"
|
||||
source "package/lm-sensors/Config.in"
|
||||
source "package/lsuio/Config.in"
|
||||
source "package/lvm2/Config.in"
|
||||
@@ -193,10 +200,12 @@ source "package/memtester/Config.in"
|
||||
source "package/mtd/Config.in"
|
||||
source "package/ntfs-3g/Config.in"
|
||||
source "package/ntfsprogs/Config.in"
|
||||
source "package/open2300/Config.in"
|
||||
source "package/openocd/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/picocom/Config.in"
|
||||
source "package/rng-tools/Config.in"
|
||||
source "package/sane-backends/Config.in"
|
||||
source "package/sdparm/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
source "package/smartmontools/Config.in"
|
||||
@@ -209,6 +218,7 @@ source "package/sysstat/Config.in"
|
||||
source "package/ti-utils/Config.in"
|
||||
source "package/uboot-tools/Config.in"
|
||||
source "package/udev/Config.in"
|
||||
source "package/unionfs/Config.in"
|
||||
source "package/usb_modeswitch/Config.in"
|
||||
source "package/usbmount/Config.in"
|
||||
source "package/usbutils/Config.in"
|
||||
@@ -218,7 +228,6 @@ endmenu
|
||||
|
||||
menu "Interpreter languages and scripting"
|
||||
source "package/haserl/Config.in"
|
||||
source "package/java/jamvm/Config.in"
|
||||
source "package/lua/Config.in"
|
||||
if BR2_PACKAGE_LUA
|
||||
menu "LUA libraries/modules"
|
||||
@@ -235,6 +244,16 @@ endif
|
||||
source "package/microperl/Config.in"
|
||||
source "package/php/Config.in"
|
||||
source "package/python/Config.in"
|
||||
if BR2_PACKAGE_PYTHON
|
||||
menu "external python modules"
|
||||
source "package/python-dpkt/Config.in"
|
||||
source "package/python-mad/Config.in"
|
||||
source "package/python-netifaces/Config.in"
|
||||
source "package/python-pygame/Config.in"
|
||||
source "package/python-serial/Config.in"
|
||||
source "package/python-setuptools/Config.in"
|
||||
endmenu
|
||||
endif
|
||||
source "package/ruby/Config.in"
|
||||
source "package/tcl/Config.in"
|
||||
endmenu
|
||||
@@ -259,6 +278,7 @@ endmenu
|
||||
menu "Database"
|
||||
source "package/berkeleydb/Config.in"
|
||||
source "package/mysql_client/Config.in"
|
||||
source "package/sqlcipher/Config.in"
|
||||
source "package/sqlite/Config.in"
|
||||
endmenu
|
||||
|
||||
@@ -277,8 +297,10 @@ source "package/cairo/Config.in"
|
||||
source "package/fltk/Config.in"
|
||||
source "package/fontconfig/Config.in"
|
||||
source "package/freetype/Config.in"
|
||||
source "package/giblib/Config.in"
|
||||
source "package/gtk2-engines/Config.in"
|
||||
source "package/gtk2-themes/Config.in"
|
||||
source "package/imlib2/Config.in"
|
||||
source "package/jpeg/Config.in"
|
||||
source "package/libart/Config.in"
|
||||
source "package/libdrm/Config.in"
|
||||
@@ -309,39 +331,46 @@ source "package/libhid/Config.in"
|
||||
source "package/libiqrf/Config.in"
|
||||
source "package/libusb/Config.in"
|
||||
source "package/libusb-compat/Config.in"
|
||||
source "package/python-serial/Config.in"
|
||||
source "package/libv4l/Config.in"
|
||||
endmenu
|
||||
|
||||
if BROKEN
|
||||
menu "Java"
|
||||
source "package/java/classpath/Config.in"
|
||||
source "package/java/concierge/Config.in"
|
||||
menu "Javascript"
|
||||
source "package/explorercanvas/Config.in"
|
||||
source "package/flot/Config.in"
|
||||
source "package/jquery/Config.in"
|
||||
source "package/jquery-sparkline/Config.in"
|
||||
source "package/jquery-validation/Config.in"
|
||||
source "package/jsmin/Config.in"
|
||||
endmenu
|
||||
endif
|
||||
|
||||
menu "Networking"
|
||||
source "package/libcgi/Config.in"
|
||||
source "package/libcgicc/Config.in"
|
||||
source "package/libcurl/Config.in"
|
||||
source "package/libdnet/Config.in"
|
||||
source "package/libesmtp/Config.in"
|
||||
source "package/libeXosip2/Config.in"
|
||||
source "package/libidn/Config.in"
|
||||
source "package/liboauth/Config.in"
|
||||
source "package/libmicrohttpd/Config.in"
|
||||
source "package/neon/Config.in"
|
||||
source "package/libmnl/Config.in"
|
||||
source "package/libmodbus/Config.in"
|
||||
source "package/libmbus/Config.in"
|
||||
source "package/libnl/Config.in"
|
||||
source "package/libpcap/Config.in"
|
||||
source "package/libosip2/Config.in"
|
||||
source "package/librsync/Config.in"
|
||||
source "package/libsoup/Config.in"
|
||||
source "package/libupnp/Config.in"
|
||||
source "package/libvncserver/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Other"
|
||||
source "package/fftw/Config.in"
|
||||
source "package/libargtable2/Config.in"
|
||||
source "package/argp-standalone/Config.in"
|
||||
source "package/boost/Config.in"
|
||||
source "package/libatomic_ops/Config.in"
|
||||
source "package/libcap/Config.in"
|
||||
source "package/libdaemon/Config.in"
|
||||
@@ -350,8 +379,11 @@ source "package/libevent/Config.in"
|
||||
source "package/libev/Config.in"
|
||||
source "package/libffi/Config.in"
|
||||
source "package/libglib2/Config.in"
|
||||
source "package/libical/Config.in"
|
||||
source "package/libnspr/Config.in"
|
||||
source "package/libsigc/Config.in"
|
||||
source "package/liburcu/Config.in"
|
||||
source "package/lttng-libust/Config.in"
|
||||
source "package/orc/Config.in"
|
||||
source "package/poco/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
@@ -402,6 +434,7 @@ source "package/bmon/Config.in"
|
||||
source "package/bridge-utils/Config.in"
|
||||
source "package/bwm-ng/Config.in"
|
||||
source "package/can-utils/Config.in"
|
||||
source "package/connman/Config.in"
|
||||
source "package/ctorrent/Config.in"
|
||||
source "package/cifs-utils/Config.in"
|
||||
source "package/cups/Config.in"
|
||||
@@ -417,6 +450,7 @@ source "package/hostapd/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/ifplugd/Config.in"
|
||||
endif
|
||||
source "package/igh-ethercat/Config.in"
|
||||
source "package/iperf/Config.in"
|
||||
source "package/iproute2/Config.in"
|
||||
source "package/ipsec-tools/Config.in"
|
||||
@@ -442,6 +476,7 @@ endif
|
||||
source "package/netplug/Config.in"
|
||||
source "package/netsnmp/Config.in"
|
||||
source "package/netstat-nat/Config.in"
|
||||
source "package/network-manager/Config.in"
|
||||
source "package/noip/Config.in"
|
||||
source "package/nfs-utils/Config.in"
|
||||
source "package/ngircd/Config.in"
|
||||
@@ -475,6 +510,7 @@ source "package/thttpd/Config.in"
|
||||
source "package/tinyhttpd/Config.in"
|
||||
endif
|
||||
source "package/tn5250/Config.in"
|
||||
source "package/transmission/Config.in"
|
||||
source "package/ttcp/Config.in"
|
||||
source "package/udpcast/Config.in"
|
||||
source "package/vpnc/Config.in"
|
||||
@@ -527,6 +563,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bootutils/Config.in"
|
||||
endif
|
||||
source "package/htop/Config.in"
|
||||
source "package/kmod/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/module-init-tools/Config.in"
|
||||
source "package/procps/Config.in"
|
||||
|
||||
7
package/Config.in.host
Normal file
7
package/Config.in.host
Normal file
@@ -0,0 +1,7 @@
|
||||
menu "Host utilities"
|
||||
|
||||
source "package/openocd/Config.in.host"
|
||||
source "package/sam-ba/Config.in.host"
|
||||
source "package/uboot-tools/Config.in.host"
|
||||
|
||||
endmenu
|
||||
@@ -93,7 +93,7 @@ $(2)_CLEAN_OPT ?= clean
|
||||
$(2)_UNINSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) uninstall
|
||||
$(2)_UNINSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) uninstall
|
||||
|
||||
$(2)_SRCDIR = $$($(2)_DIR)/$($(2)_SUBDIR)
|
||||
$(2)_SRCDIR = $$($(2)_DIR)/$$($(2)_SUBDIR)
|
||||
|
||||
#
|
||||
# Configure step. Only define it if not already defined by the package
|
||||
@@ -200,6 +200,13 @@ define AUTORECONF_HOOK
|
||||
fi
|
||||
endef
|
||||
|
||||
# This must be repeated from GENTARGETS_INNER, otherwise we get an empty
|
||||
# _DEPENDENCIES if _AUTORECONF is YES. Also filter the result of _AUTORECONF
|
||||
# away from the non-host rule
|
||||
$(2)_DEPENDENCIES ?= $(filter-out host-automake host-autoconf host-libtool,\
|
||||
$(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES))))
|
||||
|
||||
|
||||
ifeq ($$($(2)_AUTORECONF),YES)
|
||||
$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
|
||||
$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
|
||||
@@ -212,11 +219,11 @@ endif
|
||||
ifndef $(2)_BUILD_CMDS
|
||||
ifeq ($(5),target)
|
||||
define $(2)_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
else
|
||||
define $(2)_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
endif
|
||||
@@ -227,7 +234,7 @@ endif
|
||||
#
|
||||
ifndef $(2)_INSTALL_CMDS
|
||||
define $(2)_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) -C $$($$(PKG)_SRCDIR) install
|
||||
$$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) -C $$($$(PKG)_SRCDIR) install
|
||||
endef
|
||||
endif
|
||||
|
||||
@@ -237,7 +244,7 @@ endif
|
||||
#
|
||||
ifndef $(2)_INSTALL_STAGING_CMDS
|
||||
define $(2)_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
for i in $$$$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \
|
||||
cp -f $$$$i $$$$i~; \
|
||||
$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
|
||||
@@ -251,7 +258,7 @@ endif
|
||||
#
|
||||
ifndef $(2)_INSTALL_TARGET_CMDS
|
||||
define $(2)_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
|
||||
@@ -261,7 +268,7 @@ endif
|
||||
#
|
||||
ifndef $(2)_CLEAN_CMDS
|
||||
define $(2)_CLEAN_CMDS
|
||||
-$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_CLEAN_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
-$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_CLEAN_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
|
||||
@@ -271,17 +278,20 @@ endif
|
||||
#
|
||||
ifndef $(2)_UNINSTALL_STAGING_CMDS
|
||||
define $(2)_UNINSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_UNINSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_UNINSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
|
||||
#
|
||||
# Uninstall from target step. Only define it if not already defined
|
||||
# by the package .mk file.
|
||||
# Autotools Makefiles do uninstall with ( cd ...; rm -f ... )
|
||||
# Since we remove a lot of directories in target-finalize, this is likely
|
||||
# to fail. Therefore add -k flag.
|
||||
#
|
||||
ifndef $(2)_UNINSTALL_TARGET_CMDS
|
||||
define $(2)_UNINSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_UNINSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) -k $$($$(PKG)_UNINSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -96,6 +96,10 @@ endef
|
||||
endif
|
||||
endif
|
||||
|
||||
# This must be repeated from GENTARGETS_INNER, otherwise we only get
|
||||
# host-cmake in _DEPENDENCIES because of the following line
|
||||
$(2)_DEPENDENCIES ?= $(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES)))
|
||||
|
||||
$(2)_DEPENDENCIES += host-cmake
|
||||
|
||||
#
|
||||
|
||||
@@ -31,6 +31,21 @@ ABI=eabi
|
||||
endif
|
||||
endif
|
||||
|
||||
# For FSL PowerPC there's SPE
|
||||
ifeq ($(BR2_powerpc_SPE),y)
|
||||
ABI=spe
|
||||
# MPC8540s are e500v1 with single precision FP
|
||||
ifeq ($(BR2_powerpc_8540),y)
|
||||
TARGET_ABI+=-mabi=spe -mfloat-gprs=single -Wa,-me500
|
||||
endif
|
||||
ifeq ($(BR2_powerpc_8548),y)
|
||||
TARGET_ABI+=-mabi=spe -mfloat-gprs=double -Wa,-me500x2
|
||||
endif
|
||||
ifeq ($(BR2_powerpc_e500mc),y)
|
||||
TARGET_ABI+=-mabi=spe -mfloat-gprs=double -Wa,-me500mc
|
||||
endif
|
||||
endif
|
||||
|
||||
REAL_GNU_TARGET_NAME=$(ARCH)-unknown-linux-$(LIBC)$(ABI)
|
||||
|
||||
STAGING_DIR=$(HOST_DIR)/usr/$(REAL_GNU_TARGET_NAME)/sysroot
|
||||
@@ -60,7 +75,7 @@ ifeq ($(BR2_DEBUG_3),y)
|
||||
TARGET_DEBUGGING=-g3
|
||||
endif
|
||||
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
TARGET_CFLAGS=$(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
|
||||
ifneq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
ifeq ($(BR2_x86_64),y)
|
||||
|
||||
@@ -92,6 +92,9 @@ WGET:=$(call qstrip,$(BR2_WGET)) $(QUIET)
|
||||
SVN:=$(call qstrip,$(BR2_SVN))
|
||||
BZR:=$(call qstrip,$(BR2_BZR))
|
||||
GIT:=$(call qstrip,$(BR2_GIT))
|
||||
HG:=$(call qstrip,$(BR2_HG)) $(QUIET)
|
||||
SCP:=$(call qstrip,$(BR2_SCP)) $(QUIET)
|
||||
SSH:=$(call qstrip,$(BR2_SSH)) $(QUIET)
|
||||
LOCALFILES:=$(call qstrip,$(BR2_LOCALFILES))
|
||||
|
||||
# Default spider mode is 'DOWNLOAD'. Other possible values are 'SOURCE_CHECK'
|
||||
@@ -104,20 +107,39 @@ ifeq ($(DL_DIR),)
|
||||
DL_DIR:=$(TOPDIR)/dl
|
||||
endif
|
||||
|
||||
#
|
||||
# URI scheme helper functions
|
||||
# Example URIs:
|
||||
# * http://www.example.com/dir/file
|
||||
# * scp://www.example.com:dir/file (with domainseparator :)
|
||||
#
|
||||
# geturischeme: http
|
||||
geturischeme=$(firstword $(subst ://, ,$(call qstrip,$(1))))
|
||||
# stripurischeme: www.example.com/dir/file
|
||||
stripurischeme=$(lastword $(subst ://, ,$(call qstrip,$(1))))
|
||||
# domain: www.example.com
|
||||
domain=$(firstword $(subst $(call domainseparator,$(2)), ,$(call stripurischeme,$(1))))
|
||||
# notdomain: dir/file
|
||||
notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(call stripurischeme,$(1)))
|
||||
#
|
||||
# default domainseparator is /, specify alternative value as first argument
|
||||
domainseparator=$(if $(1),$(1),/)
|
||||
|
||||
################################################################################
|
||||
# The DOWNLOAD_{GIT,SVN,BZR,LOCALFILES} helpers are in charge of getting a
|
||||
# The DOWNLOAD_{GIT,SVN,BZR,HG,LOCALFILES} helpers are in charge of getting a
|
||||
# working copy of the source repository for their corresponding SCM,
|
||||
# checking out the requested version / commit / tag, and create an
|
||||
# archive out of it. DOWNLOAD_WGET is the normal wget-based download
|
||||
# archive out of it. DOWNLOAD_SCP uses scp to obtain a remote file with
|
||||
# ssh authentication. DOWNLOAD_WGET is the normal wget-based download
|
||||
# mechanism.
|
||||
#
|
||||
# The SOURCE_CHECK_{GIT,SVN,BZR,WGET,LOCALFILES} helpers are in charge of simply
|
||||
# checking that the source is available for download. This can be used
|
||||
# The SOURCE_CHECK_{GIT,SVN,BZR,HG,WGET,LOCALFILES,SCP} helpers are in charge of
|
||||
# simply checking that the source is available for download. This can be used
|
||||
# to make sure one will be able to get all the sources needed for
|
||||
# one's build configuration.
|
||||
#
|
||||
# The SHOW_EXTERNAL_DEPS_{GIT,SVN,BZR,WGET,LOCALFILES} helpers simply output to
|
||||
# the console the names of the files that will be downloaded, or path
|
||||
# The SHOW_EXTERNAL_DEPS_{GIT,SVN,BZR,HG,WGET,LOCALFILES,SCP} helpers simply
|
||||
# output to the console the names of the files that will be downloaded, or path
|
||||
# and revision of the source repositories, producing a list of all the
|
||||
# "external dependencies" of a given build configuration.
|
||||
################################################################################
|
||||
@@ -176,6 +198,43 @@ define SHOW_EXTERNAL_DEPS_SVN
|
||||
echo $($(PKG)_SOURCE)
|
||||
endef
|
||||
|
||||
# SCP URIs should be of the form scp://[user@]host:filepath
|
||||
# Note that filepath is relative to the user's home directory, so you may want
|
||||
# to prepend the path with a slash: scp://[user@]host:/absolutepath
|
||||
define DOWNLOAD_SCP
|
||||
test -e $(DL_DIR)/$(2) || \
|
||||
$(SCP) $(call stripurischeme,$(call qstrip,$(1)))/$(2) $(DL_DIR)
|
||||
endef
|
||||
|
||||
define SOURCE_CHECK_SCP
|
||||
$(SSH) $(call domain,$(1),:) ls $(call notdomain,$(1)/$(2),:) > /dev/null
|
||||
endef
|
||||
|
||||
define SHOW_EXTERNAL_DEPS_SCP
|
||||
echo $(2)
|
||||
endef
|
||||
|
||||
|
||||
define DOWNLOAD_HG
|
||||
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
|
||||
(pushd $(DL_DIR) > /dev/null && \
|
||||
$(HG) clone --noupdate --rev $($(PKG)_DL_VERSION) $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \
|
||||
$(HG) archive --repository $($(PKG)_BASE_NAME) --type tgz --prefix $($(PKG)_BASE_NAME)/ \
|
||||
--rev $($(PKG)_DL_VERSION) $(DL_DIR)/$($(PKG)_SOURCE) && \
|
||||
rm -rf $($(PKG)_DL_DIR) && \
|
||||
popd > /dev/null)
|
||||
endef
|
||||
|
||||
# TODO: improve to check that the given PKG_DL_VERSION exists on the remote
|
||||
# repository
|
||||
define SOURCE_CHECK_HG
|
||||
$(HG) incoming --force -l1 $($(PKG)_SITE) > /dev/null
|
||||
endef
|
||||
|
||||
define SHOW_EXTERNAL_DEPS_HG
|
||||
echo $($(PKG)_SOURCE)
|
||||
endef
|
||||
|
||||
|
||||
define DOWNLOAD_WGET
|
||||
test -e $(DL_DIR)/$(2) || \
|
||||
@@ -218,7 +277,10 @@ endef
|
||||
|
||||
define DOWNLOAD
|
||||
$(Q)if test -n "$(call qstrip,$(BR2_PRIMARY_SITE))" ; then \
|
||||
$(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ; \
|
||||
case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
|
||||
scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
|
||||
*) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
|
||||
esac ; \
|
||||
fi ; \
|
||||
if test -n "$(1)" ; then \
|
||||
case "$($(PKG)_SITE_METHOD)" in \
|
||||
@@ -226,6 +288,8 @@ define DOWNLOAD
|
||||
svn) $($(DL_MODE)_SVN) && exit ;; \
|
||||
bzr) $($(DL_MODE)_BZR) && exit ;; \
|
||||
file) $($(DL_MODE)_LOCALFILES) && exit ;; \
|
||||
scp) $($(DL_MODE)_SCP) && exit ;; \
|
||||
hg) $($(DL_MODE)_HG) && exit ;; \
|
||||
*) $(call $(DL_MODE)_WGET,$(1),$(2)) && exit ;; \
|
||||
esac ; \
|
||||
fi ; \
|
||||
@@ -235,18 +299,6 @@ define DOWNLOAD
|
||||
exit 1
|
||||
endef
|
||||
|
||||
# Utility programs used to build packages
|
||||
TAR ?= tar
|
||||
|
||||
# Automatically detect tar --strip-path/components option
|
||||
TAR_STRIP_COMPONENTS := \
|
||||
$(shell $(TAR) --help | grep strip-path > /dev/null ; \
|
||||
if test $$? = 0 ; then \
|
||||
echo '--strip-path' ; \
|
||||
else \
|
||||
echo '--strip-components' ; \
|
||||
fi)
|
||||
|
||||
# Needed for the foreach loops to loop over the list of hooks, so that
|
||||
# each hook call is properly separated by a newline.
|
||||
define sep
|
||||
@@ -378,12 +430,13 @@ $(BUILD_DIR)/%/.stamp_cleaned:
|
||||
rm -f $(@D)/.stamp_built
|
||||
|
||||
# Uninstall package from target and staging
|
||||
# Uninstall commands tend to fail, so remove the stamp files first
|
||||
$(BUILD_DIR)/%/.stamp_uninstalled:
|
||||
@$(call MESSAGE,"Uninstalling")
|
||||
$($(PKG)_UNINSTALL_STAGING_CMDS)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_STAGING)
|
||||
$($(PKG)_UNINSTALL_TARGET_CMDS)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_TARGET)
|
||||
$($(PKG)_UNINSTALL_STAGING_CMDS)
|
||||
$($(PKG)_UNINSTALL_TARGET_CMDS)
|
||||
|
||||
# Remove package sources
|
||||
$(BUILD_DIR)/%/.stamp_dircleaned:
|
||||
@@ -478,7 +531,8 @@ $(2)_OVERRIDE_SRCDIR = $($(2)_SITE)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(2)_DEPENDENCIES ?=
|
||||
$(2)_DEPENDENCIES ?= $(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES)))
|
||||
|
||||
$(2)_INSTALL_STAGING ?= NO
|
||||
$(2)_INSTALL_IMAGES ?= NO
|
||||
$(2)_INSTALL_TARGET ?= YES
|
||||
@@ -649,6 +703,8 @@ endif
|
||||
ifeq ($$($$($(2)_KCONFIG_VAR)),y)
|
||||
|
||||
TARGETS += $(1)
|
||||
PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep)
|
||||
PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep)
|
||||
|
||||
ifeq ($$($(2)_SITE_METHOD),svn)
|
||||
DL_TOOLS_DEPENDENCIES += svn
|
||||
@@ -656,8 +712,14 @@ else ifeq ($$($(2)_SITE_METHOD),git)
|
||||
DL_TOOLS_DEPENDENCIES += git
|
||||
else ifeq ($$($(2)_SITE_METHOD),bzr)
|
||||
DL_TOOLS_DEPENDENCIES += bzr
|
||||
else ifeq ($$($(2)_SITE_METHOD),scp)
|
||||
DL_TOOLS_DEPENDENCIES += scp ssh
|
||||
else ifeq ($$($(2)_SITE_METHOD),hg)
|
||||
DL_TOOLS_DEPENDENCIES += hg
|
||||
endif # SITE_METHOD
|
||||
|
||||
DL_TOOLS_DEPENDENCIES += $(firstword $(INFLATE$(suffix $($(2)_SOURCE))))
|
||||
|
||||
endif # $(2)_KCONFIG_VAR
|
||||
endef # GENTARGETS_INNER
|
||||
|
||||
|
||||
@@ -52,8 +52,6 @@ endif
|
||||
|
||||
ATK_DEPENDENCIES = libglib2 host-pkg-config
|
||||
|
||||
HOST_ATK_DEPENDENCIES = host-libglib2 host-pkg-config
|
||||
|
||||
HOST_ATK_CONF_OPT = \
|
||||
--disable-glibtest
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
case "$1" in
|
||||
start|"")
|
||||
if [ ! -d /tmp/avahi-autopid ]; then
|
||||
if [ ! -d /tmp/avahi-autoipd ]; then
|
||||
rm -rf /tmp/avahi-autoipd
|
||||
mkdir /tmp/avahi-autoipd
|
||||
chown default.default /tmp/avahi-autoipd
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-001
|
||||
|
||||
Bug-Reported-by: Yann Rouillard <yann@pleiades.fr.eu.org>
|
||||
Bug-Reference-ID: <4B44A410.4070107@pleiades.fr.eu.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00018.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
A prototype for vsnprintf was incorrect, and caused compilation failures
|
||||
on systems that did not have a suitable vsnprintf, but had a declaration in
|
||||
one of the system header files.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/builtins/printf.def 2009-11-20 15:31:23.000000000 -0500
|
||||
--- ./builtins/printf.def 2010-01-07 08:50:06.000000000 -0500
|
||||
***************
|
||||
*** 173,177 ****
|
||||
|
||||
#if !HAVE_VSNPRINTF
|
||||
! extern int vsnprintf __P((char *, size_t, const char *, ...)) __attribute__((__format__ (printf, 3, 4)));
|
||||
#endif
|
||||
|
||||
--- 173,177 ----
|
||||
|
||||
#if !HAVE_VSNPRINTF
|
||||
! extern int vsnprintf __P((char *, size_t, const char *, va_list)) __attribute__((__format__ (printf, 3, 0)));
|
||||
#endif
|
||||
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 0
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 1
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,65 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-002
|
||||
|
||||
Bug-Reported-by: guillaume.outters@free.fr
|
||||
Bug-Reference-ID: <20100105230441.70D171AA7F52@asterix.local>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00017.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
Bash-4.1/Readline-6.1 introduced a hook function that allows applications
|
||||
to rewrite or modify filenames read from the file system before comparing
|
||||
them with a word to be completed. The converted filename, if it matches,
|
||||
needs to be inserted into the line buffer, replacing the original contents.
|
||||
|
||||
This fixes a completion bug on Mac OS X involving filenames containing
|
||||
UTF-8 characters.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/lib/readline/complete.c 2009-11-29 18:39:30.000000000 -0500
|
||||
--- ./lib/readline/complete.c 2010-01-06 08:30:23.000000000 -0500
|
||||
***************
|
||||
*** 2139,2143 ****
|
||||
if (filename_len == 0)
|
||||
{
|
||||
! if (_rl_match_hidden_files == 0 && HIDDEN_FILE (entry->d_name))
|
||||
continue;
|
||||
|
||||
--- 2139,2143 ----
|
||||
if (filename_len == 0)
|
||||
{
|
||||
! if (_rl_match_hidden_files == 0 && HIDDEN_FILE (convfn))
|
||||
continue;
|
||||
|
||||
***************
|
||||
*** 2220,2224 ****
|
||||
}
|
||||
|
||||
! strcpy (temp + dirlen, entry->d_name);
|
||||
}
|
||||
else
|
||||
--- 2220,2224 ----
|
||||
}
|
||||
|
||||
! strcpy (temp + dirlen, convfn);
|
||||
}
|
||||
else
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 1
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 2
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,48 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-003
|
||||
|
||||
Bug-Reported-by: coyote@wariat.org.pl
|
||||
Bug-Reference-ID: <4b64a1f8.06e2660a.60af.4bfb@mx.google.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00135.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
If command completion is attempted on a word with a quoted globbing
|
||||
character (e.g., `*' or `?'), bash can reference a NULL pointer and
|
||||
dump core.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/bashline.c 2009-10-24 14:10:19.000000000 -0400
|
||||
--- ./bashline.c 2010-01-30 21:53:49.000000000 -0500
|
||||
***************
|
||||
*** 1681,1685 ****
|
||||
characters in the common prefix are bad) will ever be returned on
|
||||
regular completion. */
|
||||
! if (glob_pattern_p (hint))
|
||||
{
|
||||
if (state == 0)
|
||||
--- 1681,1685 ----
|
||||
characters in the common prefix are bad) will ever be returned on
|
||||
regular completion. */
|
||||
! if (globpat)
|
||||
{
|
||||
if (state == 0)
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 2
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 3
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,47 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-004
|
||||
|
||||
Bug-Reported-by: Crestez Dan Leonard <cdleonard@gmail.com>
|
||||
Bug-Reference-ID: <1265592839.30682.21.camel@deskbox>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-02/msg00034.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When running in Posix mode and executing a shell function without local
|
||||
variables, bash will not propagate a variable in a special builtin's temporary
|
||||
environment to have global scope.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/variables.c 2009-11-03 14:13:58.000000000 -0500
|
||||
--- ./variables.c 2010-02-08 17:36:18.000000000 -0500
|
||||
***************
|
||||
*** 3809,3812 ****
|
||||
--- 3809,3817 ----
|
||||
if (tempvar_p (var) && (posixly_correct || (var->attributes & att_propagate)))
|
||||
{
|
||||
+ /* Make sure we have a hash table to store the variable in while it is
|
||||
+ being propagated down to the global variables table. Create one if
|
||||
+ we have to */
|
||||
+ if ((vc_isfuncenv (shell_variables) || vc_istempenv (shell_variables)) && shell_variables->table == 0)
|
||||
+ shell_variables->table = hash_create (0);
|
||||
/* XXX - should we set v->context here? */
|
||||
v = bind_variable_internal (var->name, value_cell (var), shell_variables->table, 0, 0);
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 3
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 4
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,56 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-005
|
||||
|
||||
Bug-Reported-by: werner@suse.de
|
||||
Bug-Reference-ID: <201002251238.o1PCcYcg016893@boole.suse.de>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-02/msg00132.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When the `read' builtin times out after the timeout specified with -t is
|
||||
exceeded, it does not reset the flags that tell signal handlers to process
|
||||
signals immediately instead of deferring their handling. This can result
|
||||
in unsafe functions being called from signal handlers, which can cause bash
|
||||
to hang or dump core.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/builtins/read.def 2009-10-08 11:35:46.000000000 -0400
|
||||
--- ./builtins/read.def 2010-03-17 17:35:39.000000000 -0400
|
||||
***************
|
||||
*** 616,621 ****
|
||||
zsyncfd (fd);
|
||||
|
||||
- interrupt_immediately--;
|
||||
- terminate_immediately--;
|
||||
discard_unwind_frame ("read_builtin");
|
||||
|
||||
--- 616,619 ----
|
||||
***************
|
||||
*** 624,627 ****
|
||||
--- 622,628 ----
|
||||
assign_vars:
|
||||
|
||||
+ interrupt_immediately--;
|
||||
+ terminate_immediately--;
|
||||
+
|
||||
#if defined (ARRAY_VARS)
|
||||
/* If -a was given, take the string read, break it into a list of words,
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 4
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 5
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,76 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-006
|
||||
|
||||
Bug-Reported-by: Mike Frysinger <vapier@gentoo.org>
|
||||
Bug-Reference-ID: <201003210155.56618.vapier@gentoo.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00063.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
Bash did not correctly print/reproduce here documents attached to commands
|
||||
inside compound commands such as for and while. This affected the
|
||||
execution of such commands inside a shell function when the function
|
||||
definition is saved and later restored using `.' or `eval'.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/print_cmd.c 2009-09-16 15:32:26.000000000 -0400
|
||||
--- ./print_cmd.c 2010-03-22 21:15:30.000000000 -0400
|
||||
***************
|
||||
*** 114,117 ****
|
||||
--- 114,123 ----
|
||||
#define CHECK_XTRACE_FP xtrace_fp = (xtrace_fp ? xtrace_fp : stderr)
|
||||
|
||||
+ #define PRINT_DEFERRED_HEREDOCS(x) \
|
||||
+ do { \
|
||||
+ if (deferred_heredocs) \
|
||||
+ print_deferred_heredocs (x); \
|
||||
+ } while (0)
|
||||
+
|
||||
/* Non-zero means the stuff being printed is inside of a function def. */
|
||||
static int inside_function_def;
|
||||
***************
|
||||
*** 561,571 ****
|
||||
{
|
||||
print_for_command_head (for_command);
|
||||
-
|
||||
cprintf (";");
|
||||
newline ("do\n");
|
||||
indentation += indentation_amount;
|
||||
make_command_string_internal (for_command->action);
|
||||
semicolon ();
|
||||
indentation -= indentation_amount;
|
||||
newline ("done");
|
||||
}
|
||||
--- 566,578 ----
|
||||
{
|
||||
print_for_command_head (for_command);
|
||||
cprintf (";");
|
||||
newline ("do\n");
|
||||
+
|
||||
indentation += indentation_amount;
|
||||
make_command_string_internal (for_command->action);
|
||||
+ PRINT_DEFERRED_HEREDOCS ("");
|
||||
semicolon ();
|
||||
indentation -= indentation_amount;
|
||||
+
|
||||
newline ("done");
|
||||
}
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 5
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 6
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,47 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-007
|
||||
|
||||
Bug-Reported-by: Rob Robason <rob@robason.net>
|
||||
Bug-Reference-ID: <1269513145.22336.9.camel@home.robason.homelinux.net>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00089.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
A typo caused bash to not honor a precision specification in a printf
|
||||
format.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/builtins/printf.def 2010-01-18 10:50:22.000000000 -0500
|
||||
--- ./builtins/printf.def 2010-03-25 09:40:56.000000000 -0400
|
||||
***************
|
||||
*** 118,122 ****
|
||||
nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \
|
||||
else if (have_precision) \
|
||||
! nw = vflag ? vbprintf (f, precision, func) : printf (f, fieldwidth, func); \
|
||||
else \
|
||||
nw = vflag ? vbprintf (f, func) : printf (f, func); \
|
||||
--- 118,122 ----
|
||||
nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \
|
||||
else if (have_precision) \
|
||||
! nw = vflag ? vbprintf (f, precision, func) : printf (f, precision, func); \
|
||||
else \
|
||||
nw = vflag ? vbprintf (f, func) : printf (f, func); \
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 6
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 7
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,49 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-008
|
||||
|
||||
Bug-Reported-by: Dennis van Dok <dvandok@gmail.com>
|
||||
Bug-Reference-ID: <4BBF2501.5050703@gmail.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-04/msg00038.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When declaring an associative array and implicitly assigning a value
|
||||
to element "0", bash does not correctly allocate memory, leading to
|
||||
a segmentation violation when that element or the array itself is
|
||||
unset.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/builtins/declare.def 2009-11-25 19:42:00.000000000 -0500
|
||||
--- ./builtins/declare.def 2010-05-30 18:25:21.000000000 -0400
|
||||
***************
|
||||
*** 513,517 ****
|
||||
/* let bind_{array,assoc}_variable take care of this. */
|
||||
if (assoc_p (var))
|
||||
! bind_assoc_variable (var, name, "0", value, aflags);
|
||||
else
|
||||
bind_array_variable (name, 0, value, aflags);
|
||||
--- 519,523 ----
|
||||
/* let bind_{array,assoc}_variable take care of this. */
|
||||
if (assoc_p (var))
|
||||
! bind_assoc_variable (var, name, savestring ("0"), value, aflags);
|
||||
else
|
||||
bind_array_variable (name, 0, value, aflags);
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 7
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 8
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
@@ -1,48 +0,0 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.1
|
||||
Patch-ID: bash41-009
|
||||
|
||||
Bug-Reported-by: Tomas Trnka <tomastrnka@gmx.com>
|
||||
Bug-Reference-ID: <201003242030.02166.tomastrnka@gmx.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00090.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
An arriving SIGCHLD will interrupt `slow' system calls such as write(2) to
|
||||
or read(2) from a terminal. This results in an error message and truncated
|
||||
input or output.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.1-patched/sig.c Fri Aug 14 16:31:52 2009
|
||||
--- ./sig.c Fri Mar 26 22:34:11 2010
|
||||
***************
|
||||
*** 655,660 ****
|
||||
--- 655,663 ----
|
||||
act.sa_flags |= SA_INTERRUPT; /* XXX */
|
||||
else
|
||||
act.sa_flags |= SA_RESTART; /* XXX */
|
||||
+ #else
|
||||
+ if (sig == SIGCHLD)
|
||||
+ act.sa_flags |= SA_RESTART;
|
||||
#endif
|
||||
sigemptyset (&act.sa_mask);
|
||||
sigemptyset (&oact.sa_mask);
|
||||
*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
|
||||
--- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 8
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 9
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
|
||||
78
package/bash/bash-4.2-001.patch
Normal file
78
package/bash/bash-4.2-001.patch
Normal file
@@ -0,0 +1,78 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-001
|
||||
|
||||
Bug-Reported-by: Juergen Daubert <jue@jue.li>
|
||||
Bug-Reference-ID: <20110214175132.GA19813@jue.netz>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00125.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When running in Posix mode, bash does not correctly expand the right-hand
|
||||
side of a double-quoted word expansion containing single quotes.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/subst.c 2011-01-02 16:12:51.000000000 -0500
|
||||
--- ./subst.c 2011-02-19 00:00:00.000000000 -0500
|
||||
***************
|
||||
*** 1380,1387 ****
|
||||
|
||||
/* The handling of dolbrace_state needs to agree with the code in parse.y:
|
||||
! parse_matched_pair() */
|
||||
! dolbrace_state = 0;
|
||||
! if (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES))
|
||||
! dolbrace_state = (flags & SX_POSIXEXP) ? DOLBRACE_QUOTE : DOLBRACE_PARAM;
|
||||
|
||||
i = *sindex;
|
||||
--- 1380,1389 ----
|
||||
|
||||
/* The handling of dolbrace_state needs to agree with the code in parse.y:
|
||||
! parse_matched_pair(). The different initial value is to handle the
|
||||
! case where this function is called to parse the word in
|
||||
! ${param op word} (SX_WORD). */
|
||||
! dolbrace_state = (flags & SX_WORD) ? DOLBRACE_WORD : DOLBRACE_PARAM;
|
||||
! if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && (flags & SX_POSIXEXP))
|
||||
! dolbrace_state = DOLBRACE_QUOTE;
|
||||
|
||||
i = *sindex;
|
||||
***************
|
||||
*** 7177,7181 ****
|
||||
/* Extract the contents of the ${ ... } expansion
|
||||
according to the Posix.2 rules. */
|
||||
! value = extract_dollar_brace_string (string, &sindex, quoted, (c == '%' || c == '#') ? SX_POSIXEXP : 0);
|
||||
if (string[sindex] == RBRACE)
|
||||
sindex++;
|
||||
--- 7181,7185 ----
|
||||
/* Extract the contents of the ${ ... } expansion
|
||||
according to the Posix.2 rules. */
|
||||
! value = extract_dollar_brace_string (string, &sindex, quoted, (c == '%' || c == '#' || c =='/' || c == '^' || c == ',' || c ==':') ? SX_POSIXEXP|SX_WORD : SX_WORD);
|
||||
if (string[sindex] == RBRACE)
|
||||
sindex++;
|
||||
*** ../bash-4.2-patched/subst.h 2010-12-02 20:21:29.000000000 -0500
|
||||
--- ./subst.h 2011-02-16 21:12:09.000000000 -0500
|
||||
***************
|
||||
*** 57,60 ****
|
||||
--- 57,61 ----
|
||||
#define SX_ARITHSUB 0x0080 /* extracting $(( ... )) (currently unused) */
|
||||
#define SX_POSIXEXP 0x0100 /* extracting new Posix pattern removal expansions in extract_dollar_brace_string */
|
||||
+ #define SX_WORD 0x0200 /* extracting word in ${param op word} */
|
||||
|
||||
/* Remove backslashes which are quoting backquotes from STRING. Modifies
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 0
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 1
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
60
package/bash/bash-4.2-002.patch
Normal file
60
package/bash/bash-4.2-002.patch
Normal file
@@ -0,0 +1,60 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-002
|
||||
|
||||
Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
|
||||
Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
|
||||
entire line.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/lib/readline/vi_mode.c 2010-11-20 19:51:39.000000000 -0500
|
||||
--- ./lib/readline/vi_mode.c 2011-02-17 20:24:25.000000000 -0500
|
||||
***************
|
||||
*** 1115,1119 ****
|
||||
_rl_vi_last_motion = c;
|
||||
RL_UNSETSTATE (RL_STATE_VIMOTION);
|
||||
! return (0);
|
||||
}
|
||||
#if defined (READLINE_CALLBACKS)
|
||||
--- 1115,1119 ----
|
||||
_rl_vi_last_motion = c;
|
||||
RL_UNSETSTATE (RL_STATE_VIMOTION);
|
||||
! return (vidomove_dispatch (m));
|
||||
}
|
||||
#if defined (READLINE_CALLBACKS)
|
||||
*** ../bash-4.2-patched/lib/readline/callback.c 2010-06-06 12:18:58.000000000 -0400
|
||||
--- ./lib/readline/callback.c 2011-02-17 20:43:28.000000000 -0500
|
||||
***************
|
||||
*** 149,152 ****
|
||||
--- 149,155 ----
|
||||
/* Should handle everything, including cleanup, numeric arguments,
|
||||
and turning off RL_STATE_VIMOTION */
|
||||
+ if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
|
||||
+ _rl_internal_char_cleanup ();
|
||||
+
|
||||
return;
|
||||
}
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 1
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 2
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
|
||||
318
package/bash/bash-4.2-003.patch
Normal file
318
package/bash/bash-4.2-003.patch
Normal file
@@ -0,0 +1,318 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-003
|
||||
|
||||
Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
|
||||
Bug-Reference-ID: <AANLkTikZ_rVV-frR8Fh0PzhXnMKnm5XsUR-F3qtPPs5G@mail.gmail.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00136.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When using the pattern replacement and pattern removal word expansions, bash
|
||||
miscalculates the possible match length in the presence of an unescaped left
|
||||
bracket without a closing right bracket, resulting in a failure to match
|
||||
the pattern.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/lib/glob/gmisc.c 2011-02-05 16:11:17.000000000 -0500
|
||||
--- ./lib/glob/gmisc.c 2011-02-18 23:53:42.000000000 -0500
|
||||
***************
|
||||
*** 78,83 ****
|
||||
size_t wmax;
|
||||
{
|
||||
! wchar_t wc, *wbrack;
|
||||
! int matlen, t, in_cclass, in_collsym, in_equiv;
|
||||
|
||||
if (*wpat == 0)
|
||||
--- 78,83 ----
|
||||
size_t wmax;
|
||||
{
|
||||
! wchar_t wc;
|
||||
! int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
|
||||
|
||||
if (*wpat == 0)
|
||||
***************
|
||||
*** 119,123 ****
|
||||
case L'[':
|
||||
/* scan for ending `]', skipping over embedded [:...:] */
|
||||
! wbrack = wpat;
|
||||
wc = *wpat++;
|
||||
do
|
||||
--- 119,123 ----
|
||||
case L'[':
|
||||
/* scan for ending `]', skipping over embedded [:...:] */
|
||||
! bracklen = 1;
|
||||
wc = *wpat++;
|
||||
do
|
||||
***************
|
||||
*** 125,140 ****
|
||||
if (wc == 0)
|
||||
{
|
||||
! matlen += wpat - wbrack - 1; /* incremented below */
|
||||
! break;
|
||||
}
|
||||
else if (wc == L'\\')
|
||||
{
|
||||
! wc = *wpat++;
|
||||
! if (*wpat == 0)
|
||||
! break;
|
||||
}
|
||||
else if (wc == L'[' && *wpat == L':') /* character class */
|
||||
{
|
||||
wpat++;
|
||||
in_cclass = 1;
|
||||
}
|
||||
--- 125,148 ----
|
||||
if (wc == 0)
|
||||
{
|
||||
! wpat--; /* back up to NUL */
|
||||
! matlen += bracklen;
|
||||
! goto bad_bracket;
|
||||
}
|
||||
else if (wc == L'\\')
|
||||
{
|
||||
! /* *wpat == backslash-escaped character */
|
||||
! bracklen++;
|
||||
! /* If the backslash or backslash-escape ends the string,
|
||||
! bail. The ++wpat skips over the backslash escape */
|
||||
! if (*wpat == 0 || *++wpat == 0)
|
||||
! {
|
||||
! matlen += bracklen;
|
||||
! goto bad_bracket;
|
||||
! }
|
||||
}
|
||||
else if (wc == L'[' && *wpat == L':') /* character class */
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
in_cclass = 1;
|
||||
}
|
||||
***************
|
||||
*** 142,145 ****
|
||||
--- 150,154 ----
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
in_cclass = 0;
|
||||
}
|
||||
***************
|
||||
*** 147,152 ****
|
||||
{
|
||||
wpat++;
|
||||
if (*wpat == L']') /* right bracket can appear as collating symbol */
|
||||
! wpat++;
|
||||
in_collsym = 1;
|
||||
}
|
||||
--- 156,165 ----
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
if (*wpat == L']') /* right bracket can appear as collating symbol */
|
||||
! {
|
||||
! wpat++;
|
||||
! bracklen++;
|
||||
! }
|
||||
in_collsym = 1;
|
||||
}
|
||||
***************
|
||||
*** 154,157 ****
|
||||
--- 167,171 ----
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
in_collsym = 0;
|
||||
}
|
||||
***************
|
||||
*** 159,164 ****
|
||||
{
|
||||
wpat++;
|
||||
if (*wpat == L']') /* right bracket can appear as equivalence class */
|
||||
! wpat++;
|
||||
in_equiv = 1;
|
||||
}
|
||||
--- 173,182 ----
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
if (*wpat == L']') /* right bracket can appear as equivalence class */
|
||||
! {
|
||||
! wpat++;
|
||||
! bracklen++;
|
||||
! }
|
||||
in_equiv = 1;
|
||||
}
|
||||
***************
|
||||
*** 166,174 ****
|
||||
--- 184,196 ----
|
||||
{
|
||||
wpat++;
|
||||
+ bracklen++;
|
||||
in_equiv = 0;
|
||||
}
|
||||
+ else
|
||||
+ bracklen++;
|
||||
}
|
||||
while ((wc = *wpat++) != L']');
|
||||
matlen++; /* bracket expression can only match one char */
|
||||
+ bad_bracket:
|
||||
break;
|
||||
}
|
||||
***************
|
||||
*** 214,219 ****
|
||||
size_t max;
|
||||
{
|
||||
! char c, *brack;
|
||||
! int matlen, t, in_cclass, in_collsym, in_equiv;
|
||||
|
||||
if (*pat == 0)
|
||||
--- 236,241 ----
|
||||
size_t max;
|
||||
{
|
||||
! char c;
|
||||
! int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
|
||||
|
||||
if (*pat == 0)
|
||||
***************
|
||||
*** 255,259 ****
|
||||
case '[':
|
||||
/* scan for ending `]', skipping over embedded [:...:] */
|
||||
! brack = pat;
|
||||
c = *pat++;
|
||||
do
|
||||
--- 277,281 ----
|
||||
case '[':
|
||||
/* scan for ending `]', skipping over embedded [:...:] */
|
||||
! bracklen = 1;
|
||||
c = *pat++;
|
||||
do
|
||||
***************
|
||||
*** 261,276 ****
|
||||
if (c == 0)
|
||||
{
|
||||
! matlen += pat - brack - 1; /* incremented below */
|
||||
! break;
|
||||
}
|
||||
else if (c == '\\')
|
||||
{
|
||||
! c = *pat++;
|
||||
! if (*pat == 0)
|
||||
! break;
|
||||
}
|
||||
else if (c == '[' && *pat == ':') /* character class */
|
||||
{
|
||||
pat++;
|
||||
in_cclass = 1;
|
||||
}
|
||||
--- 283,306 ----
|
||||
if (c == 0)
|
||||
{
|
||||
! pat--; /* back up to NUL */
|
||||
! matlen += bracklen;
|
||||
! goto bad_bracket;
|
||||
}
|
||||
else if (c == '\\')
|
||||
{
|
||||
! /* *pat == backslash-escaped character */
|
||||
! bracklen++;
|
||||
! /* If the backslash or backslash-escape ends the string,
|
||||
! bail. The ++pat skips over the backslash escape */
|
||||
! if (*pat == 0 || *++pat == 0)
|
||||
! {
|
||||
! matlen += bracklen;
|
||||
! goto bad_bracket;
|
||||
! }
|
||||
}
|
||||
else if (c == '[' && *pat == ':') /* character class */
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
in_cclass = 1;
|
||||
}
|
||||
***************
|
||||
*** 278,281 ****
|
||||
--- 308,312 ----
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
in_cclass = 0;
|
||||
}
|
||||
***************
|
||||
*** 283,288 ****
|
||||
{
|
||||
pat++;
|
||||
if (*pat == ']') /* right bracket can appear as collating symbol */
|
||||
! pat++;
|
||||
in_collsym = 1;
|
||||
}
|
||||
--- 314,323 ----
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
if (*pat == ']') /* right bracket can appear as collating symbol */
|
||||
! {
|
||||
! pat++;
|
||||
! bracklen++;
|
||||
! }
|
||||
in_collsym = 1;
|
||||
}
|
||||
***************
|
||||
*** 290,293 ****
|
||||
--- 325,329 ----
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
in_collsym = 0;
|
||||
}
|
||||
***************
|
||||
*** 295,300 ****
|
||||
{
|
||||
pat++;
|
||||
if (*pat == ']') /* right bracket can appear as equivalence class */
|
||||
! pat++;
|
||||
in_equiv = 1;
|
||||
}
|
||||
--- 331,340 ----
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
if (*pat == ']') /* right bracket can appear as equivalence class */
|
||||
! {
|
||||
! pat++;
|
||||
! bracklen++;
|
||||
! }
|
||||
in_equiv = 1;
|
||||
}
|
||||
***************
|
||||
*** 302,310 ****
|
||||
--- 342,354 ----
|
||||
{
|
||||
pat++;
|
||||
+ bracklen++;
|
||||
in_equiv = 0;
|
||||
}
|
||||
+ else
|
||||
+ bracklen++;
|
||||
}
|
||||
while ((c = *pat++) != ']');
|
||||
matlen++; /* bracket expression can only match one char */
|
||||
+ bad_bracket:
|
||||
break;
|
||||
}
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 2
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 3
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
53
package/bash/bash-4.2-004.patch
Normal file
53
package/bash/bash-4.2-004.patch
Normal file
@@ -0,0 +1,53 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-004
|
||||
|
||||
Bug-Reported-by: Mike Frysinger <vapier@gentoo.org>
|
||||
Bug-Reference-ID: <201102182106.17834.vapier@gentoo.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00222.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When used in contexts where word splitting and quote removal were not
|
||||
performed, such as pattern removal or pattern substitution, empty strings
|
||||
(either literal or resulting from quoted variables that were unset or
|
||||
null) were not matched correctly, resulting in failure.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/subst.c 2011-01-02 16:12:51.000000000 -0500
|
||||
--- ./subst.c 2011-02-18 22:30:13.000000000 -0500
|
||||
***************
|
||||
*** 3373,3379 ****
|
||||
if (string == 0 || *string == '\0')
|
||||
return (WORD_LIST *)NULL;
|
||||
|
||||
! td.flags = 0;
|
||||
td.word = string;
|
||||
tresult = call_expand_word_internal (&td, quoted, 1, dollar_at_p, has_dollar_at);
|
||||
return (tresult);
|
||||
--- 3373,3379 ----
|
||||
if (string == 0 || *string == '\0')
|
||||
return (WORD_LIST *)NULL;
|
||||
|
||||
! td.flags = W_NOSPLIT2; /* no splitting, remove "" and '' */
|
||||
td.word = string;
|
||||
tresult = call_expand_word_internal (&td, quoted, 1, dollar_at_p, has_dollar_at);
|
||||
return (tresult);
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 3
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 4
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
131
package/bash/bash-4.2-005.patch
Normal file
131
package/bash/bash-4.2-005.patch
Normal file
@@ -0,0 +1,131 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-005
|
||||
|
||||
Bug-Reported-by: Dennis Williamson <dennistwilliamson@gmail.com>
|
||||
Bug-Reference-ID: <AANLkTikDbEV5rnbPc0zOfmZfBcg0xGetzLLzK+KjRiNa@mail.gmail.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00147.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
Systems that use tzset() to set the local timezone require the TZ variable
|
||||
to be in the environment. Bash must make sure the environment has been
|
||||
modified with any updated value for TZ before calling tzset(). This
|
||||
affects prompt string expansions and the `%T' printf conversion specification
|
||||
on systems that do not allow bash to supply a replacement for getenv(3).
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/variables.h 2010-12-02 20:22:01.000000000 -0500
|
||||
--- ./variables.h 2011-02-19 19:57:12.000000000 -0500
|
||||
***************
|
||||
*** 314,317 ****
|
||||
--- 314,318 ----
|
||||
extern void sort_variables __P((SHELL_VAR **));
|
||||
|
||||
+ extern int chkexport __P((char *));
|
||||
extern void maybe_make_export_env __P((void));
|
||||
extern void update_export_env_inplace __P((char *, int, char *));
|
||||
*** ../bash-4.2-patched/variables.c 2011-01-24 20:07:48.000000000 -0500
|
||||
--- ./variables.c 2011-02-19 20:04:50.000000000 -0500
|
||||
***************
|
||||
*** 3654,3657 ****
|
||||
--- 3654,3673 ----
|
||||
}
|
||||
|
||||
+ int
|
||||
+ chkexport (name)
|
||||
+ char *name;
|
||||
+ {
|
||||
+ SHELL_VAR *v;
|
||||
+
|
||||
+ v = find_variable (name);
|
||||
+ if (exported_p (v))
|
||||
+ {
|
||||
+ array_needs_making = 1;
|
||||
+ maybe_make_export_env ();
|
||||
+ return 1;
|
||||
+ }
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
void
|
||||
maybe_make_export_env ()
|
||||
***************
|
||||
*** 4215,4219 ****
|
||||
{ "TEXTDOMAINDIR", sv_locale },
|
||||
|
||||
! #if defined (HAVE_TZSET) && defined (PROMPT_STRING_DECODE)
|
||||
{ "TZ", sv_tz },
|
||||
#endif
|
||||
--- 4231,4235 ----
|
||||
{ "TEXTDOMAINDIR", sv_locale },
|
||||
|
||||
! #if defined (HAVE_TZSET)
|
||||
{ "TZ", sv_tz },
|
||||
#endif
|
||||
***************
|
||||
*** 4559,4568 ****
|
||||
#endif /* HISTORY */
|
||||
|
||||
! #if defined (HAVE_TZSET) && defined (PROMPT_STRING_DECODE)
|
||||
void
|
||||
sv_tz (name)
|
||||
char *name;
|
||||
{
|
||||
! tzset ();
|
||||
}
|
||||
#endif
|
||||
--- 4575,4585 ----
|
||||
#endif /* HISTORY */
|
||||
|
||||
! #if defined (HAVE_TZSET)
|
||||
void
|
||||
sv_tz (name)
|
||||
char *name;
|
||||
{
|
||||
! if (chkexport (name))
|
||||
! tzset ();
|
||||
}
|
||||
#endif
|
||||
*** ../bash-4.2-patched/parse.y 2011-01-02 15:48:11.000000000 -0500
|
||||
--- ./parse.y 2011-02-19 20:05:00.000000000 -0500
|
||||
***************
|
||||
*** 5136,5139 ****
|
||||
--- 5136,5142 ----
|
||||
/* Make the current time/date into a string. */
|
||||
(void) time (&the_time);
|
||||
+ #if defined (HAVE_TZSET)
|
||||
+ sv_tz ("TZ"); /* XXX -- just make sure */
|
||||
+ #endif
|
||||
tm = localtime (&the_time);
|
||||
|
||||
*** ../bash-4.2-patched/builtins/printf.def 2010-11-23 10:02:55.000000000 -0500
|
||||
--- ./builtins/printf.def 2011-02-19 20:05:04.000000000 -0500
|
||||
***************
|
||||
*** 466,469 ****
|
||||
--- 466,472 ----
|
||||
else
|
||||
secs = arg;
|
||||
+ #if defined (HAVE_TZSET)
|
||||
+ sv_tz ("TZ"); /* XXX -- just make sure */
|
||||
+ #endif
|
||||
tm = localtime (&secs);
|
||||
n = strftime (timebuf, sizeof (timebuf), timefmt, tm);
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 4
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 5
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
46
package/bash/bash-4.2-006.patch
Normal file
46
package/bash/bash-4.2-006.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-006
|
||||
|
||||
Bug-Reported-by: Allan McRae <allan@archlinux.org>
|
||||
Bug-Reference-ID: <4D6D0D0B.50908@archlinux.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00001.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
A problem with bash42-005 caused it to dump core if TZ was unset.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/variables.c 2011-02-25 12:07:41.000000000 -0500
|
||||
--- ./variables.c 2011-03-01 10:13:04.000000000 -0500
|
||||
***************
|
||||
*** 3661,3665 ****
|
||||
|
||||
v = find_variable (name);
|
||||
! if (exported_p (v))
|
||||
{
|
||||
array_needs_making = 1;
|
||||
--- 3661,3665 ----
|
||||
|
||||
v = find_variable (name);
|
||||
! if (v && exported_p (v))
|
||||
{
|
||||
array_needs_making = 1;
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 5
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 6
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
46
package/bash/bash-4.2-007.patch
Normal file
46
package/bash/bash-4.2-007.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-007
|
||||
|
||||
Bug-Reported-by: Matthias Klose <doko@debian.org>
|
||||
Bug-Reference-ID: <4D6FD2AC.1010500@debian.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00015.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
When used in contexts where word splitting and quote removal were not
|
||||
performed, such as case statement word expansion, empty strings
|
||||
(either literal or resulting from quoted variables that were unset or
|
||||
null) were not expanded correctly, resulting in failure.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/subst.c 2011-02-25 12:03:58.000000000 -0500
|
||||
--- ./subst.c 2011-03-03 14:08:23.000000000 -0500
|
||||
***************
|
||||
*** 4609,4614 ****
|
||||
--- 4611,4617 ----
|
||||
if (ifs_firstc == 0)
|
||||
#endif
|
||||
word->flags |= W_NOSPLIT;
|
||||
+ word->flags |= W_NOSPLIT2;
|
||||
result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int *)NULL);
|
||||
expand_no_split_dollar_star = 0;
|
||||
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 6
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 7
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
74
package/bash/bash-4.2-008.patch
Normal file
74
package/bash/bash-4.2-008.patch
Normal file
@@ -0,0 +1,74 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-008
|
||||
|
||||
Bug-Reported-by: Doug McMahon <mc2man@optonline.net>
|
||||
Bug-Reference-ID: <1299441211.2535.11.camel@doug-XPS-M1330>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00050.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
Bash-4.2 does not attempt to save the shell history on receipt of a
|
||||
terminating signal that is handled synchronously. Unfortunately, the
|
||||
`close' button on most X11 terminal emulators sends SIGHUP, which
|
||||
kills the shell.
|
||||
|
||||
This is a very small patch to save the history in the case that an
|
||||
interactive shell receives a SIGHUP or SIGTERM while in readline and
|
||||
reading a command.
|
||||
|
||||
The next version of bash will do this differently.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../bash-4.2-patched/sig.c Tue Nov 23 08:21:22 2010
|
||||
--- ./sig.c Tue Mar 8 21:28:32 2011
|
||||
***************
|
||||
*** 47,50 ****
|
||||
--- 47,51 ----
|
||||
#if defined (READLINE)
|
||||
# include "bashline.h"
|
||||
+ # include <readline/readline.h>
|
||||
#endif
|
||||
|
||||
***************
|
||||
*** 63,66 ****
|
||||
--- 64,68 ----
|
||||
extern int history_lines_this_session;
|
||||
#endif
|
||||
+ extern int no_line_editing;
|
||||
|
||||
extern void initialize_siglist ();
|
||||
***************
|
||||
*** 506,510 ****
|
||||
#if defined (HISTORY)
|
||||
/* XXX - will inhibit history file being written */
|
||||
! history_lines_this_session = 0;
|
||||
#endif
|
||||
terminate_immediately = 0;
|
||||
--- 508,515 ----
|
||||
#if defined (HISTORY)
|
||||
/* XXX - will inhibit history file being written */
|
||||
! # if defined (READLINE)
|
||||
! if (interactive_shell == 0 || interactive == 0 || (sig != SIGHUP && sig != SIGTERM) || no_line_editing || (RL_ISSTATE (RL_STATE_READCMD) == 0))
|
||||
! # endif
|
||||
! history_lines_this_session = 0;
|
||||
#endif
|
||||
terminate_immediately = 0;
|
||||
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||
--- ./patchlevel.h Thu Feb 24 21:41:34 2011
|
||||
***************
|
||||
*** 26,30 ****
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 7
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
--- 26,30 ----
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
! #define PATCHLEVEL 8
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user