Commit Graph

69 Commits

Author SHA1 Message Date
Dmytro Milinevskyy
d9119c0bc5 move default skeleton to fs/ and drop busybox skeleton
[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-07-18 23:08:55 +02:00
Baruch Siach
8dad77bac4 skeleton: remove loopback interface configuration from inittab
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-06-09 13:38:58 +02:00
Baruch Siach
21350c5f2f busybox skeleton: allow logins from ttymxc[0-2]
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-26 14:40:12 +02:00
Peter Korsgaard
d39641ccd6 target/generic: inittab: fix devpts mounts when devtmpfs is used
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-05-03 12:01:19 +02:00
Thomas Petazzoni
32241116c8 Remove all TARGET_DEVICE_TABLE definitions
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-17 04:36:23 +02:00
Paulius Zaleckas
d6a0d6f309 Add missing directories to Busybox skeleton
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:17:33 +02:00
Paulius Zaleckas
8801de9c74 Remove ConfigFS from Busybox skeleton
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>
2010-04-02 15:16:53 +02:00
Gustavo Zacarias
4833d1355c Drop generic package selection (access point, firewall, dev system)
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-12-26 09:13:10 +01:00
Peter Korsgaard
d31c7723ae target/generic: /etc/{hostname,issue}: work around quotes in kconfig
Otherwise the targets will always run.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 15:08:55 +02:00
Peter Korsgaard
d65976fe26 buildroot: reinstate /etc/{hostname,issue} kconfig when using generic target
These got lost in the recent cleanup, but are handy for minimal rootfs
customization.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 21:53:22 +02:00
Peter Korsgaard
0c050a7fe5 target: update default /etc/issue and /etc/hostname
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-19 21:37:25 +02:00
Thomas Petazzoni
79c213fbe5 target: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Thomas Petazzoni
8d880c3e5c Fix PROGRAM_INVOCATION handling with external toolchains
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-07-31 11:40:34 +02:00
Peter Korsgaard
691cf5eb42 target/generic: add /dev/sd{a,b}*, /dev/ub{a,b}* device nodes
E.G. for usb disks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:42:15 +02:00
Peter Korsgaard
33f7d7929f target/generic: add /dev/i2c-N device nodes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:37:09 +02:00
Daniel Mack
ee0ebdfd59 Add support for Freescale's MXC serial terminals
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-10 20:00:59 +02:00
Peter Korsgaard
d41f360565 target/generic: add ttySACx support to serial console config
Add ttySACx (samsung s3c SoC) support to the generic serial console
config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-07 23:10:27 +02:00
Peter Korsgaard
635346844c target/generic: support for busybox >= 1.14.x speed=0 handling 2009-04-15 13:42:12 +00:00
Peter Korsgaard
f91a64d224 package: auto* needs perl 2009-03-23 21:45:52 +00:00
Peter Korsgaard
cb69d005ad target/generic: s/TTYSO/TTYS0/
Thanks to Hiroshi Shinji for noticing.
2009-03-23 09:44:13 +00:00
Peter Korsgaard
9611fd600b target/generic: add kconfig for serial getty config (port + baudrate)
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-20 21:59:43 +00:00
Peter Korsgaard
1a57a54804 target/generic: skeleton: add netdev group for dbus 2009-03-20 08:38:33 +00:00
Peter Korsgaard
624b1c4cf1 target/generic: development system needs wchar + program invocation 2009-03-04 11:14:40 +00:00
Peter Korsgaard
87736033ab target/generic: add ttyCPMx device nodes to device_table / securetty
Serial devices for CPM cores on ppc.
2009-02-03 14:30:44 +00:00
Peter Korsgaard
7b981dbf06 Revert r24952 (BR2_TARGET_TEST_PACKAGES)
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-23 20:45:30 +00:00
Ulf Samuelsson
6fd0d36d32 Add simple way to enable most (but not all) targets for testing purposes 2009-01-22 07:53:24 +00:00
Peter Korsgaard
585aca9a5a add .empty files for git-svn
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.
2009-01-05 15:47:00 +00:00
Peter Korsgaard
cd7245fc11 target/generic: add ttyAMAx device nodes (E.G. for qemu-system-arm) 2008-12-23 14:54:49 +00:00
Peter Korsgaard
7139678f78 make the default etc/init.d/S40network compatible with msh
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-12-08 14:52:16 +00:00
Peter Korsgaard
cb9d03ca6e target: add /sys directory to target skeletons needing it
The remaining target_skeletons where /etc/fstab mentions sysfs
2008-10-18 13:00:58 +00:00
Peter Korsgaard
921eb994f8 Add Xilinx UARTLITE and MPC5200 PSC device files (serial ports)
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-10-17 10:19:41 +00:00
Peter Korsgaard
49e3aba2d9 target/generic: add uartlite ttyULx devices to securetty 2008-09-16 18:44:54 +00:00
Peter Korsgaard
f8bc2e1e31 target/generic/mini: remove udhcpc default.script entry
It isn't provided in the target skeleton, and avahi gets the
permissions correct so it isn't needed and just confuses users.
2008-08-31 06:26:40 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
66acd5b9e8 generic: fix fb1..3 device_table.txt entries 2008-06-30 15:24:23 +00:00
Peter Korsgaard
6d0862e422 generic target_skeleton: add /sys to fstab 2008-05-31 07:27:43 +00:00
Peter Korsgaard
5ec6ca9f20 generic target_skeleton: mark /sys with .empty file
/sys somehow didn't got an .empty file like the rest in r21586. Fixed.
2008-05-31 07:27:40 +00:00
Peter Korsgaard
01c5168579 target_skeleton: mark empty directories with .empty files
Mark empty directories in target skeletons with .empty files
and remove them while copying to target (like it's already done for
svn and cvs files) to better support version control system which don't
handle empty directories (E.G. git-svn).
2008-03-30 20:45:42 +00:00
Bernhard Reutner-Fischer
f4c316f265 - update ARM integrator sample and add a "huge" variant of the same 2007-09-29 15:01:17 +00:00
Bernhard Reutner-Fischer
6b8f65a67f - add ttyAMA 2007-09-29 14:39:59 +00:00
Bernhard Reutner-Fischer
b0dad998e1 - add null 2007-09-19 18:18:09 +00:00
Bernhard Reutner-Fischer
9e59c9bc00 - add homedir 2007-03-09 12:32:09 +00:00
Bernhard Reutner-Fischer
df0d821460 - add skeleton to use busybox and mdev for a rather small skeleton 2007-02-16 14:32:22 +00:00
Bernhard Reutner-Fischer
0091f181ef - do not use TARGET_DEVICE_TABLE if is is empty 2007-02-15 16:49:39 +00:00
Bernhard Reutner-Fischer
2f67d9e2fe - preparation for BR2_PACKAGE_BUSYBOX_SKELETON
"Use a minimal target skeleton for use with busybox's mdev et al"
2007-02-15 15:11:34 +00:00
"Steven J. Hill"
3a0125d067 Add users and groups for D-Bus and HAL. 2007-01-14 04:25:41 +00:00
"Steven J. Hill"
994d7f05a3 Make '/var/cache' and symbolic link to '/tmp' like the others. We'll need this for Samba and friends. Also, change mount order of filesystems during boot. 2007-01-14 00:56:52 +00:00
Bernhard Reutner-Fischer
0d4312bd97 - eventually mount the crap /proc before remounting to make busybox's mount that incorrectly may rely on /proc work. 2006-12-02 18:34:32 +00:00
Eric Andersen
ba70f94e62 subversion makes it so we do not need a separate tarball
to store empty directories and symlinks for the target_skeleton.
2006-11-15 06:52:00 +00:00
Eric Andersen
f56a19707d Fix missing /etc/mtab symlink 2006-04-14 19:57:28 +00:00