Tiny Core Linux

Tiny Core Base => Raspberry Pi => piCore Test Releases => Topic started by: bmarkus on September 12, 2013, 08:20:10 AM

Title: piCore 5.0.alpha2
Post by: bmarkus on September 12, 2013, 08:20:10 AM
I'm pleased to announce piCore 5.0.alpha2 for the Raspberry Pi.

5.0.alpha2 changelog:

- busybox, zlib, e2fsprogs, util-linux, bcrypt, zsync rebuilt with GCC 4.8.1
- libgcc_s.so.1 and libstdc++.so updated to GCC 4.8.1 libs
- removed visudo which was an x86 binary


5.0.alpha1 changelog:

- common TC 5 script base
- eglibc 2.18
- kernel 3.10.10
- busybox 1.21.1
- zlib 1.2.8
- e2fsprogs 1.42.8
- util-linux 2.23.2
- added bcrypt to base
- dropped scm type extension support
- cleanup, unneded files removed
- file reorganization
- updated Broadcom firmware

Download link: piCore-5.0.alpha2.img.gz (http://tinycorelinux.net/5.x/armv6/piCore-5.0.alpha2.img.gz)  md5 (http://tinycorelinux.net/5.x/armv6/piCore-5.0.alpha2.img.gz.md5.txt)
Title: Re: piCore 5.0.alpha2
Post by: Gerrelt on September 12, 2013, 10:39:41 AM

Installed, and sound works great!  Thanks! :)

Now I am trying to get git to work...
Title: Re: piCore 5.0.alpha2
Post by: Gerrelt on September 14, 2013, 02:58:22 AM
Hi,

I am trying to make GIT, but it complains that it can't find openssl. But I cannot find openssl in the tce repository?

Greetings,

   Gerrelt.
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 03:46:35 AM
Both git and openssl are in the repo.
Title: Re: piCore 5.0.alpha2
Post by: Gerrelt on September 14, 2013, 03:58:33 AM
Excellent, I found it and installed it, thanx!!  :)

Could you tell me which URL I need to use for getting the tinycore sources?
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 04:12:25 AM
What are you looking for?
Title: Re: piCore 5.0.alpha2
Post by: Gerrelt on September 14, 2013, 04:18:01 AM

I am looking for the kernel header files (I think..), so I can compile the Ralink drivers.
I am getting this message when executing make on the ralink drivers:

Code: [Select]
make: *** /lib/modules/3.10.10-piCore/build: No such file or directory.  Stop.
make: *** [LINUX] Error 2
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 05:30:57 AM
I will add headers to repo this weekend
Title: Re: piCore 5.0.alpha2
Post by: Gerrelt on September 14, 2013, 05:53:16 AM
Ah, that would be super!!  :)
Title: Re: piCore 5.0.alpha2
Post by: sbp on September 14, 2013, 06:24:29 AM
Hi bmarkus

Thanks for the update (alpha2). I have been trying to get my scripts for piCorePlayer to "run" on the piCore5 image.
The good thing is that the sound is fine both the analog out as well as via a USB_DAC.

But I have two issues:
1. In version 4.7.7 I could use a command like:  cat /mnt/mmcblk0p1/config.txt  to show and then manipulate the config.txt file. However in piCore5 somehow the boot files can't be found, and the command does not show the content of config.txt. I can't even see the boot files in mnt/mmcblk0p1 via winscp anymore (they can bee seen via winscp in 4.7.7)

2. I can't figure out how to mount an external USB-stick in version 5.   In version 4.7.7. I would use "mount /dev/sda1" but that won't work in version5.
Also fdisk -l does not show the USB-stick in version 5 anymore.

Steen 
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 06:40:20 AM

1. In version 4.7.7 I could use a command like:  cat /mnt/mmcblk0p1/config.txt  to show and then manipulate the config.txt file. However in piCore5 somehow the boot files can't be found, and the command does not show the content of config.txt. I can't even see the boot files in mnt/mmcblk0p1 via winscp anymore (they can bee seen via winscp in 4.7.7)


Probably it is not mounted. Try

Code: [Select]
sudo mount /mnt/mmcblk0p1
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 06:43:37 AM
2. I can't figure out how to mount an external USB-stick in version 5.   In version 4.7.7. I would use "mount /dev/sda1" but that won't work in version5.
Also fdisk -l does not show the USB-stick in version 5 anymore.

Please check with lsusb thar USB stick is seen or not. If yes, execute

Code: [Select]
sudo rebuildfstab
and check it appears in /mnt
Title: Re: piCore 5.0.alpha2
Post by: sbp on September 14, 2013, 06:56:02 AM

1. In version 4.7.7 I could use a command like:  cat /mnt/mmcblk0p1/config.txt  to show and then manipulate the config.txt file. However in piCore5 somehow the boot files can't be found, and the command does not show the content of config.txt. I can't even see the boot files in mnt/mmcblk0p1 via winscp anymore (they can bee seen via winscp in 4.7.7)


Probably it is not mounted. Try

Code: [Select]
sudo mount /mnt/mmcblk0p1

Thanks
Yep - now it is visible.

But this is a different behaviour compared to 4.7.7. So is it something that you will change, or is it as it should be now in version 5?

Steen
Title: Re: piCore 5.0.alpha2
Post by: sbp on September 14, 2013, 06:59:35 AM
2. I can't figure out how to mount an external USB-stick in version 5.   In version 4.7.7. I would use "mount /dev/sda1" but that won't work in version5.
Also fdisk -l does not show the USB-stick in version 5 anymore.

Please check with lsusb thar USB stick is seen or not. If yes, execute

Code: [Select]
sudo rebuildfstab
and check it appears in /mnt

I can see it in lsusb
Code: [Select]
tc@box:~$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 005: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick

But even after sudo rebuildfstab it can't be seen:
Code: [Select]
tc@box:~$ sudo fdisk -l

Disk /dev/mmcblk0: 1023 MB, 1023934464 bytes
11 heads, 8 sectors/track, 22725 cylinders
Units = cylinders of 88 * 512 = 45056 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               1         373       16353   4 FAT16 <32M
/dev/mmcblk0p2             373         817       19564  83 Linux

or

Code: [Select]
tc@box:/mnt$ ls
mmcblk0p1/ mmcblk0p2/
tc@box:/mnt$

Steen
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 14, 2013, 07:24:44 AM
Confirmed, same here. Regarding 1) no intended change, it is related to 2)
Title: Re: piCore 5.0.alpha2
Post by: bmarkus on September 18, 2013, 10:54:12 AM
Now we reached an important milestone. Xorg-7.7 is added to the repo, all base components required by TC are updated, rebuilt. Just install TC.tcz from the repo

Code: [Select]
tce-load -iw TC
and type

Code: [Select]
startx
to start the graphical environment. If you have a persistent tce directory, TC will start automatically during next boot.

4.x repo converted to 5.x environment and updated to current upstream in many cases, including GTK2. You can use nearly all extensions with 5.0.alpha2, there are no reason to copy them over from 4.x

At the moment I aware only two bugs:

1) USB mass storage partition recognition
2) LTO plugin not found by GCC

Xorg 7.7 and many components built native in 5.0.alpha2, without any issues.

Try it and share your findings with us.