• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 2 [3] 4 5 ... 10
 on: February 08, 2014, 04:45:28 PM 
Started by ineiti - Last post by alexK
I've been struggling with this problem as well.
I've got the following installed and working on my DreamPlug model: 003-DS2001:
wget http://http.debian.net/debian/pool/main/u/u-boot/u-boot_2012.04.01-2_armel.deb
wget http://http.debian.net/debian/dists/wheezy/main/installer-armel/current/images/kirkwood/netboot/marvell/dreamplug/uImage
wget http://http.debian.net/debian/dists/wheezy/main/installer-armel/current/images/kirkwood/netboot/marvell/dreamplug/uInitrd

It has the 8787 wifi chipset.

As suggested in a previous post, I tried:
root@shirati:/etc/apt# iw dev mlan0 interface add uap0 type __ap
command failed: No such device (-19)

but as you can see, I'm missing something.  The "__ap" looks suspicious.
I'd be grateful for any guidance.

 on: February 07, 2014, 08:16:50 PM 
Started by ineiti - Last post by debio
I went ahead and opened a kernel bug at https://bugzilla.kernel.org/show_bug.cgi?id=70191 to try to investigate the instabilities.

 on: February 07, 2014, 05:43:25 AM 
Started by ptosch - Last post by ptosch

Thanks bigbear59, that link was the hint I needed.

I fixed the lines to be able to boot from ubifs.

Assuming the partitions on NAND:
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 1fb00000 00020000 "root"

And assuming partitions on sdcard:
# fdisk -l /dev/mmcblk0

/dev/mmcblk0p1   *        2048      499711      248832   83  Linux
/dev/mmcblk0p2          499712    30472191    14986240   83  Linux
/dev/mmcblk0p3        30472192    31291391      409600   82  Linux Swap / Solaris

for ubifs it shoud look like this:

setenv bootcmd_mmc 'mmc init; mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd'
setenv bootargs_nand 'rootfstype=ubifs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rw
setenv root '/dev/mtdblock1 rw ip=:'
setenv bootcmd_nand 'setenv bootargs $(bootargs_nand); nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000; run bootcmd_nand'

Now I have a fallback system if the SDCard shouldn't work.


 on: February 01, 2014, 09:38:58 PM 
Started by ineiti - Last post by debio
I emailed Linux-wireless, and apparently we're supposed to create the AP interface with a command like this: `iw dev mlan0 interface add uap0 type __ap`
This should eliminate the need for any kernel patches.

The next problem I'm having is that after running the access point for a while, the interfaces transmit queue hangs. With WPA, it tends to happen within a few seconds or minutes. With no encryption, it lasts longer, but eventually hangs after tens of minutes or an hour or two. Are you seeing something similar?

 on: January 31, 2014, 10:55:27 PM 
Started by ineiti - Last post by debio
Yes, AP mode works and I can connect. Throughput is pretty nice as well.

Then the card hung, the driver tried to reset it and failed to load the firmware after reset, and hostapd started panicking because the interface disappeared out from under it.

I'll see if I can tweak it at all.

 on: January 31, 2014, 10:34:34 PM 
Started by ineiti - Last post by debio
I just reversed that commit and built a kernel image, and it looks like I have AP mode. Hostapd starts up on uap0. I'll have to test it to see if it's actually stable.

I guess the next step is probably to email Linux-wireless to complain that the mwifiex driver doesn't support changing an interface from managed mode to AP mode, but the iw utilities don't provide a way to create an AP mode interface.

 on: January 31, 2014, 09:54:54 PM 
Started by ineiti - Last post by debio
I think our biggest source of problems is this:

This was the commit that disabled the creation of the uap0 and ptp0 interfaces. The commit description claims these interfaces can be created manually through `iw`, but I haven't figured out how to create an AP mode interface.

 on: January 31, 2014, 01:02:51 PM 
Started by ptosch - Last post by bigbear59
Take a look here,
Yet another sheevaplug dual boot question <-- Click here
Hopefully it will answer your questions.

Ask back here for any clarification.

 on: January 31, 2014, 12:53:04 PM 
Started by ptosch - Last post by odoll
Yes, you have to configure uboot accordingly. You will have to search and read sone the older threads

 on: January 27, 2014, 09:12:30 AM 
Started by ptosch - Last post by ptosch

I have a sheevaplug with an ubuntu installed on NAND (ubifs). Now I would like to Install debian on Sdcard.

Is it possible to boot from sdcard as long as an sdcard is plugged in but when it is removed, it should boot from NAND ?

Somehow like my dockstar: it is always booting from usb.stick, but when the stick is not inserted, it boots from its internal image.


Pages: 1 2 [3] 4 5 ... 10