Skip to content

Commit c1129e8

Browse files
authored
Merge pull request #15784 from dmanlfc/h700-linux7
h700 to linux7
2 parents 7ee7f2f + ddb0293 commit c1129e8

89 files changed

Lines changed: 2642 additions & 9879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

batocera-Changelog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
- ShadPS4 has moved from the no longer maintained ShadPS4 Plus to standard ShadPS4
44
### Hardware
55
- Anbernic RG-DS initial support
6+
- Anbernic RG40xx-H-v2-panel variant support
7+
- Anbernic RG40xx-V-v2-panel variant support
68
- AYN Odin initial support
79
- Mangmi Air X initial support
810
### Added
11+
- Anbernic RGCubeXX device LED controller support
912
- NanoBoyAdvance as an alternative GBA emulator
1013
- ES Setting for toggle fast forward
1114
- Dolphin GameCube Controller type BattlerGC Pro (x-input mode with analog+digital triggers)
@@ -56,7 +59,8 @@
5659
- Mesa3D to 26.1.0
5760
- Nvidia Open Production driver to 595.71.05
5861
- Nvidia 580 Legacy driver to 580.159.03
59-
- X86_64 / Zen3 kernel update to 7.0.9
62+
- X86_64 / Zen3 kernel updated to 7.0.9
63+
- Anbernic H700 kernel updated to 7.0.9
6064

6165
# 2026/05/xx - batocera.linux 43.1
6266
### Fixed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
LABEL batocera.linux
2+
LINUX /boot/linux
3+
FDT /boot/sun50i-h700-anbernic-rg40xx-h-v2-panel.dtb
4+
APPEND initrd=/boot/initrd.lz4 label=BATOCERA rootwait quiet loglevel=0 console=ttyS0,115200 console=tty3
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
# HOST_DIR = host dir
4+
# BOARD_DIR = board specific dir
5+
# BUILD_DIR = base dir/build
6+
# BINARIES_DIR = images dir
7+
# TARGET_DIR = target dir
8+
# BATOCERA_BINARIES_DIR = batocera binaries sub directory
9+
10+
HOST_DIR=$1
11+
BOARD_DIR=$2
12+
BUILD_DIR=$3
13+
BINARIES_DIR=$4
14+
TARGET_DIR=$5
15+
BATOCERA_BINARIES_DIR=$6
16+
17+
mkdir -p "${BATOCERA_BINARIES_DIR}/boot/boot" || exit 1
18+
mkdir -p "${BATOCERA_BINARIES_DIR}/boot/extlinux" || exit 1
19+
20+
cp "${BINARIES_DIR}/Image" "${BATOCERA_BINARIES_DIR}/boot/boot/linux" || exit 1
21+
cp "${BINARIES_DIR}/initrd.lz4" "${BATOCERA_BINARIES_DIR}/boot/boot/initrd.lz4" || exit 1
22+
cp "${BINARIES_DIR}/rootfs.squashfs" "${BATOCERA_BINARIES_DIR}/boot/boot/batocera.update" || exit 1
23+
cp "${BINARIES_DIR}/rufomaculata" "${BATOCERA_BINARIES_DIR}/boot/boot/rufomaculata.update" || exit 1
24+
25+
cp "${BINARIES_DIR}/sun50i-h700-anbernic-rg40xx-h-v2-panel.dtb" "${BATOCERA_BINARIES_DIR}/boot/boot/" || exit 1
26+
cp "${BOARD_DIR}/boot/extlinux.conf" "${BATOCERA_BINARIES_DIR}/boot/extlinux/" || exit 1
27+
28+
exit 0
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
image boot.vfat {
2+
vfat {
3+
extraargs = "-F 32 -n BATOCERA"
4+
@files
5+
}
6+
size = 6G
7+
}
8+
9+
image userdata.ext4 {
10+
ext4 {
11+
label = "SHARE"
12+
use-mke2fs = "true"
13+
extraargs = "-m 0"
14+
}
15+
size = "512M"
16+
# include files from TARGET_DIR/userdata
17+
mountpoint = "/userdata"
18+
}
19+
20+
image batocera.img {
21+
hdimage {
22+
align = "1M"
23+
}
24+
25+
partition spl {
26+
in-partition-table = "no"
27+
image = "../../u-boot-sunxi-with-spl.bin"
28+
offset = 8192
29+
}
30+
31+
partition boot {
32+
partition-type = 0xC
33+
bootable = "true"
34+
image = "boot.vfat"
35+
}
36+
37+
partition userdata {
38+
partition-type = 0x83
39+
image = "userdata.ext4"
40+
}
41+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
LABEL batocera.linux
2+
LINUX /boot/linux
3+
FDT /boot/sun50i-h700-anbernic-rg40xx-v-v2-panel.dtb
4+
APPEND initrd=/boot/initrd.lz4 label=BATOCERA rootwait quiet loglevel=0 console=ttyS0,115200 console=tty3
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
# HOST_DIR = host dir
4+
# BOARD_DIR = board specific dir
5+
# BUILD_DIR = base dir/build
6+
# BINARIES_DIR = images dir
7+
# TARGET_DIR = target dir
8+
# BATOCERA_BINARIES_DIR = batocera binaries sub directory
9+
10+
HOST_DIR=$1
11+
BOARD_DIR=$2
12+
BUILD_DIR=$3
13+
BINARIES_DIR=$4
14+
TARGET_DIR=$5
15+
BATOCERA_BINARIES_DIR=$6
16+
17+
mkdir -p "${BATOCERA_BINARIES_DIR}/boot/boot" || exit 1
18+
mkdir -p "${BATOCERA_BINARIES_DIR}/boot/extlinux" || exit 1
19+
20+
cp "${BINARIES_DIR}/Image" "${BATOCERA_BINARIES_DIR}/boot/boot/linux" || exit 1
21+
cp "${BINARIES_DIR}/initrd.lz4" "${BATOCERA_BINARIES_DIR}/boot/boot/initrd.lz4" || exit 1
22+
cp "${BINARIES_DIR}/rootfs.squashfs" "${BATOCERA_BINARIES_DIR}/boot/boot/batocera.update" || exit 1
23+
cp "${BINARIES_DIR}/rufomaculata" "${BATOCERA_BINARIES_DIR}/boot/boot/rufomaculata.update" || exit 1
24+
25+
cp "${BINARIES_DIR}/sun50i-h700-anbernic-rg40xx-v-v2-panel.dtb" "${BATOCERA_BINARIES_DIR}/boot/boot/" || exit 1
26+
cp "${BOARD_DIR}/boot/extlinux.conf" "${BATOCERA_BINARIES_DIR}/boot/extlinux/" || exit 1
27+
28+
exit 0
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
image boot.vfat {
2+
vfat {
3+
extraargs = "-F 32 -n BATOCERA"
4+
@files
5+
}
6+
size = 6G
7+
}
8+
9+
image userdata.ext4 {
10+
ext4 {
11+
label = "SHARE"
12+
use-mke2fs = "true"
13+
extraargs = "-m 0"
14+
}
15+
size = "512M"
16+
# include files from TARGET_DIR/userdata
17+
mountpoint = "/userdata"
18+
}
19+
20+
image batocera.img {
21+
hdimage {
22+
align = "1M"
23+
}
24+
25+
partition spl {
26+
in-partition-table = "no"
27+
image = "../../u-boot-sunxi-with-spl.bin"
28+
offset = 8192
29+
}
30+
31+
partition boot {
32+
partition-type = 0xC
33+
bootable = "true"
34+
image = "boot.vfat"
35+
}
36+
37+
partition userdata {
38+
partition-type = 0x83
39+
image = "userdata.ext4"
40+
}
41+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
/*
3+
* Copyright (C) 2024 Ryan Walklin <ryan@testtoast.com>.
4+
* Copyright (C) 2024 Chris Morgan <macroalpha82@gmail.com>.
5+
*/
6+
7+
#include "sun50i-h700-anbernic-rg35xx-plus.dts"
8+
9+
/ {
10+
model = "Anbernic RG28XX";
11+
compatible = "anbernic,rg28xx", "allwinner,sun50i-h700";
12+
rocknix-dt-id = "sun50i-h700-anbernic-rg28xx";
13+
};
14+
15+
&panel {
16+
compatible = "anbernic,rg28xx-panel", "panel-mipi-dpi-spi";
17+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
/*
3+
* Copyright (C) 2024 Ryan Walklin <ryan@testtoast.com>.
4+
* Copyright (C) 2024 Chris Morgan <macroalpha82@gmail.com>.
5+
*/
6+
7+
#include "sun50i-h700-anbernic-rg35xx-sp.dts"
8+
9+
/ {
10+
model = "Anbernic RG34XX-SP";
11+
compatible = "anbernic,rg34xx-sp", "allwinner,sun50i-h700";
12+
rocknix-dt-id = "sun50i-h700-anbernic-rg34xx-sp";
13+
};
14+
15+
&panel {
16+
compatible = "anbernic,rg34xx-sp-panel", "panel-mipi-dpi-spi";
17+
};
18+
19+
&joypad {
20+
invert-absrx;
21+
invert-absry;
22+
amux-count = <4>;
23+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
/*
3+
* Copyright (C) 2024 Ryan Walklin <ryan@testtoast.com>.
4+
* Copyright (C) 2024 Chris Morgan <macroalpha82@gmail.com>.
5+
*/
6+
7+
#include "sun50i-h700-anbernic-rg35xx-plus.dts"
8+
9+
/ {
10+
model = "Anbernic RG34XX";
11+
compatible = "anbernic,rg34xx", "allwinner,sun50i-h700";
12+
rocknix-dt-id = "sun50i-h700-anbernic-rg34xx";
13+
};
14+
15+
&panel {
16+
compatible = "anbernic,rg34xx-panel", "panel-mipi-dpi-spi";
17+
};

0 commit comments

Comments
 (0)