Jump to content

Recommended Posts

Posted

I bought a HK1 Max (~20$) especially for make a small linux home server for my projects.
Why Rockchip? I found rockchip repo on github with ffmpeg and gstreamer libs for hardware encoding. It's very important (but not critical necessary) for me.

So...

  • HK1 Max 2/16 (2.4Ghz + 5Ghz + BT4.0 wireless)
  • Tech specs:
  • CPU: RK3318
  • RAM: 2Gb DDR3L Samsung K4B2G0446D
  • eMMC: 16Gb KLMAG2GE4A-A001
  • LAN: Rockchip (???)
  • Wi-Fi + Bluetooth: HK6334Q (Not found information about it) 2.4Ghz + 5Ghz + BT

On first run I dump some partitions from Android (This TV Box has root out of the box):

  • dtb
  • dtbo
  • boot
  • trust
  • security
  • uboot

 

Trying to run Armbian:
Extract dtb from my image and recompile it
Use u-boot from this thread - https://forum.armbian.com/topic/8082-armbian-for-tv-box-rk3328 (thanks @hexdump)
My trust.img
Armbian_19.11.5_Arm-64_eoan_dev_5.5.0-rc7_20200124.img

And... It hangs on Kernel boot
Then I try dtb from  @hexdump(thanks again :))
And it's boot normaly (hdmi work, usb2.0, usb3.0 work, ethernet detected)
But Wireless and Bluetooth doesnt work.

Tryed to add wireless-wlan block to hexdump dtb and recompile - wireless not work.
Tryed to replace all similar blocks in hexdump dtb to blocks from my dtb - It hangs on Kernel boot.

Can anyone help my with dtb.

Spoiler

photo_2020-01-25_12-29-07.thumb.jpg.c39ac5cc2d6c3a32a8302db1fb9bb750.jpgphoto_2020-01-25_10-55-23.thumb.jpg.2b6762d716c58dad158857cf741d0b50.jpgphoto_2020-01-25_10-55-07.thumb.jpg.7748a43fc836d5022315c7a5e5364cfe.jpgphoto_2020-01-25_10-55-00.thumb.jpg.13c81854a222d9cb301533e8fdaf01e4.jpgphoto_2020-01-25_10-54-56.thumb.jpg.fb9f443a4f0e17df28aec5b07c8c1239.jpgphoto_2020-01-25_10-54-44.thumb.jpg.ff38a1cf8a1d9c0c6e77a2992c5a0128.jpgphoto_2020-01-25_10-54-40.thumb.jpg.000f24d0dd66ec348416059cca3c1206.jpgphoto_2020-01-25_10-54-37.thumb.jpg.62e35bd0146b431369eaf0d0372acfb7.jpg

 

boot.img trust.img dtb.img uboot.img HK1MAX.dtb HK1MAX.dts HK1MAX_recompiled.dtb

Posted

I have the same TVbox, but i have some problem with booting armbian. I burn SD card with armbian image then dd of trust.img and uboot.img but uboot stopped at DRAM point

U-Boot 2019.10-armbian (Nov 29 2019 - 09:50:19 +0300)

Model: Rockchip RK3328 EVB
DRAM:

Tell me please how you boot armbian more details

Posted

@soljah - you might give this u-boot a try:

and in case that works you'll then most probably need this one too:

best is to read a bit around those posts in that thread too to get some other good hints

 

best wishes and good luck - hexdump

Posted

@hexdump I have been try all of this dd your uboot-rk3318.img and add rk3318-h96max.dtb file.

I will try one more time. What is the effect of which linux image is recorded on SD?

For chose correct dtb file need only to change name in "/extlinux/extlinux.conf"?

Posted
On 1/25/2020 at 2:31 PM, Максим Круземан said:

I bought a HK1 Max (~20$) especially for make a small linux home server for my projects.
Why Rockchip? I found rockchip repo on github with ffmpeg and gstreamer libs for hardware encoding. It's very important (but not critical necessary) for me.

So...

  • HK1 Max 2/16 (2.4Ghz + 5Ghz + BT4.0 wireless)
  • Tech specs:
  • CPU: RK3318
  • RAM: 2Gb DDR3L Samsung K4B2G0446D
  • eMMC: 16Gb KLMAG2GE4A-A001
  • LAN: Rockchip (???)
  • Wi-Fi + Bluetooth: HK6334Q (Not found information about it) 2.4Ghz + 5Ghz + BT

On first run I dump some partitions from Android (This TV Box has root out of the box):

  • dtb
  • dtbo
  • boot
  • trust
  • security
  • uboot

 

Trying to run Armbian:
Extract dtb from my image and recompile it
Use u-boot from this thread - https://forum.armbian.com/topic/8082-armbian-for-tv-box-rk3328 (thanks @hexdump)
My trust.img
Armbian_19.11.5_Arm-64_eoan_dev_5.5.0-rc7_20200124.img

And... It hangs on Kernel boot
Then I try dtb from  @hexdump(thanks again :))
And it's boot normaly (hdmi work, usb2.0, usb3.0 work, ethernet detected)
But Wireless and Bluetooth doesnt work.

Tryed to add wireless-wlan block to hexdump dtb and recompile - wireless not work.
Tryed to replace all similar blocks in hexdump dtb to blocks from my dtb - It hangs on Kernel boot.

Can anyone help my with dtb.

  Reveal hidden contents

photo_2020-01-25_12-29-07.thumb.jpg.c39ac5cc2d6c3a32a8302db1fb9bb750.jpgphoto_2020-01-25_10-55-23.thumb.jpg.2b6762d716c58dad158857cf741d0b50.jpgphoto_2020-01-25_10-55-07.thumb.jpg.7748a43fc836d5022315c7a5e5364cfe.jpgphoto_2020-01-25_10-55-00.thumb.jpg.13c81854a222d9cb301533e8fdaf01e4.jpgphoto_2020-01-25_10-54-56.thumb.jpg.fb9f443a4f0e17df28aec5b07c8c1239.jpgphoto_2020-01-25_10-54-44.thumb.jpg.ff38a1cf8a1d9c0c6e77a2992c5a0128.jpgphoto_2020-01-25_10-54-40.thumb.jpg.000f24d0dd66ec348416059cca3c1206.jpgphoto_2020-01-25_10-54-37.thumb.jpg.62e35bd0146b431369eaf0d0372acfb7.jpg

 

boot.img 32 MB · 103 downloads trust.img 4 MB · 92 downloads dtb.img 4 MB · 81 downloads uboot.img 4 MB · 95 downloads HK1MAX.dtb 13.3 MB · 84 downloads HK1MAX.dts 81.65 kB · 82 downloads HK1MAX_recompiled.dtb 72.28 kB · 88 downloadg

Halo, How to dump How do I backup and dump partitions on Android?

Posted

Hi,

 

I bought HH96 Max with 4Gb Ram and 32GB eMMC and followed the steps but failed.

Below is the serial out and it stops at "INFO:    boot cpu mask: 1"

 

I have attached the photos of the board.

 

Can someone please help with steps I should follow and the files I should use?

 

 

 

Quote

ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 194
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=1000
UserCapSize=29820MB
FwPartOffset=2000 , 1000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15340MB
FwPartOffset=2000 , 0
StorageInit ok = 205459
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
GPT 0x337a9e0 signature is wrong
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa0268
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):0eba775
NOTICE:  BL31: Built : 12:11:32, Nov 23 2018
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1

 

Attaching files are disabled. Plaese use this link to view the photos

https://photos.google.com/share/AF1QipNX2PxRpfdeoyi13zyg7pFVwOSInKGUAeSB3iQap_5acywSYcfC3n0Zs3EC_DLvmA?key=d1lkS0V2RlRlMzhTTm00MUJnd3VMclNNT1JNaDlB

 

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

Important Information

Terms of Use - Privacy Policy - Guidelines