Jump to content

RockPi 4b 'board bring up'


chwe

Recommended Posts

4 minutes ago, hbmaennchen said:

Am I the only one who have usb troubles? BTW, AP mode is fine, ...and i have to learn how to quote correctly

Try a USB3 hub. I've also had stabillity problems with multiple devices. A USB3 hub fixed it for me.

Link to comment
Share on other sites

13 hours ago, TonyMac32 said:

Surely the EU can handle simple shipping more effectively than that?

Let's have 170 years more time and we can manage the EU
 

Spoiler

 

USA: With the entry into force of the constitution in 1788, the previously sovereign individual states became part of a Federal Republic. That was about 230 years ago.
EU: The European Economic Community (EEC) and the European Atomic Energy Community (EURATOM) were founded on 25 March 1957. That was about 62 years ago. Let's have 170 years more time and we can manage the EU as well as the USA, unless the British put a spoke in our wheel.

The EU has 28 independent Member States and 24 official languages! Each member has its own social system, salaries, prices for food, housing, luxury goods and pensions, everything is different, except the currency, that is insanity. Every citizen can work and reside anywhere. In theory, all 512 million EU citizens could emigrate to Martinique, that would be legal, but who is willing to learn French voluntarily?

As part of France, Martinique is part of the European Union, and its currency is the euro.

 

 

Link to comment
Share on other sites

8 hours ago, mitag said:

Let's have 170 years more time

International trade has existed for millennia, this is a government philosophy problem, which I think is strongly linked to protectionism and borderline extortion.  The big difference I see off hand is that I would have to bring in something worth over $2500 for customs to care.

 

We do have schools here :lol:, we pro/conned your government structures against our own government design as an academic exercise, and discussed the advantages and disadvantages of the common currency of the Euro. 

 

Every state within the US has its own state constitution and law, controls its own business, infrastructure and education taxes, and has wildly different standards of living and culture.  (from surviving on $18k/year in West Virginia (my origins) to needing $100k/year to not be homeless in large parts of California.)  This causes quite a lot of confusion with outsiders because they assume the federal government controls these things, but in reality, they simply waste money interfering (and negatively affecting the outcome) while the states conduct their business.  A good example is the legality of marijuana, it is illegal at the federal level.  Many states ignore this and have "legalized" it at the state level, and the federal government does not respond because the legal battles would take decades in all likelihood.

Link to comment
Share on other sites

Hello all,

After having done the mod suggested by Martin I have now a wifi used as hotspot which is stable.

But the signal is really, really weak.

So when I am more than 5m from it my PC doesn't catch the signal which is something like 25% of the full scale.

Is there something I can do ?

 

Link to comment
Share on other sites

fyi, current nightly is broken (Armbian_5.73.190128_Rockpi-4b_Ubuntu_bionic_dev_4.20.0):

Starting kernel ...

[   14.483101] rockchip-pinctrl pinctrl: pin gpio2-26 already requested by vcc3v3-pcie-regulator; cannot claim for f8000000.pcie
[   14.484110] rockchip-pinctrl pinctrl: pin-90 (f8000000.pcie) status -22
[   14.484800] rockchip-pinctrl pinctrl: could not request pin 90 (gpio2-26) from group pci-clkreqn-cpm  on device rockchip-pinctrl
[   14.485824] rockchip-pcie f8000000.pcie: Error applying setting, reverse things back
[   14.594087] rockchip-pinctrl pinctrl: pin gpio3-28 already requested by leds; cannot claim for ff880000.i2s
[   14.594947] rockchip-pinctrl pinctrl: pin-124 (ff880000.i2s) status -22
[   14.595525] rockchip-pinctrl pinctrl: could not request pin 124 (gpio3-28) from group i2s0-8ch-bus  on device rockchip-pinctrl
[   14.596517] rockchip-i2s ff880000.i2s: Error applying setting, reverse things back
[   14.869883] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/9
[   16.080776] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   17.088952] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

currently on my windows machine and no time to investigate it further.

Link to comment
Share on other sites

6 hours ago, chwe said:

fyi, current nightly is broken (Armbian_5.73.190128_Rockpi-4b_Ubuntu_bionic_dev_4.20.0):

It seems to be an outdated build, since my own build is :

 

Welcome to ARMBIAN 5.76 user-built Debian GNU/Linux 9 (stretch) 4.20.13-rockchip64

 

About WiFi, as I mentionned earlier, it requires manual update of the firmware :

mv /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin-ORIG 
mv /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt-ORIG
cp /lib/firmware/rkwifi/fw_bcm43456c5_ag.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
cp /lib/firmware/rkwifi/nvram_ap6256.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt

 

Link to comment
Share on other sites

likely.. it's 5.73 from the downloadpage.. Currently do some 'thermal stresstest' to the RockPi by calculating protein interactions (multi core normaly it sits around 75-80°C).. And forgot to build my own one so I downloaded the one from the DL page... At least I had my USB-Uart in my bag.. ;)

 

compared to 'a bit' older (2 years old) i7.. RK3399 performs surprisingly well in numbers crushing. :thumbup: For my use-case..

 

Maybe we should update the one from the DL page?

 

 

Link to comment
Share on other sites

I cannot get audio working.

"aplay -l" returns no audio card found even with a USB sound card attached.

 

I am using the following build:
Linux rockpi 4.20.13-rockchip64 #5.76.190228 SMP Thu Feb 28 22:52:11 CET 2019 aarch64 aarch64 aarch64 GNU/Linux 

Link to comment
Share on other sites

On 3/7/2019 at 11:17 PM, martinayotte said:

It seems to be an outdated build, since my own build is :

 

Welcome to ARMBIAN 5.76 user-built Debian GNU/Linux 9 (stretch) 4.20.13-rockchip64

 

About WiFi, as I mentionned earlier, it requires manual update of the firmware :

 

 

 

Could anybody tell me where to get the latest Armbian build? I cannot find builds that are newer than 5.75 with kernel version 4.4.174 from the Download page.

Link to comment
Share on other sites

1 hour ago, Igor said:

 

You have to build on your own: https://github.com/armbian/build

 

Sorry, I should have read the documentation. I am new to Armbian so apologize for such stupid questions :lol:

 

I'm new to the SBC world (but not new to Linux), so I don't really know how to start with this board. The main purpose is to use this board as a NAS with OMV and maybe try some Docker images and experimenting with lightweight desktop environments in future. But the first priority is to get a stable working OMV installation. And this is why I chose Armbian (it was recommended on OMV forum). But I don't really know if it's ready for production use and if things will break in near future if I use one of the prebuilt images or build one by my own. What should I do? Wait until this board gets stable Armbian builds or start using it now with one of the builds provided here?

Link to comment
Share on other sites

Hi Guys,

 

haven't used the board in a couple months and just wanted to set it up again. I tried the 4.4 image as well as the nightly build (from january?) and a self built version (Armbian_5.76_Rockpi-4b_Ubuntu_bionic_dev_4.20.13).

 

The 4.4 Image wouldn't boot at all for me (maybe my sd card was acting up? don't know)

the nightly image would boot up but no wifi

the selfbuild image boots up too but also no wifi

 

Reading this thread I noticed there was some talk about wifi being unstable and that this issue got fixed. Makes me wonder which driver needs to be loaded in order to get the wlan0 interface. I have tried all the rtl* modules already without success.

So do I have to get the driver from https://github.com/lwfinger/rtl8723au or https://github.com/lwfinger/rtl8188eu and compile it manually?

Link to comment
Share on other sites

2 minutes ago, Vonor said:

the nightly image would boot up but no wifi

the selfbuild image boots up too but also no wifi

 

If you read the thread you posted in, it was mentioned only 2 days ago:

 

On 3/7/2019 at 5:17 PM, martinayotte said:

About WiFi, as I mentionned earlier, it requires manual update of the firmware :


mv /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin-ORIG 
mv /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt-ORIG
cp /lib/firmware/rkwifi/fw_bcm43456c5_ag.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
cp /lib/firmware/rkwifi/nvram_ap6256.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt

 

 

Link to comment
Share on other sites

57 minutes ago, TonyMac32 said:

 

If you read the thread you posted in, it was mentioned only 2 days ago:

 

 

Yeah I actually missed out that part. My bad.

 

However, that didn't work for me. After copying the files and rebooting I get this in dmesg.

 

$ dmesg | grep -i sdio
[    2.424208] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    7.256738] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/9
[    7.300520] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[    8.304313] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

 

 

Link to comment
Share on other sites

1 hour ago, BueroBert said:

But I don't really know if it's ready for production use and if things will break in near future if I use one of the prebuilt images or build one by my own. What should I do?

Hmm things might break for the RockPi during bring up.. The device tree is lent out from an other board and the whole RK3399 boards must be considered as WIP. You can freeze the kernel in the beginnings until stuff gets mature. If your board runs in production and you want fix a broken kernel this might be a good idea. I would probably build a 4.19 kernel rather then using the provided one (but well.. I build my images mostly on my own, except I'm at work.. :D)

 

The board runs fine so far (currently running a hight CPU load application since 2-3 days 24/7 so the SoC sits between 75 and 80°C the whole time.. :ph34r: I really should optimize its cooling cause the big cores throttle down )...

Link to comment
Share on other sites

7 minutes ago, martinayotte said:

Is that trial was done using selfbuilt 4.20.13 image ?

yes. The image was build on Wednesday with a fresh git pull using docker. The actual compile options I can't provide currently though. As I did it on my work pc to which I don't have access right now.

Link to comment
Share on other sites

I used Network Manager to connect to the Wifi. At first it seemed work. but after a while dmesg gets flooded with these messages.

 

[Sun Mar 10 12:45:13 2019] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[Sun Mar 10 12:45:15 2019] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[Sun Mar 10 12:45:15 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 12:45:18 2019] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[Sun Mar 10 12:45:20 2019] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[Sun Mar 10 12:45:20 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 12:45:23 2019] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110

 

Link to comment
Share on other sites

I flashed the latest Armbian image from download page, upgraded to 5.76.190218 nightly Debian GNU/Linux 9 (stretch) 4.20.13-rockchip64, applied wireless fix from this thread (by copying firmware files), rebooted, but lsconfig just shows eth0. Here is the output of dmesg | grep -i sdio:

 

root@rockpi:~# dmesg | grep -i sdio
[    1.711222] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    5.545484] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/9
[    5.549768] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.bin failed with error -2
[    6.552057] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

Any idea what went wrong?

Link to comment
Share on other sites

11 minutes ago, BueroBert said:

Any idea what went wrong?

Did you tried to what Vonor did ?

Install this https://beta.armbian.com/pool/main/a/armbian-firmware/armbian-firmware_5.76.190307_all.deb

Then do that :

mv /lib/firmware/brcm/brcmfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin-ORIG 
mv /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt-ORIG
cp /lib/firmware/rkwifi/fw_bcm43456c5_ag.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
cp /lib/firmware/rkwifi/nvram_ap6256.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt

 

Link to comment
Share on other sites

Further Info on the above mentioned issue.

 

I just downgraded the firmware to 190218 copied the files over again and rebooted. round about 20 minutes after the reboot the dmesg flood starts with this:

 

[Sun Mar 10 19:31:30 2019] brcmfmac: brcmf_sdio_hostmail: mailbox indicates firmware halted
[Sun Mar 10 19:31:37 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 19:31:37 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 19:31:40 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 19:31:40 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 19:31:40 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110

 

Link to comment
Share on other sites

Same again. Exactly after twenty minutes of uptime.

 

[Sun Mar 10 20:21:21 2019] brcmfmac: brcmf_sdio_hostmail: mailbox indicates firmware halted
[Sun Mar 10 20:21:28 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:28 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:31 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:31 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:31 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:33 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:33 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:36 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:36 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:36 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:38 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:38 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:41 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:41 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:41 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:43 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:43 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:46 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:46 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:46 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:49 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:49 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:51 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:51 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:51 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:54 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:54 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:56 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:56 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:21:56 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:21:59 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:21:59 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:01 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:01 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:01 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:04 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:04 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:06 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:06 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:06 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:09 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:09 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:12 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:12 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:12 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:14 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:14 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:17 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:17 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:17 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:19 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:19 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:22 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:22 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:22 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:24 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:24 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:27 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:27 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[Sun Mar 10 20:22:27 2019] brcmfmac: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[Sun Mar 10 20:22:30 2019] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[Sun Mar 10 20:22:30 2019] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines