WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
dCore X86 / Re: Simple approach to version upgrade failing (sce-update -a)
« Last post by sm8ps on Today at 04:20:29 AM »
I have run ''sh -x /usr/bin/sce-update -a'' in a ''script''-session (cf. attachement 2). The set-up was a fresh dCore-xenial installation with its 'tce/' replaced by that of a dCore-trusty installation with only a few extenstions (cf. attachment 1). The state of the tce-directory after ''sce-update -a'' is captured in attachment 3.

''sce-update'' does seem to correctly recognize that there new versions are available as MDOLD and MDNEW differ. However, in the end it states "No updates available for main or any dependency SCEs." This seems kind of weird but I have not looked into the code. Is the behavior expected?
dCore Armv7 / Re: Alwinner A20
« Last post by sm8ps on Today at 01:44:57 AM »
Sorry to bother with my ignorance but what exactly is uCore? I have not found any specific information.
dCore X86 / Re: Simple approach to version upgrade failing (sce-update -a)
« Last post by sm8ps on September 19, 2017, 11:00:05 PM »
I see your concern about obsolete extensions, Jason. At the moment, I consider my approach mostly a proof of concept. In the long run I hope to find a way of streamlining the process.

One word about NEWDEBINX being moved to OLDDEBINX: At the first attempt, ''sce-update'' did seem to walk through the full list of packages and only after some considerable time stated that there was nothing to do. At the second attempt however, it responded so immediately. So it seems that NEWDEBINX was not immediately moved to OLDDEBINX. I shall study the output of ''sh -x /usr/bin/sce-update -a'' and report back.
dCore Armv7 / Re: Alwinner A20
« Last post by Jason W on September 19, 2017, 07:05:57 PM »
I use a Raspberry Pi 3 to create the uCore image for the Allwinner now as it is armv7 compatible, but the uCore image format is different than in piCore.  But since Raspberry Pi is already covered as a Tinycore port, I don't offer it here in the dCore form.  And since the Allwinner dCore is only available now for Debian Wheezy it is kind of deprecated anyway.
dCore X86 / Re: Simple approach to version upgrade failing (sce-update -a)
« Last post by Jason W on September 19, 2017, 02:28:10 PM »
I see what can cause the NEWDEBINX to be moved to OLDDEBINX which will cause "sce-update -a" to immediately show no updates available.  It is if you Ctrl-C during sce-update when the -a option is used, a loop is broken and the moving of NEWDEBINX to OLDDEBINX happens when it shouldn't.  I have fixed the bug and am testing it.  Also, I am having sce-import echo it's errors to a file /tmp/sceimporterror so one can more readily examine what went wrong during an import.  And sce-update will create a file /tmp/sceupdateerror that will contain a per package output of  sceimporterror so much easier to diagnose issues.   If sce-update has these errors, the user is prompted to review /tmp/sceupdateerror.

While I don't really promote the dist-upgrade that is being described here, I am doing that now with dCore-wheezy and using an existing dCore-jessie TCE directory.  And so far so good, things work, the main issue is packages that exist in SCEs in the old TCE directory that don't in the new, and how to deal with them.   But missing packages will just be missing, and all packages available will have it's deps filled as always.

This thread has spurred me to fix some bugs in sce-update and create better error reporting and review in sce-import, which is also made viewable by an sce-update session. 

Raspberry Pi / Re: Config static IP in CLI so I can download TC.tcz? [utter novice]
« Last post by Greg Erskine on September 19, 2017, 01:32:31 PM »
hi CoatHanger,

Keep in mind piCore is not a "typical" Linux distribution. It will probably cause more confusion than be a helpful Linux learning tool.

I commend if you really a need static IP then use DHCP on your router to map MAC address to IP address. This allows you to maintain and backup all IP configurations in one place.

Raspberry Pi / Re: Config static IP in CLI so I can download TC.tcz? [utter novice]
« Last post by CoatHanger on September 19, 2017, 12:39:51 PM »
Thank you for adding that info.
I found something where someone had :,q,w,enter and wondered just WTF.  It makes sense now of course, because I have been playing with Nano, just a different editor, different key strokes.
I will give this a go a in a day or two and report back.

Again, thanks folks for your help here.  Didn't expect such quick replies. Feeling rather optimistic.

Off Topic
Spent a chunk of today setting up Raspbian on the included Transcend uSD card, getting how I did it on the first uSD.  That's now functional and secure, sorted and usable.
If I want to be paranoid, I can always close all outgoing traffic and only permit IPs/URLs that I want to use.  UFW is installed, running and it all just works.

Looking forward to getting piCore up too.

Ya know, now I have spent a chunk of time having to do stuff in Linux (a VM with Mint was too easy to just close and carry on in Windows), I am beginning to think Windows may become a redundant OS on the new system!  I think Wine or PlayOnLinux may add a level of fiddling I don't need with a new build.  That said so will Windows 10 - huff.

Time for sleep, fresh start and first time system building tomorrow :D
dCore Armv7 / Re: Alwinner A20
« Last post by sm8ps on September 19, 2017, 11:46:56 AM »
Forgive my jumping into this thread but it sounds like something I have been wondering for a long time. Is it possible to run dCore on some Raspberry Pi? The thought of running regular dCore on these models is absolutely striking. I have tried in vain with a model 2B but I must admit that I do not have any real idea about the differences in hardware among the models.
Raspberry Pi / Re: Displaying image using python
« Last post by Chau on September 19, 2017, 11:33:31 AM »
Hi Rich

Thanks for your reply. I actually had installed tk but overlooked the difference between Tkinter and tkinter  ???

I have installed Xorg too since I expect to need it when using Tkinter to display an image. And maybe you can give me a hint on that part too:

Currently I'm just trying to do some basic stuff with Tkinter:

Code: [Select]
from Tkinter import *
root = Tk()

And this is where my next issue arises:

Code: [Select]
_tkinter.TclError: no display name and no $DISPLAY environment variable
Calling env in the console shows indeed no DISPLAY variable.

How is Tk connected to the monitor? I thought this was where Xorg came into play  :-\

I'm accessing the PI directly and not through SSH or similar.
Raspberry Pi / Re: Displaying image using python
« Last post by Rich on September 19, 2017, 09:02:20 AM »
Hi Chau
From  http://tinycorelinux.net/9.x/armv6/tcz/python.tcz.info:
Title:          python.tcz
Description:    Python programming language
Version:        2.7.13
Author:         Python Software Foundation
Original-site:  http://www.python.org
Copying-policy: Python license, http://www.python.org/psg/license
Size:           10.2M
Extension_by:   bmarkus
Comments:       Binaries only
                Soft dependency: tk, tcl
                Install it if you need Tkinter

                Compiled for piCore 8.x
Change-log:     2016/05/18 First version, 2.7.11
                2016/07/02 Updated to 2.7.12
                2016/08/28 Rebuilt with tcltk 8.6
Current:        2016/12/23 Updated to 2.7.13
Installing  tk.tcz  will pull in  tcl.tcz  as one of its dependencies.

From  http://tinycorelinux.net/9.x/armv6/tcz/python.tcz.list:
Pages: [1] 2 3 ... 10