WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: reduce size of wireless.sce  (Read 1711 times)

Offline biemster

  • WikiUser
  • *
  • Posts: 1
reduce size of wireless.sce
« on: February 26, 2014, 05:32:36 AM »
Hi all,

I'm trying to get dCore running on my mk908 with RK3188. I got it running up to the console, and I'm trying to get wifi working now. I noticed that the wireless.sce is a whopping 18M in size. Does somebody know why it is so big?

When I extract the following files from the sce and copy them to initrd:
Code: newbielink:javascript:void(0); [nonactive]
unsquashfs wireless.sce
copy tools to ramdisk:
squashfs-root/etc/dbus-1/*
squashfs-root/etc/libnl-3/*
squashfs-root/etc/network/if-down.d/wpasupplicant
squashfs-root/etc/network/if-post-down.d/wireless-tools
squashfs-root/etc/network/if-post-down.d/wpasupplicant
squashfs-root/etc/network/if-pre-up.d/wireless-tools
squashfs-root/etc/network/if-pre-up.d/wpasupplicant
squashfs-root/etc/network/if-up.d/wpasupplicant
squashfs-root/etc/wpa_supplicant/*
squashfs-root/sbin/iwconfig
squashfs-root/sbin/iwevent
squashfs-root/sbin/iwgetid
squashfs-root/sbin/iwlist
squashfs-root/sbin/iwpriv
squashfs-root/sbin/iwspy
squashfs-root/sbin/wpa_action
squashfs-root/sbin/wpa_cli
squashfs-root/sbin/wpa_supplicant
squashfs-root/usr/bin/wpa_passphrase
squashfs-root/usr/local/bin/wifi.sh
squashfs-root/usr/share/dbus-1/*
copy libraries from
squashfs-root/lib/arm-linux-gnueabihf/
libiw.so.30
libncurses.so.5
libncurses.so.5.9
libtinfo.so.5
libtinfo.so.5.9
libreadline.so.5
libreadline.so.5.2
libnl-3.so.200
libnl-3.so.200.5.2
libnl-genl-3.so.200
libnl-genl-3.so.200.5.2
libdbus-1.so.3
libdbus-1.so.3.7.2
squashfs-root/usr/lib/arm-linux-gnueabihf/
libpcsclite.so.1
libpcsclite.so.1.0.0
libssl.so.1.0.0
libcrypto.so.1.0.0
the iw* tools and wpa* tools are all working, and it only adds a bit less then 2M to my initrd.
However, wifi.sh is not showing any access points, so it is still a work in progress.
I can connect to my 802.1x network, so wifi is fully working. ('sudo iwlist wlan0 scan' does work as well)
Anybody else trying something similar?

cheers,
Lars
« Last Edit: February 26, 2014, 06:09:57 AM by biemster »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9218
Re: reduce size of wireless.sce
« Reply #1 on: February 26, 2014, 09:06:21 AM »
The wireless package is a larger one to facilitate getting online.  Later you can import wireless-tools and only what your hardware needs.