a2429d7c9d
lib: sbi_illegal_insn: Fix FENCE.TSO emulation infinite trap loop
...
In case of missing "FENCE.TSO" instruction implementation,
opensbi can emulate the "FENCE.TSO" with "FENCE RW,RW", but
mepc was not incremented to continue from the next instruction
causing infinite trap.
Fixes: cb8271c8 ("lib: sbi_illegal_insn: Add emulation for fence.tso")
Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com >
Reviewed-by: Andrew Jones <ajones@ventanamicro.com >
Reviewed-by: Xiang W <wxjstz@126.com >
Reviewed-by: Samuel Holland <samuel@sholland.org >
2024-04-09 14:22:01 +08:00
d009644b1c
lib: sbi_illegal_insn: Add emulation for fence.tso
...
While OpenC906 appears to properly decode `fence.tso` as a fence
instruction[1], the version of the C906 taped out in the Allwinner D1
does not, and raises illegal instruction.
Handle this errata by emulating `fence.tso` as `fence rw, rw`.
[1]: https://github.com/T-head-Semi/openc906/blob/30827e7f/C906_RTL_FACTORY/gen_rtl/idu/rtl/aq_idu_id_decd.v#L2097
Signed-off-by: Samuel Holland <samuel@sholland.org >
Reviewed-by: Anup Patel <anup@brainfault.org >
2024-04-09 14:21:28 +08:00
1bd2e81d94
buildroot: replacing wget provided by busybox
2024-04-09 11:53:48 +08:00
453001363e
duos: support spi
2024-04-08 17:37:40 +08:00
362832ac66
remove lite version for README
2024-03-26 10:35:33 +08:00
79f138542b
remove lite version for duo and duo256m
2024-03-26 10:10:03 +08:00
619e6e279f
add auto.sh to build overlay
2024-03-21 19:07:02 +08:00
d5294e3f7d
reorganize the configuration files of each board
2024-03-21 19:05:35 +08:00
1d878b3d97
duo kernel support FB_TFT_ST7789V
2024-03-09 11:31:31 +08:00
9e5b754ca6
kernel: enable eventpoll support
2024-03-05 19:04:34 +08:00
c737560cc5
duo256m and duos enable FREERTOS
2024-02-26 10:38:36 +08:00
b0966d4d61
add debugfs for all
2024-02-22 15:45:03 +08:00
3d9ead3070
duos: set B17 to low level for hardware V1.1
2024-02-22 15:31:15 +08:00
0e0b8efb59
buildroot: dd command from the coreutils package
2024-02-08 19:30:59 +08:00
6ebbd6e219
buildroot: enable fio
2024-02-08 18:58:48 +08:00
37e1f575f6
support commands such as lsblk lscpu sfdisk etc.
2024-02-08 16:56:31 +08:00
c7928d83e7
buildroot: enable stress-ng
2024-02-07 15:09:41 +08:00
d365ee3fc4
add LD_LIBRARY_PATH to profile
2024-02-06 16:48:27 +08:00
07721bf041
duo256m and duos camera test reduce log output
2024-02-06 11:04:57 +08:00
3a837b05a2
duos: support reset button in u-boot
2024-02-05 18:23:52 +08:00
7b73c8e904
add model id to milkv's device tree
2024-02-05 17:56:43 +08:00
e7639f327f
duos: init rj45 socket LED for network
2024-02-05 15:20:28 +08:00
a3a871d684
duos: enable reset
2024-02-04 15:53:49 +08:00
745d230edc
update loadsystemko.sh for cv181x
2024-02-04 15:24:35 +08:00
224691b217
Merge pull request #66 from yue-xiaomin/dev
...
del(duo nor/nand):del genimage config
2024-02-02 17:36:58 +00:00
95d57f8cd0
add AI Demo for Duo
2024-02-02 17:14:33 +08:00
576c0b08f2
del(duo nor/nand):del genimage config
2024-02-01 10:48:38 +08:00
326b1882f2
duos: add duo-pinmux
2024-01-30 18:44:02 +08:00
2aa4ec4288
duos: support python
2024-01-30 15:39:50 +08:00
dd7c59400d
add AI Demo for Duo256M and DuoS
2024-01-30 15:33:34 +08:00
9e945dc430
Merge pull request #65 from yue-xiaomin/dev
...
fix(duo spinand):adjust the partition of duo spinand configuration
2024-01-29 03:45:44 +00:00
cacc452f91
fix(duo spinand):adjust the partition of duo spinand configuration
2024-01-29 11:02:35 +08:00
f91cf43311
duos: add wifi power control GPIO
2024-01-20 18:36:05 +08:00
543e96f2aa
duos: aic8800_fdrv add CONFIG_PLATFORM_CVITEK
2024-01-20 13:36:46 +08:00
c49a16856c
duos: wifi sdio clock up to 187.5M
2024-01-20 13:27:30 +08:00
d41cc3ed6b
remove git ignored files
2024-01-20 13:26:57 +08:00
76e5db15c8
duos: support bluetooth
2024-01-20 13:21:18 +08:00
7ef56c7314
duo-s: add bt_test command for AIC8800
2024-01-20 10:55:30 +08:00
2833c24f11
busybox: add timeout command
2024-01-20 10:54:24 +08:00
f3dd6dc9ad
remove zram
2024-01-19 19:15:57 +08:00
232cef1614
rename milkv-duos to milkv-duos-emmc
2024-01-19 17:25:20 +08:00
734d43fd77
Merge pull request #59 from yue-xiaomin/dev
...
add(duo nand):add nand utils and fix build.sh nor/nand print
2024-01-19 09:00:28 +00:00
084be3f1c5
add(duo nand):add nand utils and fix build.sh nor/nand print
2024-01-19 16:42:14 +08:00
54977e9c4d
support milkv-duos-sd
2024-01-19 15:04:07 +08:00
5f22675afa
duos: support create emmc image
2024-01-18 16:24:21 +08:00
b94a863f8d
Merge pull request #57 from yue-xiaomin/dev
...
fix README-zh and sh
2024-01-17 06:22:01 +00:00
de184f81e1
fix(build sh):Remove dependency on cvisetup.sh
2024-01-17 14:14:14 +08:00
4a3e83892b
fix(README):adjust formatting alignment
2024-01-17 14:11:53 +08:00
84e2e97f84
duos: improve SDIO speed
2024-01-17 11:49:21 +08:00
9ae7f96adb
Merge pull request #53 from FantasyGmm/develop
...
Add zram config and parallel build
2024-01-17 03:37:22 +00:00