[mythtv-users] Raspberry Pi

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Sat Oct 29 13:47:14 UTC 2022



> Wiadomość napisana przez James Linder <jam at tigger.ws> w dniu 29.10.2022, o godz. 05:28:
> 
> I’m top posting because little bits of below are relevant, but just reading it is meaningless gunk :-)
> This is very technical for ‘users list’ but does relate directly …
> 
> Poitr can you guide me please:
> I look at rockpi debian image that does boot
> 
> [haycorn] /Users/jam [532]% od -A x -x boot.sector
> 0000000      0000    0000    0000    0000    0000    0000    0000    0000
> *
> 00001c0      0002    ffee    ffff    0001    0000    682e    0059    0000
> 00001d0      0000    0000    0000    0000    0000    0000    0000    0000
> *
> 00001f0      0000    0000    0000    0000    0000    0000    0000    aa55
> 
> 0000200    E   F   I  sp   P   A   R   T nul nul soh nul   \ nul nul nul
> 0000210    +   �   D   � nul nul nul nul soh nul nul nul nul nul nul nul
> 
> 
> There are no vectors and partition table seems to start in second sector
> 
> I now compare that to yours
> 
> [haycorn] /Users/jam [539]% od -A x -x boot.sector.MM
> 0000000      b8fa    1000    d08e    00bc    b8b0    0000    d88e    c08e
> 0000010      befb    7c00    00bf    b906    0200    a4f3    21ea    0006
> 0000020      be00    07be    0438    0b75    c683    8110    fefe    7507
> 0000030      ebf3    b416    b002    bb01    7c00    80b2    748a    8b01
> 0000040      024c    13cd    00ea    007c    eb00    00fe    0000    0000
> 0000050      0000    0000    0000    0000    0000    0000    0000    0000
> *
> 00001b0      0000    0000    0000    0000    1a6a    346d    0000    0080
> 00001c0      0041    030c    ffe0    8000    0000    3332    0005    0300
> 00001d0      ffe0    0383    ffe0    b800    0005    4434    002d    0000
> 00001e0      0000    0000    0000    0000    0000    0000    0000    0000
> 00001f0      0000    0000    0000    0000    0000    0000    0000    aa55
> 0000200      0000    0000    0000    0000    0000    0000    0000    0000
> *
> 0001000
> 
> where there are lots of vectors and no  partition table at 0x100
> 
> you said
> 
>> btw: Last resort action (but very effective) is copy boot sector’s from working linux distro SD card to minimyth2 SD card - so i think we for sure can move forward with this….
> 
> Could you please say more so a bear of little brain (Winnie the Pooh) can understand
> 
> Thanks
> James

James,
Per info you provided in ticket - I see you are using RockPi 4A.
Image I’m building is for RockPi 4B and for sure it will not work on Your board without change device tree(*) file
Now DT is for RockPi 4B while Your board requires DT for RockPi 4A.

I described how to do this here: https://github.com/warpme/minimyth2/wiki/Running-on-ARM-boards-or-TVboxes#quick-start-guide <https://github.com/warpme/minimyth2/wiki/Running-on-ARM-boards-or-TVboxes#quick-start-guide>

So pls copy+rename boot/dtbs/rockchip/rk3399-rock-pi-4a.dtb file to /boot partition named as rk3399_dtb
 
Let make now how it goes.
(in case any future problems - pls try https://github.com/warpme/minimyth2/wiki/Running-on-ARM-boards-or-TVboxes#in-case-of-any-problems <https://github.com/warpme/minimyth2/wiki/Running-on-ARM-boards-or-TVboxes#in-case-of-any-problems>

(*) device tree is file describing your hardware as is critical for Linux kernel to properly recognise/serve to your hardware
 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221029/a38d31f0/attachment.htm>


More information about the mythtv-users mailing list