- Posts: 47
- Thank you received: 7
ODroid as raplacement for Raspberry Pi
- CarterKraft
- Offline
- Senior Member
-
I am getting my butt kicked. I got the image burned to SD with Balena, SD installed and I can SSH in to the odroid and get it configured however it doesn't launch the desktop and I can't get it to.We got an early result!
The PREEMPT_RT kernel has been kept seperate from the image as its quicker to just build the kernel at this stage when trying
Go to my drive
drive.google.com/drive/folders/1yZJ1_14W...CekVJOER?usp=sharing
download the image and install it to an SD card (not eMMC at this stage) with Balena Etcher
Download and install the 4 debs with: sudo dpkg -i kernel-name.deb
Install linuxcnc with:
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
Optionally play with isolcpus as thats not optimised yet.
Edit /boot/armbianEnv.txt
Enter: extraargs=isolcpus=2,3,4,5
Let us know how you got on
I get this
Secondly when I try to install the 4x debs I have them on a USB but I can't figure out via command line how to move them, then install them.ckcplasmaodroid@odroidn2:~$ startxfce4
/usr/bin/startxfce4: Starting X server
/usr/bin/startxfce4: 122: exec: xinit: not found
If I could get the desktop to work I won't be so helpless.
Please Log in or Create an account to join the conversation.
Did you use my image or one from the Armbian site?
Maybe I had the wrong image in drive.
Try this image of mine.
drive.google.com/file/d/1QyaiQRC5UeyPJix...vQk/view?usp=sharing
It should give you the xfce desktop
The USB will just open in the file explorer.
You can make a new top level folder on the SD card while its on the host (reinsert after burning) and copy the debs there. You might need to use Sudo on the droid.
I've also created the user and put the SD back into the host and copy files to the home directory
you can install the debs with sudo dpkg -i mydeb.deb
this is where the tab auto complete is useful
eg. sudo dpkg -i linux-header(tab)
I'll have a look tonight.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 7
The image I used was "Armbian_23.02.0-trunk_Odroidn2_bookworm_edge_6.2.0_xfce_desktop.img"Something is odd here.
Did you use my image or one from the Armbian site?
Maybe I had the wrong image in drive.
Try this image of mine.
drive.google.com/file/d/1QyaiQRC5UeyPJix...vQk/view?usp=sharing
It should give you the xfce desktop
The USB will just open in the file explorer.
You can make a new top level folder on the SD card while its on the host (reinsert after burning) and copy the debs there. You might need to use Sudo on the droid.
I've also created the user and put the SD back into the host and copy files to the home directory
you can install the debs with sudo dpkg -i mydeb.deb
this is where the tab auto complete is useful
eg. sudo dpkg -i linux-header(tab)
I'll have a look tonight.
It has the desktop in the file name like it should?
I am going to try the new one now.
Thanks for looking into this.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 7
I don't really have the skills to do ALL that it takes via terminal..
I am using ssh to log in, that shouldn't matter right?
I create a root password and a user, startxfce4 gives me the no init file error same as I posted above..
Please Log in or Create an account to join the conversation.
We've only ever run it via an attached monitor, keyboard and mouse.
I wonder if that is your problem? Maybe there is a config or permissions issue for remote access?
There should be no need to start X as for me it boots into it after setting up users and time zone with an attached monitor and keyboard
Yoiu could try starting with the Armbian Sid XFCE desktop from the weekly rolling releases at the very bottom of this page, then add the custom kernel
www.armbian.com/odroid-n2/
This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
-
- Posts: 47
- Thank you received: 7
I will try it with a monitor tonight, I have the correct cable now, the reason I was running headless in the first place.rodw post=265975 userid=20660Re reading your issue, it seems you are running the N2+ headless.
We've only ever run it via an attached monitor, keyboard and mouse.
I wonder if that is your problem? Maybe there is a config or permissions issue for remote access?
There should be no need to start X as for me it boots into it after setting up users and time zone with an attached monitor and keyboard
Yoiu could try starting with the Armbian Sid XFCE desktop from the weekly rolling releases at the very bottom of this page, then add the custom kernel
www.armbian.com/odroid-n2/
This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
Please Log in or Create an account to join the conversation.