Jump to content

Recommended Posts

Posted

If you connect the console UART this will significantly help in the diagnosis. Not the fact that You have, this is the reason and the core is dumped to panic.

 

 

ЕÑли подключите конÑоль UART - Ñто заметно поможет в диагноÑтике. Ðе факт, что у ВаÑ, Ñ‚Ð°ÐºÐ°Ñ Ð¶Ðµ  причина и Ñдро ÑваливаетÑÑ Ð² панику.

Posted

So, what i've got from UART:

Default Android boot: here

Try to boot from SD card: here

 

UPD:

Also add boot from USB: here

And try to boot USB with MXQ dtb.img from balbes150 : log

 

UPD:

Everywhere the same exception. 

 

AND LAST:

Booting AlexELEC UART log

Booting corret with the same sd card.

Posted
  On 10/4/2016 at 7:55 AM, dilligaf said:

So, what i've got from UART:

Default Android boot: here

Try to boot from SD card: here

 

UPD:

Also add boot from USB: here

And try to boot USB with MXQ dtb.img from balbes150 : log

 

UPD:

Everywhere the same exception. 

 

AND LAST:

Booting AlexELEC UART log

Booting corret with the same sd card.

 

Looked at the logs. There is an assumption in what the reason - not correct work of the script (in a TV box the other option from u-boot). In the near future I will try to pick a new option.

Posted
  On 10/5/2016 at 9:53 AM, balbes150 said:

Looked at the logs. There is an assumption in what the reason - not correct work of the script (in a TV box the other option from u-boot). In the near future I will try to pick a new option.

Thanks. Hope our work will be helpfull :)

Posted
  On 10/5/2016 at 12:18 PM, balbes150 said:

Try to use this option. Preferably with SD card and USB stick, and then show the output UART.

 

https://yadi.sk/d/yz6lCfocwGxDe

 

I overwrite it on boot partition of linux sd/usb drive, right?

Seems to the same exception apear.

reading s805_autoscript

855 bytes read
## Executing script at 11000000
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
reading uInitrd
Enter Exception:0x00000004
	link addr:0x1ff24954

Boot from sd with s805/mxq dtb.img: https://yadi.sk/d/ebPkKQiWwLWns

Boot from usb with s805/mxq dtb.img: https://yadi.sk/d/8EJDmeeIwLYB2 

Posted

It looks like You have used your option for the format of commands in u-boot. To find the correct option. Connect to TV box USB flash drive with Linux. Turn on the TV box and immediately stop the running u-boot. After stopping the run, in command line u-boot, type the following commands :

 

 usb start

 fatload usb 0 0x21000000 uImage

 

If there is the same error as before, try to change the format of the command for

 

fatload usb 0x0 0x21000000 uImage

 

Need to find the proper settings for the boot file into memory. You can give the help command fatload. Results write here. More desirable to see the output of printenv and help for Your TV box.

 

 

 

Похоже у Ð’Ð°Ñ Ð¸ÑпользуетÑÑ Ñвой вариант Ð´Ð»Ñ Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð° команд в u-boot. Что-бы найти правильный вариант. Подключите к ТВ приÑтавке USB флÑшку Ñ ÑиÑтемой Linux. Включите ТВ приÑтавку и Ñразу оÑтановить запуÑк u-boot. ПоÑле оÑтановки запуÑка, в командой Ñтроке u-boot наберите такие команды  :

 

usb start 

fatload usb 0 0x21000000 uImage

 

ЕÑли будет Ñ‚Ð°ÐºÐ°Ñ Ð¶Ðµ ошибка , как и ранее, попробуйте изменить формат команды на 

 

fatload usb 0x0 0x21000000 uImage  

 

Ðужно найти правильные параметры Ð´Ð»Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ‹ загрузки файла в памÑÑ‚ÑŒ. Можно дать команду help fatload. Результаты напишите Ñюда. Еще желательно увидеть вывод команд printenv и help Ð´Ð»Ñ Ð’Ð°ÑˆÐµÐ¹ ТВ приÑтавки.

Posted

Can't stop boot on u-boot thru UART or USB keyboard. Is there a special hotkey?

 

Загрузку прервать не получаетÑÑ Ð½Ð¸ через UART, ни через подключенную usb клавиатуру. Ð’ терминале отображаетÑÑ Ñхо, пробовал отправлÑÑ‚ÑŒ брÑйки, но не реагирует. ЕÑÑ‚ÑŒ какаÑ-то ÑÐ¿ÐµÑ†Ð¸Ð°Ð»ÑŒÐ½Ð°Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð°?

Posted

Judging by Your log to the console UART to interrupt startup, press Enter. This is done in the console UART. There is a small period of time, so I usually do it in parallel with powering on the unit to the network, repeatedly press a key (with a frequency of 2-5 clicks per second) until you see that the startup process stopped.

 

Through what program you are connecting to the console UART ? Everything is correctly configured ? If in Windows, there should be properly negotiated speed of the port in the system and the program. You need to specify in the system the speed from 115200 COM port and try to change the value of the control port (softovoi \ hardware), in different PC it works differently.

 

Ð¡ÑƒÐ´Ñ Ð¿Ð¾ Вашему логу в конÑоль UART, Ð´Ð»Ñ Ð¿Ñ€ÐµÑ€Ñ‹Ð²Ð°Ð½Ð¸Ñ Ð°Ð²Ñ‚Ð¾Ð·Ð°Ð¿ÑƒÑка, нужно нажать клавишу Enter. Это делаетÑÑ Ð² конÑоли UART. Там малый промежуток времени, поÑтому, Ñ Ð¾Ð±Ñ‹Ñ‡Ð½Ð¾ Ñто делаю параллельно Ñ Ð²ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸ÐµÐ¼ блока Ð¿Ð¸Ñ‚Ð°Ð½Ð¸Ñ Ð² Ñеть, многократно нажимаю клавишу (Ñ Ñ‡Ð°Ñтотой 2-5 нажатий в Ñекунду), пока не увижу, что процеÑÑ Ð·Ð°Ð¿ÑƒÑка оÑтановилÑÑ.

 

Через какую программу выполнÑетÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ðµ к конÑоли UART ? Ð’ программе вÑÑ‘ правильно наÑтроено ? ЕÑли в Windows, там должно быть правильно ÑоглаÑовано значение ÑкороÑти порта в Ñамой ÑиÑтеме и программе. Ðужно указать в Ñамой ÑиÑтеме ÑкороÑÑ‚ÑŒ 115200 у COM порта и попробовать менÑÑ‚ÑŒ значение ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ñ€Ñ‚Ð¾Ð¼ (Ñофтовое \ аппаратное), на разных ПК Ñто Ñрабатывает по разному.

Posted

Ok, i catch it.

 

1) fatload usb 0 0x21000000 uImage

m8b_m201_1G#usb start
(Re)start USB(0)...
USB0:   dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
Force id mode: Host
dwc_otg: Highspeed device found !

scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
m8b_m201_1G#fatload usb 0 0x21000000 uImage
reading uImage
Enter Exception:0x00000004
	link addr:0x1ff24954
2) fatload usb 0x0 0x21000000 uImage  

m8b_m201_1G#usb start
(Re)start USB(0)...
USB0:   dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
Force id mode: Host
dwc_otg: Highspeed device found !

scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
m8b_m201_1G#fatload usb 0x0 0x21000000 uImage
reading uImage
Enter Exception:0x00000004
	link addr:0x1ff24954
3)  help fatload

m8b_m201_1G#help fatload
fatload - load binary file from a dos filesystem

Usage:
fatload <interface> <dev[:part]>  <addr> <filename> [bytes]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from dos filesystem
4) help

 

  Reveal hidden contents

 

minicom.log

Posted

Try the new script. Looks like I fucked up, forgot that You only have 512 MB of memory, addresses to download were outside.

 

To correctly configure the script necessarily need the output from the command "printenv".

Posted

Here we are:
printenv:

  Reveal hidden contents

 

Posted

Great. The system is fully started, that's good. So the kernel and dtb file were identified correctly. Now try from the console to perform the initial configuration. Login as username root, password 1234 , the system will immediately be asked to change it , change your password, create new user and try to give the command restart reboot. The monitors that connect via HDMI, sometimes it is this peculiarity, that they are not activated when you first turn on TV set-top box. Need to reboot (NOT shutdown and restart it). Another try after booting the system, press the combination keys reset (Cntr + Alt + Del). Perhaps no display in the monitor and the keyboard works.

 

 

 

Отлично. СиÑтема полноценно запуÑтилаÑÑŒ, Ñто уже хорошо. Значит Ñдро и dtb файл определилиÑÑŒ правильно. Попробуйте теперь из конÑоли выполнить первичную наÑтройку. Войти под логином root пароль 1234 , ÑиÑтема Ñразу попроÑит его Ñменить , Ñмените пароль, заведите нового Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»Ñ Ð¸ попробуйте дать команду перезагрузки reboot. У мониторов , которые подключаютÑÑ Ñ‡ÐµÑ€ÐµÐ· HDMI переходник, иногда бывает Ñ‚Ð°ÐºÐ°Ñ Ð¾ÑобенноÑÑ‚ÑŒ, что они не активируютÑÑ Ð¿Ñ€Ð¸ первом включении ТВ приÑтавки. Ðужна перезагрузка (ÐЕ выключение, а именно перезагрузка). Еще попробуйте поÑле загрузки ÑиÑтемы, нажать комбинацию клавишь перезагрузки (Cntr + Alt + Del). Возможно нет Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° мониторе, а клавиатура работает.

Posted

Something strange happend while i logon:

 

 

  Reveal hidden contents

 

 

I changed root password, then system reboot.

Now system reboot, after log in.

Posted

Please note that after the first start the system must perform the initial setup (section expands, etc.). This takes considerable time. It is advisable to give 3-5 minutes for the system to prepare to first login as root user.

Posted
  On 10/7/2016 at 10:29 AM, balbes150 said:

Please note that after the first start the system must perform the initial setup (section expands, etc.). This takes considerable time. It is advisable to give 3-5 minutes for the system to prepare to first login as root user.

It's looks like box autoreboot while perform the initial setup.

Is there any way to stop it?

Posted

armbian firstrun autoreboot is normal.

 

@@balbes150

do you know if the modifications you've made for dilligaf's boot could also work for my s85 box with kernel crash ?

if you want me to test please give me the latest links/images i have to use.

thx

Posted

You can try to use this script. But I think it will not help. You have the reason for the kernel panic, not in the download files in memory. After You have the files loaded fine and the system starts and then the error - falling into a panic. I have not yet found the cause of this behavior. Most likely, the reason is not the correct data in the DTB.

 

in catalog script

 

https://yadi.sk/d/nBL7MchXvAFGL

Posted

Thanks a lot for help @balbes150, @mdel!

After many reboot I create user, and perform the initial setup.

Now i got shell, and test the system. But still no video output :)

 

Огромное ÑпаÑибо за помощь! Ð’Ñ‹ проделали очень хорошую работу!

Posted

Congratulations. :)

If the system worked will be possible to deal with the output. While it is possible to use ssh and mc. Through it convenient to operate the system.

Posted

Hi everyone,

 

I read up to here trying to figure out how to run armbian on a MXQ 805.

But there where many steps that where corrected - what are the correct steps as of now?

 

I am happy to try and report back - but I can't see any uart on my board.

 

thanks

Posted

ok my system (cli) is up, thanks to  @balbes150, @dilligaf, @mdel 

Still got to try the desktop.

 

 

my steps:

 
enabled multiboot
as described here:
 
 
created my SD card (8GB):
 
dd if=Armbian_5.20_Vegas805_Ubuntu_xenial_3.10.102_20160923.img of=/dev/disk2 bs=1m
 
did not boot - had to choose a dtb.img file - 
booted without enthernet.
 
did not find the right one - extracted it from android:
 
Install shell app on android 
open shell app
 
box>su (to make sure you're root)
box>strings /dev/block/env
box>dd bs=1M if=/dev/block/boot of=/path/of/your/sdcard/boot.img
(wait it can be long)
 
installed split_bootimg.pl and device-tree-compiler
as described here:
 
sudo apt-get install device-tree-compiler
 
extracted it with script:
 
split_bootimg.pl boot.img
 
tried to compile it to blob
got incorrect magic number error
 
cut the first 2048 bytes with
dd if=dtb.img-second.xz of=boot-tmp.img skip=2048
 
dtc -I dtb boot-tmp.img -O dts -o m8_201.dtd
dtc -I dtb boot-tmp.img -O dtb -o dtb.img
 
copied dtb.img to BOOT 
 
booted fine - seems to work.
Posted

I tried the desktop image for Odroid with my updated dtb.img and s805_autoscript but no luck. No display, no ping. 

 

balbes150's desktop image (Armbian_5.20_Vegas805_Ubuntu_xenial_3.10.102_desktop_20160923)

worked after a few times rebooting, however with graphic distortions.

I had a few rw errors and a locked dpkg at first boot - was there any automated action?

 

- then it would not reboot after an apt-get upgrade

 

btw. I do have quite a few rw errors on SD - any advice?

 

@balbes150 did you list the modifications to the vegas805 images somewhere that make it work?

 

thanks,

 

post-2865-0-17989700-1476308583_thumb.jpg

Posted
  On 10/12/2016 at 9:44 PM, arm_work2 said:

I tried the desktop image for Odroid with my updated dtb.img and s805_autoscript but no luck. No display, no ping. 

 

balbes150's desktop image (Armbian_5.20_Vegas805_Ubuntu_xenial_3.10.102_desktop_20160923)

worked after a few times rebooting, however with graphic distortions.

I had a few rw errors and a locked dpkg at first boot - was there any automated action?

 

- then it would not reboot after an apt-get upgrade

 

btw. I do have quite a few rw errors on SD - any advice?

 

@balbes150 did you list the modifications to the vegas805 images somewhere that make it work?

 

thanks,

 

 

As a connected monitor / TV ?

Delete all files in /var which swears apt. As I understood, the apt is locked due to incorrect files and links that were formed during the first start (but for various reasons do not have time to form). Write error on the Sd card can occur due to bad blocks, TV consoles and more demanding to the quality of the SD card (perhaps that features of the built-in card reader).

What changes the last question ?

 

 

 

  On 10/13/2016 at 5:54 AM, tkaiser said:

Can anyone with a C0, C1 or C1+ and serial console attached please help out: https://github.com/igorpecovnik/lib/commit/e48da4e991af20673b55c0d2be3db931d1f8c4ba#commitcomment-19395963

 

I don't have these models. Perhaps I misunderstood the task, but perhaps the necessary information can be obtained from the source code of u-boot ?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines