aboutsummaryrefslogtreecommitdiffstats
path: root/bsp/qemuriscv32
AgeCommit message (Collapse)Author
2024-03-10riscv: Enable XHCI usbKhem Raj
This brings it closer to other qemu configs in yocto and help to use usb mouse and keyboard device emulation Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-02-16qemuriscv32/qemuriscv64: Enable Goldfish RTCKhem Raj
This is required for the qemu based riscv system to set system time correctly. Otherwise, it falls back to defaults in /etc/timestamp which is set at image build time and is not current. Fixes hwclock: can't open '/dev/misc/rtc': No such file or directory Fri Mar 9 12:34:56 UTC 2018 hwclock: can't open '/dev/misc/rtc': No such file or directory hwclock: can't open '/dev/misc/rtc': No such file or directory Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-12qemuriscv32: Enable CONFIG_NONPORTABLEKhem Raj
Allow configurations that result in non-portable kernels, this is required for rv32 kernels starting 6.0+ see [1] [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=44c1e84a38a0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-03riscv32: drop MAXPHYSMEM_128GBBruce Ashfield
The MAXPHYSMEM config options have been removed upstream via the following commit, so we drop our setting. commit 6250ecf5ba42292b652cd01c9fcb2239010c5c44 Author: Alexandre Ghiti <alexandre.ghiti@canonical.com> Date: Mon Jan 17 10:57:16 2022 +0100 riscv: Get rid of MAXPHYSMEM configs commit db1503d355a79d1d4255a9996f20e72848b74a56 upstream. CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was preempted by !MMU case right before. In addition, the move of the kernel mapping at the end of the address space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET at the same address as the kernel mapping. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Fixes: 2bfc6cd81bd1 ("riscv: Move kernel mapping outside of linear mapping") Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Conor Dooley <Conor.Dooley@microchip.com> Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-22qemuriscv32.cfg: RV32 only supports 1G physical memoryKhem Raj
Fixes do_kernel_configcheck errors [NOTE]: 'CONFIG_MAXPHYSMEM_2GB' last val (y) and .config val (n) do not match [INFO]: CONFIG_MAXPHYSMEM_2GB : n [INFO]: raw config text: config MAXPHYSMEM_2GB bool "2GiB" depends on 64BIT && CMODEL_MEDLOW && <choice> Config 'MAXPHYSMEM_2GB' has the following Direct dependencies (MAXPHYSMEM_2GB=n): 64BIT(=n) && CMODEL_MEDLOW(=y) && <choice> Parent dependencies are: CMODEL_MEDLOW [y] choice [y] 64BIT [n] [INFO]: config 'CONFIG_MAXPHYSMEM_2GB' was set, but it wasn't assignable, check (parent) dependencies Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-07meta: add SPDX License Identifier and updates 00-README with License policyYann CARDAILLAC
Signed-off-by: Yann CARDAILLAC <ycnakajsph@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-27qemursicv32: Enable graphics supportAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-01-25qemuriscv32: Remove the HVC driverAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-23qemuriscv32: Initial support for 32-bit QEMU RISC-VAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>