April 27, 2019, 5:14pm
what is the status of linux mainline support for Edge-V ? At least device tree etc stuff?
See the post below which include some device but not the one from Khadas. Did devs get their sample device etc?
PS: Mainline Linux support is key for success of such an device.
@balbes150 asked this to
April 28, 2019, 3:48am
We will try to send basic DTS support to upstream next month, you know that we don’t have much experience about this, but we will try…
April 28, 2019, 6:20am
@numbqq Well you should gain more experience in the Mainline stuff. A lot of Brends did not success as they should because of lack of Mainline support.
You could contact some Linux mainline developers and contribute them a device, but they will of course need you and all information of what that device can == Specification like in link
@numbqq You gain experience from doing. Mailing lists are nowhere near as simple as sending a PR on github, but if I can figure out how to send changes upstream it’s not impossible!
June 14, 2019, 1:05pm
June 14, 2019, 3:03pm
Great work, thanks for making the effort to upstream this! Upstream kernel support makes development, ongoing maintenance and support of systems built on the Edge series so much easier.
I’ll try to give that branch (or -next or mainline if it’s made it that far by then) as thorough a test & check as I can for you when the Edge board I bought for testing arrives.
Does Edge V have gpu & hw acc drivers for mainline Linux?
^ those git repos should have everything you need for supporting current RK devices with ARM blobs on mainline kernels. Also check our main repo for build-system pacakges of the same name; look at the the systemd scripts to see how we support multiple libs in a single distro image with runtime linking of the correct libs (used with Amlogic more than Rockchip, but that will change once our RK images switch up to mainline kernels).
July 26, 2019, 9:31pm
@numbqq Great work.
Keep us informed about mainline support (u-boot, kernel etc) .
My Edge-V Pro arrived today, so I have something to play with.
July 29, 2019, 8:37am
@chewitt thank you for your work on LibreELEC image, you mean the rockchip branch
I see in
this link that there are some images for devices but no for edge-v. I know that edge-v is like edge just form factor of VIM, so i guess that is same image to use on both edge and edge-v?
Sorry, n=o idea. I’m far from being expert on RK things.
August 11, 2019, 2:12am
Mainline u-boot merged to the master branch
Add devicetree support for Khadas Edge.
Khadas Edge is an expandable Rockchip RK3399 board with goldfinger.
- Rockchip RK3399
- Dual-Channel 2GB/4GB LPDDR4
with 896 additions
and 0 deletions.
Build and install with:
Final update: all the required support is now in mainline u-boot, including the device trees from Nick
@numbqq . Build and install with
git clone https://gitlab.denx.de/u-boot/u-boot.git
git clone https://github.com/ARM-software/arm-trusted-firmware.git atf
make -C atf CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31
cp atf/build/rk3399/release/bl31/bl31.elf bl31.elf
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu-
tools/mkimage -n rk3399 -T rksd -d tp…
August 31, 2019, 5:45pm
September 1, 2019, 1:52am
September 2, 2019, 6:35pm
not everthing was merged, the kernel defconfig files etc?
Has anyone managed to boot a mainline image on the edge using the khadas fenix script? none of the images I’ve built will boot.
September 24, 2019, 1:15am
Seems the mainline kernel for Edge is broken, I will fix this…
September 24, 2019, 3:57am
I have updated the repo, please update your repo and try again.
That’s great, thanks! I’ll give it a shot over the weekend.
May 28, 2020, 5:33am
@numbqq what is the state of this patch? https://patchwork.kernel.org/patch/10998053/
was there new revision, did it got merged? is anything else needed to boot mainline kernel on edge-v (max).