summaryrefslogtreecommitdiffstats
path: root/target/generic
Commit message (Collapse)AuthorAgeFilesLines
* sh: Add additional ttySCsPhil Edworthy2012-03-111-1/+1
| | | | | | | 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>
* udev: bump to 181 and other fixesYegor Yefremov2012-02-081-0/+5
| | | | | | | | | | | | | | | | | | | 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>
* Migrate Xenomai to the new infrastructureMaxime Ripard2012-02-011-5/+0
| | | | | | | | | | 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>
* Convert busybox to the device declaration methodMaxime Ripard2012-02-011-2/+0
| | | | | | | | | | | 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>
* Add xenomai real-time Framework to buildrootThomas De Schampheleire2011-09-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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>
* System config: split static-dev device table setting into seperate optionPeter Korsgaard2011-07-251-8/+15
| | | | | | | | | | | | | 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>
* fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli2011-07-102-0/+24
| | | | | | | [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>
* Move rootfs content options under system configurationPeter Korsgaard2011-05-121-0/+75
| | | | | | | | | 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>
* target/generic: only show getty port option if default skeleton is usedPeter Korsgaard2011-05-122-7/+4
| | | | | | | | 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>
* Allow several device tables and split in two parts our device tableThomas Petazzoni2011-05-092-176/+154
| | | | | | | | | | | | | | 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>
* Add Renesas ttySC* devicesPhil Edworthy2011-04-261-0/+1
| | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target-generic-hostname: add /etc/hosts entry as wellPeter Korsgaard2011-04-221-0/+2
| | | | | | | Some applications (like proftpd) tries to resolve hostname at startup, so add it to /etc/hosts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: add /dev/ttyAM* device nodesH Hartley Sweeten2011-01-111-0/+1
| | | | | | | 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>
* Free text field for serial port configurationYegor Yefremov2010-12-161-116/+4
| | | | | | | | | 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>
* Re-add target/generic/Config.in options to menuconfigThomas Petazzoni2010-12-161-2/+2
| | | | | | | | 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>
* Remove mini device table, it isn't usedThomas Petazzoni2010-12-151-176/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: support generic getty with sysvinit inittabsThomas Petazzoni2010-12-141-2/+12
| | | | | | | | | | 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>
* move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy2010-07-1886-1489/+0
| | | | | | | [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>
* skeleton: remove loopback interface configuration from inittabBaruch Siach2010-06-092-4/+0
| | | | | | | | | | | 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>
* busybox skeleton: allow logins from ttymxc[0-2]Baruch Siach2010-05-261-0/+3
| | | | | | | | | 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>
* target/generic: inittab: fix devpts mounts when devtmpfs is usedPeter Korsgaard2010-05-031-0/+1
| | | | | | | | 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>
* Remove all TARGET_DEVICE_TABLE definitionsThomas Petazzoni2010-04-171-2/+0
| | | | | | | | | | 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>
* Add missing directories to Busybox skeletonPaulius Zaleckas2010-04-022-0/+0
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove ConfigFS from Busybox skeletonPaulius Zaleckas2010-04-022-1/+0
| | | | | | | | | 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>
* Drop generic package selection (access point, firewall, dev system)Gustavo Zacarias2009-12-261-63/+0
| | | | | | | | | | 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>
* target/generic: /etc/{hostname,issue}: work around quotes in kconfigPeter Korsgaard2009-10-061-2/+4
| | | | | | Otherwise the targets will always run. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: reinstate /etc/{hostname,issue} kconfig when using generic targetPeter Korsgaard2009-09-302-1/+32
| | | | | | | These got lost in the recent cleanup, but are handy for minimal rootfs customization. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: update default /etc/issue and /etc/hostnamePeter Korsgaard2009-09-194-6/+4
| | | | | | | | | 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>
* target: use qstripThomas Petazzoni2009-09-051-4/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni2009-07-311-2/+2
| | | | | | | | | | | | | 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>
* target/generic: add /dev/sd{a,b}*, /dev/ub{a,b}* device nodesPeter Korsgaard2009-06-211-4/+10
| | | | | | E.G. for usb disks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: add /dev/i2c-N device nodesPeter Korsgaard2009-06-211-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for Freescale's MXC serial terminalsDaniel Mack2009-06-103-0/+16
| | | | | | | | | | 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>
* target/generic: add ttySACx support to serial console configPeter Korsgaard2009-06-074-0/+25
| | | | | | | Add ttySACx (samsung s3c SoC) support to the generic serial console config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: support for busybox >= 1.14.x speed=0 handlingPeter Korsgaard2009-04-151-0/+3
|
* package: auto* needs perlPeter Korsgaard2009-03-231-0/+1
|
* target/generic: s/TTYSO/TTYS0/Peter Korsgaard2009-03-231-2/+2
| | | | Thanks to Hiroshi Shinji for noticing.
* target/generic: add kconfig for serial getty config (port + baudrate)Peter Korsgaard2009-03-204-3/+138
| | | | | These are the settings people most often want to tweak for embedded boards, so add kconfig variables to make it easy to do.
* target/generic: skeleton: add netdev group for dbusPeter Korsgaard2009-03-201-0/+1
|
* target/generic: development system needs wchar + program invocationPeter Korsgaard2009-03-041-0/+3
|
* target/generic: add ttyCPMx device nodes to device_table / securettyPeter Korsgaard2009-02-033-0/+9
| | | | Serial devices for CPM cores on ppc.
* Revert r24952 (BR2_TARGET_TEST_PACKAGES)Peter Korsgaard2009-01-232-634/+0
| | | | | | 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.
* Add simple way to enable most (but not all) targets for testing purposesUlf Samuelsson2009-01-222-0/+634
|
* add .empty files for git-svnPeter Korsgaard2009-01-054-0/+0
| | | | | | | | 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.
* target/generic: add ttyAMAx device nodes (E.G. for qemu-system-arm)Peter Korsgaard2008-12-233-0/+13
|
* make the default etc/init.d/S40network compatible with mshPeter Korsgaard2008-12-082-32/+12
| | | | | | | | 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>
* target: add /sys directory to target skeletons needing itPeter Korsgaard2008-10-181-0/+0
| | | | The remaining target_skeletons where /etc/fstab mentions sysfs
* Add Xilinx UARTLITE and MPC5200 PSC device files (serial ports)Peter Korsgaard2008-10-172-0/+6
| | | | | | | | 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
* target/generic: add uartlite ttyULx devices to securettyPeter Korsgaard2008-09-162-0/+8
|
* target/generic/mini: remove udhcpc default.script entryPeter Korsgaard2008-08-311-1/+0
| | | | | It isn't provided in the target skeleton, and avahi gets the permissions correct so it isn't needed and just confuses users.