OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Thomas Munn - 06.03.2019
Last edited by Petr Štetiar - 03.04.2019

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

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:

./ /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: ./ <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>'
SYNTAX: ./ <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>

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

Closed by  Petr Štetiar
03.04.2019 18:23
Reason for closing:  No response
Additional comments about closing:  

Please reopen once you could help fixing this issue.

Petr Štetiar commented on 06.03.2019 05:19

Can you please provide output from following commands?

1. scripts/
2. grep ROOTFS .config

It seems like you're missing CONFIG_TARGET_ROOTFS_PARTSIZE param while invoking 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.


Available keyboard shortcuts


Task Details

Task Editing