Has anyone gotten the 7" BB-view to work with the current recommended image from 3-1-2015?
as a beginner i thank you so much for this!
It worked out well until I got to the part, where I should copy the ne kernel to the "/boot/uboot" directory on the BBB.
I was able, to copy the file to the BBB, even to different directories. But on my beagle, i cannot find "boot/uboot".
If i am in "root@beaglebone:/boot#" and run "ls", it shows me other files (,am335....dtb, omap....dtb, uImage, uEnv.txt) but no other folder..
So my questions are:
Where can I find the correct directory and what is the name of the "old" kernel i have to overwrite ?
Would be great, if you could help me!
i recently bought the BB-View 7' for one hundred euros and now i am totally frustrated !!
1.) I downloaded the image of TI -> works fine including the touchpad, but only demo-functions. Great, it's not possible to leave this demo...
2.) With an old debian image 3.8.13-bone47 ( the original image when i bought this part ), i bring it to work. Everything is fine, but the Touchpad doesn't work correct
X and Y swapped, why ? on the shop page i read "debian support".
3.) So i tried the descriptions of Louis.
Everything works until the line "./tools/rebuild.sh" there comes an error not finding BB-VIEW-LCD7-01-00A0.dtbo --> thats clear because in the Angstrom Sources
there is no BB-VIEW-LCD7-01-00A0.dts there is only A1,A2,A3,A4. So trying A4 but no luck.
why ? on the shop page i read "debian support".
4.) Next point : in the image described above there is a /uboot/ folder with a zImage. In the currrent image there is no "zImage" anymore . The folder /boot/uboot is empty.
Instead there are a lot of other files, so copying a zImage to this folder doesn't have any effect.
5.) I cannot find any Angstrom image that automatically flashes to eMMc. All that i have tried are only booting from sd-card. So i cannot try the bb-view with angstrom
No my question to anyone visiting this forum :
a) Is there any solution to swap X and Y without kernel modification/compilation/patching.... ?
b) Is there a possibility to work with bb-view without spending days of searching for solutions, and without compiling a new kernel ?
c) Why there is no real support for debian, the BBB is shipped with debian no with angstrom ?
d) Why is nobody of element14 or farnell interested in a solution. Do they only sell and forget ?
Maybe i have to say i am a programmer, and not a "kernel-patcher" or "linux-freak".
Thanks for your answer, but believe me i read it more than once. And if you search in this document for "debian" -> 0 matches.
So i think this pdf is old and useless, because it describes angstrom but in the meantime bbb is shipped with debian.
And as i wrote above , the description in this pdf of ti-sdk works.
But i gave it a last try, and i found a way to make it work ! ( Ok it's not the newest debian, but it works and you don't have to compile soemthing )
1.) Download and install following this debian image : debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
2.) Download "Debian Image" and unzip from here : element14: BB View LCD Cape Software Download Centre
3.) Copy the files from 2 to BBB ( i copied it to /home/debian ) and execute following commands :
$ cp -f /home/debian/zImage /boot/uboot
$ cp -f /home/debian/*.dtb /boot/uboot/dtbs
$ tar -xvf /home/debian/kernel_modules.tar.gz -C /
$ cp -f /home/debian/xorg.conf /etc/X11/
$ sudo nano /boot/uboot/uEnv.txt ( Edit uEnv.txt and insert the following two lines )
( Save and Exit )
5.) Shutodown BBB, attach BB-VIEW and reboot, that's it
6.) And by the way : When you calibrate the touchscreen, be sure that you don't have a mouse attached. Otherwise it does'nt work correct ( in my case X-Y switched ).
I already got my BB-View 4.3 up and running since a few months. Since I'm not an expert in these hw topics and linux related things I need some helps with adjusting the screen brightness (backlight).
The 4D LCD capes are using some simple commands:
echo 100 > brightness
I had a look into the DTS and found on line 68 "pwm_bl_pins" which are set to "gpmc_a2.ehrpwm1a".
If I understood it correctly it should be addressable at "/sys/class/pwm/xxx".
But there is nothing useable at this path.
Any help on screen brightness adjusting would be great.
after some time I found the solution.
For anyone who also needs this
e.g. to set the backlight to 50% brightnesst use...
echo 50 > /sys/class/backlight/backlight.11/brightness
I'm having a go myself right now. Of all the "info" I've trawled through only that posted by hans-germany Aug 31, 2015 8:11 AM works! Incredibly frustrating. However - the BBV is up and running but SSH is down. I am now going to try a new debian image.
Also bought a circuitCo LCD. Works well with Angstrom - but off course that's old/unsupported now - which means I can't install the linux headers - so no good to me.
Just as well I'm not working right now - so I'm spending many hours on this at the moment.
What I want is a working BB / LCD / linux headers (so I can compile a wifi dongle) / expanded cape supporting more interfaces / developing python qt apps to run on the lcd. That's the aim and so the pain :-)
I'll answer this myself.
Operating the product has been a nightmare. Forum assistance is left wanting. So many red herrings etc etc.
For example - loading the latest and greatest debian image to get the BBView to work. Yep - it works, but then I couldn't SSH into the device. I need SSH to install the headers so i can get the wifi dongle to work. Surely an image release must insure that core functionality still works.
Having to rebuild the kernal to get things to "work" ? What on earth are you playing at?
Right - after much head banging...... I found Windows toolchain for Beaglebone. Jesus! But I had to do other stuff too. I installed beaglebone-gcc4.6.3-Debian-r2.exe (282 MB) onto an SD card. I then installed a tool (can't remember - but its online) that generates dtbo files from dts/dtb (again can't remember the specifics but its online). I moved the dtbo file to /lib/firmware. The BBView did not work - BUT - the Circuico LCD7 DID! I was able to SSH too! Miracle! I installed the qt toolchain and now I have this:
It shouldn't be this difficult to get this far.........
I thought some others might like to know how to get the BB-View working under the latest Debian beta images.
Unfortunately, you are going to have to recompile the Kernel. The video works fine without a recompile (the red/blue swap is easy to fix), but the touchscreen control connections are not the same as the standard TI 4-wire interface. I tried to patch the ti_am335x_tsc.c file, so the changes would be limited to a dts recompile, but I haven't been able to get that working yet (I'm pretty sure it is a state machine / bit assignment issue). But anyway, here are the steps that you need to perform.....
1) Download the necessary files
a) Robert Nelson's handy tools for compiling the Beaglebone kernel
b) BB-View source for Angstrom
2) Build the default kernel
3) Patch the Kernel and perform a fast recompile
4) Copy the new kernel to the Beaglebone
5) Edit the xorg.conf file to correct the Red/Blue color swap
6) Revel in the 4 days you just saved
Let's Get Started
I am using Ubuntu 12.04 LTS 64 bit running in a VirtualBox VM to compile the kernel:
Make a new folder called bb-view, this is where our build will happen.
> mkdir bb-view
> cd bb-view
Install git, if you haven't already:
> apt-get install git
Clone Robert Nelson's linux-dev project locally. Be prepared for a large download (~100 Mb for the cross-compiler and ~700 Mb for the kernel source).
> git clone https://github.com/RobertCNelson/linux-dev.git
Change into the new linux-dev folder and select branch/tag that matches the Debian version.
> cd linux-dev
> git checkout 3.8.13-bone37 -b tmp
Now we need to build the base image, so our cape drivers folder gets populated. The script will tell you if you need to do or install anything else.
Come back in an hour or so.....(You might want to download the Angstrom source from element14 now)
Patching the Kernel
Extract two files from the Angstrom source:
> unzip angstrom-source.zip
> tar -zxf bb-black-kernel-3.8.13-bb-view.tar.bz2
> cp ./kernel/kernel/drivers/input/touchscreen/ti_am335x_tsc.c ~/bb-view/linux-dev/KERNEL/drivers/input/touchscreen/
> cp ./kernel/kernel/firmware/capes/BB-VIEW-LCD7-01-00A0.dts ~/bb-view/linux-dev/KERNEL/firmware/capes/
Now we need to let the compiler know that we want to add the firmware to the build:
> nano ~/bb-view/linux-dev/KERNEL/firmware/Makefile
Add the following line somewhere near line 192 (CTRL-C will display current cursor position):
Don't forget the trailing backslash....it is important. Now save and exit by doing CTRL-O, Enter, CTRL-X.
Change back to the linux-dev root folder:
> cd ~/bb-view/linux-dev
Now issue the kernel rebuild command, this won't take very long at all:
Copy Kernel to BBB
The following instructions assume that you already have the Debian beta installed and booted up on the BBB.
The easiest way is to copy the files over the network, via the 'scp' command:
> scp ~/bb-view/linux-dev/deploy/3.8.13-bone37.zImage email@example.com:/home/debian
Replace debian (both instances) with the username you are running on the BBB and 192.168.7.2 with the IP address of the BBB.
Now log into the BBB and copy the kernel image to the boot partition:
> ssh firstname.lastname@example.org
bbb> sudo cp 3.8.13-bone37.zImage /boot/uboot/zImage
We need to do one more thing before the LCD will work. Since the cape doesn't have an EEPROM, we need to black-list the HDMI drivers and force-load the BB-VIEW drivers in the boot command file:
bbb> sudo nano /boot/uboot/uEnv.txt
Find the "optargs" line and edit it to be:
Notice that the preceding "#" has been removed. You don't want to disable BB-BONE-EMMC-2G, or you won't be able to boot from eMMC.
Now save and exit by doing CTRL-O, Enter, CTRL-X.
Reboot the BBB and the LCD should now work....except the blue and red are reversed.
Fixing Red/Blue Color Swap
This is due to errata in the TI AM335x processor when switching between 16 and 24 bit video modes. To fix this, we must first find the name of our screen:
> ssh email@example.com
bbb> cat /var/log/Xorg.0.log | grep screen
Mine was "Builtin Default fbdev Screen 0"
Now we edit our X configuration file:
bbb> sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
and add a "Screen" section at the end of the file:
Identifier "Builtin Default fbdev Screen 0"
Monitor "Configured Monitor"
Device "Configured Video Device"
Save and exit by doing CTRL-O, Enter, CTRL-X.
Reboot and enjoy!