WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Pi zero W with Picore 7.0 - how do i get broadcom firmware?  (Read 6756 times)

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« on: March 12, 2017, 12:09:10 PM »
I am using picore 7.0 as 8.0 did not have all the tcz packages I needed to run pure data for a project I am working on.  I was able to get my usb wifi adapter working since there was a tcz for that but I don't see any tcz for broadcom chips. 

I would like to get the onboard wifi working, could anyone help me find the firmware packages need to do this?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #1 on: March 12, 2017, 02:12:00 PM »
I am using picore 7.0 as 8.0 did not have all the tcz packages I needed to run pure data for a project I am working on.  I was able to get my usb wifi adapter working since there was a tcz for that but I don't see any tcz for broadcom chips. 

What is missing?
Béla
Ham Radio callsign: HA5DI

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

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #2 on: March 12, 2017, 03:02:52 PM »
I am using picore 7.0 as 8.0 did not have all the tcz packages I needed to run pure data for a project I am working on.  I was able to get my usb wifi adapter working since there was a tcz for that but I don't see any tcz for broadcom chips. 

What is missing?

I believe it may have been alsa-config.tcz and compile-essentials.tcz

I am not sure as it was a while ago I tried to use picore 8.0, but this is the list of packages I need:

alsa.tcz
alsa-config.tcz
git.tcz
make.tcz
gcc.tcz
compile-essentials.tcz
binutils.tcz
wget.tcz
tar.tcz
acl.tcz
wiringpi.tcz
nano.tcz
« Last Edit: March 12, 2017, 03:10:21 PM by blarue09 »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #3 on: March 12, 2017, 03:47:41 PM »
Substitute  alsa-config.tcz  with  alsa-utils.tcz
and  compile-essentials.tcz  with  compiletc.tcz .
Download a copy and keep it handy: Core book ;)

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #4 on: March 12, 2017, 04:22:56 PM »
Substitute  alsa-config.tcz  with  alsa-utils.tcz
and  compile-essentials.tcz  with  compiletc.tcz .

thanks,  I also get an error with git.tcz:

tc@box:~$ tce-load -wi git.tcz
git.tcz.dep OK
curl.tcz.dep OK
gnutls.tcz.dep OK
nettle.tcz.dep OK
p11-kit.tcz.dep OK
openssl.tcz.dep OK
Downloading: gcc_libs.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
gcc_libs.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on gcc_libs.tcz

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #5 on: March 12, 2017, 04:35:36 PM »
Apparently gcc_libs.tcz is already installed; however, the git command is not found when I try to use it.

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #6 on: March 12, 2017, 04:51:29 PM »
Did you run out of space?

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #7 on: March 12, 2017, 04:59:32 PM »
I don't believe so as I was able to install all the other packages on the list after that one. 

How can I check if I am out of space?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #8 on: March 12, 2017, 05:06:20 PM »
The  df  command shows available disk space.
However, the extension might be corrupted due to network issues. If you're sure you didn't ran out of space, delete it while it's not mounted and download again.
« Last Edit: March 12, 2017, 05:07:53 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #9 on: March 12, 2017, 07:16:59 PM »
The  df  command shows available disk space.
However, the extension might be corrupted due to network issues. If you're sure you didn't ran out of space, delete it while it's not mounted and download again.

It looks like I have not run out of space (see below).   I have not mounted it yet.  How can I delete it and reinstall it?

tc@box:~$ df
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   391.1M     21.9M    369.2M   6% /
tmpfs                   217.3M         0    217.3M   0% /dev/shm
/dev/mmcblk0p2            7.2G     63.6M      6.9G   1% /mnt/mmcblk0p2
/dev/loop0                1.1M      1.1M         0 100% /tmp/tcloop/mc
/dev/loop1                1.9M      1.9M         0 100% /tmp/tcloop/openssh
/dev/loop2              128.0K    128.0K         0 100% /tmp/tcloop/alsa
/dev/loop3                1.1M      1.1M         0 100% /tmp/tcloop/alsa-utils
/dev/loop4              128.0K    128.0K         0 100% /tmp/tcloop/make
/dev/loop5               27.9M     27.9M         0 100% /tmp/tcloop/gcc
/dev/loop6              256.0K    256.0K         0 100% /tmp/tcloop/tar
/dev/loop7              128.0K    128.0K         0 100% /tmp/tcloop/acl
/dev/loop8              128.0K    128.0K         0 100% /tmp/tcloop/wiringpi
/dev/loop9              128.0K    128.0K         0 100% /tmp/tcloop/nano
/dev/loop10             128.0K    128.0K         0 100% /tmp/tcloop/wireless_too                                ls
/dev/loop11             384.0K    384.0K         0 100% /tmp/tcloop/wpa_supplica                                nt
/dev/loop12               8.0K      8.0K         0 100% /tmp/tcloop/wifi
/dev/loop13               1.1M      1.1M         0 100% /tmp/tcloop/glib2
/dev/loop14             128.0K    128.0K         0 100% /tmp/tcloop/libssh2
/dev/loop15             256.0K    256.0K         0 100% /tmp/tcloop/ncurses
/dev/loop16             128.0K    128.0K         0 100% /tmp/tcloop/libedit
/dev/loop17               1.1M      1.1M         0 100% /tmp/tcloop/openssl
/dev/loop18             384.0K    384.0K         0 100% /tmp/tcloop/libasound
/dev/loop19             512.0K    512.0K         0 100% /tmp/tcloop/isl
/dev/loop20             128.0K    128.0K         0 100% /tmp/tcloop/mpc
/dev/loop21             128.0K    128.0K         0 100% /tmp/tcloop/libacl
/dev/loop22             384.0K    384.0K         0 100% /tmp/tcloop/file
/dev/loop23             384.0K    384.0K         0 100% /tmp/tcloop/ncurses-term                                info
/dev/loop24             128.0K    128.0K         0 100% /tmp/tcloop/libiw
/dev/loop25               2.8M      2.8M         0 100% /tmp/tcloop/wireless-4.4                                .20-piCore+
/dev/loop26             256.0K    256.0K         0 100% /tmp/tcloop/libnl
/dev/loop27             116.0K    116.0K         0 100% /tmp/tcloop/readline
/dev/loop28             128.0K    128.0K         0 100% /tmp/tcloop/gamin
/dev/loop29             128.0K    128.0K         0 100% /tmp/tcloop/libelf
/dev/loop30             384.0K    384.0K         0 100% /tmp/tcloop/pcre
/dev/loop31             384.0K    384.0K         0 100% /tmp/tcloop/libgcrypt
/dev/loop32             640.0K    640.0K         0 100% /tmp/tcloop/ca-certifica                                tes
/dev/loop33             768.0K    768.0K         0 100% /tmp/tcloop/alsa-modules                                -4.4.20-piCore+
/dev/loop34             256.0K    256.0K         0 100% /tmp/tcloop/gmp
/dev/loop35             256.0K    256.0K         0 100% /tmp/tcloop/mpfr
/dev/loop36             128.0K    128.0K         0 100% /tmp/tcloop/libattr
/dev/loop37             128.0K    128.0K         0 100% /tmp/tcloop/bzip2-lib
/dev/loop38             128.0K    128.0K         0 100% /tmp/tcloop/libgpg-error
tc@box:~$

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #10 on: March 12, 2017, 07:26:37 PM »
Code: [Select]
rm /etc/sysconfig/tcedir/optional/gcc_libs.tcz
tce-load -w git.tcz
Download a copy and keep it handy: Core book ;)

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #11 on: March 12, 2017, 07:31:44 PM »
Code: [Select]
rm /etc/sysconfig/tcedir/optional/gcc_libs.tcz
tce-load -w git.tcz

Still says there is an error.

tc@box:~$ rm /etc/sysconfig/tcedir/optional/gcc_libs.tcz
rm: remove '/etc/sysconfig/tcedir/optional/gcc_libs.tcz'? y
tc@box:~$ tce-load -w git.tcz
git.tcz.dep OK
curl.tcz.dep OK
gnutls.tcz.dep OK
nettle.tcz.dep OK
p11-kit.tcz.dep OK
Downloading: gcc_libs.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
gcc_libs.tcz         100% |*******************************|   944k  0:00:00 ETA
gcc_libs.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on gcc_libs.tcz
tc@box:~$

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #12 on: March 12, 2017, 07:35:51 PM »
Hmm, maybe you need to delete  gcc_libs.tcz.md5.txt  also.
If that's not it, try another mirror.
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #13 on: March 12, 2017, 07:38:03 PM »
For example
Code: [Select]
echo "http://distro.ibiblio.org/tinycorelinux/" > /opt/tcemirror
Download a copy and keep it handy: Core book ;)

Offline blarue09

  • Newbie
  • *
  • Posts: 9
Re: Pi zero W with Picore 7.0 - how do i get broadcom firmware?
« Reply #14 on: March 12, 2017, 10:13:04 PM »
For example
Code: [Select]
echo "http://distro.ibiblio.org/tinycorelinux/" > /opt/tcemirror

That seemed to work as I did not get errors installing it this time; however, it still does not recognize the git command.


I wondered if I should have been using picore 8.1.5 as it is the latest stable release but I encountered issues trying that one following the same guide I have had success with for other picore versions.  The problem was that it would not let me enter the original partition#2 start cylinder when I went to create the new partition#2.  I was able to do this in picore 7.0 and picore 8.0.  In picore 8.1.5 the original start cylinder of partition#2 was outside the acceptable range of the new partition#2 start cylinder.  Any ideas why this is?


guide:
type: sudo fdisk /dev/mmcblk0
then type p, that will list two partitions: /dev/mmcblk0p1 and /dev/mmcblk0p2
write down the start cylinder of /dev/mmcblk0p2
now delete /dev/mmcblk0p2: type d, then 2 (= partition #2)
next, recreate /dev/mmcblk0p2: type type n (new), then p (primary), then 2 (= partition #2), then the number you've written down (start cylinder); enter (default stop cylinder) and then save: w