Skip to content

Commit

Permalink
Add initial config for Orange Pi PC2
Browse files Browse the repository at this point in the history
Based on @ehoutsma configuration and u-boot proxy
Kernel does not boot yet for me
  • Loading branch information
zador-blood-stained committed Jan 23, 2017
1 parent fe44456 commit 8eb8005
Show file tree
Hide file tree
Showing 9 changed files with 10,147 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config/boards/orangepipc2.wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# H5 quad core 1GB RAM
BOARD_NAME="Orange Pi PC2"
LINUXFAMILY="sun50iw2"
BOOTCONFIG="orangepi_pc2_defconfig"
MODULES=""
MODULES_NEXT=""
CPUMIN="480000"
CPUMAX="1296000"
#
CLI_TARGET=""
DESKTOP_TARGET=""
KERNEL_TARGET="dev"
#
CLI_BETA_TARGET=""
DESKTOP_BETA_TARGET=""
#
BOARDRATING=""
CHIP="https://docs.armbian.com/Hardware_Allwinner-H5-A64/"
REVIEW="http://forum.armbian.com/index.php/topic/504-quick-review-of-orange-pi-pc/"
HARDWARE="https://linux-sunxi.org/Orange_Pi_PC_2"
FORUMS="https://forum.armbian.com/index.php/forum/11-other-boards/"
MAINLINE="hide"

7 comments on commit 8eb8005

@ehoutsma
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Zador!

What part of kernel doesn't work yet? Booting should work fine with apritzel's kernel.

You are missing the CONFIG_SUN8I_H3_CCU config bit.

@zador-blood-stained
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are missing the CONFIG_SUN8I_H3_CCU config bit.

Exactly, since I copied the config from Pine64-dev initially. I added it in the next commit and now it boots up to a console prompt, which is good enough for now for me.

@martinayotte
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok ! This CONFIG_SUN8I_H3_CCU is probably what I missed yesterday since the kernel start was reporting tons of "mmc : fatal err update clk timeout", which are not there today.
But it still stuck with "ALERT! /dev/mmcblk0p1 does not exist. Dropping to a shell!" and then reboot.
Any idea ?

@zador-blood-stained
Copy link
Member Author

@zador-blood-stained zador-blood-stained commented on 8eb8005 Jan 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. I didn't have any output at all without CONFIG_SUN8I_H3_CCU (which is logical since you would probably need some clocks for the UART too), and image built from ef6f6e8 worked for me without any issues.

@martinayotte
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, it is maybe something else ...
Did your kernel boot up to a certain point or it has stopped like me at trying to mount /dev/mmcblk0p1 (or UUID partition) ?

@zador-blood-stained
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we still talking about the PC2 or about Pine64?

@martinayotte
Copy link
Contributor

@martinayotte martinayotte commented on 8eb8005 Jan 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all about PC2 H5, the u-boot using ErwinH proxy is now working, but I get the above error during kernel boot.

Please sign in to comment.