Modify

Opened 2 years ago

Last modified 2 years ago

#21351 new defect

dd: failed to open '............./build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/root.ubifs': No such file or directory

Reported by: yurtesen Owned by: developers
Priority: low Milestone: Designated Driver (Trunk)
Component: kernel Version: Trunk
Keywords: ubifs root.ubifs make Cc:

Description

I am trying to build openwrt on Ubuntu 15 for 3G-6200N per instructions at https://wiki.openwrt.org/toh/edimax/3g-6200n (plus I updated/installed luci to build, but I guess it is not related).

Here is another person having exactly the same problem:
http://forum.vocore.io/viewtopic.php?t=1905&p=3018

I was building using openwrt trunk which I fetched yesterday. Please let me know if you need more information.

Attachments (0)

Change History (2)

comment:1 in reply to: ↑ description Changed 2 years ago by anonymous

Replying to yurtesen:

I was building using openwrt trunk which I fetched yesterday. Please let me know if you need more information.

Your error message/build log would be a good start.

You might want to carefully read the output from the forum post again:

Warning: /home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/openwrt-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin is too big

You have presumably selected more packages as in a 4 Mb image fit (which is the flash size of your device according to the wiki).

I'm in doubt that OpenWrt still supports devices with only 4 Mb flash.

comment:2 Changed 2 years ago by yurtesen

I didn't select anything other than default settings in menuconfig for the target/subtarget.

The message part you put is a bit out of context. If you look the complete message, I think that line has nothing to do with the actual error. It is simply part of an if/else statement related to another file. Besides I went back to 15.05 and it builds fine. At the very least the default settings should work and this would be a problem/bug if they don't.

if [ `stat -c%s "/home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/openwrt-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin"` -gt 16449536 ]; then echo "Warning: /home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/openwrt-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin is too big" >&2; else cp -fpR /home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/openwrt-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin /home/mark/openwrt/openwrt/bin/ramips/openwrt-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin; fi
dd if=/home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/root.ubifs of=/home/mark/openwrt/openwrt/bin/ramips/openwrt-ramips-rt305x-root.ubifs bs=128k conv=sync
dd: failed to open '/home/mark/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/root.ubifs': No such file or directory

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.