WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #45 on: September 17, 2012, 12:26:45 PM »
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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #46 on: September 17, 2012, 01:20:04 PM »
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

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #47 on: September 17, 2012, 04: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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #48 on: September 18, 2012, 12:27:54 AM »
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: 11044
Re: Towards Core (microcore) on Raspberry Pi
« Reply #49 on: September 18, 2012, 03:28:45 AM »
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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #50 on: September 18, 2012, 03:33:11 AM »
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."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #51 on: September 19, 2012, 11: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, 06:30:33 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Towards Core (microcore) on Raspberry Pi
« Reply #52 on: September 20, 2012, 06: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, 06:53:02 AM by netnomad »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Towards Core (microcore) on Raspberry Pi
« Reply #53 on: September 20, 2012, 09: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, 10: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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #55 on: September 20, 2012, 10: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, 11: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, 12:28:23 PM »
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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #57 on: September 20, 2012, 12:33:38 PM »
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: 11044
Re: Towards Core (microcore) on Raspberry Pi
« Reply #58 on: September 20, 2012, 12:48:43 PM »
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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Towards Core (microcore) on Raspberry Pi
« Reply #59 on: September 20, 2012, 12:52:41 PM »
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."