Hello guys, i'm new to this mailing list and got a recommendation from a OpenWRT developer to it.
My problem is, i want to automatically build an squashfs image for raspberry PI and OpenWRT. All of this work done by hand works successfully, but i'm not so familiar with the Makefiles specially the "image/Makefile" which looks really different in all hardware/cpu models. I got some information about it on https://wiki.openwrt.org/doc/techref/image.makefile but this is not applicable to for example https://dev.openwrt.org/browser/trunk/target/linux/brcm2708/image/Makefile this file. Is there somebody how implemented it successfully? Here is information about how i did it by hand: - my /root dir of OpenWRT is in $OWRT_HOME/staging_dir/target-arm_arm1176jzf-s+vfp_musl-1.1.15_eabi/root-brcm2708/ - make image: "# mksquashfs $OWRT_HOME/staging_dir/target-arm_arm1176jzf-s+vfp_musl-1.1.15_eabi/root-brcm2708 rpi_squash.img -all-root -noappend -no-exports" - copied Kernel from $OWRT_HOME/build_dir/target-arm_arm1176jzf-s+vfp_musl-1.1.15_eabi/linux-brcm2708_brcm2708/ and renamed it to kernel.img - this images (kernel and squashfs) copied to a FAT32 formatted SD Card, changed the config files for RPI to boot from squashfs and specified kernel and GO. this process would be nice to automate via Makefiles if i choose "squashfs" in .config File of the owrt-builder (CONFIG_TARGET_ROOTFS_SQUASHFS=y) regards Michael _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev