Tiny Core Linux

Tiny Core Base => Raspberry Pi => piCore Test Releases => Topic started by: bmarkus on June 17, 2016, 04:17:20 AM

Title: piCore-8.0beta2
Post by: bmarkus on June 17, 2016, 04:17:20 AM
Team Tiny Core is proud to announce immediate availability of the second beta release of the piCore-8.0 edition.


8.0beta2

- kernel updated to 4.4.13
- e2fsprogs updated to 1.43.1
- MicroPython updated
- RPi firmware updated to 20160613


8.0beta1

- kernel 4.4.11
- glibc 2.23
- BusyBox 1.24.2
- util-linux 2.28
- e2fsprogs 1.43
- MicroPython 1.8
- Perl 5.24
- GCC 6.1

TC scripts also updated to latest common base. Except ncurses which doesn't build properly all packages in the repo updated and rebuilt using the new toolchain, not just copied over from 6.x/7.x repos. Dependencies revised, may be different to previous versions. It means limited number of packages in the repo, e.g. Xorg and graphical stuff are missing.

Only one SD card image available, it works on all RPi boards. Download location:

http://tinycorelinux.net/8.x/armv6/test_releases/

Please try it and share your experience, bugs found, etc.
Title: Re: piCore-8.0beta2
Post by: mbivol10 on June 17, 2016, 04:43:54 AM
 :) worked, tested on pi 3b. Nothing graphical because not yet compiled? It will be available, right?
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 17, 2016, 04:52:45 AM
:) worked, tested on pi 3b. Nothing graphical because not yet compiled? It will be available, right?

Thanks for the feedback. Xorg will come next.
Title: Re: piCore-8.0beta2
Post by: jncl on June 17, 2016, 10:36:53 AM
Hi Béla

  Just been testing WiFi on latest beta and there is a missing dependency; wireless_tools.tcz is missing from wpa_supplicant.tcz.dep, and wpa_supplicant fails to load due to this.

Cheers

  Jon
Title: Re: piCore-8.0beta2
Post by: Paul_123 on June 17, 2016, 01:46:58 PM
Bela,

Great Progress, did you pull this kernel on Monday after the DMA backport was merged?

Has the rpi3 internal wifi firmware been updated as well?      Updated brcmfmac43430-sdio.bin - version 7.45.41.26 https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4 (https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4)

Title: Re: piCore-8.0beta2
Post by: bmarkus on June 17, 2016, 09:27:04 PM
Bela,

Great Progress, did you pull this kernel on Monday after the DMA backport was merged?

Has the rpi3 internal wifi firmware been updated as well?      Updated brcmfmac43430-sdio.bin - version 7.45.41.26 https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4 (https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4)

It was cloned on June 15, around 20:00 UTC

Nothing done with firmware.
Title: Re: piCore-8.0beta2
Post by: Paul_123 on June 18, 2016, 03:24:46 AM
Bela,

Great Progress, did you pull this kernel on Monday after the DMA backport was merged?

Has the rpi3 internal wifi firmware been updated as well?      Updated brcmfmac43430-sdio.bin - version 7.45.41.26 https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4 (https://github.com/RPi-Distro/firmware-nonfree/commit/a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4)

It was cloned on June 15, around 20:00 UTC

Nothing done with firmware.

That does include the kernel Dma code, supposedly, that is a good improvement.
Title: Re: piCore-8.0beta2
Post by: sbp on June 18, 2016, 05:33:55 AM
Thanks Belá.

We will stat testing and using piCore 8.0 as basis for piCorePlayer.
Where can I find the sources so we can stat building the extra packages we need?

Regards
Steen   
Title: Re: piCore-8.0beta2
Post by: Gerrelt on June 18, 2016, 01:08:40 PM
Hi Béla,

I´ve installed squeezelite using my tutorial, and everything seems to work fine. I had to do the same Alsa modification as with beta1.
Installing bash produced the same error as with beta1.

Another thing I noticed, the on board soundcard is switched on, instead of default switched off as in beta1 and the 7 versions.
Did you do this on purpose?

Greetings,
    Gerrelt.
Title: Re: piCore-8.0beta2
Post by: patrikg on June 18, 2016, 11:55:04 PM
Should udevd been started 3 times
Code: (bash) [Select]
tc@box:~$ ps | grep udev
  117 root     /sbin/udevd --daemon
  825 root     /sbin/udevd --daemon
  834 root     /sbin/udevd --daemon
  978 tc       grep udev
tc@box:~$
Title: Re: piCore-8.0beta2
Post by: curaga on June 19, 2016, 01:24:48 AM
Those are the first one's spawned children, they're supposed to be there.
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 19, 2016, 02:41:51 AM
Hi Béla,

I´ve installed squeezelite using my tutorial, and everything seems to work fine. I had to do the same Alsa modification as with beta1.
Installing bash produced the same error as with beta1.


Yes, it was no yet touched, only the core.
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 19, 2016, 02:44:10 AM
Another thing I noticed, the on board soundcard is switched on, instead of default switched off as in beta1 and the 7 versions.
Did you do this on purpose?

Yes I enabled it by default in config.txt for those using only onboard sound, not external. It is just one line in config.txt to comment if one do not like it.
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 19, 2016, 08:00:19 AM

Where can I find the sources so we can stat building the extra packages we need?


http://tinycorelinux.net/8.x/armv6/releases/RPi/src/kernel/
http://tinycorelinux.net/8.x/armv7/releases/RPi/src/kernel/
Title: Re: piCore-8.0beta2
Post by: mbivol10 on June 19, 2016, 09:24:05 AM
What exactly do you put in config or what to do to prevent it from loading into ram, I want to make changes but none of them save and I really mean changes not just to install applications but to change something in etc or var or tmp and keep those changes. I am so sorry but I reall didn't understand the readme, just that there's mounting mode but everything I did still didn't keep any changes ...
Title: Re: piCore-8.0beta2
Post by: Rich on June 19, 2016, 09:43:05 AM
Hi mbivol10
You need to learn about persistence and backups. I recommend reading:
http://tinycorelinux.net/corebook.pdf
Title: Re: piCore-8.0beta2
Post by: patrikg on June 19, 2016, 11:13:00 AM
You have to read the book
http://tinycorelinux.net/book.html
Title: Re: piCore-8.0beta2
Post by: sbp on June 23, 2016, 08:30:15 AM
Hi Bela.

I have been working with beta2 for some time and it working fine.

I have one issue. The command sudo alsactl store does not work results in:
Code: [Select]
tc@piCorePlayer:~$ sudo alsactl store
alsactl: save_state:1626: Cannot open /var/lib/alsa/asound.state for writing: No such file or directory

Usually we have also installed alsa-config but that is not available on 8.0 yet.
I did install ALSA.tzc and alsa-utils.tcz ands also tried alsa-plugins.tzc - but still I get this error.

Steen
Title: Re: piCore-8.0beta2
Post by: Juanito on June 23, 2016, 08:51:58 AM
As a temporary fix you can create the folder /var/lib/alsa
Title: Re: piCore-8.0beta2
Post by: Gerrelt on June 24, 2016, 07:32:26 AM
Hi Steen,

 This is how I got alsa working on piCore 8 :

Code: [Select]
tce-load -wi alsa.tcz
tce-load -wi alsa-utils.tcz
sudo mkdir -p /var/lib/alsa
sudo echo "var/lib/alsa" >> /opt/.filetool.lst

Then use "sudo alsamixer" to make adjustments.
Then store it with:

Code: [Select]
sudo alsactl store
And I had to use this command in bootlocal.sh to restore the alsa settings at boot:

Code: [Select]
for i in $(seq 1 30); do alsactl restore && break || sleep 0.1; done

If you just run "alsactl restore" then chances are that your USB soundcard isn't ready yet when the restore command in executed.
This extended command will try for 3 seconds to restore the settings.

Greetings,
    Gerrelt.
Title: Re: piCore-8.0beta2
Post by: bzfrp on June 24, 2016, 07:48:17 AM
Hello,
I can't find alsa-dev.tcz
Title: Re: piCore-8.0beta2
Post by: Paul_123 on June 24, 2016, 11:32:48 AM
Hi Bela.

I have been working with beta2 for some time and it working fine.

I have one issue. The command sudo alsactl store does not work results in:
Code: [Select]
tc@piCorePlayer:~$ sudo alsactl store
alsactl: save_state:1626: Cannot open /var/lib/alsa/asound.state for writing: No such file or directory

Usually we have also installed alsa-config but that is not available on 8.0 yet.
I did install ALSA.tzc and alsa-utils.tcz ands also tried alsa-plugins.tzc - but still I get this error.

Steen

Steen, do a file comparison between 7.x alsa and 8.x alsa.   From what I can see everything that used to be separate in alsa-config is now included in alsa.tcz or alsa-utils.tcz. 

Once you save the state, and add it to your backup, the directory and asound.state will be created during the restore.
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 24, 2016, 02:16:11 PM
Hello,
I can't find alsa-dev.tcz

Install libasound-dev.tcz
Title: Re: piCore-8.0beta2
Post by: sbp on June 26, 2016, 05:37:42 AM
Hi Bela

The problem I had with the touch function on the official touchscreen was caused by a new option you enabled in config.txt.
As soon as I removed
i2c_vc=on
then the touch-function was working again.

From the raspberry git I read:
https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README (https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README)

i2c_vc (default "off")   Set to "on" to enable the i2c interface usually reserved for the VideoCore processor.
So by default it should be off. In addition the VideoCore is not even present in vanilla piCore, so I think it would be safe to remove from config.txt

Regards
Steen
Title: Re: piCore-8.0beta2
Post by: bmarkus on June 26, 2016, 07:30:04 AM
Hi Steen

thanks, will change config.txt