Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A20-Olimex Olinuxino Micro - activating VGA on SD image

Featured Replies

Hello. There is a method to activate the VGA output in the SD image?

 

I explain better, I want to replace the stock Debian Image that came with the Olimex Board, but the system is on a distant location where there is no computer, I need to swap the SD card and have the system booting and usign the console of the machine to perform all the remaining operation.

 

I need to have the SD Card image that boot with VGA output, the rest of the operation coulbe done with the machine, (I nedd to configure the wifi and connet to the router and then in internet)

 

I have read a topic that said that i nedd to modify the fex file, but this is feasible with my computer running Linux mint (Ubuntu 14.04)?

 

TIA and Regards

 

Carlo

  • Author
I have found, installed and compiled the tools on http://linux-sunxi.org/Sunxi-tools

 

 

I have mounted the image on /mnt/test as stated in some other place of this site and "decoded" the script.bin file in /mnt/test/boot 

 

The image is Armbian_5.14_Micro_Debian_jessie_3.4.112_desktop.raw

 

But the decoded fex file says

 

[disp_init]

disp_init_enable = 1

disp_mode = 0

screen0_output_type = 1   

screen0_output_mode = 5

screen1_output_type = 1

screen1_output_mode = 5

 

But screen0_output_type = 1  is accoding to the Fex-guide on the sunxi site the LCD display and not the HDMI as I argued from the documentation.

 

Apart from modifying the relevant VGA voices, I think

 

screen0_output_type = 4

screen0_output_mode = 5 or 4 

 

will perform well on my hardware

 

 

The remaining problem is: how to re-transform the modified tree in /mnt/test that contain the new script.bin in a  .raw image that has to be written on the SD card?

 

TIA and Regards

 

Carlo
  • Author

mount $LOOP"p1" /mnt

 

give me this error

 

mount: il device speciale /dev/loop0p1 non esiste

 

roughly translated "mount: special device /dev/loop0p1 not exist"

 

I'm using Lnux Mint 17.3 (Ubuntu 14.04 based)

 

Partially Solved:

 

sudo kpartx -av image.raw


sudo mount /dev/mapper/loop0p1 /mnt/test/


.... do the modifications



sudo umount /mnt/test
 
 
1) apart for modifying the script.bin
 
in the boot.cmd that i suppose is the equivalent of the grub.cfg for uboot i see:
 
setenv bootargs "console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=${verbosity}"
This option disp.screen0_output_mode=1920x1080p60
 
Has to be modified to use the VGA at 800x600p60  or 1024x768p60
 
Now is working, I found on this site the relevant information to modify, and recompile the boot.cmd, that I have missed to see the first time.
 
 
I can guess that 800x600p60 is resolution (p)frequency but for the mode VGA or HDMI ?
 
Where could I learn some more on the boot process?
 
A little question remain, when the modifications made  in micro.bin and in boot.scr are overwritten and are needed to be applied again?
 
This question was modified in the Armbian environment during the apt-get upgrade phase.  :-D
 
 
Updating to 5.16 from the 5.14 image that I've Downloaded and modified, I have noted this:
 
The old bin was renamed bin.old and mantained in place, so I've:
 
1) renamed micro.bin in /boot/bin
2) copied my /boot/bin.old/micro.bin in /boot/bin as is (maybe this is not too safe if something change)
2) "recompiled" my boot.cmd (that from the timestanp seems unchanged) in boot.scr (just in case)
 
And rebooted, all working.
 
I have seen how to assign the static ip to my wlan adapter (The wicd applet in the stock XFCE have these settings)
 
Installed Mate-Terminal, removed icedove and installed pyserial and python-tk to make my CNC working (I forgot to say that the Olimex Board is the controller of an  eShapeoko CNC)
 
Now I have some little problems.
 
1) I need an applet that show the state of caps lock and block num on the panel, as my keyboard has no leds on it.
 
2) how to suppress the verbose startup and put maybe a static image till the desktop is on
 
Hope maybe here i will find some solution.
TIA and Best Regards
 
Carlo 

Edited by onekk

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.