DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-allwinner
<DC-IRC> <noimnull> do you know how to crosscompile using this build method?
<DC-IRC> <igorpec> this tool does everything for you. you don't need to think
<DC-IRC> <ah616_04230> Hi to all!
<DC-IRC> <ah616_04230> I have a basic question and am toally new to the subject: I want to install Linux to a cheap H616 tv box, however I cannot get it to boot from th SD card.
<DC-IRC> <ah616_04230> The serial log shows
<DC-IRC> <ah616_04230> [371][mmc]: mmc driver ver 2021-10-12 13:56
<DC-IRC> <ah616_04230> [376][mmc]: b mmc 2 bias 0
<DC-IRC> <ah616_04230> [384][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
<DC-IRC> <ah616_04230> [390][mmc]: ***Try MMC card 2***
<DC-IRC> <ah616_04230> [415]mmc_read_info 1138:region magic is not right, retry more time 0
<DC-IRC> <ah616_04230> [432]mmc_read_info 1138:region magic is not right, retry more time 0
<DC-IRC> <ah616_04230> [450]mmc_read_info 1138:region magic is not right, retry more time 0
<DC-IRC> <ah616_04230> [467]mmc_read_info 1138:region magic is not right, go err 0
<DC-IRC> <ah616_04230> [473]dump info registers:[475]
<DC-IRC> <ah616_04230> 0x36ba4 : [477]0 [478]0 [478]0 [479]0 [480]
<DC-IRC> <ah616_04230> [480][mmc]: RMCA FAIL!
<DC-IRC> <ah616_04230> [483][mmc]: mmc read timing info fail
<DC-IRC> <ah616_04230> [486][mmc]: wrong freq 2 at spd md 2
<DC-IRC> <ah616_04230> [490][mmc]: force 25m
<DC-IRC> <ah616_04230> [493][mmc]: MMC 4.5
<DC-IRC> <ah616_04230> [495][mmc]: HSSDR52/SDR25 8 bit
<DC-IRC> <ah616_04230> [498][mmc]: 25000000 Hz
<DC-IRC> <ah616_04230> [501][mmc]: 7456 MB
<DC-IRC> <ah616_04230> [503][mmc]: ***SD/MMC 2 init OK!!!***
<DC-IRC> <ah616_04230> ..and this is regardless wheter a SD card is present or not. It botos then into Android TV, where the SD card is recognized.
<DC-IRC> <ah616_04230> Do you any starting point for me to investigate? Thanks!
<DC-IRC> <Werner> First: for longer c&p like logs use a paste service as stated in the discord server rules. IRC users will appreciate it.
<DC-IRC> <Werner> Second: close to nobody in chat is dealing with crappy tvboxes, so I suggest to check with forums for that matter.
<DC-IRC> <ah616_04230> sorry for the long content. I searched the forums and could not find any hint. Actually, I was hoping to get going in a certain direction only. I'm not familiar with the hw-boot process. I guess the TV boxes are a not much beloved species 😉
<DC-IRC> <Werner> I like comparing these devices to cancer 🙂 bad documentation if any at all and spreading and mutating uncontrolled (vendors like to chance hw components without notice) and causing work for us since people believe they simply can install Linux, or Armbian to say, on it. Results range from easily done, to workarounds needed, to hw hacking needed, to impossible any waste of time.
<DC-IRC> <Werner> I like comparing these devices to cancer 🙂 bad documentation if any at all and spreading and mutating uncontrolled (vendors like to chance hw components without notice) and causing work for us since people believe they simply can install Linux, or Armbian to say, on it. Results range from easily done, to workarounds needed, to hw hacking needed, to impossible and waste of time.
<DC-IRC> <Werner> However as mentioned we allow discussing these devices on our forums (check unmaintained > tvboxes > allwinner). There should be some topics or posts about H616 devices already
<DC-IRC> <ah616_04230> yep, this is what inspired me to try it as a hobby project. I will post my question there, thank you!
<DC-IRC> <Werner> Welcome. Good luck
<juri_> i like crappy TV boxes, but.. my hacker-fu is spread really thin.
<DC-IRC> <Алексей Песорин> Pretty sure there were commands to make deb packages for the headers and the kernel itself, tho I forgot what the commands were. Just read some manuals, find the commands, run them, then copy the files generated over to your device, install them via apt, regenerate initramfs and then edit the config to use the newly compiled kernel and initramfs instead
<DC-IRC> <noimnull> searched all the armbian forum, everyone seems to be using build
<DC-IRC> <Алексей Песорин> Coz that's what you use to compile the Armbian patched kernel
<DC-IRC> <noimnull> searched all the armbian forum, everyone seems to be using ./build.sh
<DC-IRC> <Алексей Песорин> And you are compiling the `linux-sunxi` kernel outside both the main kernel tree, the Ubuntu patched tree and the Armbian tree
<DC-IRC> <Алексей Песорин> And you are compiling the `linux-sunxi` kernel outside the main kernel tree, the Ubuntu patched tree and the Armbian tree
<DC-IRC> <Алексей Песорин> So you have to install it manually