WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
Raspberry Pi / Re: piCore-11
« Last post by uli on Today at 12:01:26 PM »

installed it on a 3B+ and it works out of the box. Great work. Thanks.

I dared to mess a bit with the boot files to allow for a (somewhat simplistic) dual boot with Rasbian, plus, went for httplist to get rid of the root partition and load extensions from the web instead.
However, that way I found that I couldn't reliably connect to the networks. Turned out that eth0 is not available in this case.

Seems that a waitusb as a kernel parameter solved it for now. Generally at least, no statistics on rare failures yet.

So, I am happy I could solve it. Assuming now that issue is an inherent one of the current build, and not due to my messing around. Unless you tell me otherwise...

Though, I am wondering whether the boot sequence should perhaps make sure that we are waiting for eth0 becoming available first, then going for a dhcp request and onwards.

Since I would guess there are very few people these days who wish to run their 3B+ without networks, I would think trying to harden the startup procedure for everyone might perhaps be beneficial. I know by far too little about the Raspi world (yet) to dig into these things myself, but perhaps someone might have a good idea, or tell me that I caused that issue myself by messing around with boot files...


TCB Talk / MINIMAL wifi ?
« Last post by labeas on Today at 09:51:00 AM »
In other fora where users who've discovered the elCheapo quadcoreAtom laptps,
some say they'll just buy plug-in-dongles to get wifi capabilities.
After overcome-ing the UEFI <WinTel lockout> problem,
there are multiple other quirks.
Trying to integrate a complex GUI wifi facility is not practical.
What is needed is a script which confirms each stage of the chain.
In old-fashion-TV-diagnoses terms:
 confirm mains-light on > confirm signal output RF-stage, per tuning >
 confirm output IF-stage ..>.. confirm output Audio-stage ...>
This could/should be able to run on the least complex TC <model>.
Is it true that <rtl7823bs> wifi drivers were no available at the date
of Ver7.2 TC ?

Raspberry Pi / Re: Zero USB booting and remastering
« Last post by doctoranonymous on Today at 08:55:54 AM »
I know this is an old post, but I am a new brain, or fairly new. I am a biologist (marine biologist, officially, but evolution biologist in heart, and head), And, while studying for an undergrad degree at the University of Rhode Island (conferred, August 2002), I encountered the book "Darwin's Dangerous Idea". It was a time of intellectual ferment (and foment) and, long story short, after my four year degree I spent the next five years on basic electrical and optical engineering, and computer science, assembly language (minimal x86, but much 6502). Then ten more years trying to match the basic physics and history of computer science, to the "actual market", of expectations, and real goods. Long story short, I find Linux in 2016 (Congratulations "automatic-update-Windiows-10", your crap-@$$ business tactics, and frozen-slow-bulky-OS just lost you one of your smarter customers), the FOSS movement, and the-not-quite-pure-as-the-driven-snow, Raspberry pi (zero). It IS the right price, for the processing power I want and need, and for its ability to ask and answer my questions about the nature of Natural Intelligence, and Artificial Intelligence (Strong AI).

So, why post a long-ish monologue/diatribe here? Seemed like an interesting thing to do? But not completely off-topic, as I am intensely interested in R-pi cluster computers (and, as floundering and hopeless as I am in the field of computer science, I ALWAYS NEED HELP!). So, after dancing around the idea of "ethernet gadget" for about 6 mos. to 1 yr., I think I might NOT do that. As I understand it, ether-gadg. involves powering the "slave/device/client" pis, through its "data+power" micro-USB port, and leaving the power micro-USB port empty. For my purposes, this seems inadequate, as the "master/host/server" pi then must push about 150 mA to each of the "slave-device-client" pis. I have 5 or 6 such pi zeros, already, and this could add up, especially if I want to do something with them other than boot them and let them sit idle.

I have a wall power supply (12-ish USB power-only ports, of varying amperages; 1.0A to 3.5A; will too many amps be bad? probably not? The pi will draw what it wants/needs, right? Basic EE; Ohms Law!?), though ""wall tethered", should be adequate for now. So, assume I acquire about 5 more pi zeros, boot them all with a single SD card (piCore, at 50 MB, "bare metal"), powered and wired with the flotsam and jetsam of the "wireless society" (curious the wireless revolution should product such prodigious VOLUMES of e-junk wires, i.e. "USB chargers"; the salvation army/goodwill stores are buried in USB wires! And none of them properly marked, as to "data" or "data+power"!), and all with their "data-USB" hooked to a 10-USB-port "strip-hub". One pi to rule them all... right? ... And in their pi-ness bind them? Or free them (from slavish weak-AI, to freedom of Strong-AI?! Are not my cells and tissues slaves to physics and chemistry, yet my mind ... marginally, nominally "free"?). The master-pi, also hooks to the 10-USB-port "strip hub", and he/she/it is "The Boss" (sorry Bruce, the 80's were great, and we were "Born to Run", but there's a new Boss in Town!).

I get ahead of myself. True Strong-AI must have "smellivison" (and associated "taste-o-vision") first, and I see no IC chips of that sort, yet (though perhaps, some kind of multi-sensor, SAW sensors, SAW-array sensor? I posit it, and hypothesize it, but the task is/would-be monumental! How many unique chemicals must we design such an array for? And is the "sensation process" consumptive of the sensation medium?) Unfortunately, much of that SAW-chemical research is military, and only sniffs weapons, exposives, war-chemicals, etc. Anyhoo, I've digressed.

Back to the subject at hand. Sd-cardless, cluster-pis! I will follow some more of what gavinmc42 has said, and trace some of his other trains of thought. I found my way to raspberry pi official github page, and dl-ed / cloned usbboot-master.zip ; and I got one pi zero booted (through CLI, through a single USB wire connected to the pi-zero "data+power" micro-USB, hooked to one of my kali linux laptop's USB-A ports) past the rainbow screen, to the black-screen-plus-top-left-corner-large-rapsberry-logo, but I can't find the website I read (about a year back) that explains "where" in the boot process that puts me? I would like CLI, if possible? Any suggestions? (I will post the Kali CLI output that results when I use this boot method, below, as this message is cluttered enough with "big ideas"; minutiae would bog it down irreparably!).

So, I guess, I am admitting to farting around  (due to my general ignorance and incompetence) with the wrong process for about a year! Ethernet gadget is not what I want. I found the raspberry pi foundation official pages on "boot processes", yesterday (about two years too late!), and there are some in depth discussions of "USB Host Boot" and "USB Device Boot". These are still inchoate in my mind,  but the language is more similar to the things I already know about USB (I read books, sometimes; had several Jan Axelson books on USB; but landlord/troglodytic-philistine "stole" them.). Whenever I read about "ethernet gadget" I was always perplexed by the complete lack of "Host" and "Device"  terminology? As if programmers do not need to know what they are doing?

So, I also read, somewhere, that raspberry pis have trouble enumerating more than 8 devices? More than 8 "gadget" or "device' pis, for the one "master/Host" pi? Is this just the not-so-great advice of an inexperienced user? Or is the pi-zero limited as a USB master/host, in some way I am unaware of? USB standards do provide for a ridiculously large number of devices, I think?

Also, do note, the Kali-forced, USB-boot, only sent some of piCore 9.x.? ; the parts I deemed essential; the parts I placed in the boot folder. Perhaps, my first mistake? If I put the whole 50 MB in, maybe I'll get past the big-raspberry-screen? Maybe, for completions sake, the "minutiae post" below this "big idea" post, could include this information; i.e. which parts I put in the boot folder. I'll probably do that.

Also, looking forward, into the future, I have downloaded TC.tcz, separately, using the FetchExt.sh script designed by Rich (Moderator here at tinycore forum), so that I can run all piCore, for every pi zero. Right now, the one I intend to be "master" is running raspbian-buster, for ease of use, and desktop GUI. So, looking forward, can I have one tcz folder; one central location of extensions, from which, all pi zeros, either master or slave, will draw from, when booting, or when needed, and thus, save space? Can I have the "master" pi core dish out the extensions, when requested by the "slaves"? (Can I co-opt the shell script already written by Rich, for this purpose? I'll bet I can!)

One more aspect I have neglected to mention; for strong-AI, one must have a "human-like" body, to match and facilitate a "human-like" mind; thus, the rpi zeros will be distributed, across the 12 "nodal points", namely, the major musculo-skelatal joints of the anthropoid body (wrists, elbows, shoulders, hips, knees, ankles.).

In the future, with SSH (and one-time pads) I will be comfortable enough to buy 12 r-pi zero Ws, but at present, I am not master hacker enough to keep secure, and I want a PERFECTLY controlled experiment (or as close as possible). Using the zero-Ws would save on weight (wires), in the final robot. However, wireless might have some latency issues? Have to carefully balance these concerns, moving forward, and ultimately, it will be a question of bandwidth, A.I. or N.I., bandwidth. ("human bandwidth"),

Sight? Sound? Touch? These problems, largely solved, elsewhere, by a little thing we call "humanity", (or "science"; see the previous 100 to 500 years, for proof positive of this statement!).

So, to summarize the relevant questions, and chart a path forward (1) can a pi cluster master/host enumerate more than 8 devices?, (2) USB Host Boot, Device Boot, or SD card-picore remove and reinsert, method, (3) how to make one r-pi-zero a master/host, and the rest slave/devices, (4) Are IPs needed for local networking of pis through the USB? Static IPs, in particular?, (5)How to distribute the relevant/requisite .tcz files throughout the "robot frame", i.e. musculo-skeletal system (one pi-zero at each "nodal point", for "distributed computing"), (6) "where" is my usb-boot, when it is at the large-raspberry screen? How to go forward in this "cardless" boot process, to get to CLI, and eventually, a TC.tcz,  GUI?. I guess that's everything? See post below, if I have any minutiae data to add to this essay/book.
Looks good here, too.

Code: [Select]
root@localhost:/FetchExt2Bdeldls# ./FetchExtMod.sh nano
nano.tcz: OK
ncurses5.tcz: OK

I should probably mention here, for any other beginners trying to follow this thread, that I am working with piCore, 9.x, for the raspberry pi zero, and trying to get TC desktop extension, offline (not all my pi zeros are zero W; I have one zero W, and about five zero-plains). Bottom line? Success. This code snippet will work for you (if you know what you want)!

Eventually a cluster computer is envisioned, and I'd like to load piCore into RAM, resident, and then unplug the SD card and boot another pi zero with the same card. I was doing this, to save money on cards.

After the past two days of internet scouring, I have found some other methods, and tried a few, but I'll leave that in-depth discussion for another post, where it won't be so off-topic. I navigated to this string from a cluster computer topic, and I forgot that other people reading this don't necessarily know where I came from and what I'm doing ! (Like so many things, in "real life").

In short, I have also looked at ethernet gadget for several months (on and off; busy elsewhere), but stumbled across usbboot (github; official rpi site), and some discussions on USB host boot, vs. USB device boot. Its a long story and I don't understand it yet, but 2 more options, potentially SD-cardless!

One thing, if you are thinking of USB boot methods, be careful of the OTP, One Time Programming bits, because you can flip your pi one way, and then not get it back! I luckily, for a novice, have not done this, but suffice it to say I will procxeed to USB host/device boot methods with appropriate caution.
Me too but I won't be able to fully grok Tinycore until I retire. :)

There's an opportunity for a good tech writer with say Amazon publishing - although pics usually are just black and white.

Without getting too cornball about it, I find that underneath the hood of ALL the 'Core projects, a simple "elegance" about the underlying infrastructure so fascinating worthy of study.   It isn't just a "me too" application launcher.

I always wonder - what would some of the early luminaries like Brian Kernighan, Doug McIlroy, Rob Pike, Steve Johnson, John Mashey, Steven Bourne and the rest of the crew (most are still around) would think of Tinycore as it relates to today?

I'd think they'd find it fascinating.
Raspberry Pi / Re: Help with dual video output.
« Last post by curaga on Today at 12:37:42 AM »
Yes, adam77 was banned by the same ban, looks like they shared an ip or email.
TCE Q&A Forum / Re: gtk2 and german umlauts (utf-8) in the title of a popup window
« Last post by Rich on December 06, 2019, 05:36:34 PM »
Hi emmi
Attaching binaries to posts is against forum rules. See item 2 here:
I repackaged your attachment to include only the source file and build script.
Corepure64 / Re: wifi on Linx 7 (rtl8723bs)
« Last post by labeas on December 06, 2019, 05:15:09 PM »
 quote chars as used by non-tech-writers have SPECIAL-MEANING in IT.
The atom DOES boot with <our grub2dos>.
Finally there's strong evidence that it requires <rtl8723bs> driver.
Rich gave the URL to wget the 2 files for Ver10.
After I wGot the 2 files, using the V7.2-wifi-capableSys, I plugged
the Atom'sUSBstik to copy the files, and noticed that the <grub2dos
Atom'sUSBstik> could also boot the V7.2laptop, which previously had
failed. This diverted my attention. Then the local?national Wifi
failed for 2 days.
My InstallScript uses `ls` which does alphabetic ordering, so that;
firmware*tcz IS installed before wi*tcz.
In fact NOW on this V7.2: `df` shows the alpha ordering of /dev/loop*
Hi doctoranonymous
about "==" vs "=", I wasn't being critical, but thanks for fixing anyway. I was going to try fixing it, on my end, for my own purposes, but I was basically "coding in my sleep" last night. Got some ideas, tried them out, read a lot, and somehow found the right answers. But as for commenting intelligently or tactfully, I did not. ...

 ... Thanks for fixing anyway; other noobs like me will see this and avoid silly mistakes. ...
My script performed 4 tests for equality, with 2 coded as  =  and the other 2 coded as  == , so I'd say you were right to
question my silly mistakes. :)
about "==" vs "=", I wasn't being critical, but thanks for fixing anyway. I was going to try fixing it, on my end, for my own purposes, but I was basically "coding in my sleep" last night. Got some ideas, tried them out, read a lot, and somehow found the right answers. But as for commenting intelligently or tactfully, I did not.

My last few short posts were at exhaustion's limit, and I didn't have the energy to dive into a study of "shell scripting" of "bourne" versus "bash". (still don't have the energy, today. Maybe tomorrow?).

Thanks for fixing anyway; other noobs like me will see this and avoid silly mistakes.

Also, after I posted "/" vs "/root/" , I went tried it on my laptop Kali linux (GUI) system, and found that "/home/" is mixed up in it too. I read a good description of why this is, recently, but forgot. Basically, its a historical artifact of how Unix developed and how it turned into Linux, etc. I think maybe wikipedia, too, has a good "rundown" on what these directories have been used for historically, and how they are used now (good they do, because I'll be darned if know!).

I will dl it and try it. Can't remember if Kali is Bash or Bourne (Oh, I think it is Bash; it always yells that at me, because I am a noob and can't get the commands right! hahaha!), but will provide that info too, in my reply. Thanks again, not just for the code/computer fix, but for the "brain patch", i.e. wetware-brain, i.e. education.
Pages: [1] 2 3 ... 10