Compare commits
135 Commits
2013.05_rc
...
2013.05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
615fd9b0f3 | ||
|
|
26b11df79c | ||
|
|
93252e70cb | ||
|
|
74ae7af927 | ||
|
|
14470b3259 | ||
|
|
7183fc0f3f | ||
|
|
95e54f65a2 | ||
|
|
d3bde0a64e | ||
|
|
46da491ecd | ||
|
|
8762110c46 | ||
|
|
c5f9a4fb91 | ||
|
|
200b2dfa6d | ||
|
|
3ebb2e8084 | ||
|
|
60474dcec6 | ||
|
|
5b591b4052 | ||
|
|
fb1419bedd | ||
|
|
c0d30d4c94 | ||
|
|
eb71e79f41 | ||
|
|
3d96dc1a67 | ||
|
|
a3029189aa | ||
|
|
0d8d884e5d | ||
|
|
b85f5e8b45 | ||
|
|
d2d64f88f5 | ||
|
|
c95ba8a487 | ||
|
|
9428d10362 | ||
|
|
ddddef3e6e | ||
|
|
609aa4156a | ||
|
|
78927d3f92 | ||
|
|
2c3b24797a | ||
|
|
240843cce3 | ||
|
|
a9825c06b8 | ||
|
|
0ca9692dde | ||
|
|
32a5968999 | ||
|
|
fe6a9e5e9d | ||
|
|
f8a9c13252 | ||
|
|
517de29c52 | ||
|
|
85e3090a92 | ||
|
|
0170b420c4 | ||
|
|
1e7f40ebb5 | ||
|
|
c92a369fe6 | ||
|
|
c17b0f0bda | ||
|
|
5ef3a7a7c7 | ||
|
|
9c1917ef5b | ||
|
|
97edb8f629 | ||
|
|
8f2578d7b7 | ||
|
|
1c3afe4bc1 | ||
|
|
d624203238 | ||
|
|
666aa6287c | ||
|
|
a45b0194ef | ||
|
|
f937306ead | ||
|
|
2da9dcc270 | ||
|
|
0f4d9ce54b | ||
|
|
faefecd7f6 | ||
|
|
4344ffd282 | ||
|
|
ce774eba9c | ||
|
|
f4985ca55a | ||
|
|
e5b1da1846 | ||
|
|
0156825d11 | ||
|
|
2a58963ab4 | ||
|
|
bfca77e7f7 | ||
|
|
fb1ba5dff1 | ||
|
|
f96a135667 | ||
|
|
6cdb6cc976 | ||
|
|
cfcbfa2c60 | ||
|
|
a517092fa3 | ||
|
|
867aa7f987 | ||
|
|
dc8b8c868a | ||
|
|
13c367f827 | ||
|
|
b193c1264a | ||
|
|
cf81029c01 | ||
|
|
bed1490d0f | ||
|
|
90e7cdd28c | ||
|
|
5fa49a6c0f | ||
|
|
9b273ea860 | ||
|
|
32a2f502c6 | ||
|
|
f8a6a1b94a | ||
|
|
376c3aad61 | ||
|
|
8d34e073c0 | ||
|
|
5691446961 | ||
|
|
9947ee9fbb | ||
|
|
b1c2bed547 | ||
|
|
13d91f18a3 | ||
|
|
0651830447 | ||
|
|
8e384dcb8f | ||
|
|
7c58258e21 | ||
|
|
7c6232658a | ||
|
|
671bd04685 | ||
|
|
61232f8060 | ||
|
|
48ac24985c | ||
|
|
d6ae18cccc | ||
|
|
a5d5b097a4 | ||
|
|
3dfbf65760 | ||
|
|
0cc701cf73 | ||
|
|
aed08f8bd9 | ||
|
|
0a7ea9465c | ||
|
|
a8d55430c4 | ||
|
|
83944af154 | ||
|
|
07a2ec3e0e | ||
|
|
5b0c6f024c | ||
|
|
1c0d1949c6 | ||
|
|
40ccd2122e | ||
|
|
cb97a23b5d | ||
|
|
e7dce165ab | ||
|
|
cf82c300e0 | ||
|
|
fd234bebae | ||
|
|
92cd8a5273 | ||
|
|
e5726eb498 | ||
|
|
6a77344162 | ||
|
|
4624567df1 | ||
|
|
d6fa07ffae | ||
|
|
401a3d98e1 | ||
|
|
c27b71bccb | ||
|
|
e8008c961c | ||
|
|
13cdffe529 | ||
|
|
e5ef6f7f71 | ||
|
|
df8d52fb02 | ||
|
|
31002cb403 | ||
|
|
4fabcd28ca | ||
|
|
603293f5ff | ||
|
|
d131f75019 | ||
|
|
12fafd0c31 | ||
|
|
0a442d05cf | ||
|
|
e2e8bb3580 | ||
|
|
e074805b5c | ||
|
|
8c87152fe8 | ||
|
|
2e040c6310 | ||
|
|
88587d5b14 | ||
|
|
06e5c7a111 | ||
|
|
9988d3f780 | ||
|
|
9b34cc0bcd | ||
|
|
ff24e7f040 | ||
|
|
2c1a1bb1cd | ||
|
|
ecd0f65af9 | ||
|
|
ee377acd87 | ||
|
|
f787cd2085 |
86
CHANGES
86
CHANGES
@@ -1,3 +1,89 @@
|
||||
2013.05, Released May 31th, 2013:
|
||||
|
||||
Minor fixes.
|
||||
|
||||
External toolchain wrapper fix for if host/usr/bin is placed
|
||||
in the patch.
|
||||
|
||||
Updated/fixed packages: acpid, at91bootstrap, czmq, elf2flt,
|
||||
flex, jamvm, kmod, libplayer, libtirpc, libv4,
|
||||
lttng-babeltrace, opengl, qt5jsbackend, udpcast, wvstreams
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#4868: Buildroot compile failure for toolchain/gdb-7.4/intl/reloc...
|
||||
#4988: flex and m4 problems
|
||||
#5912: obsolete CVS files
|
||||
|
||||
2013.05-rc3, Released May 25th, 2013:
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: aircrack-ng, bellagio, boost, crda,
|
||||
dvb-apps, flot, libatomic_ops, libeXosip2, libosip2, libxml2,
|
||||
mongrel2, poco, portaudio, pptp-linux, tvheadend, urg, weston,
|
||||
wireshark
|
||||
|
||||
2013.05-rc2, Released May 15th, 2013:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Default number of parallel jobs is now number of CPUs + 1.
|
||||
|
||||
Defconfigs: Add Telit EVK-PRO3, AT91SAM9260-EK Nand flash.
|
||||
|
||||
Updated/fixed packages: aircrack-ng, busybox, cairo,
|
||||
classpath, curlftpfs, czmq, dbus, f2fs-tools, fan-ctrl,
|
||||
filemq, gst-plugin-bad, gutenprint, hplip, json-c,
|
||||
libatomic_ops, libcurl, libdrm, libglib2, libnspr, libnss,
|
||||
libsha1, libsigsegv, libxcb, linknx, linux-pam, lttng-modules,
|
||||
lttng-tools, matchbox-lib, mcookie, mesa3d, neon, pixman,
|
||||
pulseaudio, python-nfc, qt5imageformats, quota, openssl,
|
||||
sconeserver, strace, sylpheed, wvstreams,
|
||||
xapp_{appres,bdftopcf,beforelight,bitmap,edires,fonttosfnt},
|
||||
xapp_{fslsfonts,fstobdf,iceauth,ico,listres,luit,mkfontdir},
|
||||
xapp_{mkfontscale,oclock,rgb,rstart,scripts,sessreg,setxkbmap},
|
||||
xapp_{showfont,smproxy,twm,viewres,x11perf,xauth,xbacklight},
|
||||
xapp_x{biff,calc,clipboard,clock,cmsdb,cursorgen,dbedizzy,ditview},
|
||||
xapp_x{dm,dpyinfo,driinfo,edit,ev,eyes,f86dga,fd,fontsel,fs,fsinfo},
|
||||
xapp_x{gamma,gc,host,input-calibrator,input,kbcomp,kbevd,kbprint},
|
||||
xapp_x{kbutils,kill,load,logo,lsatoms,lsclients,lsfonts,mag,man},
|
||||
xapp_x{message,mh,modmap,more,pr,prop,randr,rdb,refresh,set,setmode},
|
||||
xapp_x{setpointer,setroot,sm,stdcmap,vidtune,vinfo,wd,wininfo,wud},
|
||||
xcb-util, xcursor-transparent-theme, xdata_xbitmaps,
|
||||
xdata_xcursor-themes,
|
||||
xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synaptics},
|
||||
xdriver_xf86-input-{tslib,vmmouse,void},
|
||||
xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,fbdev,geode,glide},
|
||||
xdriver_xf86-video-{glint,i128,intel,mach64,mga,neomagic,newport},
|
||||
xdriver_xf86-video-{nv,openchrome,r128,savage,siliconmotion,sis},
|
||||
xdriver_xf86-video-{tdfx,tga,trident,v4l,vesa,vmware,voodoo,wsfb},
|
||||
xfont_encodings, xfont_font-adobe-{100,75}dpi,
|
||||
xfont_font-utopia-{100dpi,75dpi,type1},
|
||||
xfont_font-{alias,arabic-misc,bh-100dpi,bh-75dpi},
|
||||
xfont_font-bh-lucidatypewriter-{100,75}dpi, xfont_font-bh-{ttf,type1},
|
||||
xfont_font-bitstream-{100dpi,75dpi,type1}, xfont_font-cronyx-cyrillic,
|
||||
xfont_font-{cursor,daewoo,dec,isas,jis,micro}-misc,
|
||||
xfont_font-ibm-type1, xfont_font-misc-{cyrillic,ethiopic,meltho,misc},
|
||||
xfont_font-{mutt,schumacher}-misc,
|
||||
xfont_font-{screen-cyrillic,sony-misc,sun-misc,util},
|
||||
xfont_font-winitzki-cyrillic, xfont_font-xfree86-type1,
|
||||
xlib_lib{FS,ICE,SM,X11,XScrnSaver,Xau,Xaw,Xcomposite,Xcursor},
|
||||
xlib_libX{damage,dmcp,ext,fixes,font,ft,i,inerama,mu,pm,randr},
|
||||
xlib_libX{render,res,t,tst,v,vMC,xf86dga,xf86vm},
|
||||
xlib_lib{dmx,fontenc,pciaccess,pthread-stubs,xkbfile}, xlib_xtrans,
|
||||
xproto_{applewm,bigreqs,composite,damage,dmx,dri2,fixes}proto,
|
||||
xproto_{fontcache,font,gl,input,kb,randr,record,render}proto,
|
||||
xproto_{resource,scrnsaver,video,windowswm,xcmisc,xext}proto,
|
||||
xproto_{xf86bigfont,xf86dga,xf86dri,xf86vidmode,xinerama,x}proto,
|
||||
xserver_xorg-server, xutil_{makedepend,util-macros}
|
||||
|
||||
Readded Packages: xapp_xinit
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5054: amd64: cannot find init - due to missing /lib64 folder
|
||||
|
||||
2013.05-rc1, Released May 8th, 2013:
|
||||
|
||||
Architectures: ARC support, Blackfin support, FLAT binary
|
||||
|
||||
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
||||
# Makefile for buildroot2
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2012 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2006-2013 by the Buildroot developers <buildroot@uclibc.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2013.05-rc1
|
||||
export BR2_VERSION:=2013.05
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION=3.81
|
||||
|
||||
98
board/atmel/at91sam9260ek/linux-3.9.config
Normal file
98
board/atmel/at91sam9260ek/linux-3.9.config
Normal file
@@ -0,0 +1,98 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_KERNEL_LZO=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_ARCH_AT91=y
|
||||
CONFIG_ARCH_AT91SAM9260=y
|
||||
CONFIG_ARCH_AT91SAM9260_SAM9XE=y
|
||||
CONFIG_MACH_AT91SAM9260EK=y
|
||||
CONFIG_MACH_CAM60=y
|
||||
CONFIG_MACH_SAM9_L9260=y
|
||||
CONFIG_MACH_AFEB9260=y
|
||||
CONFIG_MACH_USB_A9260=y
|
||||
CONFIG_MACH_QIL_A9260=y
|
||||
CONFIG_MACH_CPU9260=y
|
||||
CONFIG_MACH_FLEXIBITY=y
|
||||
CONFIG_MACH_SNAPPER_9260=y
|
||||
CONFIG_MACH_AT91SAM_DT=y
|
||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
||||
# CONFIG_ARM_THUMB is not set
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw"
|
||||
CONFIG_FPE_NWFPE=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_LRO is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_ATMEL=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_MACB=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_SERIAL_ATMEL=y
|
||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_GPIO=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||
CONFIG_AT91SAM9X_WATCHDOG=y
|
||||
# CONFIG_USB_HID is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
CONFIG_USB_MON=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_STORAGE_DEBUG=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_ZERO=m
|
||||
CONFIG_USB_GADGETFS=m
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_SERIAL=m
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_AT91SAM9=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_CRAMFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
@@ -0,0 +1,88 @@
|
||||
From b5e57a9f158a293b1151638336478af8a5aad0f0 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:16:35 +0800
|
||||
Subject: [PATCH 1/5] watchdog: add keep alive support
|
||||
|
||||
this will allow to ping the watchdog via poller
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
---
|
||||
drivers/watchdog/Kconfig | 1 +
|
||||
drivers/watchdog/wd_core.c | 21 +++++++++++++++++++++
|
||||
include/watchdog.h | 2 ++
|
||||
3 files changed, 24 insertions(+)
|
||||
|
||||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
|
||||
index 2e2900c..0b4dc84 100644
|
||||
--- a/drivers/watchdog/Kconfig
|
||||
+++ b/drivers/watchdog/Kconfig
|
||||
@@ -4,6 +4,7 @@ config WATCHDOG_IMX_RESET_SOURCE
|
||||
|
||||
menuconfig WATCHDOG
|
||||
bool "Watchdog support"
|
||||
+ select GENERIC_POLLER
|
||||
help
|
||||
Many platforms support a watchdog to keep track of a working machine.
|
||||
This framework provides routines to handle these watchdogs.
|
||||
diff --git a/drivers/watchdog/wd_core.c b/drivers/watchdog/wd_core.c
|
||||
index 3d0cfc6..a1b9e28 100644
|
||||
--- a/drivers/watchdog/wd_core.c
|
||||
+++ b/drivers/watchdog/wd_core.c
|
||||
@@ -17,18 +17,39 @@
|
||||
#include <errno.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <watchdog.h>
|
||||
+#include <poller.h>
|
||||
|
||||
/*
|
||||
* Note: this simple framework supports one watchdog only.
|
||||
*/
|
||||
static struct watchdog *watchdog;
|
||||
|
||||
+static void watchdog_poller_func(struct poller_struct *poller)
|
||||
+{
|
||||
+ watchdog->keep_alive(watchdog);
|
||||
+}
|
||||
+
|
||||
+static struct poller_struct watchdog_poller = {
|
||||
+ .func = watchdog_poller_func,
|
||||
+};
|
||||
+
|
||||
int watchdog_register(struct watchdog *wd)
|
||||
{
|
||||
if (watchdog != NULL)
|
||||
return -EBUSY;
|
||||
|
||||
watchdog = wd;
|
||||
+
|
||||
+ if (watchdog->keep_alive) {
|
||||
+ int ret;
|
||||
+
|
||||
+ ret = poller_register(&watchdog_poller);
|
||||
+ if (ret) {
|
||||
+ watchdog = NULL;
|
||||
+ return ret;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(watchdog_register);
|
||||
diff --git a/include/watchdog.h b/include/watchdog.h
|
||||
index 3e2d08e..d5ecf2f 100644
|
||||
--- a/include/watchdog.h
|
||||
+++ b/include/watchdog.h
|
||||
@@ -13,8 +13,10 @@
|
||||
#ifndef INCLUDE_WATCHDOG_H
|
||||
# define INCLUDE_WATCHDOG_H
|
||||
|
||||
+
|
||||
struct watchdog {
|
||||
int (*set_timeout)(struct watchdog *, unsigned);
|
||||
+ void (*keep_alive)(struct watchdog *);
|
||||
};
|
||||
|
||||
int watchdog_register(struct watchdog *);
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -0,0 +1,228 @@
|
||||
From e1d54ffb987c346c45c20968be34c50c62a91c07 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:17:47 +0800
|
||||
Subject: [PATCH 2/5] watchdog: add at91sam9 watchdog support
|
||||
|
||||
with keep alive support
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
---
|
||||
drivers/watchdog/Kconfig | 7 +++
|
||||
drivers/watchdog/Makefile | 1 +
|
||||
drivers/watchdog/at91sam9_wdt.c | 131 ++++++++++++++++++++++++++++++++++++++++
|
||||
drivers/watchdog/at91sam9_wdt.h | 38 ++++++++++++
|
||||
4 files changed, 177 insertions(+)
|
||||
create mode 100644 drivers/watchdog/at91sam9_wdt.c
|
||||
create mode 100644 drivers/watchdog/at91sam9_wdt.h
|
||||
|
||||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
|
||||
index 0b4dc84..98a21d7 100644
|
||||
--- a/drivers/watchdog/Kconfig
|
||||
+++ b/drivers/watchdog/Kconfig
|
||||
@@ -11,6 +11,13 @@ menuconfig WATCHDOG
|
||||
|
||||
if WATCHDOG
|
||||
|
||||
+config WATCHDOG_AT91SAM9X
|
||||
+ tristate "AT91SAM9X / AT91CAP9 watchdog"
|
||||
+ depends on ARCH_AT91
|
||||
+ help
|
||||
+ Watchdog timer embedded into AT91SAM9X and AT91CAP9 chips. This will
|
||||
+ reboot your system when the timeout is reached.
|
||||
+
|
||||
config WATCHDOG_MXS28
|
||||
bool "i.MX28"
|
||||
depends on ARCH_IMX28
|
||||
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
|
||||
index f522b88..3d15d52 100644
|
||||
--- a/drivers/watchdog/Makefile
|
||||
+++ b/drivers/watchdog/Makefile
|
||||
@@ -1,3 +1,4 @@
|
||||
obj-$(CONFIG_WATCHDOG) += wd_core.o
|
||||
+obj-$(CONFIG_WATCHDOG_AT91SAM9X) += at91sam9_wdt.o
|
||||
obj-$(CONFIG_WATCHDOG_MXS28) += im28wd.o
|
||||
obj-$(CONFIG_WATCHDOG_IMX_RESET_SOURCE) += imxwd.o
|
||||
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
|
||||
new file mode 100644
|
||||
index 0000000..203d83a
|
||||
--- /dev/null
|
||||
+++ b/drivers/watchdog/at91sam9_wdt.c
|
||||
@@ -0,0 +1,131 @@
|
||||
+/*
|
||||
+ * (c) 2012 Juergen Beisert <kernel@pengutronix.de>
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify
|
||||
+ * it under the terms of the GNU General Public License as published by
|
||||
+ * the Free Software Foundation; either version 2 of the License, or
|
||||
+ * (at your option) any later version.
|
||||
+ *
|
||||
+ * This program is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Note: this driver works for the i.MX28 SoC. It might work for the
|
||||
+ * i.MX23 Soc as well, but is not tested yet.
|
||||
+ */
|
||||
+
|
||||
+#include <common.h>
|
||||
+#include <init.h>
|
||||
+#include <io.h>
|
||||
+#include <errno.h>
|
||||
+#include <malloc.h>
|
||||
+#include <watchdog.h>
|
||||
+
|
||||
+#include "at91sam9_wdt.h"
|
||||
+
|
||||
+struct at91sam9_wdt {
|
||||
+ struct watchdog wdt;
|
||||
+ void __iomem *base;
|
||||
+};
|
||||
+
|
||||
+#define to_at91sam9_wdt(h) container_of(h, struct at91sam9_wdt, wdt)
|
||||
+
|
||||
+#define wdt_read(at91wdt, field) \
|
||||
+ __raw_readl(at91wdt->base + field)
|
||||
+#define wdt_write(at91wdt, field, val) \
|
||||
+ __raw_writel((val), at91wdt->base + field)
|
||||
+
|
||||
+static void at91sam9_wdt_keep_alive(struct watchdog *wdt)
|
||||
+{
|
||||
+ struct at91sam9_wdt *at91wdt = to_at91sam9_wdt(wdt);
|
||||
+
|
||||
+ wdt_write(at91wdt, AT91_WDT_CR, AT91_WDT_KEY | AT91_WDT_WDRSTT);
|
||||
+}
|
||||
+
|
||||
+static int at91sam9_wdt_settimeout(struct watchdog *wdt, unsigned int timeout)
|
||||
+{
|
||||
+ struct at91sam9_wdt *at91wdt = to_at91sam9_wdt(wdt);
|
||||
+ unsigned int reg;
|
||||
+ unsigned int mr;
|
||||
+
|
||||
+ /* Check if disabled */
|
||||
+ mr = wdt_read(at91wdt, AT91_WDT_MR);
|
||||
+ if (mr & AT91_WDT_WDDIS) {
|
||||
+ pr_err("sorry, watchdog is disabled\n");
|
||||
+ return -EIO;
|
||||
+ }
|
||||
+
|
||||
+ if (!timeout) {
|
||||
+ wdt_write(at91wdt, AT91_WDT_MR, AT91_WDT_WDDIS);
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
+ * All counting occurs at SLOW_CLOCK / 128 = 256 Hz
|
||||
+ *
|
||||
+ * Since WDV is a 12-bit counter, the maximum period is
|
||||
+ * 4096 / 256 = 16 seconds.
|
||||
+ */
|
||||
+ reg = AT91_WDT_WDRSTEN /* causes watchdog reset */
|
||||
+ /* | AT91_WDT_WDRPROC causes processor reset only */
|
||||
+ | AT91_WDT_WDDBGHLT /* disabled in debug mode */
|
||||
+ | AT91_WDT_WDD /* restart at any time */
|
||||
+ | (timeout & AT91_WDT_WDV); /* timer value */
|
||||
+ wdt_write(at91wdt, AT91_WDT_MR, reg);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static int at91sam9_wdt_probe(struct device_d *dev)
|
||||
+{
|
||||
+ struct at91sam9_wdt *priv;
|
||||
+ struct watchdog *wdt;
|
||||
+ int ret;
|
||||
+ unsigned int mr;
|
||||
+
|
||||
+ priv = xzalloc(sizeof(struct at91sam9_wdt));
|
||||
+ priv->base = dev_request_mem_region(dev, 0);
|
||||
+ wdt = &priv->wdt;
|
||||
+
|
||||
+ wdt->set_timeout = at91sam9_wdt_settimeout;
|
||||
+ wdt->keep_alive = at91sam9_wdt_keep_alive;
|
||||
+
|
||||
+ /* Check if disabled */
|
||||
+ mr = wdt_read(priv, AT91_WDT_MR);
|
||||
+ if (mr & AT91_WDT_WDDIS) {
|
||||
+ dev_err(dev, "sorry, watchdog is disabled\n");
|
||||
+ ret = -EIO;
|
||||
+ goto err;
|
||||
+ }
|
||||
+
|
||||
+ ret = watchdog_register(wdt);
|
||||
+ if (ret != 0)
|
||||
+ goto err;
|
||||
+
|
||||
+ dev->priv = priv;
|
||||
+ return 0;
|
||||
+
|
||||
+err:
|
||||
+ free(priv);
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+static void at91sam9_wdt_remove(struct device_d *dev)
|
||||
+{
|
||||
+ struct at91sam9_wdt *priv= dev->priv;
|
||||
+ watchdog_deregister(&priv->wdt);
|
||||
+ free(priv);
|
||||
+}
|
||||
+
|
||||
+static struct driver_d at91sam9_wdt_driver = {
|
||||
+ .name = "at91sam9_wdt",
|
||||
+ .probe = at91sam9_wdt_probe,
|
||||
+ .remove = at91sam9_wdt_remove,
|
||||
+};
|
||||
+
|
||||
+static int at91sam9_wdt_init(void)
|
||||
+{
|
||||
+ return platform_driver_register(&at91sam9_wdt_driver);
|
||||
+}
|
||||
+coredevice_initcall(at91sam9_wdt_init);
|
||||
diff --git a/drivers/watchdog/at91sam9_wdt.h b/drivers/watchdog/at91sam9_wdt.h
|
||||
new file mode 100644
|
||||
index 0000000..2b68c1a
|
||||
--- /dev/null
|
||||
+++ b/drivers/watchdog/at91sam9_wdt.h
|
||||
@@ -0,0 +1,38 @@
|
||||
+/*
|
||||
+ * drivers/watchdog/at91sam9_wdt.h
|
||||
+ *
|
||||
+ * Copyright (C) 2007 Andrew Victor
|
||||
+ * Copyright (C) 2007 Atmel Corporation.
|
||||
+ *
|
||||
+ * Watchdog Timer (WDT) - System peripherals regsters.
|
||||
+ * Based on AT91SAM9261 datasheet revision D.
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify
|
||||
+ * it under the terms of the GNU General Public License as published by
|
||||
+ * the Free Software Foundation; either version 2 of the License, or
|
||||
+ * (at your option) any later version.
|
||||
+ */
|
||||
+
|
||||
+#ifndef AT91_WDT_H
|
||||
+#define AT91_WDT_H
|
||||
+
|
||||
+#define AT91_WDT_CR 0x00 /* Watchdog Control Register */
|
||||
+#define AT91_WDT_WDRSTT (1 << 0) /* Restart */
|
||||
+#define AT91_WDT_KEY (0xa5 << 24) /* KEY Password */
|
||||
+
|
||||
+#define AT91_WDT_MR 0x04 /* Watchdog Mode Register */
|
||||
+#define AT91_WDT_WDV (0xfff << 0) /* Counter Value */
|
||||
+#define AT91_WDT_WDFIEN (1 << 12) /* Fault Interrupt Enable */
|
||||
+#define AT91_WDT_WDRSTEN (1 << 13) /* Reset Processor */
|
||||
+#define AT91_WDT_WDRPROC (1 << 14) /* Timer Restart */
|
||||
+#define AT91_WDT_WDDIS (1 << 15) /* Watchdog Disable */
|
||||
+#define AT91_WDT_WDD (0xfff << 16) /* Delta Value */
|
||||
+#define AT91_WDT_WDDBGHLT (1 << 28) /* Debug Halt */
|
||||
+#define AT91_WDT_WDIDLEHLT (1 << 29) /* Idle Halt */
|
||||
+
|
||||
+#define AT91_WDT_SR 0x08 /* Watchdog Status Register */
|
||||
+#define AT91_WDT_WDUNF (1 << 0) /* Watchdog Underflow */
|
||||
+#define AT91_WDT_WDERR (1 << 1) /* Watchdog Error */
|
||||
+
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 3338bcb05479f1149420d4a0ea3904cb9e42eef5 Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
Date: Wed, 14 Nov 2012 19:18:22 +0800
|
||||
Subject: [PATCH 3/5] at91sam9260/9g20: add wathdog support
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
---
|
||||
arch/arm/mach-at91/at91sam9260_devices.c | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
index 1c375ee..5885f91 100644
|
||||
--- a/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
@@ -10,6 +10,7 @@
|
||||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
+#include <init.h>
|
||||
#include <sizes.h>
|
||||
#include <asm/armlinux.h>
|
||||
#include <asm/hardware.h>
|
||||
@@ -397,3 +398,14 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
|
||||
#else
|
||||
void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
|
||||
#endif
|
||||
+
|
||||
+#ifdef CONFIG_WATCHDOG_AT91SAM9X
|
||||
+static int at91_add_device_watchdog(void)
|
||||
+{
|
||||
+ add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
|
||||
+ AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+coredevice_initcall(at91_add_device_watchdog);
|
||||
+#endif
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From e03bf0e3ad24898019b89eb9a6935d159c60268f Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
Date: Thu, 17 Jan 2013 11:32:35 +0100
|
||||
Subject: [PATCH 4/5] at91sam9260/9g20: fix wathdog support
|
||||
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
index 5885f91..df675d2 100644
|
||||
--- a/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
|
||||
@@ -403,7 +403,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
|
||||
static int at91_add_device_watchdog(void)
|
||||
{
|
||||
add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
|
||||
- AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
|
||||
+ AT91_BASE_WDT, 16, IORESOURCE_MEM, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 98c96ea36a4b3bb9b92dde849db5e8d6918b5168 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
Date: Thu, 17 Jan 2013 11:32:59 +0100
|
||||
Subject: [PATCH 5/5] watchdog: enable for evk-pro3
|
||||
|
||||
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||
---
|
||||
arch/arm/configs/telit_evk_pro3_defconfig | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/configs/telit_evk_pro3_defconfig b/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
index 050d176..436cecf 100644
|
||||
--- a/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
+++ b/arch/arm/configs/telit_evk_pro3_defconfig
|
||||
@@ -68,6 +68,8 @@ CONFIG_MCI_ATMEL=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_GPIO=y
|
||||
CONFIG_LED_TRIGGERS=y
|
||||
+CONFIG_WATCHDOG=y
|
||||
+CONFIG_WATCHDOG_AT91SAM9X=y
|
||||
CONFIG_FS_TFTP=y
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
201
board/telit/evk-pro3/linux-3.9.config
Normal file
201
board/telit/evk-pro3/linux-3.9.config
Normal file
@@ -0,0 +1,201 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_KERNEL_LZO=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_LBDAF is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
CONFIG_ARCH_AT91=y
|
||||
CONFIG_SOC_AT91SAM9260=y
|
||||
CONFIG_SOC_AT91SAM9263=y
|
||||
CONFIG_SOC_AT91SAM9G45=y
|
||||
CONFIG_SOC_AT91SAM9X5=y
|
||||
CONFIG_SOC_AT91SAM9N12=y
|
||||
CONFIG_MACH_AT91SAM_DT=y
|
||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
||||
CONFIG_AT91_TIMER_HZ=128
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
CONFIG_LEDS=y
|
||||
CONFIG_LEDS_CPU=y
|
||||
CONFIG_UACCESS_WITH_MEMCPY=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_PNP=y
|
||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
||||
# CONFIG_INET_DIAG is not set
|
||||
CONFIG_IPV6=y
|
||||
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
|
||||
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
|
||||
# CONFIG_INET6_XFRM_MODE_BEET is not set
|
||||
CONFIG_IPV6_SIT_6RD=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_STANDALONE is not set
|
||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_ATMEL=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_GLUEBI=y
|
||||
CONFIG_PROC_DEVICETREE=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=4
|
||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||
CONFIG_ATMEL_PWM=y
|
||||
CONFIG_ATMEL_TCLIB=y
|
||||
CONFIG_EEPROM_93CX6=m
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_MULTI_LUN=y
|
||||
# CONFIG_SCSI_LOWLEVEL is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_MACB=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
CONFIG_DAVICOM_PHY=y
|
||||
CONFIG_MICREL_PHY=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_POLLDEV=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=480
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=272
|
||||
CONFIG_INPUT_JOYDEV=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
# CONFIG_SERIO is not set
|
||||
CONFIG_LEGACY_PTY_COUNT=4
|
||||
CONFIG_SERIAL_ATMEL=y
|
||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_GPIO=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_ATMEL=y
|
||||
CONFIG_PINCTRL_AT91=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_AT91SAM9X_WATCHDOG=y
|
||||
CONFIG_SSB=m
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_MODE_HELPERS=y
|
||||
CONFIG_FB_ATMEL=y
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
CONFIG_BACKLIGHT_ATMEL_LCDC=y
|
||||
# CONFIG_BACKLIGHT_GENERIC is not set
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_8x8=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
CONFIG_FONT_MINI_4x6=y
|
||||
CONFIG_LOGO=y
|
||||
# CONFIG_HID_SUPPORT is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_DEVICEFS=y
|
||||
# CONFIG_USB_DEVICE_CLASS is not set
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_ACM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_GENERIC=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||
CONFIG_USB_SERIAL_PL2303=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_AT91=m
|
||||
CONFIG_USB_ATMEL_USBA=m
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_GADGETFS=m
|
||||
CONFIG_USB_CDC_COMPOSITE=m
|
||||
CONFIG_USB_G_ACM_MS=m
|
||||
CONFIG_USB_G_MULTI=m
|
||||
CONFIG_USB_G_MULTI_CDC=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_ATMELMCI=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_AT91RM9200=y
|
||||
CONFIG_RTC_DRV_AT91SAM9=y
|
||||
CONFIG_DMADEVICES=y
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_CODEPAGE_850=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_STRIP_ASM_SYMS=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_CRYPTO=y
|
||||
CONFIG_CRYPTO_ECB=y
|
||||
CONFIG_CRYPTO_AES=y
|
||||
CONFIG_CRYPTO_ARC4=y
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_USER_API_HASH=m
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=m
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC_CCITT=m
|
||||
CONFIG_CRC_ITU_T=m
|
||||
CONFIG_CRC7=m
|
||||
CONFIG_AVERAGE=y
|
||||
28
board/telit/evk-pro3/readme.txt
Normal file
28
board/telit/evk-pro3/readme.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
Buildroot board support for Telit EVK-PRO3 with Telit GE863-PRO3
|
||||
|
||||
Official site:
|
||||
http://www.telit.com/en/products.php?p_id=3&p_ac=show&p=10
|
||||
|
||||
Build images:
|
||||
make telit_evk_pro3_defconfig
|
||||
make
|
||||
|
||||
images built:
|
||||
- output/images/barebox.bin
|
||||
- output/images/zImage
|
||||
- output/images/rootfs.ubi
|
||||
|
||||
|
||||
Flash built images:
|
||||
The first time you need to bootstrap from Telit Official Release 221.07.1007,
|
||||
at the U-Boot prompt type:
|
||||
U-Boot> loadb
|
||||
send buildroot/output/images/barebox.bin
|
||||
U-Boot> go 0x20200000
|
||||
|
||||
flash updated images using barebox through tftp:
|
||||
barebox:/ erase dev/self0; cp /mnt/tftp/barebox.bin /dev/self0
|
||||
barebox:/ erase /dev/nand0.kernel.bb; cp /mnt/tftp/zImage /dev/nand0.kernel.bb
|
||||
barebox:/ erase /dev/nand0.rootfs.bb; cp /mnt/tftp/rootfs.ubi /dev/nand0.rootfs.bb
|
||||
barebox:/ erase dev/env0
|
||||
barebox:/ reset
|
||||
@@ -31,7 +31,7 @@ AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
|
||||
endif
|
||||
|
||||
define AT91BOOTSTRAP_BUILD_CMDS
|
||||
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
|
||||
$(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
|
||||
endef
|
||||
|
||||
define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS
|
||||
|
||||
@@ -12,7 +12,7 @@ choice
|
||||
Select the specific Barebox version you want to use
|
||||
|
||||
config BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
bool "2013.05.0"
|
||||
bool "2013.05.1"
|
||||
|
||||
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -40,7 +40,7 @@ endif
|
||||
|
||||
config BR2_TARGET_BAREBOX_VERSION
|
||||
string
|
||||
default "2013.05.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default "2013.05.1" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default $BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
|
||||
|
||||
32
configs/at91sam9260eknf_defconfig
Normal file
32
configs/at91sam9260eknf_defconfig
Normal file
@@ -0,0 +1,32 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# Toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.9.1"
|
||||
|
||||
# System
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
||||
|
||||
# Packages
|
||||
BR2_PACKAGE_HOST_SAM_BA=y
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_UBIFS=y
|
||||
BR2_TARGET_ROOTFS_UBI=y
|
||||
|
||||
# Bootloaders
|
||||
BR2_TARGET_AT91BOOTSTRAP=y
|
||||
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
|
||||
BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y
|
||||
BR2_TARGET_BAREBOX=y
|
||||
BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek"
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/atmel/at91sam9260ek/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
@@ -20,6 +20,6 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="exynos4"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -16,7 +16,7 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -20,6 +20,6 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_LINUX_BIN=y
|
||||
|
||||
@@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_LINUX_BIN=y
|
||||
|
||||
@@ -16,7 +16,7 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_8=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.10"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.13"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/powerpc-g3beige/linux-3.8.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
@@ -12,7 +12,7 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ BR2_SOFT_FLOAT=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
|
||||
@@ -15,6 +15,6 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.9.config"
|
||||
|
||||
@@ -16,6 +16,6 @@ BR2_KERNEL_HEADERS_3_9=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.2"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux-3.9.config"
|
||||
|
||||
33
configs/telit_evk_pro3_defconfig
Normal file
33
configs/telit_evk_pro3_defconfig
Normal file
@@ -0,0 +1,33 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# Toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.9.1"
|
||||
|
||||
# System
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
||||
|
||||
# Watchdog is armed by the first stage bootloader
|
||||
BR2_PACKAGE_BUSYBOX_WATCHDOG=y
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_UBIFS=y
|
||||
BR2_TARGET_ROOTFS_UBI=y
|
||||
|
||||
# Bootloader
|
||||
BR2_TARGET_BAREBOX=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2013.04.0"
|
||||
BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR="board/telit/evk-pro3"
|
||||
BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="telit_evk_pro3"
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/telit/evk-pro3/linux-3.9.config"
|
||||
BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="evk-pro3"
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
The code and graphics on this website (and it's mirror sites, if any) are
|
||||
Copyright (c) 1999-2005 by Erik Andersen, 2006-2012 The Buildroot
|
||||
Copyright (c) 1999-2005 by Erik Andersen, 2006-2013 The Buildroot
|
||||
developers. All rights reserved.
|
||||
|
||||
Documents on this Web site including their graphical elements, design, and
|
||||
|
||||
@@ -6,22 +6,23 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2013.02</b>, which can be downloaded
|
||||
The latest stable release is <b>2013.05</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2013.02.tar.gz">buildroot-2013.02.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2013.05.tar.gz">buildroot-2013.05.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2013.02.tar.bz2">buildroot-2013.02.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2013.05.tar.bz2">buildroot-2013.05.tar.bz2</a>.
|
||||
|
||||
<p>
|
||||
The latest release candidate is <b>2013.05-rc1</b>, which can be
|
||||
<!--
|
||||
The latest release candidate is <b>2013.05-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2013.05-rc1.tar.gz">buildroot-2013.05-rc1.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2013.05-rc3.tar.gz">buildroot-2013.05-rc3.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2013.05-rc1.tar.bz2">buildroot-2013.05-rc1.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2013.05-rc3.tar.bz2">buildroot-2013.05-rc3.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<p>
|
||||
<font face="arial, helvetica, sans-serif" size="-1">
|
||||
<a HREF="/copyright.txt">Copyright © 1999-2005 Erik Andersen,
|
||||
2006-2012 The Buildroot developers</a>
|
||||
2006-2013 The Buildroot developers</a>
|
||||
<br>
|
||||
Mail all comments, insults, suggestions and bribes to
|
||||
<br>
|
||||
|
||||
@@ -5,12 +5,48 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>31 May 2013 -- 2013.05 released</b>
|
||||
|
||||
<p>The stable 2013.05 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.05">CHANGES</a>
|
||||
file for more details
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2013.05.tar.bz2">2013.05 release</a>.</p>
|
||||
|
||||
<li><b>25 May 2013 -- 2013.05-rc3 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=2013.05_rc3">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2013.05-rc3.tar.bz2">2013.05-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>15 May 2013 -- 2013.05-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=2013.05_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-2013.05-rc2.tar.bz2">2013.05-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>8 May 2013 -- 2013.05-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=2013.05_rc1">CHANGES</a>
|
||||
file for details.</p>
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2013-May/071737.html">announcement</a>.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2013.05-rc1.tar.bz2">2013.05-rc1
|
||||
|
||||
@@ -49,6 +49,14 @@ e2tunefsck() {
|
||||
tune2fs "$@" "${IMG}"
|
||||
fi
|
||||
|
||||
# genext2fs does not generate a UUID, but fsck will whine if one is
|
||||
# is missing, so we need to add a UUID.
|
||||
# Of course, this has to happend _before_ we run fsck.
|
||||
# Although a random UUID may seem bad for reproducibility, there
|
||||
# already are so many things that are not reproducible in a
|
||||
# filesystem: file dates, file ordering, content of the files...
|
||||
tune2fs -U random "${IMG}"
|
||||
|
||||
# After changing filesystem options, running fsck is required
|
||||
# (see: man tune2fs). Running e2fsck in other cases will ensure
|
||||
# coherency of the filesystem, although it is not required.
|
||||
@@ -69,12 +77,10 @@ e2tunefsck() {
|
||||
printf "\ne2fsck was successfully run on '%s' (ext%d)\n\n" \
|
||||
"${IMG##*/}" "${GEN}"
|
||||
|
||||
# e2fsck will force a *random* UUID, which is bad
|
||||
# for reproducibility, so we do not want it.
|
||||
# Remove count- and time-based checks, they are not welcome
|
||||
# on embedded devices, where they can cause serious boot-time
|
||||
# issues by tremendously slowing down the boot.
|
||||
tune2fs -U clear -c 0 -i 0 "${IMG}"
|
||||
tune2fs -c 0 -i 0 "${IMG}"
|
||||
}
|
||||
|
||||
# Check we know what generation to generate
|
||||
|
||||
@@ -21,7 +21,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "3.9.1"
|
||||
bool "3.9.4"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -76,7 +76,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.9.1" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "3.9.4" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
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
|
||||
|
||||
@@ -34,7 +34,7 @@ endif
|
||||
LINUX_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
|
||||
|
||||
LINUX_INSTALL_IMAGES = YES
|
||||
LINUX_DEPENDENCIES += host-module-init-tools
|
||||
LINUX_DEPENDENCIES += host-module-init-tools host-lzop
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL_UBOOT_IMAGE),y)
|
||||
LINUX_DEPENDENCIES += host-uboot-tools
|
||||
|
||||
@@ -7,11 +7,12 @@ endif
|
||||
HOSTMAKE :=$(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make)
|
||||
|
||||
# If BR2_LEVEL is 0, scale the maximum concurrency with the number of
|
||||
# CPUs. A coefficient of 2 is used in order to keep processors busy
|
||||
# CPUs. An additional job is used in order to keep processors busy
|
||||
# while waiting on I/O.
|
||||
# If the number of processors is not available, assume one.
|
||||
ifeq ($(BR2_JLEVEL),0)
|
||||
PARALLEL_JOBS:=$(shell echo \
|
||||
$$((2 * `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
|
||||
$$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`)))
|
||||
else
|
||||
PARALLEL_JOBS:=$(BR2_JLEVEL)
|
||||
endif
|
||||
|
||||
@@ -26,7 +26,7 @@ endef
|
||||
define ACPID_UNINSTALL_TARGET_CMDS
|
||||
rm -f $(TARGET_DIR)/usr/sbin/acpid
|
||||
rm -f $(TARGET_DIR)/usr/bin/acpi_listen
|
||||
rm -f $(addprefix )$(TARGET_DIR)/usr/share/man/man8/,acpid.8 acpi_listen.8)
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/share/man/man8/,acpid.8 acpi_listen.8)
|
||||
endef
|
||||
|
||||
define ACPID_CLEAN_CMDS
|
||||
|
||||
@@ -20,9 +20,12 @@ else
|
||||
AIRCRACK_NG_MAKE_OPTS = sqlite=false
|
||||
endif
|
||||
|
||||
AIRCRACK_NG_LDFLAGS = $(TARGET_LDFLAGS) -lz \
|
||||
$(if $(BR2_PREFER_STATIC_LIB),-ldl -lpthread)
|
||||
|
||||
define AIRCRACK_NG_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -lz" \
|
||||
LDFLAGS="$(AIRCRACK_NG_LDFLAGS)" \
|
||||
-C $(@D) $(AIRCRACK_NG_MAKE_OPTS) all
|
||||
endef
|
||||
|
||||
|
||||
@@ -3,10 +3,13 @@
|
||||
# atk
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ATK_VERSION_MAJOR = 1.33
|
||||
ATK_VERSION = $(ATK_VERSION_MAJOR).6
|
||||
ATK_SOURCE = atk-$(ATK_VERSION).tar.bz2
|
||||
ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR)/
|
||||
ATK_LICENSE = LGPLv2+
|
||||
ATK_LICENSE_FILES = COPYING
|
||||
ATK_INSTALL_STAGING = YES
|
||||
ATK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@ config BR2_PACKAGE_BOOST_CHRONO
|
||||
|
||||
config BR2_PACKAGE_BOOST_CONTEXT
|
||||
bool "boost-context"
|
||||
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel \
|
||||
|| BR2_powerpc || BR2_sparc || BR2_x86_64)
|
||||
|
||||
config BR2_PACKAGE_BOOST_DATE_TIME
|
||||
bool "boost-date_time"
|
||||
|
||||
@@ -68,20 +68,24 @@
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define INIT_G() do { \
|
||||
@@ -270,13 +298,6 @@ struct globals {
|
||||
/* We use additional 64+ bytes in make_device() */
|
||||
#define SCRATCH_SIZE 80
|
||||
@@ -267,15 +295,8 @@ struct globals {
|
||||
/* Prevent infinite loops in /sys symlinks */
|
||||
#define MAX_SYSFS_DEPTH 3
|
||||
|
||||
-/* We use additional 64+ bytes in make_device() */
|
||||
-#define SCRATCH_SIZE 80
|
||||
-
|
||||
-#if 0
|
||||
-# define dbg(...) bb_error_msg(__VA_ARGS__)
|
||||
-#else
|
||||
-# define dbg(...) ((void)0)
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
+/* We use additional bytes in make_device() */
|
||||
+#define SCRATCH_SIZE 128
|
||||
|
||||
#if ENABLE_FEATURE_MDEV_CONF
|
||||
|
||||
static void make_default_cur_rule(void)
|
||||
@@ -288,14 +309,65 @@ static void make_default_cur_rule(void)
|
||||
|
||||
static void clean_up_cur_rule(void)
|
||||
@@ -233,37 +237,91 @@
|
||||
#else
|
||||
|
||||
# define next_rule() (&G.cur_rule)
|
||||
@@ -479,9 +569,6 @@ static void make_device(char *device_nam
|
||||
@@ -468,7 +558,7 @@ static char *build_alias(char *alias, co
|
||||
|
||||
/* mknod in /dev based on a path like "/sys/block/hda/hda1"
|
||||
* NB1: path parameter needs to have SCRATCH_SIZE scratch bytes
|
||||
- * after NUL, but we promise to not mangle (IOW: to restore if needed)
|
||||
+ * after NUL, but we promise to not mangle (IOW: to restore NUL if needed)
|
||||
* path string.
|
||||
* NB2: "mdev -s" may call us many times, do not leak memory/fds!
|
||||
*
|
||||
@@ -478,9 +568,7 @@ static char *build_alias(char *alias, co
|
||||
static void make_device(char *device_name, char *path, int operation)
|
||||
{
|
||||
int major, minor, type, len;
|
||||
|
||||
-
|
||||
- if (G.verbose)
|
||||
- bb_error_msg("device: %s, %s", device_name, path);
|
||||
-
|
||||
+ char *path_end = path + strlen(path);
|
||||
|
||||
/* Try to read major/minor string. Note that the kernel puts \n after
|
||||
* the data, so we don't need to worry about null terminating the string
|
||||
* because sscanf() will stop at the first nondigit, which \n is.
|
||||
@@ -500,8 +587,7 @@ static void make_device(char *device_nam
|
||||
@@ -489,29 +577,51 @@ static void make_device(char *device_nam
|
||||
*/
|
||||
major = -1;
|
||||
if (operation == OP_add) {
|
||||
- char *dev_maj_min = path + strlen(path);
|
||||
-
|
||||
- strcpy(dev_maj_min, "/dev");
|
||||
- len = open_read_close(path, dev_maj_min + 1, 64);
|
||||
- *dev_maj_min = '\0';
|
||||
+ strcpy(path_end, "/dev");
|
||||
+ len = open_read_close(path, path_end + 1, SCRATCH_SIZE - 1);
|
||||
+ *path_end = '\0';
|
||||
if (len < 1) {
|
||||
if (!ENABLE_FEATURE_MDEV_EXEC)
|
||||
return;
|
||||
/* no "dev" file, but we can still run scripts
|
||||
* based on device name */
|
||||
} else if (sscanf(++dev_maj_min, "%u:%u", &major, &minor) == 2) {
|
||||
- } else if (sscanf(++dev_maj_min, "%u:%u", &major, &minor) == 2) {
|
||||
- if (G.verbose)
|
||||
- bb_error_msg("maj,min: %u,%u", major, minor);
|
||||
+ } else if (sscanf(path_end + 1, "%u:%u", &major, &minor) == 2) {
|
||||
+ dbg1("dev %u,%u", major, minor);
|
||||
} else {
|
||||
major = -1;
|
||||
}
|
||||
@@ -511,7 +597,8 @@ static void make_device(char *device_nam
|
||||
/* Determine device name, type, major and minor */
|
||||
if (!device_name)
|
||||
device_name = (char*) bb_basename(path);
|
||||
}
|
||||
/* else: for delete, -1 still deletes the node, but < -1 suppresses that */
|
||||
|
||||
- /* Determine device name, type, major and minor */
|
||||
- if (!device_name)
|
||||
- device_name = (char*) bb_basename(path);
|
||||
- /* http://kernel.org/doc/pending/hotplug.txt says that only
|
||||
+ /* Determine device name */
|
||||
+ if (!device_name) {
|
||||
+ /*
|
||||
+ * There was no $DEVNAME envvar (for example, mdev -s never has).
|
||||
+ * But it is very useful: it contains the *path*, not only basename,
|
||||
+ * Thankfully, uevent file has it.
|
||||
+ * Example of .../sound/card0/controlC0/uevent file on Linux-3.7.7:
|
||||
+ * MAJOR=116
|
||||
+ * MINOR=7
|
||||
+ * DEVNAME=snd/controlC0
|
||||
+ */
|
||||
+ strcpy(path_end, "/uevent");
|
||||
+ len = open_read_close(path, path_end + 1, SCRATCH_SIZE - 1);
|
||||
+ if (len < 0)
|
||||
+ len = 0;
|
||||
+ *path_end = '\0';
|
||||
+ path_end[1 + len] = '\0';
|
||||
+ device_name = strstr(path_end + 1, "\nDEVNAME=");
|
||||
+ if (device_name) {
|
||||
+ device_name += sizeof("\nDEVNAME=")-1;
|
||||
+ strchrnul(device_name, '\n')[0] = '\0';
|
||||
+ } else {
|
||||
+ /* Fall back to just basename */
|
||||
+ device_name = (char*) bb_basename(path);
|
||||
+ }
|
||||
+ }
|
||||
+ /* Determine device type */
|
||||
+ /*
|
||||
+ * http://kernel.org/doc/pending/hotplug.txt says that only
|
||||
* "/sys/block/..." is for block devices. "/sys/bus" etc is not.
|
||||
* But since 2.6.25 block devices are also in /sys/class/block.
|
||||
* We use strstr("/block/") to forestall future surprises.
|
||||
@@ -537,6 +624,8 @@ static void make_device(char *device_nam
|
||||
@@ -537,6 +647,8 @@ static void make_device(char *device_nam
|
||||
rule = next_rule();
|
||||
|
||||
#if ENABLE_FEATURE_MDEV_CONF
|
||||
@@ -272,7 +330,7 @@
|
||||
if (rule->maj >= 0) { /* @maj,min rule */
|
||||
if (major != rule->maj)
|
||||
continue;
|
||||
@@ -547,7 +636,7 @@ static void make_device(char *device_nam
|
||||
@@ -547,7 +659,7 @@ static void make_device(char *device_nam
|
||||
}
|
||||
if (rule->envvar) { /* $envvar=regex rule */
|
||||
str_to_match = getenv(rule->envvar);
|
||||
@@ -281,7 +339,7 @@
|
||||
if (!str_to_match)
|
||||
continue;
|
||||
}
|
||||
@@ -555,7 +644,7 @@ static void make_device(char *device_nam
|
||||
@@ -555,7 +667,7 @@ static void make_device(char *device_nam
|
||||
|
||||
if (rule->regex_compiled) {
|
||||
int regex_match = regexec(&rule->match, str_to_match, ARRAY_SIZE(off), off, 0);
|
||||
@@ -290,7 +348,7 @@
|
||||
//bb_error_msg("matches:");
|
||||
//for (int i = 0; i < ARRAY_SIZE(off); i++) {
|
||||
// if (off[i].rm_so < 0) continue;
|
||||
@@ -574,9 +663,8 @@ static void make_device(char *device_nam
|
||||
@@ -574,9 +686,8 @@ static void make_device(char *device_nam
|
||||
}
|
||||
/* else: it's final implicit "match-all" rule */
|
||||
rule_matches:
|
||||
@@ -301,7 +359,7 @@
|
||||
/* Build alias name */
|
||||
alias = NULL;
|
||||
if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) {
|
||||
@@ -619,34 +707,30 @@ static void make_device(char *device_nam
|
||||
@@ -619,34 +730,30 @@ static void make_device(char *device_nam
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -344,7 +402,7 @@
|
||||
}
|
||||
|
||||
if (operation == OP_add && major >= 0) {
|
||||
@@ -656,8 +740,17 @@ static void make_device(char *device_nam
|
||||
@@ -656,8 +763,17 @@ static void make_device(char *device_nam
|
||||
mkdir_recursive(node_name);
|
||||
*slash = '/';
|
||||
}
|
||||
@@ -364,7 +422,7 @@
|
||||
if (mknod(node_name, rule->mode | type, makedev(major, minor)) && errno != EEXIST)
|
||||
bb_perror_msg("can't create '%s'", node_name);
|
||||
if (ENABLE_FEATURE_MDEV_CONF) {
|
||||
@@ -671,8 +764,7 @@ static void make_device(char *device_nam
|
||||
@@ -671,8 +787,7 @@ static void make_device(char *device_nam
|
||||
//TODO: on devtmpfs, device_name already exists and symlink() fails.
|
||||
//End result is that instead of symlink, we have two nodes.
|
||||
//What should be done?
|
||||
@@ -374,7 +432,7 @@
|
||||
symlink(node_name, device_name);
|
||||
}
|
||||
}
|
||||
@@ -681,27 +773,21 @@ static void make_device(char *device_nam
|
||||
@@ -681,27 +796,21 @@ static void make_device(char *device_nam
|
||||
if (ENABLE_FEATURE_MDEV_EXEC && command) {
|
||||
/* setenv will leak memory, use putenv/unsetenv/free */
|
||||
char *s = xasprintf("%s=%s", "MDEV", node_name);
|
||||
@@ -405,7 +463,7 @@
|
||||
unlink(node_name);
|
||||
}
|
||||
|
||||
@@ -746,9 +832,16 @@ static int FAST_FUNC dirAction(const cha
|
||||
@@ -746,9 +855,16 @@ static int FAST_FUNC dirAction(const cha
|
||||
* under /sys/class/ */
|
||||
if (1 == depth) {
|
||||
free(G.subsystem);
|
||||
@@ -423,7 +481,7 @@
|
||||
}
|
||||
|
||||
return (depth >= MAX_SYSFS_DEPTH ? SKIP : TRUE);
|
||||
@@ -813,12 +906,107 @@ static void load_firmware(const char *fi
|
||||
@@ -813,12 +929,107 @@ static void load_firmware(const char *fi
|
||||
full_write(loading_fd, "-1", 2);
|
||||
|
||||
out:
|
||||
@@ -531,7 +589,7 @@
|
||||
int mdev_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int mdev_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
@@ -840,8 +1028,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
@@ -840,8 +1051,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
xchdir("/dev");
|
||||
|
||||
if (argv[1] && strcmp(argv[1], "-s") == 0) {
|
||||
@@ -542,7 +600,7 @@
|
||||
*/
|
||||
struct stat st;
|
||||
|
||||
@@ -853,6 +1041,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
@@ -853,6 +1064,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
G.root_major = major(st.st_dev);
|
||||
G.root_minor = minor(st.st_dev);
|
||||
|
||||
@@ -551,7 +609,7 @@
|
||||
/* ACTION_FOLLOWLINKS is needed since in newer kernels
|
||||
* /sys/block/loop* (for example) are symlinks to dirs,
|
||||
* not real directories.
|
||||
@@ -878,11 +1068,13 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
@@ -878,11 +1091,13 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
char *action;
|
||||
char *env_devname;
|
||||
char *env_devpath;
|
||||
@@ -566,7 +624,7 @@
|
||||
* DEVPATH is like "/block/sda" or "/class/input/mice"
|
||||
*/
|
||||
action = getenv("ACTION");
|
||||
@@ -893,39 +1085,20 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
@@ -893,39 +1108,20 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
if (!action || !env_devpath /*|| !G.subsystem*/)
|
||||
bb_show_usage();
|
||||
fw = getenv("FIRMWARE");
|
||||
@@ -618,7 +676,7 @@
|
||||
|
||||
snprintf(temp, PATH_MAX, "/sys%s", env_devpath);
|
||||
if (op == OP_remove) {
|
||||
@@ -935,16 +1108,18 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
@@ -935,16 +1131,18 @@ int mdev_main(int argc UNUSED_PARAM, cha
|
||||
if (!fw)
|
||||
make_device(env_devname, temp, op);
|
||||
}
|
||||
|
||||
11
package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
Normal file
11
package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- busybox-1.21.0/util-linux/volume_id/ntfs.c
|
||||
+++ busybox-1.21.0-ntfs/util-linux/volume_id/ntfs.c
|
||||
@@ -150,7 +150,7 @@ int FAST_FUNC volume_id_probe_ntfs(struc
|
||||
|
||||
attr = (struct file_attribute*) &buf[attr_off];
|
||||
attr_type = le32_to_cpu(attr->type);
|
||||
- attr_len = le16_to_cpu(attr->len);
|
||||
+ attr_len = le32_to_cpu(attr->len);
|
||||
val_off = le16_to_cpu(attr->value_offset);
|
||||
val_len = le32_to_cpu(attr->value_len);
|
||||
attr_off += attr_len;
|
||||
@@ -36,6 +36,10 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no gl_cv_c_restrict=no
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
CAIRO_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DCAIRO_NO_MUTEX=1"
|
||||
endif
|
||||
|
||||
CAIRO_CONF_OPT = \
|
||||
--enable-trace=no \
|
||||
--enable-interpreter=no
|
||||
|
||||
@@ -8,6 +8,10 @@ CLASSPATH_CONF_OPT = \
|
||||
--disable-gconf-peer \
|
||||
--disable-tools
|
||||
|
||||
# classpath assumes qt runs on top of X11, but we
|
||||
# don't support qt4 on X11
|
||||
CLASSPATH_CONF_OPT += --disable-qt-peer
|
||||
|
||||
CLASSPATH_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
@@ -39,13 +43,6 @@ else
|
||||
CLASSPATH_CONF_OPT += --disable-gtk-peer --disable-gstreamer-peer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT),y)
|
||||
CLASSPATH_CONF_OPT += --enable-qt-peer
|
||||
CLASSPATH_DEPENDENCIES += qt
|
||||
else
|
||||
CLASSPATH_CONF_OPT += --disable-qt-peer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy)
|
||||
CLASSPATH_CONF_OPT += --enable-xmlj
|
||||
CLASSPATH_DEPENDENCIES += libxml2 libxslt
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_CRDA
|
||||
bool "crda"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
select BR2_PACKAGE_LIBNL
|
||||
# regdb is a runtime dependency
|
||||
@@ -13,3 +14,6 @@ config BR2_PACKAGE_CRDA
|
||||
may operate within for a given location.
|
||||
|
||||
http://linuxwireless.org/en/developers/Regulatory/CRDA
|
||||
|
||||
comment "crda requires a toolchain with thread support"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
CURLFTPFS_VERSION = 0.9.2
|
||||
CURLFTPFS_SITE = http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/$(CURLFTPFS_VERSION)
|
||||
CURLFTPFS_CONF_ENV = ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config
|
||||
CURLFTPFS_DEPENDENCIES = \
|
||||
libglib2 libfuse openssl libcurl \
|
||||
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
|
||||
|
||||
@@ -6,6 +6,10 @@ config BR2_PACKAGE_CZMQ
|
||||
depends on BR2_LARGEFILE # util-linux
|
||||
depends on BR2_USE_WCHAR # util-linux
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
|
||||
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
|
||||
# support
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
|
||||
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
|
||||
help
|
||||
High-level C Binding for 0MQ
|
||||
|
||||
|
||||
@@ -14,6 +14,10 @@ CZMQ_DEPENDENCIES = zeromq
|
||||
CZMQ_LICENSE = LGPLv3+ with exceptions
|
||||
CZMQ_LICENSE_FILES = COPYING COPYING.LESSER
|
||||
|
||||
# asciidoc is a python script that imports unicodedata, which is not in
|
||||
# host-python, so disable asciidoc entirely.
|
||||
CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
|
||||
|
||||
define CZMQ_CREATE_CONFIG_DIR
|
||||
mkdir -p $(@D)/config
|
||||
endef
|
||||
|
||||
@@ -3,8 +3,11 @@
|
||||
# dbus
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DBUS_VERSION = 1.4.24
|
||||
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
|
||||
DBUS_LICENSE = AFLv2.1 GPLv2+
|
||||
DBUS_LICENSE_FILES = COPYING
|
||||
DBUS_INSTALL_STAGING = YES
|
||||
|
||||
DBUS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
@@ -8,12 +8,13 @@ config BR2_PACKAGE_DVB_APPS
|
||||
|
||||
if BR2_PACKAGE_DVB_APPS
|
||||
|
||||
comment "dvb-apps utils needs LARGEFILE support in the toolchain"
|
||||
depends on !BR2_LARGEFILE
|
||||
comment "dvb-apps utils needs a toolchain with LARGEFILE and THREADS support"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_DVB_APPS_UTILS
|
||||
bool "dvb-apps utilities"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
A small number of DVB test and utility programs,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
F2FS_TOOLS_VERSION = e3eadd686ed1da1828f32977a36b694bc0090f4e
|
||||
F2FS_TOOLS_VERSION = fef98ebdf3a7728017cb3d0ae4ffedc5405e531d
|
||||
F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
|
||||
F2FS_TOOLS_SITE_METHOD = git
|
||||
F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_FAN_CTRL
|
||||
bool "fan-ctrl"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Fan-ctrl is a little daemon that controls the speed of one
|
||||
or more system or CPU fans. It does so by monitoring
|
||||
|
||||
@@ -8,6 +8,10 @@ config BR2_PACKAGE_FILEMQ
|
||||
depends on BR2_LARGEFILE # util-linux
|
||||
depends on BR2_USE_WCHAR # util-linux
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
|
||||
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
|
||||
# support, which is needed by czmq
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
|
||||
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
|
||||
help
|
||||
FileMQ is a publish-subscribe file service based on 0MQ.
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ FILEMQ_VERSION = 8fac5140dd
|
||||
FILEMQ_SITE = git://github.com/zeromq/filemq.git
|
||||
|
||||
FILEMQ_AUTORECONF = YES
|
||||
FILEMQ_CONF_ENV = fmq_have_asciidoc=no
|
||||
FILEMQ_INSTALL_STAGING = YES
|
||||
FILEMQ_DEPENDENCIES = czmq openssl zeromq
|
||||
FILEMQ_LICENSE = LGPLv3+ with exceptions
|
||||
|
||||
@@ -12,5 +12,11 @@ config BR2_PACKAGE_FLEX_BINARY
|
||||
# needs fork()
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_FLEX
|
||||
# runtime dependency
|
||||
select BR2_PACKAGE_M4
|
||||
depends on BR2_USE_WCHAR # m4
|
||||
help
|
||||
Install the flex binary tool in the target filesystem.
|
||||
|
||||
comment "flex binary requires a toolchain with WCHAR support"
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
@@ -11,6 +11,7 @@ FLEX_LICENSE = FLEX
|
||||
FLEX_LICENSE_FILES = COPYING
|
||||
FLEX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
|
||||
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
|
||||
# we don't have a host-gettext/libintl
|
||||
HOST_FLEX_DEPENDENCIES = host-m4
|
||||
|
||||
|
||||
@@ -25,11 +25,32 @@ config BR2_PACKAGE_FLOT_CANVAS
|
||||
help
|
||||
Flot plugin to render axis tick labels directly to the canvas
|
||||
|
||||
config BR2_PACKAGE_FLOT_CATEGORIES
|
||||
bool "categories"
|
||||
help
|
||||
Flot plugin for plotting textual data or categories
|
||||
|
||||
config BR2_PACKAGE_FLOT_CROSSHAIR
|
||||
bool "crosshair"
|
||||
help
|
||||
Flot plugin for showing crosshairs when the mouse hovers
|
||||
over the plot
|
||||
|
||||
config BR2_PACKAGE_FLOT_ERRORBARS
|
||||
bool "errorbars"
|
||||
help
|
||||
Flot plugin for plotting error bars
|
||||
|
||||
config BR2_PACKAGE_FLOT_FILLBETWEEN
|
||||
bool "fillbetween"
|
||||
help
|
||||
Flot plugin for computing bottoms for filled line and bar charts
|
||||
|
||||
config BR2_PACKAGE_FLOT_IMAGE
|
||||
bool "image"
|
||||
help
|
||||
Flot plugin for plotting images
|
||||
|
||||
config BR2_PACKAGE_FLOT_NAVIGATE
|
||||
bool "navigate"
|
||||
help
|
||||
@@ -66,4 +87,9 @@ config BR2_PACKAGE_FLOT_THRESHOLD
|
||||
help
|
||||
Flot plugin for thresholding data
|
||||
|
||||
config BR2_PACKAGE_FLOT_TIME
|
||||
bool "time"
|
||||
help
|
||||
Flot plugin for handling time axes
|
||||
|
||||
endif
|
||||
|
||||
@@ -4,7 +4,11 @@ FLOT_LICENSE = MIT
|
||||
FLOT_LICENSE_FILES = LICENSE.txt
|
||||
FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
|
||||
$(if $(BR2_PACKAGE_FLOT_CANVAS),canvas) \
|
||||
$(if $(BR2_PACKAGE_FLOT_CATEGORIES),categories) \
|
||||
$(if $(BR2_PACKAGE_FLOT_CROSSHAIR),crosshair) \
|
||||
$(if $(BR2_PACKAGE_FLOT_ERRORBARS),errorbars) \
|
||||
$(if $(BR2_PACKAGE_FLOT_FILLBETWEEN),fillbetween) \
|
||||
$(if $(BR2_PACKAGE_FLOT_IMAGE),image) \
|
||||
$(if $(BR2_PACKAGE_FLOT_NAVIGATE),navigate) \
|
||||
$(if $(BR2_PACKAGE_FLOT_PIE),pie) \
|
||||
$(if $(BR2_PACKAGE_FLOT_RESIZE),resize) \
|
||||
@@ -12,6 +16,7 @@ FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
|
||||
$(if $(BR2_PACKAGE_FLOT_STACK),stack) \
|
||||
$(if $(BR2_PACKAGE_FLOT_SYMBOL),symbol) \
|
||||
$(if $(BR2_PACKAGE_FLOT_THRESHOLD),threshold) \
|
||||
$(if $(BR2_PACKAGE_FLOT_TIME),time) \
|
||||
)
|
||||
|
||||
define FLOT_INSTALL_TARGET_CMDS
|
||||
|
||||
@@ -21,8 +21,11 @@ GUTENPRINT_DEPENDENCIES = cups host-pkgconf \
|
||||
# so we need to build both a host package and a target package
|
||||
GUTENPRINT_DEPENDENCIES += host-gutenprint
|
||||
|
||||
GUTENPRINT_CONF_ENV = ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config
|
||||
|
||||
GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
|
||||
--disable-samples \
|
||||
--without-doc \
|
||||
--without-gimp2 \
|
||||
--without-foomatic \
|
||||
--without-foomatic3 \
|
||||
@@ -41,6 +44,13 @@ HOST_GUTENPRINT_DEPENDENCIES =
|
||||
# The host-gutenprint shall create the required header
|
||||
HOST_GUTENPRINT_MAKE_ENV =
|
||||
|
||||
# Even with --without-cups, gutenprint will still add the output of
|
||||
# cups-config --cflags / --ldflags to it's compiler/linker flags if
|
||||
# available on host.
|
||||
# Notice: Because of the configure logic, it needs to be set to the
|
||||
# empty string to to disable this, not just to /bin/false like elsewhere.
|
||||
HOST_GUTENPRINT_CONF_ENV = ac_cv_path_CUPS_CONFIG=''
|
||||
|
||||
HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
|
||||
--disable-samples \
|
||||
--without-gimp2 \
|
||||
@@ -51,7 +61,8 @@ HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
|
||||
--without-foomatic3 \
|
||||
--disable-escputil \
|
||||
--disable-test \
|
||||
--disable-testpattern
|
||||
--disable-testpattern \
|
||||
--without-cups
|
||||
|
||||
# Needed by autoreconf
|
||||
define GUTENPRINT_CREATE_M4_DIR
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_HPLIP
|
||||
bool "hplip"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_CUPS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
@@ -14,5 +15,5 @@ config BR2_PACKAGE_HPLIP
|
||||
|
||||
http://hplipopensource.com/
|
||||
|
||||
comment "hplip requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
comment "hplip requires a toolchain with C++ and thread support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_JAMVM
|
||||
bool "jamvm"
|
||||
depends on BR2_INET_IPV6
|
||||
depends on BR2_arm || BR2_armeb || BR2_i386 \
|
||||
|| BR2_mipsel || BR2_powerpc || BR2_x86_64
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_CLASSPATH
|
||||
help
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
From 2ab6524ca0cfaab7feb42f7c328db8fca7b111fc Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Talis <gilles.talis@gmail.com>
|
||||
Date: Tue, 5 Mar 2013 21:59:11 -0800
|
||||
Subject: [PATCH] Add json_object_iterator.h to installed headers
|
||||
|
||||
Backported from: 4154c55edae6f6b34d6ef4fcc331055fdf8e1a23
|
||||
|
||||
In addition to original patch, applied the same change to Makefile.in
|
||||
to avoid having the package to be autoreconfigured.
|
||||
|
||||
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
|
||||
---
|
||||
Makefile.am | 1 +
|
||||
Makefile.in | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index d4a7bbb..8f09ca8 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -17,6 +17,7 @@ libjsoninclude_HEADERS = \
|
||||
json_config.h \
|
||||
json_inttypes.h \
|
||||
json_object.h \
|
||||
+ json_object_iterator.h \
|
||||
json_object_private.h \
|
||||
json_tokener.h \
|
||||
json_util.h \
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index c06db3e..9d924cd 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -278,6 +278,7 @@ libjsoninclude_HEADERS = \
|
||||
json_config.h \
|
||||
json_inttypes.h \
|
||||
json_object.h \
|
||||
+ json_object_iterator.h \
|
||||
json_object_private.h \
|
||||
json_tokener.h \
|
||||
json_util.h \
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -13,19 +13,32 @@ Index: b/Makefile.am.inc
|
||||
--- a/Makefile.am.inc
|
||||
+++ b/Makefile.am.inc
|
||||
@@ -1,2 +1,2 @@
|
||||
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE
|
||||
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
|
||||
|
||||
Index: b/Makefile.in
|
||||
===================================================================
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -263,7 +263,7 @@
|
||||
@@ -274,7 +274,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE
|
||||
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
|
||||
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
|
||||
SUBDIRS = . tests
|
||||
lib_LTLIBRARIES = libjson.la
|
||||
lib_LTLIBRARIES = libjson-c.la $(am__append_1)
|
||||
Index: b/tests/Makefile.in
|
||||
===================================================================
|
||||
--- a/tests/Makefile.in
|
||||
+++ b/tests/Makefile.in
|
||||
@@ -228,7 +228,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
|
||||
LIBJSON_LA = $(top_builddir)/libjson-c.la
|
||||
test1_LDADD = $(LIBJSON_LA)
|
||||
test1Formatted_LDADD = $(LIBJSON_LA)
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JSON_C_VERSION = 0.10
|
||||
JSON_C_SITE = https://github.com/downloads/json-c/json-c
|
||||
JSON_C_VERSION = 0.11
|
||||
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases/
|
||||
JSON_C_INSTALL_STAGING = YES
|
||||
JSON_C_MAKE = $(MAKE1)
|
||||
JSON_C_CONF_OPT = --disable-oldname-compat
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
31
package/kmod/kmod-001-no-syscall--1.patch
Normal file
31
package/kmod/kmod-001-no-syscall--1.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
From 5eac795b8b067842caec32f96d55a7554c3c67f9 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Luebbe <jlu@pengutronix.de>
|
||||
Date: Thu, 02 May 2013 14:47:12 +0000
|
||||
Subject: libkmod: Avoid calling syscall() with -1
|
||||
|
||||
At least in qemu 1.4.1 for vexpress/arm-cortexa9, this resulted in an
|
||||
illegal instruction error. Solve that by returning an error when
|
||||
__NR_finit_module is -1.
|
||||
---
|
||||
diff --git a/libkmod/missing.h b/libkmod/missing.h
|
||||
index edb88b9..b45bbe2 100644
|
||||
--- a/libkmod/missing.h
|
||||
+++ b/libkmod/missing.h
|
||||
@@ -20,8 +20,15 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FINIT_MODULE
|
||||
+#include <errno.h>
|
||||
+
|
||||
static inline int finit_module(int fd, const char *uargs, int flags)
|
||||
{
|
||||
+ if (__NR_finit_module == -1) {
|
||||
+ errno = ENOSYS;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
return syscall(__NR_finit_module, fd, uargs, flags);
|
||||
}
|
||||
#endif
|
||||
--
|
||||
cgit v0.9.2
|
||||
@@ -0,0 +1,41 @@
|
||||
From 7e940ce34ff4de254d460344f1a1a486a14fb045 Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Talis <gilles.talis@gmail.com>
|
||||
Date: Wed, 22 May 2013 16:21:26 -0700
|
||||
Subject: [PATCH] Fix build failure seen when using toolchain without threads support
|
||||
|
||||
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
|
||||
---
|
||||
src/atomic_ops.c | 4 ++++
|
||||
1 files changed, 4 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/src/atomic_ops.c b/src/atomic_ops.c
|
||||
index b6731a2..5769643 100644
|
||||
--- a/src/atomic_ops.c
|
||||
+++ b/src/atomic_ops.c
|
||||
@@ -48,7 +48,9 @@
|
||||
|
||||
#undef AO_REQUIRE_CAS
|
||||
|
||||
+#if defined(AO_USE_PTHREAD_DEFS)
|
||||
#include <pthread.h>
|
||||
+#endif
|
||||
|
||||
#ifndef AO_USE_NO_SIGNALS
|
||||
# include <signal.h>
|
||||
@@ -72,11 +74,13 @@
|
||||
# include "atomic_ops/sysdeps/standard_ao_double_t.h"
|
||||
#endif
|
||||
|
||||
+#if defined(AO_USE_PTHREAD_DEFS)
|
||||
/*
|
||||
* Lock for pthreads-based implementation.
|
||||
*/
|
||||
|
||||
pthread_mutex_t AO_pt_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* Out of line compare-and-swap emulation based on test and set.
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
@@ -7,6 +7,16 @@
|
||||
LIBATOMIC_OPS_VERSION = 7.2
|
||||
LIBATOMIC_OPS_SOURCE = libatomic_ops-$(LIBATOMIC_OPS_VERSION).tar.gz
|
||||
LIBATOMIC_OPS_SITE = http://www.hpl.hp.com/research/linux/atomic_ops/download
|
||||
|
||||
# From doc/LICENSING.txt: "Our intent is to make it easy to use
|
||||
# libatomic_ops, in both free and proprietary software. Hence most
|
||||
# code that we expect to be linked into a client application is
|
||||
# covered by an MIT-style license. A few library routines are covered
|
||||
# by the GNU General Public License. These are put into a separate
|
||||
# library, libatomic_ops_gpl.a."
|
||||
LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension)
|
||||
LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt doc/COPYING
|
||||
|
||||
LIBATOMIC_OPS_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
57
package/libcurl/libcurl-02-CVE-2013-1944.patch
Normal file
57
package/libcurl/libcurl-02-CVE-2013-1944.patch
Normal file
@@ -0,0 +1,57 @@
|
||||
From 3604fde3d3c9b0d0e389e079aecf470d123ba180 Mon Sep 17 00:00:00 2001
|
||||
From: YAMADA Yasuharu <yasuharu.yamada@access-company.com>
|
||||
Date: Thu, 11 Apr 2013 00:17:15 +0200
|
||||
Subject: [PATCH] cookie: fix tailmatching to prevent cross-domain leakage
|
||||
|
||||
Cookies set for 'example.com' could accidentaly also be sent by libcurl
|
||||
to the 'bexample.com' (ie with a prefix to the first domain name).
|
||||
|
||||
This is a security vulnerabilty, CVE-2013-1944.
|
||||
|
||||
Bug: http://curl.haxx.se/docs/adv_20130412.html
|
||||
---
|
||||
lib/cookie.c | 24 +++++++++++++++++++-----
|
||||
1 file changed, 19 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/lib/cookie.c b/lib/cookie.c
|
||||
index 4b9ec0b..a67204e 100644
|
||||
--- a/lib/cookie.c
|
||||
+++ b/lib/cookie.c
|
||||
@@ -118,15 +118,29 @@ static void freecookie(struct Cookie *co)
|
||||
free(co);
|
||||
}
|
||||
|
||||
-static bool tailmatch(const char *little, const char *bigone)
|
||||
+static bool tailmatch(const char *cooke_domain, const char *hostname)
|
||||
{
|
||||
- size_t littlelen = strlen(little);
|
||||
- size_t biglen = strlen(bigone);
|
||||
+ size_t cookie_domain_len = strlen(cooke_domain);
|
||||
+ size_t hostname_len = strlen(hostname);
|
||||
|
||||
- if(littlelen > biglen)
|
||||
+ if(hostname_len < cookie_domain_len)
|
||||
return FALSE;
|
||||
|
||||
- return Curl_raw_equal(little, bigone+biglen-littlelen) ? TRUE : FALSE;
|
||||
+ if(!Curl_raw_equal(cooke_domain, hostname+hostname_len-cookie_domain_len))
|
||||
+ return FALSE;
|
||||
+
|
||||
+ /* A lead char of cookie_domain is not '.'.
|
||||
+ RFC6265 4.1.2.3. The Domain Attribute says:
|
||||
+ For example, if the value of the Domain attribute is
|
||||
+ "example.com", the user agent will include the cookie in the Cookie
|
||||
+ header when making HTTP requests to example.com, www.example.com, and
|
||||
+ www.corp.example.com.
|
||||
+ */
|
||||
+ if(hostname_len == cookie_domain_len)
|
||||
+ return TRUE;
|
||||
+ if('.' == *(hostname + hostname_len - cookie_domain_len - 1))
|
||||
+ return TRUE;
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -3,9 +3,12 @@
|
||||
# libdrm
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LIBDRM_VERSION = 2.4.38
|
||||
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
|
||||
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
|
||||
LIBDRM_LICENSE = MIT
|
||||
|
||||
LIBDRM_INSTALL_STAGING = YES
|
||||
|
||||
LIBDRM_DEPENDENCIES = \
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
LIBEXOSIP2_VERSION = 3.6.0
|
||||
LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip/
|
||||
LIBEXOSIP2_INSTALL_STAGING = YES
|
||||
LIBEXOSIP2_LICENSE = GPLv2+
|
||||
LIBEXOSIP2_LICENSE_FILES = COPYING
|
||||
|
||||
LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
|
||||
|
||||
@@ -17,4 +19,7 @@ else
|
||||
LIBEXOSIP2_CONF_OPT += --disable-openssl
|
||||
endif
|
||||
|
||||
LIBEXOSIP2_CONF_OPT += \
|
||||
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Fix gio/gcancellable.c build when thread support is disabled
|
||||
|
||||
Signed-off-by: "Samuel Martin" <s.martin49@gmail.com>
|
||||
---
|
||||
--- a/gio/gcancellable.c 2013-05-14 23:08:25.514461348 +0200
|
||||
+++ b/gio/gcancellable.c 2013-05-14 23:10:23.347789625 +0200
|
||||
@@ -270,8 +270,10 @@ g_cancellable_reset (GCancellable *cance
|
||||
while (priv->cancelled_running)
|
||||
{
|
||||
priv->cancelled_running_waiting = TRUE;
|
||||
+#if defined(G_THREADS_ENABLED)
|
||||
g_cond_wait (cancellable_cond,
|
||||
g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable)));
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (priv->cancelled)
|
||||
@@ -619,8 +621,10 @@ g_cancellable_disconnect (GCancellable
|
||||
while (priv->cancelled_running)
|
||||
{
|
||||
priv->cancelled_running_waiting = TRUE;
|
||||
+#if defined(G_THREADS_ENABLED)
|
||||
g_cond_wait (cancellable_cond,
|
||||
g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable)));
|
||||
+#endif
|
||||
}
|
||||
|
||||
g_signal_handler_disconnect (cancellable, handler_id);
|
||||
@@ -67,6 +67,9 @@ HOST_LIBGLIB2_CONF_OPT = \
|
||||
--disable-tests
|
||||
|
||||
LIBGLIB2_CONF_OPT += --disable-tests
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
LIBGLIB2_CONF_OPT += --with-threads=none --disable-threads
|
||||
endif
|
||||
|
||||
LIBGLIB2_DEPENDENCIES = host-pkgconf host-libglib2 libffi zlib $(if $(BR2_NEEDS_GETTEXT),gettext) host-gettext
|
||||
|
||||
|
||||
@@ -11,4 +11,4 @@ config BR2_PACKAGE_LIBNSPR
|
||||
http://www.mozilla.org/projects/nspr/
|
||||
|
||||
comment "libnspr requires a toolchain with LARGEFILE and threads support"
|
||||
depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -15,5 +15,5 @@ config BR2_PACKAGE_LIBNSS
|
||||
http://www.mozilla.org/projects/security/pki/nss/
|
||||
|
||||
comment "libnss requires a toolchain with LARGEFILE and thread support"
|
||||
depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
|
||||
@@ -7,5 +7,10 @@
|
||||
LIBOSIP2_VERSION = 3.6.0
|
||||
LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip
|
||||
LIBOSIP2_INSTALL_STAGING = YES
|
||||
LIBOSIP2_LICENSE = LGPLv2.1+
|
||||
LIBOSIP2_LICENSE_FILES = COPYING
|
||||
|
||||
LIBOSIP2_CONF_OPT = \
|
||||
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -18,7 +18,7 @@ define LIBPLAYER_CONFIGURE_CMDS
|
||||
--prefix=/usr \
|
||||
--cross-compile \
|
||||
$(SHARED_STATIC_LIBS_OPTS) \
|
||||
$(QUIET) $(LIBPLAYER_CONF_OPT) \
|
||||
$(LIBPLAYER_CONF_OPT) \
|
||||
)
|
||||
endef
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
|
||||
LIBSHA1_VERSION = 0.3
|
||||
LIBSHA1_SITE = http://github.com/dottedmag/libsha1/tarball/$(LIBSHA1_VERSION)
|
||||
LIBSHA1_LICENSE = BSD-3c or GPL
|
||||
LIBSHA1_LICENSE_FILES = COPYING
|
||||
|
||||
LIBSHA1_INSTALL_STAGING = YES
|
||||
|
||||
# We're getting the source code from Github, so there is no generated
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
LIBSIGSEGV_VERSION = 2.6
|
||||
LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
|
||||
LIBSIGSEGV_INSTALL_STAGING = YES
|
||||
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
|
||||
LIBSIGSEGV_LICENSE = GPLv2+
|
||||
LIBSIGSEGV_LICENSE_FILES = COPYING
|
||||
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
config BR2_PACKAGE_LIBTIRPC
|
||||
bool "libtirpc"
|
||||
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
|
||||
# support. Note that since they provide native RPC support, we
|
||||
# don't need to propagate this dependency to reverse
|
||||
# dependencies of libtirpc for which native RPC support can be
|
||||
# used instead of libtirpc.
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
|
||||
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
|
||||
help
|
||||
Libtirpc is a port of Sun's Transport-Independent RPC
|
||||
library to Linux.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_LIBV4L
|
||||
bool "libv4l"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
libv4l is an accompanying collection of libraries that adds a thin
|
||||
@@ -58,5 +59,5 @@ comment "v4l2-dbg requires a toolchain with C++ support enabled"
|
||||
|
||||
endif
|
||||
|
||||
comment "libv4l requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
comment "libv4l requires a toolchain with LARGEFILE and thread support"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -34,6 +34,21 @@ else
|
||||
HOST_LIBXML2_CONF_OPT += --without-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
LIBXML2_DEPENDENCIES += zlib
|
||||
LIBXML2_CONF_OPT += --with-zlib
|
||||
else
|
||||
LIBXML2_CONF_OPT += --without-zlib
|
||||
endif
|
||||
|
||||
LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y)
|
||||
LIBXML2_CONF_OPT += --with-iconv
|
||||
else
|
||||
LIBXML2_CONF_OPT += --without-iconv
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ LINKNX_DEPENDENCIES = libpthsem
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
|
||||
LINKNX_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
||||
LINKNX_DEPENDENCIES = mysql_client
|
||||
LINKNX_DEPENDENCIES += mysql_client
|
||||
else
|
||||
LINKNX_CONF_OPT += --without-mysql
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Date: Mon, 9 Jul 2012 09:43:11 +0200
|
||||
Subject: [PATCH] RLIMIT_* variables are no longer defined unless you
|
||||
explicitly include sys/resource.h.
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
|
||||
modules/pam_unix/pam_unix_acct.c: Include sys/resource.h.
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
[This patch is in linux-pam 1.1.6]
|
||||
---
|
||||
modules/pam_unix/pam_unix_acct.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c
|
||||
index 8e90cc9..4a362f8 100644
|
||||
--- a/modules/pam_unix/pam_unix_acct.c
|
||||
+++ b/modules/pam_unix/pam_unix_acct.c
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/resource.h>
|
||||
#include <syslog.h>
|
||||
#include <pwd.h>
|
||||
#include <shadow.h>
|
||||
--
|
||||
1.8.2.1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From: "Dmitry V. Levin" <ldv@altlinux.org>
|
||||
Date: Wed, 10 Oct 2012 18:13:07 +0000
|
||||
Subject: [PATCH] pam_unix: fix build in --enable-selinux mode
|
||||
|
||||
glibc's <sys/wait.h> starting with commit
|
||||
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=glibc-2.15-231-gd94a467
|
||||
does not include <sys/resource.h> for POSIX 2008 conformance reasons, so
|
||||
when pam is being built with SELinux support enabled, pam_unix_passwd.c
|
||||
uses getrlimit(2) and therefore should include <sys/resource.h> without
|
||||
relying on other headers.
|
||||
|
||||
* modules/pam_unix/pam_unix_passwd.c: Include <sys/resource.h>.
|
||||
|
||||
Reported-by: Guido Trentalancia <guido@trentalancia.com>
|
||||
Reported-by: "Jory A. Pratt" <anarchy@gentoo.org>
|
||||
Reported-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
[This patch is in linux-pam 1.1.6]
|
||||
---
|
||||
modules/pam_unix/pam_unix_passwd.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
|
||||
index 9e1302d..94bc3ec 100644
|
||||
--- a/modules/pam_unix/pam_unix_passwd.c
|
||||
+++ b/modules/pam_unix/pam_unix_passwd.c
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <sys/wait.h>
|
||||
+#include <sys/resource.h>
|
||||
|
||||
#include <security/_pam_macros.h>
|
||||
|
||||
--
|
||||
1.8.2.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_LTRACE
|
||||
bool "ltrace"
|
||||
depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa || BR2_aarch64)
|
||||
depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa || BR2_aarch64 || BR2_arc)
|
||||
select BR2_PACKAGE_LIBELF
|
||||
help
|
||||
Debugging program which runs a specified command until it exits.
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
Support old compilers
|
||||
|
||||
Some old compilers do not use C99 as their default C language variant,
|
||||
for example gcc 4.3.x, which is used on some old machines. When such a
|
||||
compiler is used, by default, ULLONG_MAX is not visible. Adding
|
||||
-std=gnu99 is needed to make this definition visible.
|
||||
|
||||
In autoconf speak, this translates into the need of using
|
||||
AC_PROC_CC_STDC instead of AC_PROG_CC. See
|
||||
http://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/C-Compiler.html
|
||||
for more details.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -17,7 +17,7 @@
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
# Checks for programs.
|
||||
-AC_PROG_CC
|
||||
+AC_PROG_CC_STDC
|
||||
AC_PROG_MAKE_SET
|
||||
LT_INIT
|
||||
AC_PROG_YACC
|
||||
@@ -4,5 +4,9 @@ LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
|
||||
|
||||
LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
|
||||
|
||||
# One patch touches configure.ac
|
||||
LTTNG_BABELTRACE_AUTORECONF = YES
|
||||
HOST_LTTNG_BABELTRACE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -16,3 +16,6 @@ config BR2_PACKAGE_LTTNG_MODULES
|
||||
http://lttng.org/files/bundles/20111214/README.compatible.kernels.txt
|
||||
|
||||
http://lttng.org
|
||||
|
||||
comment "lttng-modules requires a linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_LTTNG_TOOLS
|
||||
bool "lttng-tools"
|
||||
depends on BR2_PACKAGE_LTTNG_MODULES
|
||||
select BR2_PACKAGE_LIBURCU
|
||||
select BR2_PACKAGE_POPT
|
||||
# liburcu only works on some architectures and requires thread support
|
||||
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Userspace utilities for the LTTng 2.0 tracing
|
||||
@@ -24,6 +24,6 @@ config BR2_PACKAGE_LTTNG_TOOLS
|
||||
|
||||
http://lttng.org
|
||||
|
||||
comment "lttng-tools needs threads support"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
comment "lttng-tools needs LARGEFILE and threads support"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ else
|
||||
MATCHBOX_LIB_CONF_OPT+=--disable-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PANGO),y)
|
||||
ifeq ($(BR2_PACKAGE_PANGO)$(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yyy)
|
||||
MATCHBOX_LIB_CONF_OPT+=--enable-pango
|
||||
MATCHBOX_LIB_DEPENDENCIES+=pango
|
||||
else
|
||||
|
||||
@@ -6,6 +6,13 @@ config BR2_PACKAGE_MONGREL2
|
||||
depends on BR2_INET_IPV6 # zeromq
|
||||
depends on BR2_LARGEFILE # zeromq -> util-linux
|
||||
depends on BR2_USE_WCHAR # zeromq -> util-linux
|
||||
# {get,make,swap}context functions present in
|
||||
# {e,}glibc and in uClibc's master branch. Source has arm workaround
|
||||
depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
|
||||
BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
|
||||
BR2_TOOLCHAIN_CTNG_eglibc || \
|
||||
BR2_TOOLCHAIN_CTNG_glibc || \
|
||||
BR2_arm
|
||||
help
|
||||
Mongrel2 is an application, language, and network architecture
|
||||
agnostic web server that focuses on web applications using
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_BELLAGIO
|
||||
bool "bellagio"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Bellagio is an opensource implementation of the
|
||||
OpenMAX IL API.
|
||||
@@ -14,5 +15,5 @@ config BR2_PACKAGE_BELLAGIO
|
||||
|
||||
http://omxil.sourceforge.net/
|
||||
|
||||
comment "bellagio requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
comment "bellagio requires a toolchain with C++ and threads support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -8,5 +8,7 @@ BELLAGIO_SOURCE = libomxil-bellagio-$(BELLAGIO_VERSION).tar.gz
|
||||
BELLAGIO_SITE = http://downloads.sourceforge.net/project/omxil/omxil/Bellagio%20$(BELLAGIO_VERSION)
|
||||
BELLAGIO_AUTORECONF = YES
|
||||
BELLAGIO_INSTALL_STAGING = YES
|
||||
BELLAGIO_LICENSE = LGPLv2.1+
|
||||
BELLAGIO_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
Fix dfb-example
|
||||
|
||||
Order of inclusion gives a strange effect on the definition of
|
||||
gst_debug_log. Swapping the include statements solve it.
|
||||
|
||||
Not upstreamed since there will be no more updates to this version
|
||||
of gst-plugins-bad.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
diff -rup gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c
|
||||
--- gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c 2011-12-11 19:49:11.000000000 +0100
|
||||
+++ gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c 2013-05-13 00:32:00.507469138 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
-#include <directfb.h>
|
||||
#include <stdio.h>
|
||||
#include <gst/gst.h>
|
||||
+#include <directfb.h>
|
||||
|
||||
static IDirectFB *dfb = NULL;
|
||||
static IDirectFBSurface *primary = NULL;
|
||||
@@ -0,0 +1,26 @@
|
||||
From 759c0bc6f990240287a14fa6dec029ecea581463 Mon Sep 17 00:00:00 2001
|
||||
From: Arun Raghavan <arun.raghavan@collabora.co.uk>
|
||||
Date: Sat, 27 Apr 2013 03:27:05 +0000
|
||||
Subject: build-sys: json-c changed everything :(
|
||||
|
||||
json-c 0.11 ships a pkg-config file with a different name, and changes
|
||||
the name of its library as well.
|
||||
---
|
||||
(limited to 'configure.ac')
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c8161a4..b1bd21a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -624,7 +624,8 @@ AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_LIBCHECK" = x1])
|
||||
|
||||
#### json parsing ####
|
||||
|
||||
-PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])
|
||||
+PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ], [],
|
||||
+ [PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])])
|
||||
AC_SUBST(LIBJSON_CFLAGS)
|
||||
AC_SUBST(LIBJSON_LIBS)
|
||||
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
||||
@@ -28,10 +28,23 @@ PULSEAUDIO_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_UDEV),udev) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
||||
$(if $(BR2_PACKAGE_ORC),orc) \
|
||||
$(if $(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),webrtc-audio-processing) \
|
||||
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
|
||||
|
||||
# One patch touches configure.ac. We unconditionnally need libglib2
|
||||
# because configure.ac uses AM_GLIB_GNU_GETTEXT. This unconditionnal
|
||||
# dependency can be removed once the patch is removed.
|
||||
PULSEAUDIO_AUTORECONF = YES
|
||||
PULSEAUDIO_DEPENDENCIES += libglib2
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ORC),y)
|
||||
PULSEAUDIO_DEPENDENCIES += orc
|
||||
PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/usr/bin/orcc
|
||||
PULSEAUDIO_CONF_OPT += --enable-orc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPT += --disable-orc
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
# The optional webrtc echo canceller is written in C++, causing auto* to want
|
||||
# to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
NEON_VERSION = 0.29.6
|
||||
NEON_SITE = http://www.webdav.org/neon/
|
||||
NEON_LICENSE = LGPLv2+ (library), GPLv2+ (manual and tests)
|
||||
NEON_LICENSE_FILES = src/COPYING.LIB src/COPYING README
|
||||
NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
|
||||
NEON_INSTALL_STAGING = YES
|
||||
NEON_CONF_OPT = --without-gssapi --disable-rpath
|
||||
NEON_CONFIG_SCRIPTS = neon-config
|
||||
|
||||
@@ -182,12 +182,13 @@ config BR2_PACKAGE_OPENCV_WITH_TIFF
|
||||
config BR2_PACKAGE_OPENCV_WITH_V4L
|
||||
bool "v4l support"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBV4L
|
||||
help
|
||||
Enable Video 4 Linux support.
|
||||
|
||||
comment "v4l support requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
comment "v4l support requires a toolchain with LARGEFILE and thread support"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "Install options"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
LIBEGL_DEPENDENCIES += rpi-userland
|
||||
endif
|
||||
|
||||
ifeq ($(LIBEGL_DEPENDENCIES),y)
|
||||
ifeq ($(LIBEGL_DEPENDENCIES),)
|
||||
define LIBEGL_CONFIGURE_CMDS
|
||||
echo "No libEGL implementation selected. Configuration error."
|
||||
exit 1
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user