From: Akira Tsukamoto <akira.tsukamoto@gmail.com>
To: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-riscv@lists.infradead.org
Subject: Re: Linux 5.14-rc2
Date: Sun, 25 Jul 2021 18:56:51 +0900 [thread overview]
Message-ID: <bba05067-6f2f-6166-02a0-839f514d3780@gmail.com> (raw)
In-Reply-To: <mhng-858bf7b5-e294-418d-88c1-1d8ae5ef854e@palmerdabbelt-glaptop>
On 7/24/21 09:58, Palmer Dabbelt wrote:
>> I have sent the fixes yesterday in my time.
>>
>> https://lists.infradead.org/pipermail/linux-riscv/2021-July/007621.html
>>
>> Guenter and Geert have confirmed the fix.
>>
>> https://lists.infradead.org/pipermail/linux-riscv/2021-July/007634.html
>> https://lists.infradead.org/pipermail/linux-riscv/2021-July/007626.html
>>
>> Akira
>
> Thanks. I've got these on fixes now, I'll send them up tomorrow morning assuming the autobuilders don't find any issues. Like I said in the other thread I wasn't getting these allmodconfig failures, so if there's an easy way to reproduce them I'd be happy to add it to my setup -- I don't really know anything about GCC plugins, I'm just using Debian's toolchain for my Linux test setup (haven't gotten around to merging it with my GCC test setup, and it's been a decade so I guess I should stop pretending that's going to happen ;)).
Sure, my procedure is based on Guenter’s instructions.
I built qemu v6.0.0, buildroot 2021.05 and the kernel with the toochain came with buildroot.
# qemu
git clone https://gitlab.com/qemu-project/qemu.git
cd qemu
git checkout -b v6.0.0
git submodule update --init --recursive
git submodule sync --recursive
./configure --target-list=riscv32-softmmu --disable-user --disable-gnutls --disable-docs --disable-nettle --disable-gcrypt --disable-vnc-png --disable-xen --disable-xen-pci-passthrough --disable-libssh
make -j $(nproc)
# buildroot
git clone git://git.buildroot.net/buildroot
cd buildroot/
git checkout 2021.05 -b 2021.05
make qemu_riscv32_virt_defconfig
make
# kernel
export PATH=locaion_of_buildroot/output/host/bin:${PATH}"
Built kernel.
# prepare booting rv32
Downloaded rootfs.cpio and run.sh from Guenter’s link to inside buildroot/output/images/.
http://server.roeck-us.net/qemu/riscv32/
cd output/images
Used revised run.sh.
```
export PATH="location_of_qemu/build:${PATH}"
export KERNEL_DIR=location_of_kernel/arch/riscv/boot/
qemu-system-riscv32 -M virt -m 512M -no-reboot \
-bios default -kernel ${KERNEL_DIR}Image \
-initrd rootfs.cpio \
-append "rdinit=/sbin/init console=ttyS0,115200 earlycon=uart8250,mmio,0x10000000,115200" \
-nographic -monitor none
```
The rootfs.cpio checks the network after booting and poweroff immediately to return to shell.
Akira
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2021-07-25 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHk-=wjYghA5O+ZsWKVNApMK3j4V1EibO5P+c4MrHnqp8YhY=g@mail.gmail.com>
[not found] ` <20210719140437.GA2178213@roeck-us.net>
2021-07-20 17:24 ` Linux 5.14-rc2 Linus Torvalds
2021-07-20 17:27 ` Linus Torvalds
2021-07-21 0:26 ` Akira Tsukamoto
2021-07-24 0:58 ` Palmer Dabbelt
2021-07-25 9:56 ` Akira Tsukamoto [this message]
2021-08-09 16:19 ` Palmer Dabbelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bba05067-6f2f-6166-02a0-839f514d3780@gmail.com \
--to=akira.tsukamoto@gmail.com \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox