summaryrefslogtreecommitdiff
path: root/mk/image.mk
AgeCommit message (Collapse)Author
2022-12-26implement dual-boot for rockpi4-plus deviceWaldemar Brodkorb
2022-12-25rockpi4-plus: add cfgfs partitionWaldemar Brodkorb
2022-12-15add support for rockpi4-plusWaldemar Brodkorb
2022-09-22add support for STM32F746G-DISCO deviceWaldemar Brodkorb
Tested with toolbox / simpleinit as userland. FDPIC/FLAT support both successfully tested. No LCD or Ethernet support.
2022-08-19loongarch: use special linux version, boots up nowWaldemar Brodkorb
2022-08-11add basic loongarch support, qemu does not boot the kernel, yetWaldemar Brodkorb
2022-02-07goodbye systemd, never worked fully on a openadk emulator or device. Use ↵Waldemar Brodkorb
simple static device nodes with devtmpfs as default. mdev is to bloated for some devices
2021-11-15mk: Support appending a DTB to kernel imagePhil Sutter
Activated by setting ADK_TARGET_KERNEL_APPEND_DTB symbol to the basename (without suffix) of a dtb file. Not quite user-friendly, but really meant for internal use via default symbol values depending on chosen target system. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01mk: Introduce KERNEL_MAKE variablePhil Sutter
This combines the typical kernel make call idiom into a single variable reference. A side-effect is that parallel make is enabled (via added '-j' flag) in many cases, but that shouldn't cause harm. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-11-01image.mk: Use SCRIPT_DIR variablePhil Sutter
It exists, so use it instead of manually stating $(TOPDIR)/scripts. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-10-30mk/image.mk: Ship /init in initramfsPhil Sutter
OpenADK's kernel hack to call /sbin/init in initramfs is ugly. Instead, ship /init as a symlink to /sbin/init. This is safe, since initramfs is always a filesystem with symlink support. Signed-off-by: Phil Sutter <phil@nwl.cc>
2021-02-25linux: update kernelsWaldemar Brodkorb
2019-09-30remove unfinished alternative os porting effortsWaldemar Brodkorb
2019-06-24linux: update to 4.19.55Waldemar Brodkorb
2018-05-08linux: add microblaze patchWaldemar Brodkorb
2018-03-07add support for walduxWaldemar Brodkorb
2018-02-12hppa: add basic qemu supportWaldemar Brodkorb
2017-11-19use tar(1) to copy the extra directories’ contentmirabilos
this should fix symlink traversal for preexisting copy targets Signed-off-by: mirabilos <tg@mirbsd.org>
2017-09-23h8300: use elf2flt from ysato, upstream elf2flt still requires a small patchWaldemar Brodkorb
2017-04-23fix build on CygwinWaldemar Brodkorb
2017-04-23Fix UBIFS rootfs support for rb532Phil Sutter
This fixes a typo and adds the missing ubinize.cfg. Fixes: 2d7388bc334dd ("Implement UBIFS rootfs support")
2017-03-21rework kernel build process, changes to kernelconfig are reflected nowWaldemar Brodkorb
Cleanup the package directory which is always used as intermediate step to build in the default some xz compressed archives with all package data. While reconfiguring the kernel mini.config or custom config changes to the firmware did not happen always. Some targets where redundant and the install step tries to compile, too. Be more quiet with any cpio usage.
2017-03-17Implement UBIFS rootfs supportPhil Sutter
This implements UBIFS rootfs, enables it for mips targets and adds the necessary settings for rb532. Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-03-17mk/image.mk: Fix calling mkfs.jffs2Phil Sutter
This command does not reside in ${STAGING_HOST_DIR}/usr/bin (anymore?), also setting PATH='${HOST_PATH}' prior to just calling the command without path is more elegant in my opinion. Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-02-23fallback to generic genimage config, the size of partition and filesystem ↵Waldemar Brodkorb
still need to be made configurable
2017-02-09add dual-boot / fwupdate for systems with grub-supportWaldemar Brodkorb
2017-02-06add different genimage configs for PC Bios and EFIWaldemar Brodkorb
2016-12-25use GNU cpio instead of heirloom cpioWaldemar Brodkorb
On newer hardware heirloom cpio triggers a segfault in memcpy from glibc (ssse3 optimized version). Just use default GNU cpio and provide it via host package.
2016-12-19fix initramfs generation for kinetis k70Waldemar Brodkorb
2016-12-13sh2-nommu/j2: add better support and add required patches from musl-cross-makeWaldemar Brodkorb
2016-11-27finetune systemd/sysv integration, use /var tmpfs mountpointWaldemar Brodkorb
2016-11-25finalize systemd as alternative init systemWaldemar Brodkorb
Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems.
2016-11-13grub: rework package, add mips support, update to latest gitWaldemar Brodkorb
2016-10-06add liberation truetype font package and add mkfontscale check, complete the ↵Waldemar Brodkorb
other font checks
2016-09-23add support for permission fixups when using genimageWaldemar Brodkorb
Add suid-bit to Xorg as an example. Create simple *.perm files with relative path to the files. You can use any command available on the host. (f.e. chmod/chown)
2016-09-14beaglebone-black: some fixes, no serial output yetWaldemar Brodkorb
2016-09-13uefi boot dislikes size in genimage, use a dummy image for cfgfs, add ↵Waldemar Brodkorb
dependencies
2016-09-10genimage: add better supportWaldemar Brodkorb
2016-09-05add some basic genimage supportWaldemar Brodkorb
2016-06-01add compiler and linker information to firmwareWaldemar Brodkorb
2016-03-07rework menu based config systemWaldemar Brodkorb
After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;)
2015-12-31fix initramfs generationWaldemar Brodkorb
2015-12-27more xtensa improvementsWaldemar Brodkorb
2015-12-27various microblaze related fixes add back some missing patchesWaldemar Brodkorb
2015-12-13rework prereq checkWaldemar Brodkorb
The new prereq check is completely implemented in POSIX shell in scripts/prereq.sh. It combines the old features from Makefile, scan-tools.sh, scan-pkgs.sh, reloc.sh and some wrappers for tools. The big benefit is to have all portability stuff in one place. Furthermore we can compile GNU make and bash on the fly, for systems lacking the required tools. All changes on the host are detected on the fly, no make prereq required anymore. The build process is separated in following three phases: 1. small wrapper Makefile is used for BSD make or GNU make 2. prereq.sh is called, doing all checking, calling Makefile.adk 3. old logic in Makefile.adk or mk/build.mk is used Tested successfully on Linux, MacOS X, Cygwin, FreeBSD, OpenBSD and NetBSD. An old depmaker bug was fixed, only optional host tools are compiled. For example, even when a host provides xz, a local xz was compiled in the past, because other packages had a build dependency on it. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2015-11-27bfin: allow newer gcc and kernel to be build, ICE with uClibc-ng regex, so ↵Waldemar Brodkorb
disable it for now.
2015-11-01minor number is wrong for ttyAMAWaldemar Brodkorb
2015-11-01add ttyAMA/ttySCWaldemar Brodkorb
2015-11-01default to static device nodes for noMMU systems, add basic device nodes to ↵Waldemar Brodkorb
initramfs
2015-10-28qemu-system-s390: add basic support, only virtio-net does not work as expected.Waldemar Brodkorb