Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Running Linux From SD Card or USB Flash Drive - Using Balbes150 Method And Files.
Collapse
This is a sticky topic.
X
X
-
Originally posted by balbes150 View Post
In the last Armbian images (and my images LE), there are already two files to activate universal multi-boot. Enough to capture the image and you can enable the multiboot with their use.
The Debian_jessie and Ubuntu_xenial images have the universal boot
files indeed. So I flashed (dd-ed) 5.24 s905x Ubuntu_xenial 3.14.29
desktop 20161028 image and added gxbb_p200_2G_1Gbit.dtb which is the
kszaq LE device tree for my Mini MX-G, renamed to dtb.img.
- I toothpick booted and friendly bear logo flashed on-off every 1/2 second
I kept this going for 5 minutes
- I released toothpick and friendly bear logo appeared steady.
After a minute or so screen went black and showed 'no connection'
- I unplugged and replugged HDMI, screen stayed black.
After a minute or so friendly bear logo appeared steady again
and
After a minute or so screen went black again and showed 'no connection'
So I considered this end of story for now...
Next I will retry 5.21 s905 Debian_jessie 3.14.79 desktop 20161010
image once again. It has worked previously (but showed green in stead
of black).
have a nice day
Comment
-
No need to hold the button down with a toothpick. Logo appears - release the button. There will be an automatic restart. The process of starting Armbian not fast. On the monitor there is an inscription about absence of a signal (the screen will not no for about 2-3 minutes), that's fine. You need to wait until the systems starts. If for 5-6 minutes on the monitor does not appear any image, you can disable and try to enable again (the toothpick use is no longer required).
Comment
-
Just tried out both:
Armbian_5.24_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161028.img
Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161028.img
On my Beelink MiniMXIII (flashed with the Minix U1 port, TWRP recovery)
Used Rufus to copy the image onto SD card, used the dtb.img file from the LibreELEC project.
Used the stock Update&Backup app to force booting from the SD card.
Boots up instantaneously.
The picture with Ubuntu Xenial gets all scrambled but only on the 2nd boot.
Couldn't use the Terminal on Debian - couldn't see what I was typing in! =D
No working WiFi with either system (RTL 8723BS)
Bluetooth shows up though.
https://drive.google.com/drive/folde...0U?usp=sharing
There's obviously still some kinks to iron out but I'm very impressed with what's working so far!Last edited by mwnn; 10-30-2016, 18:27.
Comment
-
Here you can read how to circumvent some of the problems.
http://forum.armbian.com/index.php/t...d-s905x/page-8
Still useful information for users. If the internal memory of the TV set-top box on the basis of S905 installed version is 007 or 008 (which use the new dtb format) , you can use the latest images (20161030) without manually copying dtb to the root FAT partition . Need dtb data is taken automatically from the internal memory. Ie, immediately after recording the image, it is possible to use a TV box without additional manual operations to copy the dtb file (same as version S905X).
Comment
-
Originally posted by balbes150 View PostNo need to hold the button down with a toothpick. Logo appears - release the button. There will be an automatic restart. The process of starting Armbian not fast. On the monitor there is an inscription about absence of a signal (the screen will not no for about 2-3 minutes), that's fine. You need to wait until the systems starts. If for 5-6 minutes on the monitor does not appear any image, you can disable and try to enable again (the toothpick use is no longer required).
I have subscribed to Armbian forum where I may become active about this amazing project.
Comment
-
I found the reason for the bad behavior of desktop latest desktop images. As a temporary solution - to disable the use of the package nodm to start the graphics. To do this, open the configuration file /etc/default/nodm and replace in the first line the value "true" to "false" . To run charts - after starting the system to enter the console username and password, after login give the command "startx". This method can be used on all previous images, where after starting the graphics screen becomes too dark.
Comment
-
The original program to start a native linux system.
Use the following methods to switch the root system.
//------(Boot from flash)
/bin/mount -t devtmpfs devtmpfs /mnt/dev
exec 0</mnt/dev/console
exec 1>/mnt/dev/console
exec 2>/mnt/dev/console
exec switch_root -c /dev/console /mnt "${init}"
//------
Refer to your init file.
//-------(Boot from SD card)
exec run-init ${drop_caps} ${rootmnt} ${init} "$@" ${recovery:+--startup-event=recovery} <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1
//-------
"switch_root" and "run-init", Is it the same function?
I do not know enough.
I try to use your init file to make changes.
//-------(change)
exec run-init
-> exec switch_root
example:
switch_root -c /dev/console /system /sbin/init
//-------
Get the error:
switch_root: can't execute '/sbin/init': Exec format error
Comment
-
Originally posted by gto View PostThe original program to start a native linux system.
Use the following methods to switch the root system.
//------(Boot from flash)
/bin/mount -t devtmpfs devtmpfs /mnt/dev
exec 0</mnt/dev/console
exec 1>/mnt/dev/console
exec 2>/mnt/dev/console
exec switch_root -c /dev/console /mnt "${init}"
//------
Refer to your init file.
//-------(Boot from SD card)
exec run-init ${drop_caps} ${rootmnt} ${init} "$@" ${recovery:+--startup-event=recovery} <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1
//-------
"switch_root" and "run-init", Is it the same function?
I do not know enough.
I try to use your init file to make changes.
//-------(change)
exec run-init
-> exec switch_root
example:
switch_root -c /dev/console /system /sbin/init
//-------
Get the error:
switch_root: can't execute '/sbin/init': Exec format error
Comment
What's Going On
Collapse
There are currently 2672 users online. 4 members and 2668 guests.
Most users ever online was 16,134 at 08:28 on 08-11-2023.
Comment