Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2165 - Openwrt 18.06.2 build fails when ext4 is not chosen as output format #7068

Closed
openwrt-bot opened this issue Mar 6, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

symgryph:

Supply the following if possible:

  • Raspberry Pi Zero
  • 18.06.2
  • Go into menu, choose only 'squashfs' with defaults and bcm2708 as target. The 'rootfs' option disappears, and the build script fails with make world:

./gen_rpi_sdcard_img.sh /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz.boot /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/root.squashfs 20

  • '[' 4 -eq 5 ']'
  • echo 'SYNTAX: ./gen_rpi_sdcard_img.sh '
    SYNTAX: ./gen_rpi_sdcard_img.sh

Looks like the script isn't passing proper paramaters unless I select ext4 image as well as squashfs image.

@openwrt-bot
Copy link
Author

ynezz:

Can you please provide output from following commands?

  1. scripts/diffconfig.sh
  2. grep ROOTFS .config

It seems like you're missing CONFIG_TARGET_ROOTFS_PARTSIZE param while invoking gen_rpi_sdcard_img.sh which is added by USES_ROOTFS_PART via FEATURES:=rootfs-part in brcm2708 target, so I don't see how having only squashfs rootfs shouldn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant