WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-5.3alpha1  (Read 8611 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
piCore-5.3alpha1
« on: April 07, 2014, 06:45:24 AM »
Team Tiny Core is pleased to announce the availability of piCore-5.3alpha1:

http://tinycorelinux.net/5.x/armv6/release_candidates/

* kernel updated to 3.14.0
* Raspberry Pi firmware updated to April 6, 2014 version
* official BusyBox patches applied
* curaga's wget3 BusyBox patch applied, setting default timeout to 10s
* tce-load: Don't show an error when extension contains multiple modules
* tce-load: Use sudo when unmounting meta-extensions

Please note, alsa-modules-3.14.0-piCore+.tcz has no startup script to avoid conflicts with DACS, necessary modules must be loaded by user, including on-chip sound device.

Images with preinstalled SSH for headless operation and with GUI also available.

Updating previous versions on Raspberry Pi without removing SD card:

Download piCore-5.3alpha1-boot.tar.gz extract to a temporaray folder and overwrite content of /mnt/mmcblk0p1 after mounting it. It will overwrite custom boot options. If you have customied cmdline.txt on config.txt in the old system, do it again. Do not reboot if using wireless remote connection, otherwise you will loose connection due to incompatible kernel modules!

Next download kernel module tcz's from the repo matching new kernel version and reboot. You must have a new, updated system working.

Please note, there may be kernel module extensions which are not yet available in the repo.

Before modifying mmcblk01 content, it is adviced to make backup to a persistent device.

For support visit http://forum.tinycorelinux.net/index.php/board,57.0.html
« Last Edit: April 09, 2014, 02:14:35 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: piCore-5.3alpha1
« Reply #1 on: April 07, 2014, 02:33:16 PM »
bmarkus

It is working fine - the sound is fine, the wifi is working, piCorePlayer is working fine on the new version - so everything is fine.

Now I "just" need to figure out what I did wrong when I tried to make a 3.14.0 version by myself......

Steen

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: piCore-5.3alpha1
« Reply #2 on: April 07, 2014, 03:13:35 PM »
Hi.

I'm working on supporting a new i2s DAC IQaudIO which needs these modules. IQaudIO webpage http://iqaudio.com/
Code: [Select]
sudo modprobe snd_soc_bcm2708_i2s
sudo modprobe bcm2708_dmaengine
sudo modprobe snd_soc_pcm512x
sudo modprobe snd_soc_iqaudio_dac


The modules are loaded fine via lsmod:
Code: [Select]
tc@piCorePlayer:~$ lsmod
Module                  Size  Used by    Not tainted
snd_soc_iqaudio_dac     2509  0
bcm2708_dmaengine       5312  1
virt_dma                2053  1 bcm2708_dmaengine
snd_bcm2835            18211  0
snd_soc_pcm512x         8972  0
snd_soc_bcm2708_i2s     5653  0
snd_soc_core          120697  3 snd_soc_iqaudio_dac,snd_soc_pcm512x,snd_soc_bcm2708_i2s
snd_pcm_dmaengine       4454  1 snd_soc_core
snd_pcm                78325  4 snd_soc_iqaudio_dac,snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_timer              19923  1 snd_pcm
snd_compress            7815  1 snd_soc_core
snd                    56351  5 snd_bcm2835,snd_soc_core,snd_pcm,snd_timer,snd_compress
regmap_i2c              1534  2 snd_soc_pcm512x,snd_soc_core
regmap_spi              1786  2 snd_soc_pcm512x,snd_soc_core
regmap_mmio             2669  1 snd_soc_bcm2708_i2s



However, the DAC does not show up in aplay-L
Code: [Select]
tc@piCorePlayer:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
tc@piCorePlayer:~$


And there is this error in dmesg when I load the module:
Code: [Select]
554.212598] snd-rpi-iqaudio-dac snd-rpi-iqaudio-dac.0: ASoC: CODEC pcm512x.1-004c not registered
[  554.212674] snd-rpi-iqaudio-dac snd-rpi-iqaudio-dac.0: snd_soc_register_card() failed: -517
[  554.212715] platform snd-rpi-iqaudio-dac.0: Driver snd-rpi-iqaudio-dac requests probe deferral

The developer has the card playing fine using raspbian build on 3.14.0 so it is be possible.

Do you have an idea?

Steen
« Last Edit: April 07, 2014, 03:15:13 PM by sbp »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1230
Re: piCore-5.3alpha1
« Reply #3 on: April 07, 2014, 04:27:39 PM »
Is there a specific order that the modules have to load?

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: piCore-5.3alpha1
« Reply #4 on: April 07, 2014, 04:43:44 PM »
Thanks

I have tried all the permutations - so I think not.
Steen

The developer state that it shouldn't matter if the card is connected or not (it is not connected at the moment, I need an adaptor) but as I read another error I have been able to produce there is something about failure to resetting the device - so I suspect that actually the card needs to be connected?

Code: [Select]
[ 8513.273194] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 8539.274498] pcm512x 1-004c: Failed to reset device: -5
[ 8539.274630] pcm512x: probe of 1-004c failed with error -5
tc@piCorePlayer:~$ sudo modprobe snd_soc_iqaudio_dac

So I will try again when the card is connected (tomorrow I hope)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-5.3alpha1
« Reply #5 on: April 08, 2014, 02:02:36 AM »
It is working fine - the sound is fine, the wifi is working, piCorePlayer is working fine on the new version - so everything is fine.

Thanks, good to hear. :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-5.3alpha1
« Reply #6 on: April 09, 2014, 04:06:37 PM »
After intensively using it for few days I must say it is not reliable. I see random crashes, killed processes and once a corrupted ext4 file system on SD card (deleted journal). Not a big suprise that an X.Y.0 kernel has issues. Lets wait for 3.14.3 or later :(

Of course, you are welcome to play with this alpha. But as always with early test releases, be careful and get ready for crashes, corrupted card, etc.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-5.3alpha1
« Reply #7 on: April 20, 2014, 01:48:58 PM »
Removed from download area.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."