MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.81k stars 494 forks source link

Image | RockPro64 #1812

Closed Fourdee closed 6 years ago

Fourdee commented 6 years ago

Thanks to Pine for sending me a dev sample board 👍

https://twitter.com/DietPi_/status/1002636434900246528

Notes: https://github.com/rockchip-linux/buildroot

Fourdee commented 6 years ago

Pre-Image:

Fourdee commented 6 years ago

stretch-minimal-rockpro64-0.6.53-260-arm64.img

Serial always corrupt during boot, fine afterwards: https://pastebin.com/XE52TNcg

Still no HDMI, full dmesg log: https://pastebin.com/0XSH1736

Unable to test WiFi module, 1 of the female pins has a peice of metal/solder stuck inside it. Arrived this way.

Fourdee commented 6 years ago

stretch-minimal-rockpro64-0.6.56-267-arm64.img

Message from syslogd@rockpro64 at Jun 17 02:42:08 ... kernel:[ 190.685860] Process swapper/5 (pid: 0, stack limit = 0xffffffc0f2f00000)

Message from syslogd@rockpro64 at Jun 17 02:42:08 ... kernel:[ 190.692900] Stack: (0xffffffc0f2f03ad0 to 0xffffffc0f2f04000)


![image](https://user-images.githubusercontent.com/7077026/41504251-2eabd644-71e1-11e8-95bf-64c7acde1026.png)
Fourdee commented 6 years ago
Log file contents:
E: Unable to correct problems, you have held broken packages.

The following packages have unmet dependencies:
 linux-rockpro64 : Depends: board-package-rockpro64-0.7-30 but it is not going to be installed
root@rockpro64:/home/rock64# apt-cache search rockpro64
board-package-rockpro64-0.7-30 - Rock64 Linux support package
board-package-rockpro64-0.7-33 - Rock64 Linux support package
linux-rockpro64 - Rock64 Linux virtual package: depends on kernel and compatibility package
linux-rockpro64-package - Rock64 Linux support package
u-boot-rockchip-rockpro64 - Rock64 U-boot package
u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1025-g482cd6ec8b - Rock64 U-boot package
u-boot-rockpro64 - Rock64 U-boot package

Christ:

root@rockpro64:/home/rock64# apt-get install linux-rockpro64 linux-rockpro64-package board-package-rockpro64-0.7-30
Reading package lists... Done
Building dependency tree
Reading state information... Done
board-package-rockpro64-0.7-30 is already the newest version (0.7-30).
board-package-rockpro64-0.7-30 set to manually installed.
linux-rockpro64 is already the newest version (0.7.9).
linux-rockpro64 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 board-package-rockpro64-0.7-30 : Conflicts: linux-package-virtual
                                  Conflicts: linux-rockpro64-package
 linux-rockpro64-package : Conflicts: linux-package-virtual
E: Unable to correct problems, you have held broken packages.

---

Virtual packages like 'linux-package-virtual' can't be removed

Pre-image default installed:

root@rockpro64:/home/rock64# dpkg -l | grep rock
ii  board-package-rockpro64-0.7-30                                     0.7-30                                   all          Rock64 Linux support package
ii  linux-headers-4.4.132-1075-rockchip-ayufan-ga83beded8524           4.4.132-1075-rockchip-ayufan             arm64        Linux kernel headers for 4.4.132-1075-rockchip-ayufan-ga83beded8524 on arm64
ii  linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524             4.4.132-1075-rockchip-ayufan             arm64        Linux kernel, version 4.4.132-1075-rockchip-ayufan-ga83beded8524
ii  linux-rockpro64                                                    0.7.9                                    arm64        Rock64 Linux virtual package: depends on kernel and compatibility package
ii  u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1025-g482cd6ec8b 2017.09-rockchip-ayufan-1025-g482cd6ec8b all          Rock64 U-boot package

linux-rockpro64 should be all we need.

Fourdee commented 6 years ago

stretch-minimal-rockpro64-0.7.9-1067-arm64.img

U-Boot SPL 2017.09-rockchip-ayufan-1025-g482cd6ec8b (Jul 26 2018 - 08:18:48) booted from SD Trying to boot from MMC2 mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices

ERROR ### Please RESET the board

Fourdee commented 6 years ago

Waiting for next release of https://github.com/ayufan-rock64/linux-build/releases, then will retest. Moving this to v6.14.


Possible failed board, no longer boots, serial + HDMI both dead. Waiting for reply from Pine.

Fourdee commented 6 years ago

Replacement board arrived and works a charm!

Fourdee commented 6 years ago

Completed.