I am going to use GPIO using vim3 and ubuntu 20.04.
I want to use PIN29, PIN30, PIN31, PIN32, PIN33 as GPIO like PIN37 of VIM3.
But I don’t use this pin as GPIO because it’s not GPIO.
So I’m writing to get some advice on this issue.
I need PIN29, PIN30, PIN31, PIN32,PIN32, PIN33 of VIM3
But it not GPIO,
I cant write 1 to these GPIO with /sys/class/gpio/gpioxxx .
so i want to change mux seleting fot these gpios.
It’s very interesting to follow this discussion about SPI here.
Until now we solved this problem for our self, our Project.
We changed for now from Ubuntu to Android 9, because
the problems with HDMI and TS050 Display is until now
in Khadas Queue! we’re waiting for good messages.
But Now, we have the problems with Android…!!
We’re still waiting for a message from Khadas specialist
it’s not so easy to communicate with him, him’s response time is
average 8 days!
Sorry that I’…
I referred to the above articles, but I couldn’t solve them.
The location of the kvim3_linux.dts file could not be found and an attempt was made to “Fenix Script Set to Build Ubuntu/Debian Images” failed due to an error.
Please help me.
@Sunny you need to build the fenix image in an x86 device, not in the VIM3 itself…
you can also use the github script to build fenix images as you require:
This was just a little thing we attempted and came out successfully in a few tries,
for anyone who needs a fresh build of Ubuntu or Debian using Fenix, you can now do it without having a Linux computer, all thanks to Github CI/actions,
I’d like to thank the team at the Khadas discord group who helped me with this, and showed me the way through this little project
with just a Github account, you can do these simple steps to get jumpstarted and have a latest image that is also up to d…
Thanks to you, I think I know how to solve the problem.
But one of the two questions remains.
Do you happen to know the location of the file kvim3_linux.dts?
Can’t I install ubuntu and find the file right away without any other process?
Do you think I have to go through that “Fenix Script Set to Build Ubuntu/Debian Images” process to check it out?
This command doesn’t work for me.
$ diff --git a/arch/arm64/boot/dts/amlogic/kvim3_linux.dts b/arch/arm64/boot/dts/amlogic/kvim3_linux.dts
Thank you very much for your reply.
@Sunny if you need the dts file, you need to check the khadas linux kernel repo
This file has been truncated.
* Copyright (C) 2019 Wesion, Inc. All rights reserved.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
I’m trying to solve it with your help.
I tried by referring to the post, but failed.
Am I not allowed to modify the “config-template.conf” file?
I am using VIM3 and ubuntu20.04.
Is it wrong to do this?
I tried to compile but failed.
I installed this ubuntu version
@Sunny first of all, please don’t give a pull request to the khadas fenix repo, it isn’t relevant there, delete it as soon as possible
and also please disable the unecessary workflows, they will be triggered aoutomatically and will inhibit the main workflow from running
I didn’t know because it was my first time.
How do you build a fenix in vim3?
@Sunny its very simple,
I’m sure you know how to setup the building script,
the thing is to check the
*.conf file to make sure you don’t have any incompatible settings
(eg. mainline linux and 2015.01 uboot) etc.
your error in the .
conf file is that linux is supposed to be 4.9 not 2015.01
so change it to
LINUX = 4.9
UBOOT = 2015.01
it should fix the issue
also remember to disable all other workflows other than build firmware,
if you have a redundant build, you can right click on the side and cancel the workflow
I’ll try again.
Thank you for your kindness.
Thanks to your kind reply, I solved it.
OH, Can I ask you one more question?
There was an error while making it, do you know what is the problem?
um, I am not sure about that error,
but also don’t use WSL for building Fenix Ubuntu/Debian images, you with get port errors while building rootfs of the image,
WSL uses a different port number for getting ubuntu packages, and hence it will not work
I suggest using Virtual box with ubuntu installed in it for building fenix…
I didn’t know because it was my first time, so I asked a lot of questions, but thank you for your kind response.
no problems, if you have more doubts you can also ask in the
discord (non-official) chats