Adding Custome profile in Openwrt Build machine

I successfully compiled and installed the Openwrt image 23.05.5 on my TP LINK Archer C6 (EU), and it is operating as intended.

The TP LINK Router Model Name is now displayed when I open the GUI. I also wish to alter it. Can I accomplish this by copying the TP LINK Archer c6 profile and changing it to the desired name?

Tell me how to accomplish this, please.

Where do you see the model name displayed? Can you show a screenshot? This may not require any changes in the build files (not sure what you are doing that requires a custom build in the first place, but let’s see where you are trying to change the identifier)

On this Place, By Replacing the model to my custom name. and I believe the same GUI model it being displayed from here.

Where in the gui are you seeing this? And why do you want to change it?

Are you using the Build System?

My company banched me and asked to learn these things, they are using SDKs of Microchips (Qualcomm and Mediatek) to build firmware for wireless devices. So I have one TP LINK router at home I search over the internet to how flash openwrt firmware. And read the documents to build own Build System and made this firmware.

Here in the GUI

Are you using the official openwrt build system for the work at your company, or are you using the vendor supplied sdk?

These images I have attached are from the official openwrt build systems, I downloaded code and run it on my own machine. In company there are using vendor supplied sdks.

This means that the methods to change the identifiers may be different for relative to the official openwrt build system. You should ask the vendor or refer to their sdk documentation for the information related to that system.

1 Like

Sound like you want to brand your build.

In ‘make nconfig/menuconfig` check Image Configuration, then access the sub-menu under it. You should see a Version configuration options. Check it then enter its sub-menu. You can change anything there.

Be aware that your screenshot from Post 3 comes from the ubus system board call which won’t map everything from the Build System config, so you will likely have to play with it a bit to get acceptable in the GUI.

When you are on the bench you do not have that much privileges, SDKs are mostly based on Openwrt so If I know how to change it in openwrt then I will be a much earlier to do it on SDKs as well, at least better than nothing.

If you can help me show how do it, it will be great

Thanks, I'll try that

There are options to enable and disable the feeds, I couldn't find any option to add customer profile/Version configuration under Image configuration menu.

That being the case, your vendor SDK has likely disabled it. You will have to contact them directly about branding options available in their SDK.

I'm not using Vendor SDK. Right now I'm using Openwrt 23.05.5 version. Pure openwrt no SDK. and This version doesn't have such option.



Thanks, By Enabling Experimental features and Advance configurations option, Image configuration version magically appears.

I Did the following configuration, Will it appear on target profile list? Or it will change the mention value when I compile code with the target profile of TP LINK Archer C6.

If you mean within the buildroot device profile, no.

cat /etc/os-release. This is linked to /usr/lib/os-release
ls -l /etc/os-release

Great, I understood.

But there must be a way to add device in target profile.

So I can change Model Number as well.