summaryrefslogtreecommitdiff
path: root/mk/image.mk
AgeCommit message (Collapse)Author
2012-01-15mk/image.mk: improve and simplify initramfs generationPhil Sutter
Using the kernel tools is a lot better than calling cpio ourselfs, as this way we can have it create device nodes for us. So no need to reopen /dev/console and things like that. While here, fix also initramfs compression (untested), as in my experience the kernel drops all symbols regarding compression from it's .config in the first compile phase. Probably one should make the actual compression algorithm configurable (and ideally depending on what the kernel supports for the given architecture). This is a rough hack based on what I'm using in the custom viprinux build file, so something like this is already running somewhere. ;)
2011-09-11always add /dev/{console,tty,null} to initramfsWaldemar Brodkorb
2011-09-02add support for qemu-arm, fix usage of xz compressed initramfs, which is now ↵Waldemar Brodkorb
the default here
2011-08-24add qemu sparc supportWaldemar Brodkorb
2011-08-19remove from image and kernel filenames. they are implicitely known.Waldemar Brodkorb
2011-06-12update default kernel to 2.6.39Waldemar Brodkorb
2011-04-26mk/image.mk: always pass ADK_MAKE_JOBS to kernel make callPhil Sutter
2011-01-20mk/image.mk: fix initramfs-piggyback for recent kernelsPhil Sutter
Newer kernels hide CONFIG_INITRAMFS_SOURCE behind the boolean CONFIG_BLK_DEV_INITRD symbol. So replacing the further using sed may fail since no match is found. This patch strips the config from both symbols if existing, and appends them afterwards. I hope this does for older kernels, too. Signed-off-by: Phil Sutter <phil@nwl.cc>
2011-01-12fix squashfs targetWaldemar Brodkorb
2011-01-10resolve conflictsWaldemar Brodkorb
2011-01-10base-files: change access mode of /tmp where it's createdPhil Sutter
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
2011-01-07provide squashfs for bcm47xx including cfgfs partitionThorsten Glaser
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2011-01-07add choices for both the root login shell and /bin/shThorsten Glaser
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2011-01-02make bulk fixes. fix toolchain building for sparc64/ppcWaldemar Brodkorb
2010-12-31 should be without path, just the name of the kernelWaldemar Brodkorb
2010-12-31fix image creationWaldemar Brodkorb
2010-12-30rework architecture / embedded systems conceptWaldemar Brodkorb
Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;)
2010-12-01fix ipkg and ipkg tools, consolidate mdev.confWaldemar Brodkorb
cpio under macosx or bsd creates tar archives via stdin while using find . with leading ./. heirloom cpio shipped with OpenADK does remove the leading ./. Adopt ipkg busybox applet to work without ./. Fix ipkg-build to be faster and to use included cpio for inner tar creation. Dependency to GNU tar can now be dropped.
2010-11-30avoid gnu tar features, use cpio instead.Waldemar Brodkorb
2010-11-26implement the concept of target choice by embedded system or architectureWaldemar Brodkorb
you can now choose between specific embedded systems like PC Engines ALIX boards, Foxboard, .. or between generic architecture support like x86, x86_64, mips, ... This does reduce the overhead of duplicate configuration files in target directory. Now qemu, toolchain and ibm x40 support is combined in one target directory target/x86. Distinguishing between hardware profiles happens via menu based configuration. (CPU choice for kernel, CFLAGS for package building, ..). We will see if this is the right direction.
2010-09-16Merge branch 'master' of git+ssh://openadk.org/git/openadkWaldemar Brodkorb
Conflicts: mk/kernel-build.mk package/expat/Makefile package/gettext/Makefile package/perl/Makefile package/zlib/Makefile
2010-09-16add some native build fixes (tested on Lemote notebook)Waldemar Brodkorb
- enable busybox applets needed for natvie builds - add header packages for expat and libnl - remove rtl8187b driver, use kernel included driver (needs more testing)
2010-09-15rebuild packages on flavour or choices changeWaldemar Brodkorb
add new target rebuild. make cpio and pacch quiet. Use bin/tools for cpio and mkcrypt.
2010-07-29add a cpio implementation to tools directoryWaldemar Brodkorb
cpio utility is a mess in point of portability. For example NetBSD cpio implementation does not support userid and groupid changes for the archive. This feature is required for initramfs filesystem targets. This cpio is from the Heirloom project. Fix needed rebuild of tools, when changing targets.
2010-07-26fixup cpio usage on MacOS X hostWaldemar Brodkorb
2010-07-23macos x portability patch for cpioWaldemar Brodkorb
2010-07-14misc stuffWaldemar Brodkorb
- remove broken patch from silicon motion driver - add mpc package for upcoming gcc 4.5.x update - add /etc/adktarget, which can be used for native targets to identify - add ffplay subpackage
2010-07-07more runtime fixes, update of some packages.Waldemar Brodkorb
- update busybox, dnsmasq, ppp and libusb - add timezone and hostname configuration for target via menu - fix resolv.conf creation for dhcp client - fix usb for alix boards - enable lsusb and lspci by default
2010-06-29optimize ipkg package managementWaldemar Brodkorb
ipkg will automatically mount the normal read-only rootfs as read-write and after the command back to read-only. ipkg install/remove/upgrades are only supported for compact disk or disk based systems. On flash systems better reflash completely. make a kernel package containing the real kernel. Adjust ipkg.conf to contain a configurable server adress.
2010-06-28fix busybox rebuild issue, simplify target MakefilesWaldemar Brodkorb
2010-05-29upgrade all targets to Linux 2.6.34Waldemar Brodkorb
2010-02-07implement adkupdate and adkinstall for rb532 boardsWaldemar Brodkorb
2010-01-22add more fonts for X11. check installed fonts via xlsfontsWaldemar Brodkorb
2010-01-10remove unused stuff. comment debug output.Waldemar Brodkorb
2009-12-19rename kernel and images files to be conformWaldemar Brodkorb
- use ADK_TARGET and FS for kernel files - use ADK_TARGET, ADK_LIBC and FS for image files ARCH is implicit in ADK_TARGET encoded.
2009-12-19add more mirbsd compatibility patchesWaldemar
2009-12-18enable pppoa and fix dsl driverWaldemar Brodkorb
- fix dsl driver crash, sync is now successful - add ppp ppp over atm
2009-12-17cosmetic changesWaldemar Brodkorb
2009-11-19rename DEVICE to ADK_TARGETWaldemar Brodkorb
- the name is better, because qemu f.e. is no hardware device - use make TARGET=alix1c to start with a configuration for this target - use make TARGET=alix1c allmodconfig to generate a mostly complete config to build all available packages for this platform as a package The all.config and .defconfig files needed to get this working are dynamically generated.
2009-11-13new feature extra dirWaldemar Brodkorb
- you can now overwrite your target root dir files with either - creating a directory extra/ and put a complet file hierarchy into it - creating a directory anywhere and using make extra=/path/to/dir both methods will copy the file hierarchy over root dir and then will create images and tar balls. useful for overwriten default configuration or adding non packaged software like java runtime environment. suggested by Joerg S.
2009-10-24add basic qemu-arm support, add compression choiceWaldemar Brodkorb
2009-09-02make rescue for x86_64 usable as PXE netboot imageWaldemar Brodkorb
A kernel with initramfs piggyback can be used to boot via PXE, even when the network driver will be loaded later. My shuttle seems to be really fresh, no boot of Debian/lenny or newer was possible. Add some drivers I need for my shuttle. Use LZMA-compression for kernel and initramfs. Fix some lvm tool dependencies meanwhile..
2009-08-23revert renaming of /init into /startWaldemar Brodkorb
- fix foxboard build, tested on classic - remove unsed ibm-x40 target - update all targets to linux-2.6.30.5 - fix native build, use kernel.config.$(CPU_ARCH) as kernel configuration, when /proc/config.gz does not exist on host
2009-06-11fix cpmac driverWaldemar Brodkorb
- at least dhcp and nfs mount works now - still problems with exception handling - userland does not work
2009-06-01remove unused $Id$Waldemar Brodkorb
- $id$ substitution is not apropriate for git scm
2009-05-17Initial importwbx