Jump to content

balbes150

Members
  • Posts

    4436
  • Joined

  • Last visited

Everything posted by balbes150

  1. Ðаверное у Ð¼ÐµÐ½Ñ ÐºÑ€Ð¸Ð²Ñ‹Ðµ руки. Попробовал разные варианты Ð´Ð»Ñ Ñтой переменной, равно, больше - результат один, пишет "ÑинтакÑичеÑÐºÐ°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°". И при Ñтом видно, что проиÑходит Ñравнение Ñ Ð²Ñ‚Ð¾Ñ€Ð¾Ð¹ переменной UBOOT_NEEDS_GCC. Пока вернулÑÑ Ðº "тупому" варианту Ñборки - первым каталогом поиÑка, указать в переменной PATH нужный вариант.
  2. ПоÑмотрел, как пропиÑано значение UBOOT_NEEDS_GCC в конфиг файлах. Там указан номер верÑии. Ркак указать каталог, где находитьÑÑ Ð½ÑƒÐ¶Ð½Ð°Ñ Ð²ÐµÑ€ÑÐ¸Ñ ? Или такое не возможно ?
  3. Ð—Ð°Ð²ÐµÑ€ÑˆÐ°ÑŽÑ‰Ð°Ñ Ð¾Ð´Ð¸Ð½Ð°Ñ€Ð½Ð°Ñ ÐºÐ°Ð²Ñ‹Ñ‡ÐºÐ° в 60 Ñтроке Ñтоит до команды перенаправлениÑ, а в 184 поÑле. Ð’ каталог armbian/toolchains загружаютÑÑ ÐºÐ¾Ð¼Ð¿Ð¸Ð»Ñторы, в том чиÑле aarch64-linux-gnu, и аналогичный компилÑтор ÑтавитÑÑ Ð² ÑиÑтему пакетами из реп. Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð² дублировании,
  4. How to use this variable ? Tried to set different options, but when compiling the kernel aarch64, always use the system version 4.8. Set both variables in the config file, the variable UBOOT_TOOLCHAIN is triggered (begins to use the written version), and this variable does not change either as the compiler. This is my local problem not correct the system configuration or the same situation with the others ? For now I solve this problem rough hack - point in the variable PATCH user, the first desired directory with the compiler. Another associated question in the script general.sh in lines 471-474, with a list of packages for the host system specified compilers, including aarch64. As it should be ? And in the script common.sh 60 line 184 and line on a different set redirect output, as it should be ?
  5. These images are not yet fully operational. They are best used for development and debugging. There's a lot to gather again (debug, cross references in the code).
  6. 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 ? 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 ?
  7. Collected two BETA image with a full Debian (based on Armbian). There are apt and other packages, the default configuration files, mapped network turnip, you can install any software from them. Finished the console version and desktop version. Note that to use these images, you must perform the initial setup when you first start. While this can be done only via SSH connection (as root user with password 1234), either from the console UART. So far, I have not configured normal operation of the console on the TV monitor. The images are intended for use with SD card, booting from USB does not work yet. The images work fine USB keyboard and mouse. In the desktop version there is an interesting feature, after initial setup, this version works fine on TV monitor (TV output desktop) with a USB keyboard and mouse. Soon will be added another two images from console and desktop versions on Ubuntu. https://yadi.sk/d/lnMowa-Swau3E Ready to use images (used for the initial setup). The minimum size for recording the images to 8 GB. User name user password 1 , the password for the root user "1q2w3e4r". https://yadi.sk/d/IfuNtxDbwedna
  8. Uploaded the updated images. The Assembly version is 5.21. Checked the desktop Debian, the terminal is displayed correctly. Colors returned to normal. Images with Ubuntu not tested (very short time). I would be grateful if someone would check the Ubuntu images, and write the results.
  9. The primary steps are described in post 19 , 22 , 45 , 47
  10. 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.
  11. 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
  12. 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.
  13. 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). Возможно нет Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° мониторе, а клавиатура работает.
  14. The new script did not try to run ?
  15. 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".
  16. 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 порта и попробовать менÑÑ‚ÑŒ значение ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ñ€Ñ‚Ð¾Ð¼ (Ñофтовое \ аппаратное), на разных ПК Ñто Ñрабатывает по разному.
  17. 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 Ð´Ð»Ñ Ð’Ð°ÑˆÐµÐ¹ ТВ приÑтавки.
  18. Try to use this option. Preferably with SD card and USB stick, and then show the output UART. https://yadi.sk/d/yz6lCfocwGxDe
  19. 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.
  20. I agree with You, it would be nice if the moderators have helped us and shared these themes. Highlighting the discussion S905X in a separate topic.
  21. 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 - Ñто заметно поможет в диагноÑтике. Ðе факт, что у ВаÑ, Ñ‚Ð°ÐºÐ°Ñ Ð¶Ðµ причина и Ñдро ÑваливаетÑÑ Ð² панику.
  22. Yeah, I got the model with the chip s905x. Not a lot of details can be read here. By the way, this model is very interesting from the point of view Linux support as a tool for development. I think that with minimal modifications, can get the good solution for platform S905X. The price the result of this TV box is very good. http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/inphic/568208-amlogic-s905x-inphic-spot-i7-pro-a-product-development-story/page6 One minute without a soldering iron, I connected the console UART. And can get all the necessary information about the boot process. Control data in the bootloader and operate it. By the way, universal multiboot already tested and works - here are the details of the run test option LE from the external media. http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/inphic/firmware-roms-tools-bi/601100-libreelec-for-inphic-i7-pro-s905x Foto UART https://yadi.sk/i/UOWsKR1ew9Mvn https://yadi.sk/i/ogODHJVaw9NM4
  23. You tried to use USB media, all site the dtb files ? When using the dtb file not from the website, there is some probability that they will not work correctly with the kernel image. Sometimes these files work, sometimes not, it depends on the kernel version for which was assembled such a dtb file. What would be guaranteed the right to use dtb files in the Linux kernel in the image Armbian, they must be properly collected through the armbian build system (using kernel source). When building the dtb file using the kernel sources, the resulting file will specify the correct data, which are described in the kernel sources. I was faced with a situation where, taken from the firmware dtb file, didn't work with the way Armbian. This is due to different changes in the kernel. For example, now there is a new version of the LE that are not compatible with old dtb files of the existing firmware TV box. And for that, they would work, they have to rebuild with the kernel source.
  24. Do I understand correctly that the system starts from an external USB media ? And when you first start, after a while rebooted ? What message was on the screen ? You have tried to use this dtb file ?
  25. You used one SD card ? What happens on the screen ? You have the option to write the image to a USB flash drive (need at least 4 GB for the console versions of the image) ? What kind of TV You have connected to the console ? To get the right dtb file from the archive firmware. Do You have a link to the archive with the firmware for Your TV box ? By the way, for the finished files dtb (dts), you can use a tool to unpack firmware. After his work, You will have finished the dtb file. http://freaktab.com/forum/tv-player-support/allwinner-tv-players/freaktab-tools-utulities-collection
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines