From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f196.google.com ([209.85.222.196]) by ewsd; Fri Oct 16 17:31:27 -0400 2020 Received: by mail-qk1-f196.google.com with SMTP id 188so3061626qkk.12 for <9front@9front.org>; Fri, 16 Oct 2020 14:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=qicwrRs5B+y8OALnIJE56YL4IqgqKU1M2i8fb4BoVZY=; b=ejefQxNhm3A0gjMC9gt0cgZ5I0t2CMBu31MP4rkaVac7HA6QB6OdPfiQzaAs/sAv7E AUEJoZ8jQ78b2IFAtCFGzvH7xs+1cPplB8/yHwAkFa363eDD80wFCseAKIIFJVqQA3Un K99JZWj2Q6jFbQp1ImrBF5o4Uh+pgS/i1D5Ci1j7WViBvuqrykFoloVAwrSy2DaQrApJ qrzVRVzBthwbqqgrnds2NRSXvxtgsSJ+K0Rcpy1zHVXXCSpF/LAXaPuuj8FVQnhXUKNm 8zpZZhxAFL3Q3Vmm4DLKpRyLOnCi00csCzmiCi/badjlTJ3h0Fzkzp9vWvKge3EWgEBy QUMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=qicwrRs5B+y8OALnIJE56YL4IqgqKU1M2i8fb4BoVZY=; b=R41Y+0hQ8OsVNm64RiwIUmVvZ5fmyhxvSSoxujMBH8aSeE/EaLht8QrX/FQV9JRFqp k9E/2Uafr3lYxCoItYp5Lwkeua6VdpSxM9LYfsW9a2gm7RpOvBkiyrS4IhF/+pDqDeNF /gTUiabFF5cmu2NeRllb92ycFluUQMqLTqnAuVgit5r4NsbcQulY6LV3o4UnpHKsr2v6 6cJly/Ejg06j9dSdV4JkcSxfe/iELPVpo1lb1jL6o5XSfI9X4dEReer+NcW1Dqptq+6e 7uH6RB89YBJFWxuKoN8/BBs0OmdmtjbocPU8se154AxdTxddaAEGmD0CX/ia8wYYR/ij tcyA== X-Gm-Message-State: AOAM533iAt8eqljUFi70iW3/Qh28e6FOAzcWn4V+JTnwuwJBHojZcAzN q4LYwzpWZdokexSwaFvXF9p/ZW6KA9cVMd/1ZWnNBeGJcCA= X-Google-Smtp-Source: ABdhPJz455Xhtt4CAYWGs4736PdHrwkpD15ppqsOSnEyGMzUQfPI8LhPYEa0dq3rqkTYzp8QGneDx85CvQeA6iHWK/U= X-Received: by 2002:a37:50a:: with SMTP id 10mr6029904qkf.114.1602883882038; Fri, 16 Oct 2020 14:31:22 -0700 (PDT) MIME-Version: 1.0 References: <95EAD3571F321A2E03AF2D2A7E8BCCEB@hera.eonet.ne.jp> In-Reply-To: <95EAD3571F321A2E03AF2D2A7E8BCCEB@hera.eonet.ne.jp> From: Eli Cohen Date: Fri, 16 Oct 2020 14:31:10 -0700 Message-ID: Subject: Re: [9front] rpi3 wifi To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: managed extension interface-aware core layer I managed to boot over tls "manually," here is how I did it: 127 holes free 0x0047e000 0x191e6000 416710656 416710656 bytes free Plan 9 from Bell Labs board rev: 0xa02082 firmware rev: 1590181998 cpu0: 1200MHz ARM Cortex-A53 r0p4 fp: 32 registers, simd fp: arm arch VFPv3+ with null subarch; rev 4 #l0: 4330: 10Mbps port 0x0 irq -1 ea 000000000000 998M memory: 402M kernel data, 596M user, 3576M swap cpu1: 1200MHz ARM Cortex-A53 r0p4 cpu2: 1200MHz ARM Cortex-A53 r0p4 cpu3: 1200MHz ARM Cortex-A53 r0p4 ether4330: chip 43430 rev 1 type 1 ether4330: firmware ready ether4330: addr ... /dev/sdM0: BCM SDHost Controller /dev/sdM0/data /dev/sdM0/dos dos /dev/sdM0/fscache cwfs64x /dev/sdM0/fsworm /dev/sdM0/nvram /dev/sdM0/other /dev/sdM0/plan9 bootargs is (tcp, tls, il, local!device)[local!/dev/sdM0/fscache] !rc % factotum -u user[glenda]: % aux/wpa -2 -p -s ... /net/ether0 !Adding key: essid=... proto=wpapsk password: ! % ip/ipconfig % bootargs is (tcp, tls, il, local!device)[local!/dev/sdM0/fscache] tls user[glenda]: fs address is? ... auth address is? [...] !Adding key: dom=... proto=dp9ik user[glenda]: password: ! init: starting /bin/rc ... I think the problem booting over tls automatically may be with the wificrypt=wpa2 option. I looked in /sys/src/9/boot/net.rc and I don't think it pays attention to this option, but aux/wpa needs the -2 option to work with this driver. all I have done so far was copy over enough of Richard Miller's work with very slight changes just to get it working at all... 9front has a wifi stack this driver doesn't use at all, etc. as far as the bcm64 kernel goes, I don't know if anyone has gotten this working with it. khm and I both tried, but I eventually encountered a problem with wlreadpkt returning a bad value I couldn't get past. There must be some difference I can't find for getting it working with a 64 bit kernel. - Eli