Tiny Core Linux
Tiny Core Base => Other architectures => Topic started by: jgrulich 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.
-
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
-
How do i install This port on the built-in eMMC flash in the Orange Pi Plus 2E?
Thanks in advance.
-
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
-
Hi Pete,
which customized kernel do you made? Do you have video and audio working?
Regards,
Jan
-
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.
-
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..
-
How do i use i2c and spi controllers inside the allwinner h3 in this port??
Thanks in Advance.
-
@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.
-
@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.
-
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.
-
OPi Plus 2 has gigabit ethernet with Realtek which is not supported yet. Sorry, don't have the board in hands to test it.
-
Can you try to support it and send my the test images?
thanks in advance.
-
Try this kernel:
https://dl.dropboxusercontent.com/u/86461636/zImage
I've enabled all the gmac I've found around.
Regards,
Jan
-
Thank you,will try it and report back.
-
Didn't work same as before :-\
-
Didn't work ,same as before.
-
Didn't work.
same as before.
-
Sorry, don't have the board to test with.
-
Sorry for posting multible times, was an accident.
What is needed to support the giagbit controller?
I xan help you develop one , any image you want me to test i will accept.
-
Use the steps as I've described in you post:
http://forum.tinycorelinux.net/index.php/topic,20426.msg127344.html#msg127344
That's the fastest way, because than you have something working at the beginning and you may revert steps it it stop working.
The opposite way, means to use try / fail method is quite time consuming because you test it as a blind men.
-
Install this distro: http://www.armbian.com/orange-pi-plus-2e/
and post the dmesg with the ethernet info.
I have the source files for the 3.4.112 kernel and therefor may use it for our purpose easily.
-
Ok i was allready using armbian .
will post shortly.
-
Command i used:
dmesg > log.txt
Link to File:
https://drive.google.com/file/d/0BxEtx0o2OWjmTHJfX1pvLTQ4djA/view?usp=drivesdk (https://drive.google.com/file/d/0BxEtx0o2OWjmTHJfX1pvLTQ4djA/view?usp=drivesdk)
Hope it helps,if you need anything else just say.
Thanks.
-
Strange, it uses the same gmac0 as for internal 100MB port.
Please test my version and post the dmesg to see the error messages about the gmac.
-
Maybe I got it,
use the kernel,I've sent last time, and overwrite the script.bin:
https://dl.dropboxusercontent.com/u/86461636/script.bin
Regards,
Jan
-
I can't find the image on my pc and the dropbox link is broken.
-
I mean the kernel no the image.
-
And please add a script that automatically saves the output of dmesg to a file in the fat32 partition because i can't access the pi without ethernet working.
-
Once more the link to the zImage and script.bin:
https://dl.dropboxusercontent.com/u/86461636/zImage
https://dl.dropboxusercontent.com/u/86461636/script.bin
To save the dmesg:
mount /mnt/mmcblk0p1
sudo dmesg > /mnt/mmcblk0p1/log.txt
-
How do i enter those commands , the ethernet isn't working.
-
Use the serial debug console and copy the output via the clipboard.
-
I dont have a serial reader currently.
Can't you include a start-up script to log the dmesg to the fat32 partition?
sorry for inconvienice.
-
Than use the keyboard and monitor to interface with.
I've modified the script bin to work with the HDMI-DVI interface, means that you may use any old-fashioned monitor, even with the 3:4 ratio as I'm using.
-
If Armbian is working well, I've used it's kernel with adopted related files.
Try to replace these files on the SD card:
https://dl.dropboxusercontent.com/u/86461636/Rev2/boot.scr
https://dl.dropboxusercontent.com/u/86461636/Rev2/script.bin
https://dl.dropboxusercontent.com/u/86461636/Rev2/zImage
-
Link to log file using last upload.
https://drive.google.com/open?id=0BxEtx0o2OWjmTHJfX1pvLTQ4djA (https://drive.google.com/open?id=0BxEtx0o2OWjmTHJfX1pvLTQ4djA)
Going to replace the files you sent now and report back.
-
Finally it worked!
https://drive.google.com/open?id=0BxEtx0o2OWjmc3ZrSmxwQ0t2MGs (https://drive.google.com/open?id=0BxEtx0o2OWjmc3ZrSmxwQ0t2MGs)
There was a lot of errors.
How do decrease boot time i don't need anything except usb and gigabit ethernet as i will be running Virtualhere usb server.
Thanks for your help.
-
What you don't need, simply remove it, or comment out in the onboot.lst.
Guess you need only openssh.tcz, or even not this if you don't need the SSH remote control.
Depend what services you need to be running on the server.
-
Please copy my zImage back again to identify if it is in this file, or in the boot.scr file.
-
I used both the zimage and the boot.scr.
-
I now tried burning the img file using the dd command to eMMC while running linux on the sd card but it didn't boot so how do i boot from eMMC?
-
And can you review the log.txt and see what makes all those errors
-
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
-
Which errors you mean? I don't see any, only some warning related to the not used modules and HW.
-
Have you tried the eMMC with the Armbian? If no, please try and report the working procedure.
-
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.
-
How did you wrote the bootloader to the eMMC? Which one you've used?
-
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
-
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.
-
Can you please list the commands needed to install piCore to eMMC as i can't install it myself and am a complete noob.
-
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.
-
I tried , didn't understand anything from it.
what modifications do i need?
-
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.
-
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.
-
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.
-
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
-
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.
-
I didn't find uInitrd, mkimage and uboot in the Corebook. Where the Corebook explain how to unpack uInitrd ? Thanks.
-
Thanks. I begin to understand. It is in chapter 11 of the Corebook.
initramfs is 8.0v7.gz and kernel is kernel4420v7.img
-
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/ (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 (https://drive.google.com/open?id=0BxEtx0o2OWjmbzFiSWlQQWVOUm8)
Thanks for your hard work.
-
Good news. I've ported the piCore on the new Orange Pi Zero. Non with the 3.4.113 kernel.
The board works well, the idle consumption is 100mA@240MHz, the peak full speed consumption is 240mA@1,2GHz.
Compared with RPi3, the boot time is twice, but than the speed is comparable.
The on board wifi is working too, but not as good as the external Realtek based one. Seems that there are still some issues with the wifi driver and need tweak.
-
Newbie question: How would I install it to the OPi Zero; any differences from other boards?
-
So... is tiny a dead end on the OPi Zero? I've been looking for something, anything, how to install it.
-
This link no exist more.
https://dl.dropboxusercontent.com/u/86461636/piCore8.0_h3.7z
please upload again.
-
What about this port :o ? Who can throw it :-\ ?
-
No one left this distribution? :( :( :(
Throw off if someone left it please! :-\ :-\ :-\
-
I think your best bet is to install Armbian, and use those resources listed in this thread.
While you could try and emulate piCore, you might even try getting familiar with how dCore works and starting from there. I suppose you could track the debian/ubuntu kernels offered up by Armbian rather than debian/ubuntu directly. Might make it easier. Many possibilities.
If you are only doing shell stuff, a real easy option is to install Armbian, and install and track the version of BusyBox that *core uses. Ie, download 1.27.2 of busybox (as of today, later versions are also available), do a make defconfig for busybox in Armbian, install it, and create the necessary symlinks (see the BB faq), and put it first in your path.
That's what I'm doing with my LePotato board until I get the necessary skills to transform it in a dCore-like version.
-
Many thanks for the advice
-
https://dl.dropboxusercontent.com/u/86461636/piCore8.0_h3.7z
This file has not existed !
Who have it ?
Please upload again !
Thanks a lot !
-
So,all the links and files are all 404
who have it ?
although h3 is too old