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

09:14 topi`> jnettlet[m]: we have one usbA-usbA cable that we use for flashing, and I'm not sure it won't break after 100 uses
09:15 topi`> of course someone can fix it, but we cannot solder in our current offices. It's a bugger
09:16 topi`> compiling buildroot with 4.9.13 kernel... I added a patchset that should enable som-v15 dts and stuff.
09:29 jnettlet[m]> topi`: with the Rev 1.4 boards you don't need to fuse the boot mode any longer. You can use the jumpers to choose the boot medium. So you can boot an unfused som from SDHC and flash from that.
09:49 topi`> yeah that's cool
09:49 topi`> have you tested that it works as intended? :)
09:55 topi`> damn I've forgotten how to embed the rootfs.tar into zImage when building a buildroot
09:56 topi`> my previous buildroot builder went into dev/null when I accidentally deleted the wrong VPS
09:56 topi`> without backups...
09:56 suihkulokki> kauaksi pilvet karkasivat
10:29 topi`> simply choosing "Initial RAM filesystem linked into linux kernel" from buildroot's config won't integrate rootfs.cpio into zImage, but just creates it in outputs/images
10:29 topi`> :(
10:30 topi`> I want a big fat zImage so that it can be loaded with the imx_usb_loader in one go
10:48 topi`> I'll just try a global rebuild of buildroot... make clean and then wait, wait, wait
10:49 bencoh> "in one go"?
10:52 topi`> bencoh: because imx_usb_loader directly loads&boots an zImage, I cannot include other files, like a separate rootfs.cpio
10:53 topi`> so rootfs has to be integrated inside zImage
10:54 bencoh> why don't you make it load uboot to chainload everything?
10:55 bencoh> (imx_usb can load different files in memory)
10:56 topi`> OK so uboot can also be loaded?
10:56 bencoh> sure
10:56 topi`> but I already got the buildroot to make an integrated huge zImage, so I know it works
10:57 topi`> I just need to remember what configs I had to make buildroot use
10:57 vpeter> topi`: Maybe useful https://community.nxp.com/thread/441563
10:59 jnettlet[m]> well if you want to flash over a usb-otg cable then you can just use dfu
10:59 bencoh> that to, assuming uboot enables/runs dfu
10:59 jnettlet[m]> well you just need to build u-boot to do it.
11:00 topi`> wow, now I have an integrated zImage
11:00 topi`> I needed to "make clean" the entire buildroot project
11:00 bencoh> and have run dfu commands to configure and start it, but yeah
11:00 topi`> I don't know dfu
11:00 bencoh> s/have/have uboot/
11:00 topi`> I stick to the old known stuff :)
11:00 jnettlet[m]> dfu is old
11:00 jnettlet[m]> built by nokia for the 770 :)
11:00 bencoh> :)
11:01 topi`> oh, THAT dfu
11:01 bencoh> (nokia NIT <3)
11:01 jnettlet[m]> yes, it has finally been integrated into u-boot after all this time.
14:16 topi`> does anyone know if there are IP65 enclosures available for Hummingboard?
15:13 jnettlet[m]> topi`: we have designed a few for other customers. contact Ilya and see if you can use one of them.
19:04 topi`> jnettlet[m]: can we have 2 mPCIe-connected usb devices on the HB? probably not...
19:05 topi`> perhaps would work on the ClearFog if the M.2 slot can be repurposed for a wifi card
19:05 topi`> dunno if the A38x serdes lines are as flexible as on the 8040?
19:06 jnettlet[m]> The CF base supports that for the m.2 slot but the connector we use is generally only used for sata and lte modems
19:07 jnettlet[m]> That m.2 slot supports sata, USB 3, and USB 2
19:22 topi`> which key is that?
19:22 topi`> most wifi cards seem to be A- or E-keyed
19:37 jnettlet[m]> key B I believe. It is on the schematic