Hi Chester,
On 16.01.20 11:21, Chester Lin wrote:
Implement an initial version of riscv loader and related commands to load
and run linux kernel and initrd on RISC-V. I tested this series based on
the following configuration:
- QEMU 4.2.50 (machine: virt)
- OpenSBI v0.5-51
- U-Boot 202
On 16.01.20 14:14, Atish Patra wrote:
Sent from my iPhone
On Jan 16, 2020, at 10:06 PM, Alexander Graf wrote:
Hi Chester,
On 16.01.20 11:21, Chester Lin wrote:
Implement an initial version of riscv loader and related commands to load
and run linux kernel and initrd on RISC-V. I tested th
Sent from my iPhone
> On Jan 16, 2020, at 10:06 PM, Alexander Graf wrote:
>
> Hi Chester,
>
>> On 16.01.20 11:21, Chester Lin wrote:
>> Implement an initial version of riscv loader and related commands to load
>> and run linux kernel and initrd on RISC-V. I tested this series based on
>> the
Implement an initial version of riscv loader and related commands to load
and run linux kernel and initrd on RISC-V. I tested this series based on
the following configuration:
- QEMU 4.2.50 (machine: virt)
- OpenSBI v0.5-51
- U-Boot 2020.01-rc5
- grub 2.04
- linux-kernel v5.4
- openSUS
Adjust the image hedaers based on the current definition in RISC-V LINUX.
Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/riscv/include/asm/image.h
Signed-off-by: Chester Lin
---
include/grub/riscv32/linux.h | 4 ++--
include/grub/riscv64/linux.h | 6 +++
An image loader for booting RISC-V linux. The major idea is based on
loader/arm64/linux.c but still follows the the current boot procedure of
RISC-V Linux. [boot-entry = dram-base + text-offset]
Signed-off-by: Chester Lin
---
grub-core/loader/riscv/linux.c | 311 -
Hi Alex, Atish and Anup,
On Thu, Jan 16, 2020 at 02:27:55PM +0100, Alexander Graf wrote:
>
> On 16.01.20 14:14, Atish Patra wrote:
> >
> > Sent from my iPhone
> >
> > > On Jan 16, 2020, at 10:06 PM, Alexander Graf wrote:
> > >
> > > Hi Chester,
> > >
> > > > On 16.01.20 11:21, Chester Lin w