https://github.com/aleh/pocketchip-jwmrc

sudo apt-get install jwm
sudo apt-get install libxft-dev
git clone https://github.com/aleh/pocketchip-jwmrc.git
cd pocketchip-jwmrc
sudo make install
sudo reboot

桌面配置文件 /home/chip/.jwmrc

<?xml version="1.0"?>
<JWM>
   <!-- vim: set expandtab ts=3 sw=3 ai : -->

   <RootMenu height="18" onroot="12">

      <Program icon="terminal.png" label="Terminal">vala-terminal -fs 8</Program>
      <Program icon="pico8.png" label="PICO-8">pico8</Program>
      <Program icon="musicsequencer.png" label="SunVox">sunvox</Program>
      <Program icon="filebrowser.png" label="File Manager">pcmanfm</Program>
      <Program icon="webbrowser.png" label="Internet">surf -n -p -u "Mozilla/4.0 (PSP (PlayStation Portable); 2.00)" google.com</Program>
      <Program icon="texteditor.png" label="Text Editor">leafpad</Program>
      <Program icon="virtualboy.png" label="RetroArch">retroarch</Program>     
      <Program icon="kodi.png" label="Kodi">kodi</Program>
      <Separator/>

      <Menu label="Sound">
         <Program label="Enable Internal Speaker">
            amixer sset 'Left Mixer Left DAC' playback on
            amixer sset 'Power Amplifier Mixer' playback off
            amixer sset 'Right Mixer Left DAC' playback off
            amixer sset 'Right Mixer Right DAC' playback off
         </Program>
         <Program label="Disable Internal Speaker">
            amixer sset 'Left Mixer Left DAC' playback off 
            amixer sset 'Power Amplifier Mixer' playback off
            amixer sset 'Right Mixer Left DAC' playback off
            amixer sset 'Right Mixer Right DAC' playback off
         </Program>
         <Separator/>
         <Program label="Low">amixer sset 'Power Amplifier' playback 40%</Program>
         <Program label="Medium">amixer sset 'Power Amplifier' playback 50%</Program>
         <Program label="High">amixer sset 'Power Amplifier' playback 70%</Program>
         <Program label="Max">amixer sset 'Power Amplifier' playback 100%</Program>
      </Menu>

      <Menu label="Backlight">
         <Program label="10%">echo "1" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="20%">echo "2" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="50%">echo "5" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="80%">echo "8" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="100%">echo "10" > /sys/class/backlight/backlight/brightness</Program>
      </Menu>

      <Menu label="WiFi">
         <Program label="Configure">xfce4-terminal --hide-menubar --hide-toolbar -e nmtui</Program>
      </Menu>

      <Menu label="More">
         <Program label="Shutdown">systemctl poweroff</Program>
         <Program label="Reboot">systemctl reboot</Program>
         <Exit label="Log Out"/>
         <Separator/>

         <Program label="Screenshoot (Shift+Alt+3)">xfce4-screenshooter -d 1 -f -s /home/chip/Pictures</Program>
         <Separator/>

         <Restart label="Reload .jwmrc"/>
         <Program label="Edit .jwmrc">leafpad --tab-width=3 ~/.jwmrc</Program>
      </Menu>

   </RootMenu>

   <!-- By default we run all the programs maximized. -->
   <Group>
      <Name>.*</Name>
      <Option>maximized</Option>
   </Group>

   <!-- These have own preferences. -->
   <Group>
      <Name>sunvox|pico|retroarch|kodi</Name>
      <Option>notitle</Option>
      <Option>noborder</Option>
      <Option>maximized</Option>
   </Group>

   <!-- Programs that should not run maximized -->
   <Group>
      <Name>VisualBoyAdvance</Name>
   </Group>

   <Tray x="0" y="-1" height="20" autohide="off" layer="normal"> 

      <TrayButton label="Start" popup="">root:1</TrayButton>

      <Pager labeled="false"/>

      <TaskList maxwidth="150"/>

      <Dock/>

      <!-- Here an external X program (our battery status one) is started and is wrapped into the tray. -->
      <Swallow name="pocketchip-xbatt" width="70">pocketchip-xbatt --text=#ffffff --background=#ff007f</Swallow>

      <Clock format="%H:%M" zone=":Asia/Shanghai"/>

   </Tray>

   <WindowStyle>

      <Font>Sans-8:bold</Font>
      <Width>2</Width>
      <Height>15</Height>

      <Active>
         <Text>white</Text>
         <Title>#ff007f</Title>
         <Outline>white</Outline>
         <Opacity>1</Opacity>
         <Corner>1</Corner>
      </Active>

      <Inactive>
         <Text>white</Text>
         <Title>#ff007f</Title>
         <Outline>black</Outline>
         <Opacity>1</Opacity>
         <Corner>1</Corner>
      </Inactive>

   </WindowStyle>

   <TaskListStyle>
      <Font>Sans-8</Font>
      <ActiveForeground>#ff007f</ActiveForeground>
      <ActiveBackground>white</ActiveBackground>
      <Foreground>#ff007f</Foreground>
      <Background>white</Background>
      <Outline>black</Outline>
   </TaskListStyle>

   <TrayStyle>
      <Font>Sans-8:bold</Font>
      <Background>#ff007f</Background>
      <Foreground>white</Foreground>
      <Opacity>1</Opacity>
      <Decorations>flat</Decorations>
      <Outline>#ff007f</Outline>
      <Active>
         <Foreground>white</Foreground>
         <Background>#ff007f</Background>
      </Active>
   </TrayStyle>

   <PagerStyle>
      <Outline>black</Outline>
      <Foreground>gray90</Foreground>
      <Background>#808488</Background>
      <ActiveForeground>#70849d</ActiveForeground>
      <ActiveBackground>#2e3a67</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>Sans-8</Font>
      <Foreground>white</Foreground>
      <Background>#ff007f</Background>
      <Outline>#ff007f</Outline>
      <Corner>1</Corner>
      <ActiveForeground>#ff007f</ActiveForeground>
      <ActiveBackground>white</ActiveBackground>
      <Opacity>1</Opacity>
      <Decorations>flat</Decorations>
   </MenuStyle>

   <PopupStyle>
      <Enabled>false</Enabled>
      <Font>Sans-8</Font>
      <Outline>white</Outline>
      <Foreground>black</Foreground>
      <Background>yellow</Background>
   </PopupStyle>

   <IconPath>/home/chip/appIcons/</IconPath>

   <!-- Virtual Desktops -->
   <Desktops width="2" height="2">
      <!-- <Background type="solid">#4d4d4d</Background> -->
      <Background type="image">/home/chip/appIcons/background.jpg</Background>
   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>click</FocusModel>

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="10">border</SnapMode>

   <!-- The move mode (outline or opaque) -->
   <MoveMode>opaque</MoveMode>

   <!-- The resize mode (outline or opaque) -->
   <ResizeMode>opaque</ResizeMode>

   <!--
    <StartupCommand>gkrellm</StartupCommand>
   -->

   <!-- Key bindings -->
   <Key key="Up">up</Key>
   <Key key="Down">down</Key>
   <Key key="Right">right</Key>
   <Key key="Left">left</Key>
   <Key key="h">left</Key>
   <Key key="j">down</Key>
   <Key key="k">up</Key>
   <Key key="l">right</Key>
   <Key key="Return">select</Key>
   <Key key="Escape">escape</Key>

   <Key mask="SA" key="3">exec:xfce4-screenshooter -f -s /home/chip/Pictures</Key>

   <Key mask="C" key="Tab">next</Key>
   <Key mask="A" key="Tab">next</Key>

   <Key mask="C" key="w">close</Key>
   <Key mask="C" key="q">close</Key>

   <Key mask="C" key="Escape">root:1</Key>
   <Key key="XF86PowerOff">showdesktop</Key>

   <Key mask="S" key="Escape">window</Key>

   <Key mask="C" key="#">desktop#</Key>
   <Key mask="C" key="Enter">maximize</Key>

   <Key mask="C" key="Right">rdesktop</Key>
   <Key mask="C" key="Left">ldesktop</Key>
   <Key mask="C" key="Up">udesktop</Key>
   <Key mask="C" key="Down">ddesktop</Key>
</JWM>

app图标路径<IconPath>/home/chip/appIcons/</IconPath>
appIcons.rar

Screenshot - 2020年11月14日 - 07时08分07秒.png

灰色的

<?xml version="1.0"?>
<JWM>
   <!-- vim: set expandtab ts=3 sw=3 ai : -->

   <RootMenu height="18" onroot="12">

      <Program icon="terminal.png" label="Terminal">vala-terminal -fs 8</Program>
      <Program icon="pico8.png" label="PICO-8">pico8</Program>
      <Program icon="musicsequencer.png" label="SunVox">sunvox</Program>
      <Program icon="filebrowser.png" label="File Manager">pcmanfm</Program>
      <Program icon="webbrowser.png" label="Internet">surf -n -p -u "Mozilla/4.0 (PSP (PlayStation Portable); 2.00)" google.com</Program>
      <Program icon="texteditor.png" label="Text Editor">leafpad</Program>
      <Program icon="virtualboy.png" label="RetroArch">retroarch</Program>     
      <Program icon="kodi.png" label="Kodi">kodi</Program>
      <Separator/>

      <Menu label="Sound">
         <Program label="Enable Internal Speaker">
            amixer sset 'Left Mixer Left DAC' playback on
            amixer sset 'Power Amplifier Mixer' playback off
            amixer sset 'Right Mixer Left DAC' playback off
            amixer sset 'Right Mixer Right DAC' playback off
         </Program>
         <Program label="Disable Internal Speaker">
            amixer sset 'Left Mixer Left DAC' playback off 
            amixer sset 'Power Amplifier Mixer' playback off
            amixer sset 'Right Mixer Left DAC' playback off
            amixer sset 'Right Mixer Right DAC' playback off
         </Program>
         <Separator/>
         <Program label="Low">amixer sset 'Power Amplifier' playback 40%</Program>
         <Program label="Medium">amixer sset 'Power Amplifier' playback 50%</Program>
         <Program label="High">amixer sset 'Power Amplifier' playback 70%</Program>
         <Program label="Max">amixer sset 'Power Amplifier' playback 100%</Program>
      </Menu>

      <Menu label="Backlight">
         <Program label="10%">echo "1" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="20%">echo "2" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="50%">echo "5" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="80%">echo "8" > /sys/class/backlight/backlight/brightness</Program>
         <Program label="100%">echo "10" > /sys/class/backlight/backlight/brightness</Program>
      </Menu>

      <Menu label="WiFi">
         <Program label="Configure">xfce4-terminal --hide-menubar --hide-toolbar -e nmtui</Program>
      </Menu>

      <Menu label="More">
         <Program label="Shutdown">systemctl poweroff</Program>
         <Program label="Reboot">systemctl reboot</Program>
         <Exit label="Log Out"/>
         <Separator/>

         <Program label="Screenshoot (Shift+Alt+3)">xfce4-screenshooter -d 1 -f -s /home/chip/Pictures</Program>
         <Separator/>

         <Restart label="Reload .jwmrc"/>
         <Program label="Edit .jwmrc">leafpad --tab-width=3 ~/.jwmrc</Program>
      </Menu>

   </RootMenu>

   <!-- By default we run all the programs maximized. -->
   <Group>
      <Name>.*</Name>
      <Option>maximized</Option>
   </Group>

   <!-- These have own preferences. -->
   <Group>
      <Name>sunvox|pico|retroarch|kodi</Name>
      <Option>notitle</Option>
      <Option>noborder</Option>
      <Option>maximized</Option>
   </Group>

   <!-- Programs that should not run maximized -->
   <Group>
      <Name>VisualBoyAdvance</Name>
   </Group>

   <Tray x="0" y="-1" height="20" autohide="off" layer="normal"> 

      <TrayButton label="Start" popup="">root:1</TrayButton>

      <Pager labeled="false"/>

      <TaskList maxwidth="150"/>

      <Dock/>

      <!-- Here an external X program (our battery status one) is started and is wrapped into the tray. -->
      <Swallow name="pocketchip-xbatt" width="70">pocketchip-xbatt --text=#ffffff --background=#333333</Swallow>

      <Clock format="%H:%M" zone=":Asia/Shanghai"/>

   </Tray>

   <WindowStyle>

      <Font>Sans-8:bold</Font>
      <Width>2</Width>
      <Height>15</Height>

      <Active>
         <Text>white</Text>
         <Title>#ff007f</Title>
         <Outline>white</Outline>
         <Opacity>1</Opacity>
         <Corner>1</Corner>
      </Active>

      <Inactive>
         <Text>white</Text>
         <Title>#ff007f</Title>
         <Outline>black</Outline>
         <Opacity>1</Opacity>
         <Corner>1</Corner>
      </Inactive>

   </WindowStyle>

   <TaskListStyle>
      <Font>Sans-8</Font>
      <ActiveForeground>#333333</ActiveForeground>
      <ActiveBackground>white</ActiveBackground>
      <Foreground>#333333</Foreground>
      <Background>white</Background>
      <Outline>black</Outline>
   </TaskListStyle>

   <TrayStyle>
      <Font>Sans-8:bold</Font>
      <Background>#333333</Background>
      <Foreground>white</Foreground>
      <Opacity>1</Opacity>
      <Decorations>flat</Decorations>
      <Outline>#ff007f</Outline>
      <Active>
         <Foreground>white</Foreground>
         <Background>#ff007f</Background>
      </Active>
   </TrayStyle>

   <PagerStyle>
      <Outline>black</Outline>
      <Foreground>gray90</Foreground>
      <Background>#808488</Background>
      <ActiveForeground>#70849d</ActiveForeground>
      <ActiveBackground>#2e3a67</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>Sans-8</Font>
      <Foreground>white</Foreground>
      <Background>#333333</Background>
      <Outline>#ff007f</Outline>
      <Corner>1</Corner>
      <ActiveForeground>#ff007f</ActiveForeground>
      <ActiveBackground>white</ActiveBackground>
      <Opacity>1</Opacity>
      <Decorations>flat</Decorations>
   </MenuStyle>

   <PopupStyle>
      <Enabled>false</Enabled>
      <Font>Sans-8</Font>
      <Outline>white</Outline>
      <Foreground>black</Foreground>
      <Background>yellow</Background>
   </PopupStyle>

   <IconPath>/home/chip/appIcons/</IconPath>

   <!-- Virtual Desktops -->
   <Desktops width="2" height="2">
      <Background type="solid">#666666</Background>
   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>click</FocusModel>

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="10">border</SnapMode>

   <!-- The move mode (outline or opaque) -->
   <MoveMode>opaque</MoveMode>

   <!-- The resize mode (outline or opaque) -->
   <ResizeMode>opaque</ResizeMode>

   <!--
    <StartupCommand>gkrellm</StartupCommand>
   -->

   <!-- Key bindings -->
   <Key key="Up">up</Key>
   <Key key="Down">down</Key>
   <Key key="Right">right</Key>
   <Key key="Left">left</Key>
   <Key key="h">left</Key>
   <Key key="j">down</Key>
   <Key key="k">up</Key>
   <Key key="l">right</Key>
   <Key key="Return">select</Key>
   <Key key="Escape">escape</Key>

   <Key mask="SA" key="3">exec:xfce4-screenshooter -f -s /home/chip/Pictures</Key>

   <Key mask="C" key="Tab">next</Key>
   <Key mask="A" key="Tab">next</Key>

   <Key mask="C" key="w">close</Key>
   <Key mask="C" key="q">close</Key>

   <Key mask="C" key="Escape">root:1</Key>
   <Key key="XF86PowerOff">showdesktop</Key>

   <Key mask="S" key="Escape">window</Key>

   <Key mask="C" key="#">desktop#</Key>
   <Key mask="C" key="Enter">maximize</Key>

   <Key mask="C" key="Right">rdesktop</Key>
   <Key mask="C" key="Left">ldesktop</Key>
   <Key mask="C" key="Up">udesktop</Key>
   <Key mask="C" key="Down">ddesktop</Key>
</JWM>

Screenshot - 2020年11月14日 - 07时59分11秒.png

Pocketchip安装RetroArch

/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_get_attached_size’未定义的            引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_destroy’未定义的引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_create’未定义的引用
/usr/lib/arm-linux-gnueabihf/libSDL2.so:对‘wl_egl_window_resize’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:187: recipe for target 'retroarch' failed
make: *** [retroarch] Error 1

解决方法地址
https://old.reddit.com/r/ChipCommunity/comments/f3wxtj/pico8_symbol_lookup_error_wl_egl_window_destroy/

我的操作步骤
下载libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
地址http://chip.jfpossibilities.com/chip/debian/repo/pool/main/libs/libsdl2/libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
安装
sudo dpkg -i libsdl2-2.0-0_2.0.2+dfsg1-6_armhf.deb
对libsdl2进行了降级操作
最后重新编译通过

2020.6.21 经过测试,下面购买的那个屏幕,出现了问题,背光灯时亮时不亮,可能是电路不兼容,长时间不正常工作挂了吧,差不多2个月。所以,你们要是买了,出现了类似的问题,别过来怼我……
4.3寸IPS电阻触摸屏(300亮度)其他亮度未测试,不建议买
点击购买地址 给卖家说要300亮度的4.3寸800*480电阻触摸屏
重新编译PocketChip的dts,并用添加的这个替换面板定义
git clone https://github.com/KoljaWindeler/CHIP-dt-overlays
cd CHIP-dt-overlays/compiler/
./install.sh
cd ..
make clean all
git clone https://github.com/ntc-chip-revived/CHIP-dt-overlays.git
mv CHIP-dt-overlays/firmware/ .
mv CHIP-dt-overlays/nextthingco/ .
rm -rf CHIP-dt-overlays
make clean all
nano nextthingco/dip-pocket-common.dtsi
编辑Pocketchip文件,只需替换下面的面板定义,fragment@5 声明与5英寸800x480屏幕兼容

__overlay__ {
        panel {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "allwinner,sun4i-a10-sub-evb-5-lcd";

make clean all
sudo cp firmware/early/*.dtbo /lib/firmware/nextthingco/chip/early/
sudo reboot
TIM图片20200415140014.jpg
TIM图片20200415140552.jpg

X11视频加速 2D加速

sudo apt-get install git build-essential xorg-dev xutils-dev x11proto-dri2-dev
sudo apt-get install libltdl-dev libtool automake libdrm-dev

git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo

autoreconf -vi
./configure --prefix=/usr
make -j2

sudo make install

添加设备
sudo nano /etc/X11/xorg.conf

Section "Device"
        Identifier      "Allwinner A10/A13 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0" 
        Option          "SwapbuffersWait" "true"
EndSection

最后重启
sudo reboot

达到的效果,用SMPlayer以X11模式播放720P以下视频不再卡顿