WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #45 on: October 19, 2016, 04:03:58 AM »
The only way how to get the system messages during boot is to use the serial debug console, please find some COM, or USB one and connect to the board.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #46 on: October 19, 2016, 04:12:26 AM »
How did you wrote the bootloader to the eMMC? Which one you've used?

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #47 on: October 19, 2016, 10:43:04 AM »
Ok i will try all zimage files i see.
I used the eMMC with armbian and it worked flawlessly, using the nand-sata-install command.
i just wrote the image.img file to the eMMC using dd as if it was just a micro-sd card

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #48 on: October 19, 2016, 11:06:59 AM »
Understand that you used all three files from Rev2 folder, but I need to test all the  zImage files, including:
https://dl.dropboxusercontent.com/u/86461636/Rev1/zImage
https://dl.dropboxusercontent.com/u/86461636/zImage
Both don't work.

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #49 on: October 19, 2016, 12:24:24 PM »
Can you please list the commands needed to install piCore to eMMC as i can't install it myself and am a complete noob.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #50 on: October 19, 2016, 12:37:44 PM »
Open the nand-sata-install.sh file form Armbian and look whole the installing process, it's well commented there.
Than you may modify it to work for you.

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #51 on: October 19, 2016, 12:58:54 PM »
I tried , didn't understand anything from it.
what modifications do i need?

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #52 on: October 20, 2016, 04:26:18 PM »
Hello jgrulich,
Great. I have a NanoPi NEO running Armbian with kernel 4.7 (my UPnP audio player, usb out). What are the commands for unpack and pack the piCore uInitrd ?
Thanks.
« Last Edit: October 20, 2016, 04:34:28 PM by bzfrp »

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #53 on: October 20, 2016, 05:48:52 PM »
I have piCore 8.0 with the 4.8.0-rc5 which works well for headless server applications.
To generate the image files like a uInitrd, uImage, etc. I'm using the mkimage utility.

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #54 on: October 20, 2016, 06:12:27 PM »
But how to "unpack piCore initrd in a temp directory" ? (see initrd section in http://forum.tinycorelinux.net/index.php/topic,17895.0.html )
Could you place the link of your piCore 8.0 with the 4.8.0-rc5 image ?
Thanks.

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #55 on: October 20, 2016, 10:19:37 PM »
But how to "unpack piCore initrd in a temp directory" ? (see initrd section in http://forum.tinycorelinux.net/index.php/topic,17895.0.html )
I found a solution: http://h-wrt.com/en/mini-how-to/uInitrd

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #56 on: October 21, 2016, 03:00:26 AM »
Why to do it so complicated? Everything is nicely written in the Corebook:
http://tinycorelinux.net/book.html
When you don't know how to, than look there as a first resort.

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #57 on: October 21, 2016, 06:51:21 AM »
I didn't find uInitrd, mkimage and uboot in the Corebook. Where the Corebook explain how to unpack uInitrd ? Thanks.

Offline bzfrp

  • Newbie
  • *
  • Posts: 15
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #58 on: October 21, 2016, 01:42:31 PM »
Thanks. I begin to understand. It is in chapter 11 of the Corebook.
initramfs is 8.0v7.gz and kernel is kernel4420v7.img

Offline nxtv2.0

  • Newbie
  • *
  • Posts: 42
Re: piCore for the H3 boards - Orange Pi, Nano Pi etc.
« Reply #59 on: October 21, 2016, 06:25:07 PM »
Ok i got piCore working from eMMC ,
I flashed image.img(i modified your's and added the rev2 files you sent for ethernet) to eMMC using dd command in armbian running on sd card, and then flashed the bootloader .bin file in armbian, this post explaines the bootloader part i did post #8.http://forum.armbian.com/index.php/topic/1070-install-to-emmc/

It booted with a lot of errors, how do i fix them, i need to speed up boot.
Link to log file (dmesg)https://drive.google.com/open?id=0BxEtx0o2OWjmbzFiSWlQQWVOUm8

Thanks for your hard work.