[ansible-openwisp2-imagegenerator] - help me, i setting profile and change in the .config

34 views
Skip to first unread message

Michele Salerno

unread,
Apr 10, 2022, 9:46:43 AM4/10/22
to OpenWISP

Hi,

i have Linksys WRT3200ACM and in the my playbook i have:

        - system: mvebu
          subtarget: cortexa9
          profile: DEVICE_linksys_wrt3200acm

The playbook failed, i enter in source and in the file .config i see:

CONFIG_TARGET_mvebu=y
# CONFIG_TARGET_kirkwood is not set
# CONFIG_TARGET_mediatek is not set
# CONFIG_TARGET_ramips is not set
# CONFIG_TARGET_at91 is not set
# CONFIG_TARGET_rb532 is not set
# CONFIG_TARGET_tegra is not set
# CONFIG_TARGET_layerscape is not set
# CONFIG_TARGET_octeontx is not set
# CONFIG_TARGET_oxnas is not set
# CONFIG_TARGET_armvirt is not set
# CONFIG_TARGET_ipq40xx is not set
# CONFIG_TARGET_ipq806x is not set
# CONFIG_TARGET_samsung is not set
# CONFIG_TARGET_arc770 is not set
# CONFIG_TARGET_archs38 is not set
# CONFIG_TARGET_omap is not set
# CONFIG_TARGET_uml is not set
# CONFIG_TARGET_zynq is not set
# CONFIG_TARGET_x86 is not set
CONFIG_TARGET_mvebu_cortexa9=y
# CONFIG_TARGET_mvebu_cortexa53 is not set
# CONFIG_TARGET_mvebu_cortexa72 is not set
# CONFIG_TARGET_MULTI_PROFILE is not set
CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt1200ac=y
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt1900acv2 is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt3200acm is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt1900acs is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt32x is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys_wrt1900ac is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_plathome_openblocks-ax3-4 is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_a385-db-ap is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_a370-db is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_a370-rd is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_axp-db is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_axp-gp is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_marvell_a388-rd is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_solidrun_clearfog-pro-a1 is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_solidrun_clearfog-base-a1 is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_globalscale_mirabox is not set
# CONFIG_TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia is not set
CONFIG_HAS_SUBTARGETS=y
CONFIG_HAS_DEVICES=y
CONFIG_TARGET_BOARD="mvebu"
CONFIG_TARGET_SUBTARGET="cortexa9"
CONFIG_TARGET_PROFILE="DEVICE_linksys_wrt1200ac"
CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a9_vfpv3-d16"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_CPU_TYPE="cortex-a9+vfpv3-d16"
CONFIG_LINUX_4_14=y
CONFIG_DEFAULT_base-files=y


How is this possible?

Thanks.


Michele

Federico Capoano

unread,
Apr 11, 2022, 9:34:55 AM4/11/22
to open...@googlegroups.com
What failure are you getting when you try to compile?

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/0605a096-d8c4-5965-2cb9-39b6f5090c75%40gmail.com.

Michele Salerno

unread,
Apr 11, 2022, 12:20:03 PM4/11/22
to open...@googlegroups.com
Hi,

I don't get an error but I find another firmware.

Spec:

1) run playbook and i have error
2) enter in source and run make -j1 v=S ...is ok
3) run playbook and no error...bat other firmware.

playbook is wrt3200acm and the firmware is wrt120ac

I have try compile manual and firmware is ok.

Thanks.


Il 11/04/22 15:34, Federico Capoano ha scritto:
> What failure are you getting when you try to compile?

--
Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.

Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.

Federico Capoano

unread,
Apr 11, 2022, 12:58:55 PM4/11/22
to open...@googlegroups.com
I am not sure what's going on, do you get the same result if you avoid using the playbook and do it manually?
I would try asking on the OpenWrt forum as well.

Best luck
Federico

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.

Michele Salerno

unread,
Apr 17, 2022, 8:48:42 PM4/17/22
to open...@googlegroups.com

Hi, i open the issue on repo  openwrt.

I have a questions: is posible add vars for "CONFIG_TARGET_MULTI_PROFILE=y"?

Best regards.

Michele

Il 11/04/22 18:58, Federico Capoano ha scritto:

Federico Capoano

unread,
Apr 18, 2022, 9:35:31 AM4/18/22
to open...@googlegroups.com
Hi Michele,

yes it's possible to add custom configurations, you can use the variable "openwisp2fw_source_other_configs", see its default value here:

Reply all
Reply to author
Forward
0 new messages