From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f65.google.com ([209.85.221.65]) by ewsd; Sun May 24 23:14:29 EDT 2020 Received: by mail-wr1-f65.google.com with SMTP id y17so7369729wrn.11 for <9front@9front.org>; Sun, 24 May 2020 20:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaposhnik-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=WuQeEr/F6FbilPftA3Obij1GsM6+0PEtn6l3LIRJ/Fw=; b=RljI6fJjKBZHxD75tKvSyhCRM6uW0XIrKXAeOtg2ZMpszsFYD+JV4Ih4lADGGxGSa1 d4tWWcPlRfasjIY9sEOgSSHTmaNMJXgkkd95K7oTfHKKIdfI8wAUaE+MMz8FGQNp3ORr LeEkntm+BrCNTgdo/XpMKvzHKEzjWQcZTekin1MS+YW2d1xtrYdhuF0BIJBm71I2vz4T Zcmt6Tz82ukGZqTAZI1XOJ0k8coyntBbiZzOFbrTgIwA0v13sH4NRaAFoEeSJupoQfRJ Tom/5rvHGr0b58BRCJvsqqyX+hh/ezcLPRAJwgIl+iGSEgeCBOhKlt5gq+pHl12kbQw1 egkA== 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=WuQeEr/F6FbilPftA3Obij1GsM6+0PEtn6l3LIRJ/Fw=; b=d8mir9QaygtKmRh54izGz/irORJFKjLVGjkSF0vNz9+H8PJfPyyukF7qiGvZ+I10tt rClS4G0yPdGXmCQwn9T1ROhSrT8A4h/y6Uhgb4ittSsHio3wRFBQ0rOfkBxwGUnlWhS3 LQXUqlASHctK3kv9ajFlZQmE/2F2BJJLPTvGdyBCN1cs+Q7BQqkZhLTyGIMWErq/G483 nVm2blj65B4bhjf1RkdtCIzIXVnqR61TTn68JTlvwMMH8uWQaxfrwb6+a+cELEu99kP1 3vaf4HRW6Mg4aohNwOfT1lM0QpBR1jBOl47GTGQNZkYQHm/luCK5lNMC4nkwsOMRIvtq C/oA== X-Gm-Message-State: AOAM531Gf9jt3hWRHXQYqFpK4/AoYrzPgbFknwQgrztAlCqlp/g+6xGf zFl1ffFkgUAuQLVlEPq+oUYO/BabqwxhANVzGEtiSwE+ X-Google-Smtp-Source: ABdhPJwlvkhiB/b/iBPFsVJUw04abiHYT4l+eNfA9IejF4Zv7ozEYFHwx8hyajJqGJ+6SgORj6cwC6SHmVvJRdZCoVs= X-Received: by 2002:a5d:68cb:: with SMTP id p11mr12885250wrw.349.1590376465662; Sun, 24 May 2020 20:14:25 -0700 (PDT) MIME-Version: 1.0 References: <5519AFF64A52D10C25545175AF3C1EE5@felloff.net> In-Reply-To: <5519AFF64A52D10C25545175AF3C1EE5@felloff.net> From: Roman Shaposhnik Date: Sun, 24 May 2020 20:14:14 -0700 Message-ID: Subject: Re: [9front] UEFI boot on ARM / RPi To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: realtime content-driven replication API information manager On Fri, May 22, 2020 at 3:59 AM wrote: > > ... not using any of this in 9boot on 386/amd64 tho. just linking > a headerless file (-H3) hand hand crafting the PE header in the > assembler. with 6l, i'm even just generating a a.out and stripping > off the a.out header with dd. > > see /sys/src/boot/efi/pe32.s and /sys/src/boot/efi/pe64.s Thanks! This is very helpful. Btw, I'm trying to setup a development environment for Plan9/Pi and it seems that I can't make my qemu-system-aarch64 emulate enough of a UART for 9pi3 kernel to be happy. E.g. qemu-system-aarch64 -M raspi3 -kernel 9pi3 -append console=0 -serial mon:stdio actually does the right thing and even brings up the GUI, but it doesn't really seem to use the UART -- hence the console is empty. If anybody has any hints as to where to dig to -- I'd appreciate it. Thanks, Roman.