Enhancement request: adding BOARD= support to radio FW build enviroment #130
|
@jnilo1 Thanks for your enhancements you did in #126. I will leave #126 for Main SOC discussion, and creating this one for radio FW build enhancement. The initial target would be EFR32MG13P732HI that used in Sengled G4. Could you please update build script to support this? |
Replies: 8 comments 1 reply
|
Hi @hlyi, Yes — this is the radio half of the deal sketched in #126; let's make it concrete here. Good news first: same SDK, same toolchainThe MG13P is Series 1, so it stays inside the build environment you already have: Gecko SDK 4.5.0 + EmberZNet 7.5.1 + ARM GCC. No new SDK, no new toolchain — The shapeMirroring the SoC side: A board directory defines: the exact chip part number handed to One simplification for the G4: your stock Gecko bootloader is already in place and working (you proved it in #129 — 115200, and What we need from youSame contract as
Proposal: I put the |
|
Plumbing is in — How it worksA board contributes one file, BOARD=sengled-e39-g8c ./build_efr32.sh ncp ot-rcpA shared helper writes the routing into the slc-generated VCOM header, changing only the value on each Software (XON/XOFF) flow control is wiredThe G4 board file is set to software flow — built with XON/XOFF, not the Lidl RTS/CTS handshake: This isn't a patch: the iostream/uartdrv VCOM config already exposes software flow as a flow-control-type option ( What's still needed from you — two things
Next stepDrop your real USART/pins into |
|
Quick update — scratch the The EM4 VSCALE error was a red herring. The real cause was on our side: the NCP So the mechanism is complete: One thing left, and it's yours: the build still uses placeholder Lidl UART pins ( |
A heads-up: there's now a
|
|
@jnilo1 Thanks for creating new build environment for multiple boards support 👍 , and providing the heads up for v4.0.0-pre branch. I will move my work to the new branch. Quick summary on the progress:
Here are a few observations:
Thanks again! |
|
@jnilo1 Thanks for the fix 👍 . I rebuilt everything based upon v4.0.0-pre branch. Here are the results:
The new FW build environment is up and running for G4. Great job @jnilo1 👍 Thanks a lot! The only minor thing to fix for radio FW build environment is directory and FW names. I think it's not critical, we can defer it for future release. |
|
The original request has been implemented. Close this discussion. |
A heads-up: there's now a
v4.0.0-prebranchI've opened
v4.0.0-pre— it'sv3.11.0-preplus the per-driver kernel audit batch that was waiting in the wings, and it's the branch that will become the next release. No rush at all, but if you'd like your G4 work to sit on the branch that's actually heading to GA, this is the one.What it adds
A hardening pass over the whole 6.18 kernel tree — one entry per driver under
[Unreleased]in3-Main-SoC-Realtek-RTL8196E/CHANGELOG.md. The headlines:rtl8196e-ethv2.13 (a real DT resource model + BQL on the TX queue),8250_rtl819xv1.4 (FIFOs finally enabled, RX trigger pinned to 1),rtl819x_wdtv1.6 (panic-safe), plus gpio / leds / spi / clocksource / …