od-contrib / buildroot-rg350-old-kernel Goto Github PK
View Code? Open in Web Editor NEWBuildroot for RG350 with modern userland but using the old 3.12 Linux kernel
License: Other
Buildroot for RG350 with modern userland but using the old 3.12 Linux kernel
License: Other
I noticed that they have already add support for rg350/rg350m in kernel 5.9.
https://github.com/OpenDingux/linux/tree/jz-5.9
ROM & Toolchain are here:
In the original firmware of RG350, you can adjust the smoothness of the screen by pressing the power button + up or down.
This feature should also be open source, but it seems not in the 350m kernel of this repo?
After the latest rebase we switch to https://github.com/od-contrib/SDL2-fbdev branch based on SDL 2.0.14 (previous version was based on SDL 2.0.3).
Now, when using joystick mode, D-Pad keys are registered twice.
This can be most easily reproduced in the blockattack game, bundled with the image.
Rebase on top of 2020.08.1
# Unmount data partition before resizing for faster resizing.
unmount_data_partition
# Check partition to prevent resize from failling
e2fsck -f /dev/${DEVICE}p${PART_NUM}
According to board/opendingux/package/od-imager/od-imager.mk
. The od-imager repo is configured as glebm's one, however there is no place to write an issue on that one (maybe disabled). So I have to write it here. There is already a pull request on that repo mention the bug six months ago.
The code above is my version to resolve it. Currently, it seems the generated bin and zip file has a broken partition table, which will cause a new flushed system will always fail to resize data partition
When I'm trying to run
make rg350_defconfig BR2_EXTERNAL=board/opendingux:opks
board/opendingux/gcw0/make_initial_image.sh rg350
or
make rg350m_defconfig BR2_EXTERNAL=board/opendingux:opks
board/opendingux/gcw0/make_initial_image.sh rg350m
I got this error
Running the command:
$ board/opendingux/gcw0/download_local_pack.sh
Fails with:
######################################################################################################################################################################################################################################################## 100.0%
+ curl -L --fail --remote-time -o smsplus_gcw0.opk -# https://gameblabla.nl/files/ipk/gcw0/smsplus_gcw0.opk
curl: (6) Could not resolve host: gameblabla.nl
The website gameblabla.nl
is offline: IsItDownRightNow
Hi,
I've followed the instructions in the README and get a build failure due to a broken dependency on the default target. However, building "world" seems to work:
$ make rg350_defconfig BR2_EXTERNAL=board/opendingux:opks
$ make
Makefile:578: *** sparrow3d is in the dependency chain of glutexto that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.
I'm not very familiar with buildroot, so I disabled glutexto for now, which seems to work
When using the L1 R1 button to switch parts, the part above GMenu2X of RG350M cannot scroll smoothly like RG350
love2d aeefcc6 Downloading
abort: HTTP Error 404: Not Found
--2020-10-08 11:55:28-- http://sources.buildroot.net/love2d/love2d-aeefcc6.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-08 11:55:29 ERROR 404: Not Found.
--2020-10-08 11:55:29-- http://sources.buildroot.net/love2d-aeefcc6.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37
Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-08 11:55:29 ERROR 404: Not Found.
make: *** [package/pkg-generic.mk:171: /home/katyusha/rg350/buildroot-rg350-old-kernel/output/build/love2d-aeefcc6/.stamp_downloaded] Error 1
Some builtin games will flickring, such as blockattack.
And in gmenu2x, after pressed [power + vol_up] and [power + vol_down], sometimes the left top corner and right top corner of screen will flickring, too.
Version: master branch at 2020-10-13, commit 99dcecb
Device: RG350M
Host Environment: Docker[debian:buster-slim]
Building:
make rg350m_defconfig BR2_EXTERNAL=board/opendingux:opks
Host:
OS: Archlinux (amd64)
GCC: gcc version 10.2.0 (GCC)
$ board/opendingux/gcw0/make_initial_image.sh rg350
#
# configuration written to /home/user/downloads/buildroot-rg350-old-kernel/.config
#
/usr/bin/make -j1 O=/home/user/downloads/buildroot-rg350-old-kernel/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[1]: Entering directory '/home/user/downloads/buildroot-rg350-old-kernel'
make[1]: Leaving directory '/home/user/downloads/buildroot-rg350-old-kernel'
>>> host-squashfs 4.4 Building
PATH="/home/user/downloads/buildroot-rg350-old-kernel/output/host/bin:/home/user/downloads/buildroot-rg350-old-kernel/output/host/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/bin:/sbin:/usr/sbin:/home/eric/Applications/scripts" PKG_CONFIG="/home/user/downloads/buildroot-rg350-old-kernel/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/user/downloads/buildroot-rg350-old-kernel/output/host/lib/pkgconfig:/home/user/downloads/buildroot-rg350-old-kernel/output/host/share/pkgconfig" /usr/bin/make -j17 CC="/usr/bin/gcc" EXTRA_CFLAGS="-O2 -I/home/user/downloads/buildroot-rg350-old-kernel/output/host/include" EXTRA_LDFLAGS="-L/home/user/downloads/buildroot-rg350-old-kernel/output/host/lib -Wl,-rpath,/home/user/downloads/buildroot-rg350-old-kernel/output/host/lib" XATTR_SUPPORT=1 XZ_SUPPORT=1 GZIP_SUPPORT=1 LZ4_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 ZSTD_SUPPORT=1 -C /home/user/downloads/buildroot-rg350-old-kernel/output/build/host-squashfs-4.4/squashfs-tools/
make[1]: Entering directory '/home/user/downloads/buildroot-rg350-old-kernel/output/build/host-squashfs-4.4/squashfs-tools'
/usr/bin/gcc -L/home/user/downloads/buildroot-rg350-old-kernel/output/host/lib -Wl,-rpath,/home/user/downloads/buildroot-rg350-old-kernel/output/host/lib mksquashfs.o read_fs.o action.o swap.o pseudo.o compressor.o sort.o progressbar.o read_file.o info.o restore.o process_fragments.o caches-queues-lists.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o lzo_wrapper.o lz4_wrapper.o zstd_wrapper.o xattr.o read_xattrs.o -lpthread -lm -lz -llzma -llzma -llzo2 -llz4 -lzstd -o mksquashfs
/usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: read_fs.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: action.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: action.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: sort.o:(.bss+0x100000): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: sort.o:(.bss+0x100008): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: info.o:(.bss+0x10): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: info.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: restore.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: restore.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: process_fragments.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: process_fragments.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
/usr/bin/ld: xattr.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
/usr/bin/ld: xattr.o:(.bss+0x10): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:284: mksquashfs] Error 1
make[1]: Leaving directory '/home/user/downloads/buildroot-rg350-old-kernel/output/build/host-squashfs-4.4/squashfs-tools'
make: *** [package/pkg-generic.mk:269: /home/user/downloads/buildroot-rg350-old-kernel/output/build/host-squashfs-4.4/.stamp_built] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.