Commit Graph

750 Commits

Author SHA1 Message Date
Ulf Samuelsson
83b2a67eec Update defocnfig for ngw100 2009-01-11 21:15:08 +00:00
Ulf Samuelsson
bd8c8ab095 Add linux-2.6.27.10 config for stk100x 2009-01-11 21:14:17 +00:00
Ulf Samuelsson
06b9e7abe7 Move kernel localversion files to TARGET_DIR/boot
to allow packages which assumes that LINUX26_DIR
and the /lib/modules/LINUX_VERSION use
the consistent version numbering to build.

Create a file ".linux-version" containing
the real linux version in $(PROJECT_B UILD_DIR)
to allow packages to read the correct linux version
2009-01-11 20:43:24 +00:00
Ulf Samuelsson
7aa8a5acce Update at91sam9261ek configs, build completes 2009-01-09 06:31:01 +00:00
Ulf Samuelsson
34b01cc4a1 Make sure U-boot is built, if we do make uImage 2009-01-09 06:30:08 +00:00
Ulf Samuelsson
4ff9d431b8 Update sam9263ek configs, build completes 2009-01-08 23:01:50 +00:00
Ulf Samuelsson
ab5c2cfc03 Linux26 requires "mkimage" from u-boot to be in the PATH
if an uImage is to be built for arm, avr32, blackfin and sh.

PATH has therefore been set to have $(STAGING_DIR)/usr/bin
as the first item allowing linux to find mkimage.

This patch will, if an uImage is built, create a "u-boot-toóls"
directory in the PROJECT_BUILD_DIR directory.
$(STAGING_DIR)/usr/bin/mkimage is copied to this directory
and the PATH variable will now include "u-boot-tools"

If an uImage is built, then the linux build will now depend on "u-boot".
2009-01-08 22:58:30 +00:00
Peter Korsgaard
9dd66ff7e9 target/u-boot: more cleanups
As discussed on the list.

- No sense in depending on BR2_TARGET_UBOOT when the configurations are
  within a if BR2_TARGET_UBOOT conditional.
- n is default, so remove 'default n'
- clarify nested conditionals
2009-01-08 14:58:54 +00:00
Peter Korsgaard
2b75de900b target/u-boot: cleanup
Fix s/Linux/U-Boot/ typo, default to the latest stable version, mark
old versions as deprecated and comment out unreleased version for now.
2009-01-08 14:58:51 +00:00
Ulf Samuelsson
03c16d10e2 Update atngw100 configs, needs patch from Atmel fork for strace to build correctly, otherwise disable strace 2009-01-06 23:02:50 +00:00
Ulf Samuelsson
036f1daaa0 Remove incorrrect dependency on latest minor kernel patch 2009-01-06 23:00:24 +00:00
Ulf Samuelsson
ec2eb199ca Add PATH to linux build options to allow 'mkimage' to be found. Neccessary for arm,blackfin,sh and avr32 in linux-2.6.28 2009-01-06 21:42:43 +00:00
Ulf Samuelsson
c7b77e5669 Set default kernel to BR2_LINUX26_STABLE, Remove duplicate definion of BR2_KERNEL_CURRENT_VERSION and remove comments from Config.in choices 2009-01-06 21:24:42 +00:00
Ulf Samuelsson
3867e083e1 Update at91sam9260 Board Support Package to linux-2.6.28 2009-01-06 16:42:15 +00:00
Ulf Samuelsson
7e9a5c9500 Update AT91SAM9G20 Board Support to linux-2.6.28 2009-01-06 16:39:17 +00:00
Ulf Samuelsson
c299ec7a8d Add support for SAM9G20 in at91bootstrap 2009-01-06 16:36:45 +00:00
Ulf Samuelsson
0082e57f16 Add CONFIGs for new commands to at91 parts 2009-01-06 16:24:42 +00:00
Ulf Samuelsson
3ab31f3a6a Add support for waiting for NFS root server before booting 2009-01-06 16:24:06 +00:00
Ulf Samuelsson
756b2f1f98 Remove patches that should not have been inlcuded in the spimux commit 2009-01-06 16:21:36 +00:00
Ulf Samuelsson
ce5971ecca Add 'mux' command to control ext mux on at91rm9200dk/ek 2009-01-06 16:17:43 +00:00
Ulf Samuelsson
d6afbb99b4 Add 'led' command to control coloured LEDs 2009-01-06 16:17:15 +00:00
Ulf Samuelsson
b4a6b4eaa4 Remove an extra #endif from u-boot.factory 2009-01-06 16:13:08 +00:00
Ulf Samuelsson
0590b0ff85 Fix some CFG/CONFIG related problems for AT91RM9200 configuration of U-Boot 2009-01-06 16:10:56 +00:00
Ulf Samuelsson
d5e3c2c55a Use the correct sam9g20 patch for 2009.01-rc1 2009-01-06 16:09:53 +00:00
Ulf Samuelsson
b33e097596 When you set BR2_PACKAGE_LINUX_USE_DEFCONFIG
to configure linux using the

make <board>_defconfig

You have to supply the $(BOARD_NAME) variable.
Add this info in the help text for
target/linux/Makefile.in.advanced

----------------

When you do not set BR2_PACKAGE_LINUX_USE_XCONFIG
to configure linux using "$make <XXXX>config
The choices "$make menuconfig" or "$make xconfig"
should not be visible.
Add dependency
2009-01-06 14:40:24 +00:00
Ulf Samuelsson
6bcd872614 Use PROJECT-u-boot-VERSION-DATE.bin as u-boot target
Provide link using "u-boot.bin"

Add BR2_TARGET_UBOOT_DEFAULT_ENV config
If this is set, Buildroot will generate
a default environment to allow easy downloading
of the kernel and root file system
Both as compile time data and an autoscript.

Make u-boot depend on $(U_BOOT_TARGETS)
Add "u-boot-autoscript" to U_BOOT_TARGETS if 
BR2_TARGET_UBOOT_DEFAULT_ENV is set.

Take kernel name from Linux build.

Use correct ARCH when mkimaging the autoscript.
Do not use TARGET_ATMEL_COPYTO for generic u-boot.

Hide dataflash memory configurations when 
different boot memory is used.
2009-01-06 14:16:27 +00:00
Peter Korsgaard
1250acd942 u-boot: unbreak build after r24674
Disable broken autoscript handling so the build atleast completes
2009-01-05 16:16:30 +00:00
Peter Korsgaard
62ee161f0d u-boot: revert U_BOOT_TARGET part of r24646
More u-boot build unbreaking. r24646 added U_BOOT_TARGET which uses the
nonexisting BOARDNAME variable, which means that the filename expands
to -u-boot-*, confusing ln.

There's limited point in having that symlink in the first please, so simply
revert that hunk.
2009-01-05 16:12:34 +00:00
Peter Korsgaard
f7870ba027 u-boot: unbreak build after r24646
Unset variables aren't the same as "".
2009-01-05 15:52:44 +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
Ulf Samuelsson
2d696140c2 Allow use of uClibc-0.9.30 for AVR32 toolchain 2009-01-03 16:25:47 +00:00
Ulf Samuelsson
cc30201f47 Update target/device/Atmel/*/Makefile.in
------------------------------------------
Replace $(BOARDNAME)_PATH with BOARD_PATH
Set U-Boot targets for 1.2.0-atmel as well as 2009.01-rc1
Remove hardwiring of BusyBox configuration files.
Remove older BusyBox configuration files
Remove "at91sam9260dfc-linux-2.6.28-rc6.config" from at91sam9g20dfc directory
Update "at91rm9200df_defconfig"
Add "at91rm9200df-linux-2.6.28.config"
Update "at91sam9260dfc_defconfig"
2009-01-03 16:10:50 +00:00
Ulf Samuelsson
c7066b1807 Generate an autoscript for configuring u-boot in $(BINARIES_DIR)
mkimage the autoscript to autoscript.$(PROJECT)-
Move build of u-boot-1.2.0-atmel to target/u-boot
	Only visible for AT91 targets.
Fetch prepatched 1.2.0-atmel tarball from $(BR2_ATMEL_MIRROR)
Rest from normal location.
Introduce U_BOOT_CONFIGURE_OPTS
	Set to NOSOFT_FLOAT for u-boot-1.2.0-atmel
Disable target/device/Atmel/u-boot
Keep files in target/device/Atmel/u-boot during a test period.

Files:
M      target/device/Atmel/Makefile.in
M      target/device/Atmel/Config.in
M      target/u-boot/Makefile.in
M      target/u-boot/Config.in
A      target/u-boot/1.2.0-atmel
2009-01-03 15:50:38 +00:00
Nigel Kukard
98eefe7074 Fixed missing " 2009-01-03 15:03:16 +00:00
Ulf Samuelsson
4eb79e2732 Update linux versions 2009-01-03 01:06:36 +00:00
Ulf Samuelsson
d2485586b9 Fix remaining 'butterfinger' issue 2009-01-03 00:40:02 +00:00
Ulf Samuelsson
5dec4da010 Remove debugging variable added to svn by mistake, (Thanks Pter) 2009-01-03 00:07:25 +00:00
Ulf Samuelsson
7213dae7a5 Add support for at91sam9g20 to U-Boot 2009-01-03 00:06:13 +00:00
Ulf Samuelsson
fc6be2d970 Add facilities for installing u-boot in different locations 2009-01-03 00:05:42 +00:00
Ulf Samuelsson
f563fc9565 Provide factory default command to u-boot, using Buildroot variables 2009-01-03 00:04:55 +00:00
Ulf Samuelsson
75c6381110 Fix issue with AT91/AVR32 Ethernet MACB 2009-01-03 00:04:14 +00:00
Ulf Samuelsson
ff9b66d5d0 Add X-Modem tools for minicom to u-boot allowing easy downloading of U-Boot 2009-01-03 00:03:31 +00:00
Ulf Samuelsson
b00e4bf529 Add Memory configration to u-boot (Config.in) and remove comments from 'choice's', Rearrange options for clarity 2009-01-03 00:02:07 +00:00
Ulf Samuelsson
e074c38220 Add Memory configuration to U-Boot build, remove some debugging info 2009-01-03 00:00:46 +00:00
Ulf Samuelsson
abda401711 Support AT91 in vanilla U-Boot 2009-01-02 11:18:09 +00:00
Ulf Samuelsson
e195cb19f2 Update at91sam9260dfc BSP 2009-01-02 08:32:25 +00:00
Peter Korsgaard
69f8592407 buildroot: set SHELL instead of messing around with CONFIG_SHELL
Simply set SHELL to bash instead of adding CONFIG_SHELL to all shell
invocations. CONFIG_SHELL is still set, as it is used by kconfig.
2009-01-01 21:20:35 +00:00
Nigel Kukard
33b846773a * Added "generic" option to x86_64 target
- Default to generic and not core2
2009-01-01 17:48:06 +00:00
Ulf Samuelsson
3de57c4447 Update kernel patch from 2.6.28-rc6 to 2.6.28 2008-12-30 08:26:51 +00:00
Ulf Samuelsson
e2ba403798 Use correct filename for patch 2008-12-29 15:13:32 +00:00
Ulf Samuelsson
b9dc2a4b66 Use correct filename for patch 2008-12-29 15:12:10 +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
Ulf Samuelsson
350ced4a71 Add updated gcc-4.2.2 prepatched toolchain for AVR32 2008-12-20 22:27:56 +00:00
Ulf Samuelsson
039ed4b223 Add AP7200 eval kit configuration 2008-12-20 22:26:24 +00:00
Ulf Samuelsson
207503d59e Add BSP for AP7200 2008-12-20 22:24:11 +00:00
Ulf Samuelsson
736235cb0f Add support for AT32AP7200 2008-12-20 22:23:15 +00:00
Ulf Samuelsson
c923379e8a Add 2.6.27.7 patches for AVR32 2008-12-20 22:19:38 +00:00
Ulf Samuelsson
80b526fd3c Hide AT91 features if not an AT91 ARM 2008-12-20 22:17:52 +00:00
Ulf Samuelsson
1942056ae7 Use correct linux version when applying latest minor patch 2008-12-20 21:45:59 +00:00
Ulf Samuelsson
2ee2248cc4 Sort Linux debug info in alphabetical order 2008-12-20 21:45:05 +00:00
Ulf Samuelsson
f0ebb39d18 Put latest version info in separate file for easier maintenance 2008-12-20 20:57:07 +00:00
Ulf Samuelsson
fc92f159bb Update to latest linux versions 2008-12-17 18:03:29 +00:00
Ulf Samuelsson
7591247d51 Remove AVR32 target variants, the current entries refers to CHIPS which have the same CPU core, CHIP variant is defined elsewhere 2008-12-17 09:28:33 +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
7cb7952b40 target/initramfs: actually build initramfs target
Currently, BR2_TARGET_ROOTFS_INITRAMFS doesn't actually do anything,
as it doesn't alter $(TARGETS)

This change hooks up the TARGETS variable to INITRAMFS_TARGET (which
is only set if BR2_TARGET_ROOTFS_INITRAMFS=y), so that the initramfs
list is built.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:42:04 +00:00
Peter Korsgaard
326ae9c89b target/tar: remove unused cut'n'paste leftover 2008-12-08 09:07:01 +00:00
Peter Korsgaard
224c62ecf8 target: paths may need stripping
r24310 removed a few too many strips.
2008-12-08 09:06:59 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
6dbe1188de taget/linux: handle non-modular kernels
Based on b151271 in Bernhard's tree.
2008-12-07 06:55:36 +00:00
Thomas Petazzoni
be5be0ec5a Compiling current SVN fails with the following error for me:
cc1: warnings being treated as errors
 buildroot/buildroot/build_powerpc/makedevs/makedevs.c: In function main:
 buildroot/buildroot/build_powerpc/makedevs/makedevs.c:531: error:
 ignoring return value of system, declared with attribute warn_unused_result

This change adds a simple warning if system() fails.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-02 22:26:00 +00:00
Peter Korsgaard
63402d7737 target/cramfs/cramfs.mk: Fix device table not being passed to mkcramfs
While mkcramfs was being patched to support a device table, the target device table was not being passed to the mkcramfs options. This patch fixes that

Signed-off-by: Jared Holzman <j.holzman@genesysdesign.com.au>
2008-12-02 09:15:08 +00:00
Ulf Samuelsson
1158bc9a25 Add support for AT91SAM9G20 & -EK 2008-11-29 22:00:29 +00:00
Ulf Samuelsson
074da836d2 Add AT91 support for 2.6.27.7 and 2.6.28-rc6 2008-11-29 21:58:48 +00:00
Ulf Samuelsson
4f1887e424 Update Linux versions 2008-11-29 21:56:25 +00:00
Peter Korsgaard
193508d257 linux: remove unused BR2_LINUX_BOARD_PATCH
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-14 13:39:58 +00:00
Peter Korsgaard
204821c56c target/Config.in.toolchain: cleanup 2008-11-14 10:06:44 +00:00
Ivan Kuten
da6f419424 revert 23987 until proper implementation 2008-11-10 11:17:21 +00:00
Ivan Kuten
1f370768bc Download Kernel.org minor patches at the same time as full sources.
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
2008-11-10 10:45:46 +00:00
Thomas Petazzoni
f5ca546b76 Fix Grub tarball version as the current version has disappeared from
Debian mirrors.

Patch provided by Roberto A. Foglietta <roberto.foglietta@gmail.com>
2008-11-08 22:24:39 +00:00
Hans-Christian Egtvedt
12b5b0124b linux26: make installation of modules rule depend on .depend_done
This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed.

Make kernelversion does not work before make prepare has been run.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05 12:59:32 +00:00
Peter Korsgaard
ab1c8b3943 Kernel build fix related to external toolchain use
This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-04 19:58:48 +00:00
Peter Korsgaard
e9bbc07625 syslinux: fix download url 2008-11-02 19:21:12 +00:00
Arnar Mar Sigurðsson
057eca1834 Update valka target 2008-10-31 17:22:59 +00:00
Hans-Christian Egtvedt
fc23ee8dea linux: skip installing modules if modules are disabled in kernel config
This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:56:58 +00:00
Hans-Christian Egtvedt
fed8349509 linux: make touch also create the dependency file when installing modules
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:22:11 +00:00
Hans-Christian Egtvedt
aabaf095a0 linux: fix typo in status printout
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:47 +00:00
Hans-Christian Egtvedt
4c1a34471d linux: add probing for kernel version when installing modules
This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:05 +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
ca672dc4dc target/device/Atmel: add /sys to target skeletons
Reported by John Schimandle
2008-10-18 12:47:42 +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
Hans-Christian Egtvedt
0fbec516fd linux: fix copy of Busybox config to target directory
This patch fixes bug report #5204. The Busybox config was not copied from the
correct place.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-03 07:24:34 +00:00
Peter Korsgaard
5c662fee80 target/linux/advanced: don't hardcode date suffix
Use ROOTFS_SUFFIX instead of hardcoding -$(DATE).

Reported by Lars Lockenvitz.
2008-09-22 12:04:05 +00:00
Peter Korsgaard
49e3aba2d9 target/generic: add uartlite ttyULx devices to securetty 2008-09-16 18:44:54 +00:00
Peter Korsgaard
8a00a1ac65 jffs2: cleanup
Patch by Markus Heidelberg <markus.heidelberg@web.de>

* remove needless help in invisible config options
* correct wrong indenting
* remove unused BR2 variables for default pagesize and devfile
2008-09-07 14:31:39 +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
b71d24d032 ubifs: fix long help text lines 2008-08-27 20:19:53 +00:00
Peter Korsgaard
df6555a017 cloop: fix long help text lines 2008-08-27 20:19:50 +00:00
Peter Korsgaard
98f17d003c target/device/jp: fix long help text lines 2008-08-27 20:18:40 +00:00
Peter Korsgaard
f1258adf6b target/device/Atmel: fix long help text lines
And remove trailing spaces while we're at it.
2008-08-27 20:18:37 +00:00
Peter Korsgaard
dc8423d97f squashfs: bump version 2008-08-27 07:46:55 +00:00