WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore for the H3 boards - Orange Pi, Nano Pi etc.  (Read 63342 times)

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
piCore for the H3 boards - Orange Pi, Nano Pi etc.
« on: October 05, 2016, 03:19:49 AM »
Here is the piCore 8.0 test image for the H3 boards, means Orange Pi PC, One, or Nanopi M1, Neo, etc.
https://dl.dropboxusercontent.com/u/86461636/piCore8.0_h3.7z

There is used DVI mode 1280x720 60Hz. If you need to change it use the h3disp tool.
The IP is fixed 192.168.1.30, no dhcp.
SSH: tc/piCore.
The audio is HDMI, or I2S via the raspidac3 audio card.
« Last Edit: October 05, 2016, 03:26:46 AM by jgrulich »

Offline m00rg

  • Newbie
  • *
  • Posts: 4
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #1 on: October 06, 2016, 03:23:00 PM »
Brilliant, thank you! I've had my OrangePi PC for approx a year and have had it on my todo list.
I finally got my customised PiCore working yesterday, but it is extremely useful to have a vanilla image.

Thank you!
Pete

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #2 on: October 07, 2016, 02:15:27 AM »
How do i install This port on the built-in eMMC flash in the Orange Pi Plus 2E?

Thanks in advance.
« Last Edit: October 07, 2016, 02:18:11 AM by nxtv2.0 »

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #3 on: October 07, 2016, 03:17:08 PM »
Sorry, don't have the Pi Plus to test it, but guess that you may use some of the regular tools from the OPi set to do so.
For example this one from Loboris:
https://github.com/loboris/OrangePi-BuildLinux/blob/master/install_to_emmc
or this official Sunxi one from the OPi pages:
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=227

Regards,

Jan

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #4 on: October 07, 2016, 04:54:07 PM »
Hi Pete,

which customized kernel do you made? Do you have video and audio working?

Regards,

Jan

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #5 on: October 07, 2016, 11:45:30 PM »
There are python libraries for the raspberry pi that use its dma channels to output pwm on any pin chosen?
How do i get PWM out of the allwinner h3 in this port?
In the allwinner h3 datasheet it says "12 dma channels" .

thanks in advance.

Offline m00rg

  • Newbie
  • *
  • Posts: 4
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #6 on: October 09, 2016, 03:59:07 PM »
Hi Pete,
which customized kernel do you made? Do you have video and audio working?
Regards,
Jan

Sadly it's not a customised one; I'm just using a stock one from the dietPi OrangePi image.
It's got all the modules we need for a base TinyCore install (although not ramdisk compression) and has a good number of sound drivers, but I haven't found the source it's compiled from.

It's a shame the stock kernel doesn't have HDMI working; I have a 4.6 image ready to test (I just haven't got around to it) but no HDMI is a showstopper for me. I've been wanting to do a PREEMPT_RT kernel and also use an i2s soundcard that there is no module for..

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #7 on: October 09, 2016, 10:42:10 PM »
How do i use i2c and spi controllers inside the allwinner h3 in this port??

Thanks in Advance.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #8 on: October 10, 2016, 01:32:14 PM »
@m00rg:
Yes, may be, you may use several kernels from different distros, but I'm using source of the 3.4.112 distro with all its patches to get it working with the zswap, video, HDMI, w1, I2S etc.

The mainline kernel doesn't support video, audio etc. and it will take a long time to change it, because nobody is working on it now. Means that it's suitable mainly for the server and headless applications like a IoT etc. The Nanopi Neo is the best choice for it.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #9 on: October 10, 2016, 01:36:16 PM »
@nxtv2.0:
There is working I2C #0 at the regular I2C pins and I2C #1 at the HAT I2C pins.
The SPI #0 is working on it's regular pins 19,21,23.

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #10 on: October 11, 2016, 11:04:40 AM »
I got my orange pi plus 2e today and flashed the image.img file using win32diskimager on a micro sd card, but when i boot the pi with ethernet connected to a router it doesn't boot.
the ethernet lights never come on and the main light goes first red while blinking green then full green and thats it.

What is wrong?
Thanks in advance.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #11 on: October 11, 2016, 04:34:15 PM »
OPi Plus 2 has gigabit ethernet with Realtek which is not supported yet. Sorry, don't have the board in hands to test it.

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #12 on: October 12, 2016, 01:37:18 AM »
Can you try to support it and send my the test images?

thanks in advance.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #13 on: October 12, 2016, 03:15:00 PM »
Try this kernel:
https://dl.dropboxusercontent.com/u/86461636/zImage

I've enabled all the gmac I've found around.

Regards,

Jan

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #14 on: October 12, 2016, 09:13:41 PM »
Thank you,will try it and report back.