WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC in a Stick  (Read 36790 times)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC in a Stick
« Reply #30 on: June 12, 2013, 07:38:37 AM »
You are trying to grow a fat12 partition which is not supported.
Please see step 2 of the README-1st.txt and create as described.
10+ Years Contributing to Linux Open Source Projects.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #31 on: June 12, 2013, 03:19:17 PM »
Thanks, that makes sense.

I misunderstood the Step 2 because when I set the partition to bootable, gparted reports it as a fat16 partition; which can support up to 2GB. I assumed this was the location for tce-setdrive and needed to be bigger.

Cheers.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #32 on: June 12, 2013, 05:44:30 PM »
I am now up to installing the wifi but I get a series of errors when I try to run "sudo deb2sce wireless-tools armv7". I have attached the xterm oputput.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC in a Stick
« Reply #33 on: June 12, 2013, 06:19:31 PM »
Perhaps the wrong file is attached as I only see:
Code: [Select]
squashfs-tools.tcz: OK
deb2sce.tcz: OK
Which is to be expected.
10+ Years Contributing to Linux Open Source Projects.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TC in a Stick
« Reply #34 on: June 12, 2013, 08:01:48 PM »
I have come across another problem.

When I try and grow the partition size in gparted from the 8MB that the DD xx.img creates to anything else (32MB or 2048MB) I get an error. When I mount the partition gparted reports that all the new space is used but DF shows the original size.

What else can I use to expand the partition.

I have attached the fault log in case you want to look.

See:  http://gparted-forum.surf4.info/viewtopic.php?pid=29935#p29935
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #35 on: June 12, 2013, 08:28:54 PM »
Thanks @TinyPoodle.

@Mr Roberts:

I am a bit stressed because I can't send in my error file for a number of reasons. I can't pipe the screen output to a file (it just doesn't). I can't edit a file in vi because the commands don't work (yes I know about command mode). Anyway - one problem at a time.

Here's what I tried to send in the last attachment when I try and run "sudo deb2sce wireless-tools armv7" as part of the MK802 setup.

/usr/local/bin/deb2sce: line 4: useBusybox: not found
/usr/local/bin/debGetEnv: line 4: useBusybox: not found
/usr/local/bin/debGetEnve: cd: line 40: can't cd to /etc/sysconfig/tcedir
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 404 Not Found
Using Package Index: debian_wheezy_main_armhf_Packages
Using debian Mirror http://ftp.us.debian.org/debian

/usr/local/bin/debQuery: line 4:useBusybox: not found
/usr/local/bin/debQuery: line 42: can't open /etc/sysconfig/tcedir/debian_wheezy_main_armhf_Packages: no such file
grep: /tmp/depfile: No such file or directory
wireless-tools is not a standard or meta package, exiting..


Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC in a Stick
« Reply #36 on: June 12, 2013, 10:00:55 PM »
I see the problem. The last command in step 2 is wrong. Should be and now corrected on web site:

$ tce-load -iw deb2sce.tcz

As it was trying to run an arm binary on x86.
The corrected command above is loading deb2sce.tcz for x86.
This allows importing for armv7 while on an x86 machine, as the two sudo debsce ....... armv7 is attempting.
« Last Edit: June 12, 2013, 10:06:05 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #37 on: June 13, 2013, 01:13:40 AM »
How about...

tc@box:/mnt/sda3/tce/optional$ tce-load -iw deb2sce.tcz
Downloading: deb2sce.tcz
wget: server returned error: HTTP/1.1 404 Not Found
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: deb2sce.tcz.md5.txt: No such file or directory

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #38 on: June 13, 2013, 01:28:37 AM »
I re-downloaded deb2sce.tcz as per step 2 as well as deb2sce.tcz.md5.txt and confirm both exist at /mnt/sda3/tce/optional.

tce-load is trying to download them again...Is this the problem...

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC in a Stick
« Reply #39 on: June 13, 2013, 05:51:11 AM »
All the wgets are placing arm binaries onto the micro sdcard which eventually be placed in your a10 arm computer but is currently mounted on your tinycore x86.

The tce-load -iw deb2sce.tcz is downloading the x86 version so that from your tinycore x86 computer you will be able to import the final armv7 binaries to support wireless.

And at step4 you copy the two sces from /etc/sysconfig/tcedir/sce/ to the micro sdcard as instructed.
10+ Years Contributing to Linux Open Source Projects.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #40 on: June 14, 2013, 01:08:20 AM »
I get that we are downloading the armv7 binaries in the first part of setp 2.

I also understand that we need to download the x86 version of deb2sce to do the remaining armv7 imports and that's what the "tce-load -iw deb2sce.tcz" command is doing. However I still get error when I run this. I have looked at the files on the server and I cannot see deb2sce.tcz in the x86 list.

Am I missing something else?

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #41 on: June 14, 2013, 01:24:08 AM »
Belay that last. I can see the deb2sce.tcz (but not the md5) in the x86 list on the web site, but not in appbrowser. But I still get the errors when I run the tce-load command.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC in a Stick
« Reply #42 on: June 14, 2013, 06:49:28 AM »
I tested tce-load -iw deb2sce,tcz on core v 4.7.7 x86 and was able to import from armv7 as instructed successfully. Therefore it would seem to indicate that if you are still getting useBusybox errors that such would indicate no tc-functions and that would indicate either you are trying to run this on a non-tinycore x86 system, or your tinycore x86 system is corrupt, or possibly very old (prior to useBusybox implementation).
10+ Years Contributing to Linux Open Source Projects.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #43 on: June 14, 2013, 10:21:09 AM »
Yes, my TC is a bit old, I'll update and retry.

Thanks.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: TC in a Stick
« Reply #44 on: June 17, 2013, 02:57:41 AM »
OK, I've just built a new x86 TCL machine.

I still get the busybox not found error when I run "sudo deb2sce wireless-tools armv7".

The deb2sce script file has "useBusybox" in it; I can see that. But the only Busybox I can find anywhere is Busybox-httpd so that doesn't seem to make sense.

What have I missed.