Rockbox Development > New Ports

Pocket Go

(1/4) > >>

Hi there!

I'm trying to build Rockbox for the pocket go. The Pocket Go runs on some kind of ARM CPU and runs a variant of Linux, and has SDL.
I've bodged the generated Makefile configured for SDL and have setup a cross-compiler.

It's mostly building. The rockbox binary is there, as are the codecs and a few .rock files.

It runs, complete with the default theme but doesn't play music files. I'm guessing it has found the codec files has the mp3 files appear in the directory listing.
Also, although the .rock files don't appear through the menu, I can browse the filesystem and locate the .rock files but they refuse to run.

So, my question is: Is LUA a requirement for the SDL build of Rockbox? I ask because when it fails, it fails with LUA:

LD rockbox
GEN buttons.lua
/home/miner49er/src/buildroot-bittboy_newish/output/host/lib/gcc/arm-buildroot-linux-musleabi/9.3.0/../../../../arm-buildroot-linux-musleabi/bin/ld: /home/miner49er/src/buildroot-bittboy_newish/output/host/lib/gcc/arm-buildroot-linux-musleabi/9.3.0/libgcc.a(_dvmd_lnx.o): in function `__aeabi_idiv0':
/home/miner49er/src/buildroot-bittboy_newish/output/build/host-gcc-final-9.3.0/build/arm-buildroot-linux-musleabi/libgcc/../../../libgcc/config/arm/lib1funcs.S:1494: undefined reference to `raise'
collect2: error: ld returned 1 exit status

Any help would be great! Love live Rockbox!

No, you can disable the Lau plugin if it's not building.

Oh, great thanks. So you happen to know what flag I have to set to disable lua?

For testing I would set plugins="no" in the configure script for your target, then once the port is working you can fix the plugins individually if necessary.

Yes, I know I should just get it working without plugins for now! I do have it building now, fully (minus most plugins) by commenting out the lua/lua.scipts from SUBDIRS.app_build.

I find it odd that the SDL build defines HAVE_TOUCHSCREEN, that causes most of the plugins to not build because of the keymap then not being defined.

So, I need to create a new keymap file I guess. I have some control, I can navigate the menu system for instance...I'm guessing the dpad on this device maps to the arrow-keys on the keyboard.


[0] Message Index

[#] Next page

Go to full version