Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: pirated on March 10, 2019, 09:45:14 PM

Title: How to instal picore on RPi 3B+ from Windows
Post by: pirated on March 10, 2019, 09:45:14 PM
Hi,

I am newbie in Linux.
I have used Raspbian, dietpi on RPI, They are fairly easy to install.

For Picore I am kind of stuck as most of guides focus on installation from linux OS. I have followed this guide ( https://iotbytes.wordpress.com/picore-tiny-core-linux-on-raspberry-pi/ )  but after 4th step the card won't boot up on RPi. It shows rainbow and the RPi power light blinks in some pattern. It would be really helpful if some one can point me in the right direction.

Thanks
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Greg Erskine on March 10, 2019, 09:50:49 PM
What version of piCore are you using?
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Rich on March 10, 2019, 09:52:45 PM
Hi pirated
I think I read on this forum that  3B+  requires using the  ARMv7  version. I'm guessing you used  ARMv6. See if this works
any better:
http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: pirated on March 10, 2019, 09:56:11 PM
What version of piCore are you using?

I tried piCore-9.0.3 image and etched it to sd card with etcher.io

It didn't boot up, there was a rainbow screen and the power LED of RPi was blinking.
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Rich on March 10, 2019, 09:56:43 PM
Hi pirated
Hi pirated
I think I read on this forum that  3B+  requires using the  ARMv7  version. I'm guessing you used  ARMv6. See if this works
any better:
http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/
Or maybe it required TC10:
http://tinycorelinux.net/10.x/armv7/test_relases/RPi/
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: pirated on March 10, 2019, 09:58:17 PM
Hi pirated
I think I read on this forum that  3B+  requires using the  ARMv7  version. I'm guessing you used  ARMv6. See if this works
any better:
http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/

Hi Rich, I tried this one only 9.0.3 image 
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: pirated on March 10, 2019, 09:59:59 PM
Hi pirated
Hi pirated
I think I read on this forum that  3B+  requires using the  ARMv7  version. I'm guessing you used  ARMv6. See if this works
any better:
http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/
Or maybe it required TC10:
http://tinycorelinux.net/10.x/armv7/test_relases/RPi/

I will try this as well
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Greg Erskine on March 11, 2019, 01:56:26 AM
I believe the RPi3B+ needs piCore 10 beta, it won't work with piCore 9.

Remember, as piCore 10 is beta, it is not a complete repository yet.
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: mocore on March 11, 2019, 04:24:59 AM
I believe the RPi3B+ needs piCore 10 beta, it won't work with piCore 9.

IMHO i think it is more correct to say that

 RPi3B+ *needs* updated firmware in /boot ,...
 ..then it will *try* to boot any linux ( kernel: vmlinuz , and initrd image )

and

 piCore 9  is missing *some*  kernel modules aka drivers for the RPi3B+ HW.

*AFAIK






Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Greg Erskine on March 11, 2019, 01:39:53 PM
I am not sure piCore has /boot  ;)
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: pirated on March 11, 2019, 08:55:38 PM
I did try picore 10.

It booted and there was some tutorial to delete partition 2 and create and create one again. I was not able to do that because there was only one partition showing on my screen.

Its completely new thing for a windows user  ???
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Rich on March 11, 2019, 09:04:52 PM
Hi pirated
Did you read the  SD card partitioning  section found here:
http://tinycorelinux.net/10.x/armv7/test_relases/RPi/README
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Greg Erskine on March 11, 2019, 11:47:58 PM
hi pirated,

Congratulations!! on getting piCore running on your RPi3B+.

You are not giving many details of what you are doing so we have to guess what step your are up to.

Usually on a Windows PC you will only see the first partition on the SD card.

On piCore, only the second partition is mounted. The first partition is used during booting but unmounted to make it more secure.

Follow the instructions in the link Rich posted. You don't need to worry about mounting or unmounting partitions.

m gives you fdisk help.

The greatest thing about doing this, is you can always burn a new piCore image in a minute and start again! It's a good opportunity to learn fdisk without a lot of pain.

second partition = /dev/mmcblk0p2

start sector = StartLBA

regards
Greg






Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: mocore on March 14, 2019, 12:36:58 AM
I am not sure piCore has /boot  ;)

/boot being the fatFS / first partition  , holding the firmware files required to "boot" the pi HW  :P

Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: Greg Erskine on March 14, 2019, 02:46:16 AM
/boot being the fatFS / first partition  , holding the firmware files required to "boot" the pi HW  :P

Sorry mocore,  :-[

I wasn't aware piCore mounted the first partition as /boot like Raspbian, I always thought it was mounted as /mnt/mmcblk0p1 by default. I don't have a RPi running Raspbian or standard piCore handy so I was working from memory. :o

regards
Greg
Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: mocore on March 16, 2019, 04:19:50 AM
I wasn't aware piCore mounted the first partition as /boot like Raspbian,
I always thought it was mounted as /mnt/mmcblk0p1 by default.

Ah! i was also working from memory ,..
"boot_folder" not literally mounted @ '/boot'
but loosely meaning  "boot partition"   ;)

the confusion i guess is mount points vs  partition labels ,
as you point out the first "firmware/boot" partition
is usually mounted as  /boot in Raspbian (the pi default os)   also labeled "boot"
and mounted at /mnt/mmcblk0p1 on picore by default!

https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow.md

https://www.raspberrypi.org/documentation/configuration/boot_folder.md

https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md

:o

+ http://forum.tinycorelinux.net/index.php/topic,22596.msg141571.html#msg141571

Title: Re: How to instal picore on RPi 3B+ from Windows
Post by: pataelmo on May 10, 2019, 12:50:00 PM
For anyone else like me that's looking to get a CM3+ running with piCore.  I didn't really want to dive into using v10 as it's not released.  In a bit of poking I was able to use an exising 9.0.3 piCore image I had setup and just replaced the following files from the master of the raspberry pi firmware repo (link below).

overlays/*
*.dtb
bootcode.bin
*.dat
*.elf

https://github.com/raspberrypi/firmware (https://github.com/raspberrypi/firmware)
(commit 9fd387c96353dd9983aa73bd33b541926de93789 in case it really matters)


Not sure how ghetto this, it but on a first pass all seems to be working. 

[Edit]: I clearly posted too quickly.  The single USB port doesn't even seem to recognize a keyboard, so not exactly a win.