Hi ravelo,
It seems that some directories are not exist. Which ubuntu base did you use?
Thanks.
Hi ravelo,
It seems that some directories are not exist. Which ubuntu base did you use?
Thanks.
hi, I used Ubuntu base 17.04
and I forgot to adjust server.sh to take it into account!
I gonna restart with fixed script and will report later.
by the way, the fenix instructions do build a kernel 3.14.29, right?
Hi ravelo,
Yes, it is OK.
INSTALL sound/usb/caiaq/snd-usb-caiaq.ko
INSTALL sound/usb/hiface/snd-usb-hiface.ko
INSTALL sound/usb/misc/snd-ua101.ko
INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usbmidi-lib.ko
DEPMOD 3.14.29
make: Leaving directory `/home/nick/project/khadas/ubuntu/linux'
NOTE: YOU ARE NOW IN THE VIRTUAL TARGET, SETUP ANYTHING YOU WANT.
TYPE 'exit' TO CONTINUE IF FINISHED.
root@Server:/# ls
RUNME.sh bin boot dev etc home lib linux-version media mnt opt proc root run sbin srv sys tmp usr var
root@Server:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
hello, ok, here are some new errors after I adjusted server.sh to handle ubuntu 17.04;
the errors are when I enter the chroot session and I run ./RUNME.sh
NOTE: YOU ARE NOW IN THE VIRTUAL TARGET, SETUP ANYTHING YOU WANT.
TYPE 'exit' TO CONTINUE IF FINISHED.
root@bodhi-DELL-T3400:/# ls
RUNME.sh boot etc lib media opt root sbin sys usr
bin dev home linux-version mnt proc run srv tmp var
root@bodhi-DELL-T3400:/# ./RUNME.sh
/
Get:1 http://mirrors.ustc.edu.cn/ubuntu-ports zesty InRelease [243 kB]
Get:2 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-updates InRelease [89.2 kB]
Err:1 http://mirrors.ustc.edu.cn/ubuntu-ports zesty InRelease
Unknown error executing apt-key
Get:3 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-backports InRelease [89.2 kB]
Err:2 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-updates InRelease
Unknown error executing apt-key
Get:4 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-security InRelease [89.2 kB]
Err:3 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-backports InRelease
Unknown error executing apt-key
Err:4 http://mirrors.ustc.edu.cn/ubuntu-ports zesty-security InRelease
Unknown error executing apt-key
Reading package lists... Done
W: GPG error: http://mirrors.ustc.edu.cn/ubuntu-ports zesty InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.ustc.edu.cn/ubuntu-ports zesty InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.ustc.edu.cn/ubuntu-ports zesty-updates InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.ustc.edu.cn/ubuntu-ports zesty-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.ustc.edu.cn/ubuntu-ports zesty-backports InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.ustc.edu.cn/ubuntu-ports zesty-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.ustc.edu.cn/ubuntu-ports zesty-security InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.ustc.edu.cn/ubuntu-ports zesty-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ifupdown
E: Unable to locate package net-tools
E: Unable to locate package udev
E: Unable to locate package fbset
E: Unable to locate package vim
E: Unable to locate package sudo
E: Unable to locate package initramfs-tools
E: Unable to locate package bluez
E: Unable to locate package rfkill
E: Unable to locate package libbluetooth-dev
E: Unable to locate package iputils-ping
./RUNME.sh: 48: ./RUNME.sh: systemctl: not found
maybe I have some connectivity issues ?
regarding absence of initrd.img,
I made this observation :
mkinitramfs should have been installed by a âapt get install initramfs-toolsâ but this command failed for some reason.
No mkinitramfs means no initrd.img,
so everything is messed up because of that.
I try to understand what is blocking and how to install the arm64 packages anyway
I checked on a 2nd computer, definitely, in the chroot session,
and in RUNME.sh, apt get install is able to find none of the wanted packages :
root@bodhi-giada:/# apt -y install ifupdown net-tools udev fbset vim sudo initramfs-tools bluez rfkill libbluetooth-dev iputils-ping
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ifupdown
E: Unable to locate package net-tools
E: Unable to locate package udev
E: Unable to locate package fbset
E: Unable to locate package vim
E: Unable to locate package sudo
E: Unable to locate package initramfs-tools
E: Unable to locate package bluez
E: Unable to locate package rfkill
E: Unable to locate package libbluetooth-dev
E: Unable to locate package iputils-ping
Hi ravelo,
For Ubuntu 17.04, you may try the following commands in chroot session:
# cp /etc/apt/sources.list.orig /etc/apt/sources.list
# apt-get update
# apt-get -y --allow-unauthenticated upgrade
# apt-get -y --allow-unauthenticated install ifupdown net-tools udev fbset vim sudo initramfs-tools bluez rfkill libbluetooth-dev iputils-ping
Replace apt with apt-get in script RUNME.sh
.
Thanks.
unable to locate most like means your nameserver isnt workling properly in chroot
You probably need to:
echo ânameserver 127.0.1.1â > /etc/resolv.conf
echo ânameserver 8.8.8.8â >> /etc/resolv.conf
That should fix it.
On another note, I dont think I will continueâŚ
It is very disappointing to see a product like this with a total lack of support and processâŚ
Khadas team - You need to supply a step-by-step for ANY build that is fully functional. I honestly dont believe you can work like this efficiently.
You have half baked scripts that create a linux with NO drivers.
You have half baked scripts that COPY drivers (so useless to even attempt to generate a newer version since depmod will fail).
You have not created a âproperâ GUI version.
Eveything that has been posted to build a system -forgets something- and then when that is fixed - forgets something else-
At some point you built a Ubuntu with a kernel 4.9 (if I remember correctly) in both server and in GUI. So how come someone on your team can not post an absolutely definitive step-to-step to recreate that process?
This needs to include all the little quirk modifications (like tweaking DTS files). everything.
This needs to be from scratch - no downloading core ingredients from your github. DRIVERS/Linux Core/Kernel/ U-Boot/ etc must all come from the lowest common possible denominator. Mali might be the only exception, but it should still be buildable for any kernel version etcâŚ
And completion to a eMMC image - (or TF card, but either way) - complete steps for both, because there are some differencesâŚ
If you had this - people would be able to logically change one step at a time and test everything properly starting from a base process.
Also your forums would not be taken up with so much of the simpler supportâŚ
You would be helping yourselves out here.
I might also post this separately so its not lost.
hi and thanks, these did the trick
and at the end,
fbset is already the newest version (2.1-28).
ifupdown is already the newest version (0.8.16ubuntu1).
initramfs-tools is already the newest version (0.125ubuntu9).
net-tools is already the newest version (1.60+git20161116.90da8a0-1ubuntu1).
sudo is already the newest version (1.8.19p1-1ubuntu1).
udev is already the newest version (232-21ubuntu2).
vim is already the newest version (2:8.0.0095-1ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hooray, letâs now resume the process where it stopped previouslyâŚ
next error was :
root@bodhi-DELL-T3400:/# systemctl enable bluetooth-khadas
bash: systemctl: command not found
I imagine I can skip on that one as it is related to enabling bluetooth at boot time
ok,
i finally did manage to build and boot an ubuntu 17.04 w/ kernel 3.14.29;
a few error message during boot,
I need to carefully rebuild again to try to get rid of most of them
and here are the errors at boot time, even after a second rebuild
as I use ubuntu zesty, maybe some fenix boot scripts do not work here as well as in 16.04!
visibly, there are issue with the init process;
/etc/default/FIRTSBOOT never get removed after reboots, so that leans rc.local is never run!
i need to find out why, maybe by installing some package?
Dear All,
How to replace ubuntu-mate built-in default admin. account : khadas/khadas ? I see ubuntu-mate-16.04.2-arm64.tar.gz has built-in khadas folder.
Thanks,
Allen