I ran through the installation on the '3W amp' board, and it's working
as expected, with Jivelite, button control and the correct sound card
loaded. But....
There IS an apparent difference from the line out card, in that some of
the pCP menus are more sluggish, especially the Sqeezelite page. Even
though I've set the sound output device to the HiFiBerry DAC
Zero/MiniAMP, and sound is coming from the attached speakers, the
Squeezelite page sometimes loads very slowly, and sometimes shows
'Analog' as the output device, with only a truncated list of output
devices to choose from. The 'Change Squeezelite settings' section below
the main output device section shows 'hw:CARD=sndrpihifiberry' in the
output setting.
So maybe there is a hardware difference with this version of the card.
But I don't get any difference in this behaviour whether sbpd-script.sh
is running or not. In either case the board is fully functional. So in
case there are any misunderstandings, here are the exact steps that I've
followed with both boards:
Put a fresh pcp6-b7 image on the SD card.
Whilst the SD card is still in the laptop:
Enter wifi credentials in wpa_supplicant.conf.sample and save as
wpa_supplicant.conf
Add these parameters to the end of cmdline.txt
Code:
--------------------
fbcon=map:10 fbcon=font:VGA8x16
--------------------
Boot the RPi from this SD card.
The default file system is 64mb, so for this basic setup it is not
necessary to resize the FS - I have about 7mb to spare after this setup.
Add these commands to /opt/bootlocal.sh to set up the framebuffer
Code:
--------------------
modprobe flexfb setaddrwin=0 width=240 height=240
init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3
modprobe fbtft_device name=flexfb speed=32000000 cs=1 gpios=dc:9
--------------------
Add these variables to /usr/local/etc/pcp/pcp.cfg
Code:
--------------------
JL_FRAME_BUFFER="/dev/fb1"
JL_FRAME_RATE=""
JL_FRAME_DEPTH=""
--------------------
Load the pcp-jivelite_default-qvga240squareskin.tcz extension
Install Jivelite from the Tweaks page (this step includes an automatic
backup, so accept the reboot prompt.)
Screen should show console messages during boot, then piCorePlayer
splash screen, then Jivelite ‘Choose Language’.
install pcp-sbpd.tcz
Make a /home/tc/sbpd-script.sh with the 'content shown above'
(https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen&p=962083&viewfull=1#post962083)
Make /home/tc/sbpd-script.sh executable: chmod +x
/home/tc/sbpd-script.sh
Add /home/tc/sbpd-script.sh to user commands, then save (this step
includes an automatic backup, so go to main page and reboot).
Follow 'Raplhy’s instructions'
(https://forums.slimdevices.com/showthread.php?111502-Jivelite-on-a-Pirate-Audio-240x240-screen&p=962110&viewfull=1#post962110)
to get lcd-brightness.sh
Backup and Reboot
Jivelite should be fully functional now, including navigation with the
four buttons.
Set up the Squeezelite output device, e.g. to 'HiFiBerry DAC
Zero/MiniAMP'
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix