Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Details with OPIZ2+ H5

Featured Replies

6 minutes ago, martinayotte said:

But if a new firmware package is installed afterword, and since this piece of code is not part as "post install script", the copy will be reverted to the wrong firmware. Right ?

Yes, but why do we have to copy/overwrite files in the first place? Ideally we have to either distinguish between different chip revisions or find a single set of firmware that works for all hardware. In reality we may just select the one that breaks in fewer scenarios or for less popular boards.

  • Author

I made some tests several months ago with two Zero machines, one powered from the other (that even worked as an usb0 network device) and a hard disk from one of them and it worked "well" ... but you are right, I don't know in the long term if this method for powering the computers could produce some damage.  Maybe with a low consumption disk (or without it), would be better.

 

The next test was different.  The Zero2+H5 was connected in a NAS expansion (from the internal 13 connector) and receiving the power from the barrel connector there.  The hard disk was in the NAS expansion, and a Zero was connected on the Zero2+H5 GPIO pins.  So, no micro USB was powering either machine.

 

In general, if it is necessary to power some machine through the USB port, then it is better this to be the last one in the chain, and not to ask that machine to consume a lot of power by reducing the quantity of connected devices there.  

 

Now I am making a different arrange, but with a BPI-R2 machine; this receives 12V and was built for more demanding work than the OPi Zero ... then I can connect a Zero from the BPI-R2 USB port or from the BPI-R2 GPIO with less worries (in fact, I will replace the Zero with a BPI-M2+ when it arrives).

50 minutes ago, martinayotte said:

Do you mean that simply adding the piece of code around line 28 of firmware.sh would do the job ?

No, this is executed on the build host. In theory you could add a postinstall script to copy/overwrite the files, but IMO it is still an ugly and unreliable hack.

The hack in firstrun replaces one brcmfmac43430-sdio.bin with another depending on dmesg error message presence. If fw_bcm43438a1.bin can be used as brcmfmac43430-sdio.bin on all devices then we could just replace it in the repository, but this needs to be tested first.

Also the mainline driver code has this:

BRCMF_FW_NVRAM_DEF(43430A0, "brcmfmac43430a0-sdio.bin", "brcmfmac43430a0-sdio.txt");
/* Note the names are not postfixed with a1 for backward compatibility */
BRCMF_FW_NVRAM_DEF(43430A1, "brcmfmac43430-sdio.bin", "brcmfmac43430-sdio.txt");

so we may just have to rename and copy some files

2 hours ago, zador.blood.stained said:

Ideally we have to either distinguish between different chip revisions

 

Can we read out the 'chip id' (according to this here 0x00000001 for 43430A0 and 0xFFFFFFFE for 43430A1)? There's a lot of work going on around 43430A1 used on RPi 3 (eg. preparing further firmware changes or recently the BroadPwn fix all 'our' AP6212 devices still wait for). 

 

Wrt 'all devices'... we support certain boards that exchanged the A0 AP6212 with A1 in between (eg. Banana Pi M2+ or NanoPi Air).

19 minutes ago, tkaiser said:

Can we read out the 'chip id' (according to this here 0x00000001 for 43430A0 and 0xFFFFFFFE for 43430A1)?

Don't know about "us" but the driver checks for these values: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c#n636

This change was introduced quite recently: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c?id=1278bd149839f2281db45a910082ba143546a148

 

Edit: This change is present starting with 4.13

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.