IRC log of #cubox of Thu 24 Aug 2017. All times are in CEST < Back to index

07:35 Ke> topi`: what are the best wireless speeds you have gotten on linux
07:43 jnettlet[m]> 500Mbps is stardard for me
07:43 jnettlet[m]> that is with 2x2 mimo 802.11AC 5Ghz
07:44 Ke> both ap and sta linux?
07:44 jnettlet[m]> yes
07:44 Ke> nice to hear
07:44 jnettlet[m]> for sta, I have my xps 9350 with a killer wifi m.2 card in it
07:45 Ke> I haven't particularly optimized, but I have never seen anything above 100Mbps
07:45 Ke> I think I have only had 802.11n hw anyway
07:45 jnettlet[m]> I have also tested intel's 2x2 802.11ac and it gets more like 500Mbps RX and 300Mbps TX.
07:46 Ke> then again I would be more pleased to have nic that had fw security updates
07:47 jnettlet[m]> which nic is that?
07:49 Ke> I don't think manufacturers care about releasing updates
07:49 Ke> broadcom released security updates for apple, but not for linux users
07:50 jnettlet[m]> yes I know. Also for Google.
07:50 jnettlet[m]> I have opened a support request with Cypress regarding this.
07:51 Ke> in general I guess, the fw is probably the same, it would just need to be extracted
07:51 Ke> well it varies from chip to chip
07:51 Ke> but if you would happen to have one of the chips supported by ios or whatever google devices they support
07:52 jnettlet[m]> unfortunately it isn't. the RPi firmware is newer so can't be used. the iPhone 4/4s uses the bcm4330 but I am not sure if they received the fix.
07:54 jnettlet[m]> and google only fixed the bcm4343 firmware. https://android.googlesource.com/platform/hardware/broadcom/wlan/+/770dbc7d216289c0b93630899edd2f52aad780a5
16:10 dgilmore> hey all. has anyone seen the hummingboard-edge with an imx6 solo fail to load u-boot.img
16:11 rabeeh> dgilmore: have a console dump?
16:14 dgilmore> rabeeh: SPL: Unsupported Boot Device!
16:14 dgilmore> SPL: failed to boot from all boot devices
16:15 rabeeh> which rev of HummingBoard you have?
16:15 rabeeh> 1.2 or 1.4?
16:15 dgilmore> I am using the upstream u-boot as I can not build the solid run u-boot
16:15 dgilmore> 1.2
16:15 rabeeh> hmm
16:15 dgilmore> rabeeh: got it
16:15 rabeeh> did you try the SR u-boot?
16:16 dgilmore> had to add a jumper on pin 7 and 8
16:16 rabeeh> ?
16:16 rabeeh> why?
16:16 rabeeh> the 2x4 boot header?
16:16 rabeeh> this is not functional on HB2 rev 1.2
16:16 dgilmore> I do not know why
16:17 dgilmore> I added the jumper and SPL was able to laod u-boot
16:17 dgilmore> rabeeh: https://paste.fedoraproject.org/paste/VPxGDC7n50qZqu~0TKHjzw
16:17 dgilmore> first was without the jumper
16:17 dgilmore> second was with
16:18 dgilmore> I guess SPL is looking for it
16:19 rabeeh> my guess is that your SOM efuses are not set to boot from the micro SD
16:19 dgilmore> possibly
16:20 dgilmore> I ordered the board in June 2016, but this is the first I have really sat down to try make it work
16:20 rabeeh> oh; fedora 25
16:21 rabeeh> are you using the one that already has 50+ device trees?
16:21 rabeeh> --> /dtb-4.8.4-301.fc25.armv7hl/imx6dl-cubox-i.dtb
16:21 dgilmore> I am using the stock standard fedora images
16:22 dgilmore> entirely upstream bits
16:22 rabeeh> great !!
16:22 dgilmore> not sure that is the right dtb though
16:22 rabeeh> it is not
16:22 dgilmore> ass I am not getting any kernel output
16:22 dgilmore> as
16:23 rabeeh> should be imx6dl-hummingboard2.dtb
16:23 rabeeh> this is probably because u-boot didn't detect HB2 correctly
16:24 dgilmore> likely
16:25 dgilmore> rabeeh: cheers booting now
16:26 dgilmore> will work on some patches to u-boot
16:26 dgilmore> having only gcc7 available makes the solidrun sources not very useful
17:35 dgilmore> rabeeh: you should see an email from me soon
17:41 jnettlet[m]> dgilmore: I have u-boot patches for mainline, that allow fedora 26 to boot with no configuration.
17:42 jnettlet[m]> although I am still working on getting overlay support for everything working. Since your board is so old that won't effect you.
17:43 dgilmore> jnettlet[m]: it works just fine with no configuration
17:44 dgilmore> upstream u-boot currently has no logic to detedt the hummingboard2
17:44 jnettlet[m]> dgilmore: for sdhc yes, but not for other boot methods, and not with overlay support.
17:44 jnettlet[m]> yes I know
17:44 jnettlet[m]> or handle 4GB soms.
17:44 dgilmore> jnettlet[m]: okay
17:45 dgilmore> apparently the hummingboard-edge changes mac every boot
17:46 dgilmore> [ 13.071542] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
17:46 dgilmore> [ 13.081586] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: a2:16:b0:1f:ed:00
17:46 jnettlet[m]> your som is unfused
17:46 jnettlet[m]> you can use the fuse command in u-boot to set it to whatever you would like.
17:50 dgilmore> nice
18:06 dgilmore> jnettlet[m]: is there a doc somewhere that lays out what banks and words to program?
18:07 jnettlet[m]> dgilmore: https://wiki.solid-run.com/doku.php?id=products:imx6:microsom:imx6-fuse-developers&s[]=fuse
18:07 jnettlet[m]> got down to the MAC address section in u-boot
18:46 dgilmore> jnettlet[m]: there is no MAC address section in u-boot
18:46 dgilmore> the mac address section only has
18:46 dgilmore> echo 0xd063 > /sys/fsl_otp/HW_OCOTP_MAC1
18:46 dgilmore> echo 0x12345678 > /sys/fsl_otp/HW_OCOTP_MAC0
18:47 dgilmore> the only u-boot section is to boot from microsd
18:48 jnettlet[m]> wonderful.
18:48 jnettlet[m]> fuse prog 4 3 is the upper bits
18:48 jnettlet[m]> fuse prog 4 2 is the lower bits
18:48 dgilmore> okay thanks
18:53 dgilmore> jnettlet[m]: done thanks
23:14 jnettlet[m]> For anyone interested here is a mainline branch for the clearfog a38x. https://github.com/SolidRun/u-boot/tree/master-a38x
23:16 jnettlet[m]> it adds fun things like working support for usb, sata, spi-nor, rtc.
23:16 rabeeh> \o/
23:16 jnettlet[m]> to come soon are a proper comphy driver so you can configure the mini-pcie ports on demand
23:16 jnettlet[m]> will start pushing to mainline this weekend
23:17 jnettlet[m]> and it supports the distro boot. So grab Fedora 26 image an SDHC write u-boot, and boot right up.