summaryrefslogtreecommitdiff
path: root/target/generic
AgeCommit message (Collapse)Author
2012-04-29busybox 1.20.x: add if-post-up.d and if-pre-down.d to device tableGustavo Zacarias
Busybox 1.20.0 add functionality to execute scripts from if-post-up.d and if-pre-down.d, so add the missing directories to the device table to get them created and avoid unnecessary warnings if not. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-11sh: Add additional ttySCsPhil Edworthy
There are a couple of Renesas SH devices with 8 serial ports used. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08udev: bump to 181 and other fixesYegor Yefremov
Changes: - Linux kernel requirement: 2.6.34 and above (devtmpfs is mandatory) (this also applies to the chosen toolchain, because of Kernel headers) - optional dependency on libusb and usbutils removed - added dependency on kmod - added dependency on util-linux for libblkid - install in /lib/udev instead of /usr/libexec/udev - udevd moved to /lib/udev - fixed path to pci.ids and usb.ids - persistent rules generator is disabled by default, so option is introduced to enable this option if desired [Peter: fix build on uClibc, Config.in tweaks] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01Migrate Xenomai to the new infrastructureMaxime Ripard
Xenomai used to have commented out devices to be created in the device table that the user had to uncomment. Use the new infrastructure to do just that. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01Convert busybox to the device declaration methodMaxime Ripard
Busybox used to declare and create files even if the package was not enabled through the device table. Remove the entries for busybox in the device table and move them to the package declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18Add xenomai real-time Framework to buildrootThomas De Schampheleire
[Fixes by Thomas, including comments from Arnout: * Use AUTOTARGETS instead of GENTARGETS * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the prepare-kernel.sh script. This allows the arch name to be fixed with the usual sed expressions and the quotes to be stripped. * Add the --verbose option to prepare-kernel.sh. This allows to get some clear error message when no Xenomai patch has been found for the current kernel version. * Improve the help texts as suggested by Arnout, and remove the now useless README file. * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the kernel configuration to find out whether SMP is enabled or not. This cannot work because: 1) the kernel might be built outside of Buildroot and 2) if the kernel is built inside Buildroot, it is built *after* Xenomai, so the kernel configuration file is typically not yet present. * Simplify the ARM subarchitecture selection as suggested by Arnout. * Remove the documentation and development files according to Buildroot standards (using BR2_HAVE_DOCUMENTATION and BR2_HAVE_DEVFILES). * Simplify the /etc/ld.so.conf modification logic. ] [Peter: whitespace fixes] Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25System config: split static-dev device table setting into seperate optionPeter Korsgaard
As discussed here: http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s) to create device nodes in /dev, rather than complicated logic in BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static and dynamic modes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli
[Peter: prefix option with TARGET_GENERIC_] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12Move rootfs content options under system configurationPeter Korsgaard
Instead of the current mix between system config and filesystem menus. At the same time rename 'Target filesystem options' menu to 'Filesystem images' as it now only contains options about image formats. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12target/generic: only show getty port option if default skeleton is usedPeter Korsgaard
The special marker in etc/inittab might not be present with a custom skeleton. At the same time make the option always active, remove the hardcoded tty1/tty2 gettys and reword the option description slightly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09Allow several device tables and split in two parts our device tableThomas Petazzoni
This allows to have a device table for all directories/files and another device table for the device files themselves. Both are needed for static /dev, but only the first one is needed when devtmpfs/mdev/udev are used. We take this opportunity to move the documentation of the device table format in a common location, package/makedevs/README. [Peter: simplify code slightly, fix indentation] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26Add Renesas ttySC* devicesPhil Edworthy
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-22target-generic-hostname: add /etc/hosts entry as wellPeter Korsgaard
Some applications (like proftpd) tries to resolve hostname at startup, so add it to /etc/hosts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11target/generic: add /dev/ttyAM* device nodesH Hartley Sweeten
Add ttyAM support for the ARM AMBA serial ports on the Cirrus EP93xx. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Free text field for serial port configurationYegor Yefremov
BR2_TARGET_GENERIC_GETTY_PORT has now a string type instead of choice. This makes port configuration flexible and compact. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Re-add target/generic/Config.in options to menuconfigThomas Petazzoni
The options to customize the hostname, the banner and the serial port configuration are now inside a menu named 'System configuration'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Remove mini device table, it isn't usedThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-14target: support generic getty with sysvinit inittabsThomas Petazzoni
In sysvinit inittab the "id" field (first field) must be no longer than 4 bytes, and is not used by init to determine the output terminal. Therefore, we adjust the strategy used to modify the inittab file according to the getty configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-09skeleton: remove loopback interface configuration from inittabBaruch Siach
The lo interface is marked auto in /etc/network/interfaces, so the configuration of the loopback network interface is part of the S40network init script. This causes the "RTNETLINK answers: File exists" error message to appear at startup time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26busybox skeleton: allow logins from ttymxc[0-2]Baruch Siach
Add ttymxc[0-2] to the list is the /etc/securetty of the Busybox skeleton. This is useful for serial logins on i.MX based systems. The same serial devices already appear in the generic "target_skeleton/". Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03target/generic: inittab: fix devpts mounts when devtmpfs is usedPeter Korsgaard
If devtmpfs (the kernel-maintained /dev filesystem) is used, no /dev/pts directory is created, causing the devpts mount to fail, which in term causes stuff like dropbear to fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-17Remove all TARGET_DEVICE_TABLE definitionsThomas Petazzoni
We have a special case for Xtensa, which was patching the generic device_table.txt. Instead of doing this, we just keep a copy of the device table, specific to Xtensa, with Xtensa specifities. The fact that the patch wasn't applying anymore on the generic device table is a sign that the existing approach wasn't working anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-02Add missing directories to Busybox skeletonPaulius Zaleckas
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02Remove ConfigFS from Busybox skeletonPaulius Zaleckas
It is not included in generic skeleton and very unlikely that someone will use it on embedded devices. AFAIK even Fedora does not include it in fstab. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-26Drop generic package selection (access point, firewall, dev system)Gustavo Zacarias
Closes #813. Drop generic package selection (access point, firewall, dev system) since they're too ambiguous and not very useful. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06target/generic: /etc/{hostname,issue}: work around quotes in kconfigPeter Korsgaard
Otherwise the targets will always run. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30buildroot: reinstate /etc/{hostname,issue} kconfig when using generic targetPeter Korsgaard
These got lost in the recent cleanup, but are handy for minimal rootfs customization. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19target: update default /etc/issue and /etc/hostnamePeter Korsgaard
Adjust default /etc/issue to print 'Welcome to Buildroot' like the recently removed BR2_BANNER did, and adjust default hostname to be 'buildroot' instead of uclibc as we now support external glibc toolchains as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-05target: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-31Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option, like BR2_INET_IPV6, BR2_INET_RPC, on which some packages depend. Therefore, it should be handled like BR2_INET_IPV6 and BR2_INET_RPC in order to work properly with external toolchains. Since we move it out of toolchain/uClibc/Config.in into toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION (since BR2_INET_RPC and others don't have UCLIBC in their name). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-06-21target/generic: add /dev/sd{a,b}*, /dev/ub{a,b}* device nodesPeter Korsgaard
E.G. for usb disks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21target/generic: add /dev/i2c-N device nodesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-10Add support for Freescale's MXC serial terminalsDaniel Mack
This patch makes ttymxc[012] an option to choose for BR2_TARGET_GENERIC_GETTY. It also adds these ports to the generic device table and to securetty. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-07target/generic: add ttySACx support to serial console configPeter Korsgaard
Add ttySACx (samsung s3c SoC) support to the generic serial console config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-15target/generic: support for busybox >= 1.14.x speed=0 handlingPeter Korsgaard
2009-03-23package: auto* needs perlPeter Korsgaard
2009-03-23target/generic: s/TTYSO/TTYS0/Peter Korsgaard
Thanks to Hiroshi Shinji for noticing.
2009-03-20target/generic: add kconfig for serial getty config (port + baudrate)Peter Korsgaard
These are the settings people most often want to tweak for embedded boards, so add kconfig variables to make it easy to do.
2009-03-20target/generic: skeleton: add netdev group for dbusPeter Korsgaard
2009-03-04target/generic: development system needs wchar + program invocationPeter Korsgaard
2009-02-03target/generic: add ttyCPMx device nodes to device_table / securettyPeter Korsgaard
Serial devices for CPM cores on ppc.
2009-01-23Revert r24952 (BR2_TARGET_TEST_PACKAGES)Peter Korsgaard
As discussed on the list. It is already out of date (BR2_TARGET_UBOOT_2009_01_RC3, BR2_PACKAGE_RAIDTOOLS), is the wrong solution and breaks the make allyesconfig; make menuconfig / sed workflow.
2009-01-22Add simple way to enable most (but not all) targets for testing purposesUlf Samuelsson
2009-01-05add .empty files for git-svnPeter Korsgaard
git-svn (and git) doesn't handle empty directories, so add .empty files to those dirs like elsewhere in buildroot. Those empty directories are normally not a big deal, but the recent changes to u-boot broke the build.
2008-12-23target/generic: add ttyAMAx device nodes (E.G. for qemu-system-arm)Peter Korsgaard
2008-12-08make the default etc/init.d/S40network compatible with mshPeter Korsgaard
msh is currently the only good choice for uClinux but it doesn't understands shell functions. In this case there is nothing to gain by using shell functions anyway. Signed-off-by: Nicolas Pitre <nico@cam.org>
2008-10-18target: add /sys directory to target skeletons needing itPeter Korsgaard
The remaining target_skeletons where /etc/fstab mentions sysfs
2008-10-17Add Xilinx UARTLITE and MPC5200 PSC device files (serial ports)Peter Korsgaard
From: Grant Likely <grant.likely@secretlab.ca> The Xilinx UART Lite and MPC5200 Programmable Serial Controller (PSC) devices have dedicated major/minor numbers. Add them to the device table data file so they get are present in the root filesystem
2008-09-16target/generic: add uartlite ttyULx devices to securettyPeter Korsgaard