WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #45 on: September 17, 2012, 08:26:45 AM »
I have posted an updated image, 20120917.
See http://distro.ibiblio.org/tinycorelinux/4.x/armv6/

This update fixes missing libz.
10+ Years Contributing to Linux Open Source Projects.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #46 on: September 17, 2012, 09:20:04 AM »
Robert,

not all loaded and working extensions are in /usr/local/tce.installed



Béla
Ham Radio callsign: HA5DI

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

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #47 on: September 17, 2012, 12:51:25 PM »
Sorry. Haven't been able to reproduce. I have 11 extensions loaded on boot, with 11 loop mounts and 11 items in tce.installed.
Perhaps it is specific to an extension or perhaps to Qemu vs bare metal pi? I don't have much in the way to test Qemu specifics.
Will need more information.
10+ Years Contributing to Linux Open Source Projects.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #48 on: September 17, 2012, 08:27:54 PM »
OK, will try to investigate. For testing I repacked them with the patched TC version of mksquashfs but no chnage, except the bigger tcz size. Good point that they get mounted and work.

BTW, is it really necessary to have the patched squashfstools?
Béla
Ham Radio callsign: HA5DI

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 7818
Re: Towards Core (microcore) on Raspberry Pi
« Reply #49 on: September 17, 2012, 11:28:45 PM »
You'd rather force every extension maker to use the long command line? mksquashfs src dest.tcz -b 4096 -no-xattrs; chmod 644 dest.tcz
The only barriers that can stop you are the ones you create yourself.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #50 on: September 17, 2012, 11:33:11 PM »
You'd rather force every extension maker to use the long command line? mksquashfs src dest.tcz -b 4096 -no-xattrs; chmod 644 dest.tcz

No, just asking :) This is over, I'm using the TC variant already which is packed to .tcz :)
Béla
Ham Radio callsign: HA5DI

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

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #51 on: September 19, 2012, 07:59:24 PM »
My first planned milestone was to have the Swiss Army Knife available for piCore. Now it is there:



Without mc I fill always really bad and it is the first package I install if not part of default install. This version is built against ncurses instead of slang to save space.
« Last Edit: September 20, 2012, 02:30:33 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline netnomad

  • Hero Member
  • *****
  • Posts: 738
Re: Towards Core (microcore) on Raspberry Pi
« Reply #52 on: September 20, 2012, 02:49:52 AM »
hi bmarkus,

mc is a great contribution, thank you.

Quote
Without mc I fill always really bad and it is the first package I install if not part of default install.

i certainly agree,
for me there won't be any hour spending time with a computer without using mc once!
« Last Edit: September 20, 2012, 02:53:02 AM by netnomad »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #53 on: September 20, 2012, 05:21:26 AM »
I have posted qemuPiCore.tgz into http://distro.ibiblio.org/tinycorelinux/4.x/armv6/
This provides a specific kernel and initrd for qemu and requires the very latest qemu to work.
qemu-arm.tcz in the x86 repository will allow those without a raspberrypi to see, help test,
and contribute to the raspberrypi Core effort.
10+ Years Contributing to Linux Open Source Projects.

Offline t.janos

  • Newbie
  • *
  • Posts: 3
Re: Towards Core (microcore) on Raspberry Pi
« Reply #54 on: September 20, 2012, 06:32:22 AM »
To bmarkus:
Bela,
I would like to summarize here the topics, we discussed in our private mails on testing the new tcz packages on raspberripy.
The new mc.tcz need this previously installed packages:
ncurses.tcz
ncurses-common.tcz
glib2.tcz
libiconv.tcz
and
mc.tcz
After installing this, it run, as expected.
Congratulations to this works.
With the mc you can make accessible a usefull everyday tools for the majority of users.
I use it in every sessions too.
------
About the remote access of the TC on rpi:
I got the dropbear binary from the rasberian. It run on TC, but it need to generate some keys, and it need to change this keys, if you want to connect from remote site, from ssh. I made some tries to make this keys, but without success.
I think, if I have a script, which convert the dropbear deb package to tcz, it would be more simple to realize this.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #55 on: September 20, 2012, 06:58:39 AM »
János,

welcome on board. I compiled already dropbear and will make a tcz package in few days. However you have to learn how to configure, mostly it is not a packaging issue :) 
« Last Edit: September 20, 2012, 07:00:48 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline t.janos

  • Newbie
  • *
  • Posts: 3
Re: Towards Core (microcore) on Raspberry Pi
« Reply #56 on: September 20, 2012, 08:28:23 AM »
Bela,
thank you, the dropbear would be usefull to manage the tc on raspberry without any tv-screen.
It is shure the configuration of the dropbear isnot a tc packaging issue, but if I download it to the raspbian, it dont need any more configure steps. It run, and I can ssh into it.
It is the similar situation with my favorite, small web server, it is boa. I pulled it from raspbian, and after some manual configure/file creation steps it run on TC. This stepps was made somewhere in the deb package control.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #57 on: September 20, 2012, 08:33:38 AM »
OK, will check what Raspbian is doing. Looks like we need a startup script.
Béla
Ham Radio callsign: HA5DI

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 7818
Re: Towards Core (microcore) on Raspberry Pi
« Reply #58 on: September 20, 2012, 08:48:43 AM »
I think it'd be good to stay compatible with the x86 repo. There extensions don't generally autostart, but dropbear's init script can generate keys.
The only barriers that can stop you are the ones you create yourself.

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4851
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #59 on: September 20, 2012, 08:52:41 AM »
Yes, as much as possible I keep compatibility keeping same dependencies, split-up and naming and whenever possible use orginal build scripts :) Same valid for dropbear. Just need some time
Béla
Ham Radio callsign: HA5DI

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