@crispyoz thank you for your reply. I am not familiar with shell program that i ignore build scripts and profile, So I consider "clean_imagebuilder" as reload build at first. Thanks your guide and support, I know what happen while image build, I has fix my build and run each test several times. Now imagebuilder work as my expectation that I can take attention to my application develop right now.
mulu553
@mulu553
Best posts made by mulu553
-
RE: About openwrt-imagebuilder-wrapper ,add custom file no effectiveposted in Omega Talk
Latest posts made by mulu553
-
RE: How to Write uboot Environment Variables on system runtime?posted in Omega Talk
@luz Yes, I used the openwrt-imagebuilder-wrapper from onion's GitHub repo to generate my own customized firmware. Thank you very much for your suggestion.

-
How to Write uboot Environment Variables on system runtime?posted in Omega Talk
Hi,teams
My purpose is to write the device identity authentication information into my customized Omega2+ device. I hope this part can be firmly stored in the device (retained even after system restore).
I confirm writing uboot variable is available on uboot environment, refer by https://community.onion.io/topic/2272/what-does-this-message-mean_=1767832343343.
But modify uboot variable only on boot environment is not good idea for me, fw_setenv is available on system environment? Permission Denied for /dev/mtd1 When Executing fw_setenv.
-
RE: About openwrt-imagebuilder-wrapper ,add custom file no effectiveposted in Omega Talk
@crispyoz thank you for your reply. I am not familiar with shell program that i ignore build scripts and profile, So I consider "clean_imagebuilder" as reload build at first. Thanks your guide and support, I know what happen while image build, I has fix my build and run each test several times. Now imagebuilder work as my expectation that I can take attention to my application develop right now.
-
RE: About openwrt-imagebuilder-wrapper ,add custom file no effectiveposted in Omega Talk
@crispyoz thank you answer, I run you suggestion and test, it run as you say.
To my question, actually possible operatetion mistake.I do a repeartion. while type in "bash clean_imagebuilder" , directory openwrt-imagebuilder/ is gone. when I generate it again. Unusual, I found my target file mycfg.conf still alive. I build image and upgrade on omega2+, custom is effective -
About openwrt-imagebuilder-wrapper ,add custom file no effectiveposted in Omega Talk
Hello:
I need to build custom firmware on Onion omega2+. I try openwrt-imagebuilder-wrapper to work, but add custom file is no effective. Above is my operation :
-
type in command "bash onion_buildenv setup_imagebuilder" would generate
directory openwrt-imagebuilder/ -
create new diectory files/etc on additions/(Completion path: /home/user/openwrt-imagebuilder-wrapper/additions/files/etc/)and add target file mycfg.conf
-
type in command" bash onion_buildenv build_all_firmware ",I get binary file onion_omega2p-23.05.3-20240909.bin on output/
when i upgrade omega2+ with command "sysupgrade -F -n onion_omega2p-23.05.3-20240909.bin", can not find target mycfg.conf in /etc
PS: I git clone repo, I follow recommand text “bash onion_buildenv setup_imagebuilder” in terminal show above error:
tar (child): /home/mulu553/openwrt-imagebuilder-wrapper/openwrt-imagebuilder-23.05.3-ramips-mt76x8.Linux-x86_64.tar.xz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now ERROR: invalid archive /home/mulu553/openwrt-imagebuilder-wrapper/openwrt-imagebuilder-23.05.3-ramips-mt76x8.Linux-x86_64.tar.xzbut it's not key, because i can download openwrt-imagebuilder-23.05.3-ramips-mt76x8.Linux-x86_64.tar.xz form http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/
-