WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Towards Core (microcore) on Raspberry Pi  (Read 61602 times)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Towards Core (microcore) on Raspberry Pi
« on: September 04, 2012, 02:06:28 PM »
Now posted first cut of rpiCore.

http://distro.ibiblio.org/tinycorelinux/4.x/arm/armv6/
 
This is pre-alpha. There are no extensions,
Edit cmdline.txt for testing boot parameters. Use a powered hub to use a usb pendrive for backup/restore or persistent home testing.
Expect bugs. Use Raspbian for compiling then move and test on rpiCore.

Install to sdcard via the usual, example using sdd change to your specifics,
gunzip < rpiCore-20120904.img.gz | dd of=/dev/sdd

Proceed with caution. Test carefully.
10+ Years Contributing to Linux Open Source Projects.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Towards Core (microcore) on Raspberry Pi
« Reply #1 on: September 05, 2012, 10:04:52 AM »
hi roberts,

i tested your rpiCore-20120904.img and it boots flawless to the prompt.
the rootfs and /etc look pretty good :-)

what are the limits of this first stage?
can i start using my fluxbox-environment with almost all tcz-packages of the repository
or do we need certain arm-specific packages?

thank you for these first efforts for the rpi and i'm looking forward for the next stages.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Towards Core (microcore) on Raspberry Pi
« Reply #2 on: September 05, 2012, 10:25:01 AM »
hi roberts,

woooh.... with sudo udhcpc i got a working internet connection.
also tce-ab started promising... but after downloading and installing the midnight commander,
i got the error message that it is not possible to install or to mount the package on the loop device.

would you give me some hints what limits are now or what we have to consider for the next steps?

thank you for every help and hint.
« Last Edit: September 05, 2012, 10:37:58 AM by netnomad »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Towards Core (microcore) on Raspberry Pi
« Reply #3 on: September 05, 2012, 11:02:58 AM »
Hi netnomad
Any extensions you want to run need to be compiled for ARM. You can not run X86 programs.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Towards Core (microcore) on Raspberry Pi
« Reply #4 on: September 05, 2012, 11:06:11 AM »
hi rich,

thank you for your reply.

some further informations:

there are loop devices under /dev:
/dev/loop0 to loop7   =      8 loop-devices
and an empty dir was created under /tmp/tcloop for the first package that was attempted to be installed:
/tmp/tcloop/libiconv

error message:
mount: mounting /dev/loop0 on /tmp/tcloop/libiconv failed: no such device
although there is a /dev/loop0-device.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #5 on: September 05, 2012, 12:10:20 PM »
As I stated in the first announcement post there are no extensions; yet!
You can test very basic stuff, for example:

Connect a usb pendrive via a powered hub.
create some test files in home.
try to backup to pendrive.
try to restore from pendrive.
edit cmdline.txt on sdcard to specify restore=sda1
test persistent home on pendrive, and opt

try using deb to tcz utility on some command line  raspbian deb packages and see if they will work.
try compling some command line utilty rapsbian and see if that will work.

I am working on setting up a procedure to keep raspbaerry pi and allwinner arm ports in sync with x86 core.
Once I get there I will then try to make a few simple extensions.

This is only the beginning!

Too much to do.

Any help is appreciated.
« Last Edit: September 05, 2012, 12:30:37 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #6 on: September 05, 2012, 11:41:09 PM »
Tried to run rpiCore-20120904.img in QEMU but no success. If someone have done it already, please share howto.
Béla
Ham Radio callsign: HA5DI

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

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #7 on: September 06, 2012, 09:35:21 AM »
Posted an update rpiCore-20120906.img.gz in http://distro.ibiblio.org/tinycorelinux/4.x/arm/armv6/
This syncs with x86 Core's base v4.6.1 and I updated the modules. Currently it contains way more modules than needed for base. But I left them in for now to hopefully help testing.
10+ Years Contributing to Linux Open Source Projects.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Towards Core (microcore) on Raspberry Pi
« Reply #8 on: September 06, 2012, 12:13:16 PM »
hi roberts,

would you mind to add the arm-version of mc.tcz with it's dependencies?
... so the testing and exploring of your arm-stages would be much more convenient, easier and faster.
and the learnig curve would be much higher :-)

thank you for your efforts.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Towards Core (microcore) on Raspberry Pi
« Reply #9 on: September 06, 2012, 07:21:23 PM »
Tried to run rpiCore-20120904.img in QEMU but no success. If someone have done it already, please share howto.

+1

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #10 on: September 06, 2012, 08:10:48 PM »
Version of qemu not stated.
As I stated in another thread I have seen Raspbian running on qemu-1.1.1.1.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #11 on: September 06, 2012, 08:23:27 PM »
hi roberts,

would you mind to add the arm-version of mc.tcz with it's dependencies?
... so the testing and exploring of your arm-stages would be much more convenient, easier and faster.
and the learnig curve would be much higher :-)

thank you for your efforts.

I am the only one working on this and as only one I will not be able to build all the extensions.
My focus, as with x86 Core, has been the base system. There is still much to do there.

I am relying on the slogan, "If you build it they will come." I must rely on a community to contribute as they have overwhelmingly done with the x86 platform.

As much as x86 Core is mature and stable, both arm ports are hatchlings just begining to walk; not able to fully run just yet.

I have had an open strategy to kickstart these arm ports. Each milestone has been posted and shared with the community.

I am currently looking into enhancing an existing tool to further demonstrate both arm systems.


10+ Years Contributing to Linux Open Source Projects.

Offline zerophnx

  • Newbie
  • *
  • Posts: 24
Re: Towards Core (microcore) on Raspberry Pi
« Reply #12 on: September 07, 2012, 11:25:02 AM »
I can't wait to try this, though I won't have the SD card for another week or so. In the meantime I'll try compiling a few extensions with the Raspbian card.

Thank you for your continued work on Core, both with the x86 and ARM.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #13 on: September 07, 2012, 09:21:57 PM »
Posted an update rpiCore-20120907.img.gz in http://distro.ibiblio.org/tinycorelinux/4.x/arm/armv6/
Fixed incorrectly configured squashfs module.
tce-load -i  is now working!

Still contains way more modules than needed for base. But I left them in for now to hopefully help testing.
10+ Years Contributing to Linux Open Source Projects.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Towards Core (microcore) on Raspberry Pi
« Reply #14 on: September 07, 2012, 10:00:16 PM »
This may or may not be of interest::
http://landley.net/aboriginal/downloads/binaries/extras/
It contains some ARM binaries. The parent directory contains some cross compilers and the readme file
states that image files are bootable under qemu.