element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Bluetooth Unleashed Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Bluetooth Unleashed Design Challenge
  • More
  • Cancel
Bluetooth Unleashed Design Challenge
Blog BTU - Project LOKI.06 - On the Road
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jkutzsch
  • Date Created: 12 Jul 2018 2:33 AM Date Created
  • Views 566 views
  • Likes 6 likes
  • Comments 1 comment
  • raspberry pi 3 b+
  • kali
  • bluetooth unleashed design challenge
Related
Recommended

BTU - Project LOKI.06 - On the Road

jkutzsch
jkutzsch
12 Jul 2018

Okay a couple of quick updates from when I was on Vacation but still carrying the Project Loki pieces with me.

 

image

 

Here you see the parts I brought with me to work on Project Loki. Complete with a small cardboard box to act as my desk. :-)

 

In the top right is the actual Raspberry Pi 3b+, the white case holds the older 2b and the Touchscreen has a 2b as well I believe.

 

image

 

Since I want Project Loki to be portable I am going to use a previous projects touchscreen. Note to self, bring small screwdrivers with you! Ended up having to borrow a small enough one from my father in law, luckily he is a hardcore electronics enthusiast and had items I could use.

 

image

 

Big reason I took this picture was to have a reference to compare in wiring when putting the 3b+ in. Everything I have been reading states that the wiring will be the same.

 

image

 

Closer/different view.

 

image

 

There are many available guides for implementing the 7" touchscreen. I quite simply went with taking the above pictures and reconnected in the new Board. Then with power up I can see that right away I have graphics and a working bootup!

 

Working with the instructions from Re4son I did the following:

 

 

image

I have already "cd /usr/local/src/re4son-kernel_4*"

 

followed by "mount /dev/mmcblk0p1 /boot"

 

Then I attempt to: "./re4son-pi-tft-setup -u #(updates re4son-pi-tft-setup to the latest version)"

 

As you can see this did not work. It was unable to resolve the host address 'github.com'.

 

This makes perfect sense since in the instructions we don't actually add networking until later. So a quick deviation from instructions had me adding networking...

 

 


image

 

And we now have the update!

 

image

 

Using the command: "./re4son-pi-tft-setup -h"

Gives us the above options. I scrolled down a bit so we could see the Raspberry Pi 7" screen. pi70

 

image

 

Here you can see where I should have entered: ./re4son-pi-tft-setup -t <your screen> -d /home/pi

 

In my rush through of things I left off the last part with the -d /home/pi. I am attributing that to being a reason I was unable to get the screen working with the StickyPi menu.

 

image

 

As you can see it will take the command without the -d option and no errors will appear. At this time I thought I was golden!

 

image

 

Here we can see where it has flipped the screen. Which is standard for making it work with the case since that is upside down to normal. So I still think I am doing great.

 

image

 

Okay. Here is a login screen. Not what I thought I would get. I was expecting that autologin with StickyPi menu.

 

Per the instructions:

 

  • Optional: setup wifi and enable “Automatic boot into Sticky Finger’s Touch Interface”:
    kalipi-config # Configure wifi
  • # Configure boot into command line interface for user pi
  • # Change passwords for users "pi" and "root"
  • # Set location settings, etc.

 

As you can see this does state optional. And since I had not caught my earlier mistake I ended up twisting off on trying various custom options for about a week. I actually think the kalipi-config program is pretty neat and will do another short update just on that.

 

 

  • Edit “/home/pi/Kali-Pi/menu” to define your screensize, enable/disable screensaver and PIN:
    ## Adjust these:export KPSCREENSIZE=2.8
  • ## Screensize in inch, Options= 5.0, 3.5, 2.8export KPLAYOUT=9
  • ## Number of buttons - Currently only 9 is supportedexport KPPIN=0
  • ## Set to "1" to enforce PIN authentication, run ./set-pin to change PIN from "1337"
  • #export KPTIMEOUT=2
  • ## Minutes before screensaver kicks in, comment out for screensaver offexport KISMETVER=1
  • ## Set to "2" to launch kismet github version, "1" to use classic stable versionexport TFT=1
  • ## Set to "0": no TFT screen,## "1": TFT touchscreen,
  • ## "2": TFT screen with external mouse,
  • ## "3": resistive HDMI touchscreen, or
  • ## "4": Raspberry Pi 7" Touchscreen ## End adjustments

Reboot and enjoy image

Going through these options and even going to the manual options and trying some steps kept me coming right back to the same issues. No StickyPi menu. I could get it to autologin eventually by some of the manual configuration options but no menu.

 

So I turned to the maker of the menu, Re4son.

 

Well technically I first perused the forums to see if I could avoid bothering the maker but eventually did ask him for his input on why this was not working.

 

I came across a forum discussion that gave a bunch of options for a 7" touchscreen but that seemed to not be for the Raspberry Pi one. So I asked for specifics and Re4son replied back:

 

the Raspberry Pi screen should work out of the box with the Sticky Fingers image. Just run

 

cd /usr/local/src/re4son-kernel_4*

./re4son-pi-tft-setup -t pi70 -d /root

 

ah, that pesky -d option that I had missed. Though he is stating to run /root instead of /pi like his instructions.

 

Now interesting enough I get a solid black screen. So changes!

 

Asking back on the forums and Re4son said:

 

just configure “/home/pi/Kali-Pi/menu” for the Pi70, e.g:

export KPSCREENSIZE=5.0
export KPLAYOUT=9
export KPPIN=0
#export KPTIMEOUT=2
export KISMETVER=1
export TFT=4

That should do the trick

image

 

Ah a new image has appeared!

 

image

 

And we have StickyPi menu!

 

Lesson learned, make sure to note/track all your actual commands use and not what you think you used. Luckily since I was taking pictures for the blog I actually did have a copy of what I had done and was able to later see what my issue was. Unluckily due to me being on vacation I was doing a lot of work and not looking at pictures until later due to time constraints and lack of a computer to edit my pictures with for the blog. But documentation of work is good!

  • Sign in to reply

Top Comments

  • genebren
    genebren over 7 years ago +2
    Nice update on your design challenge project. Is always good to have a record of what you have done, what you are going to do and what you expect to happen. Good that you made it through and got what you…
  • genebren
    genebren over 7 years ago

    Nice update on your design challenge project.  Is always good to have a record of what you have done, what you are going to do and what you expect to happen.  Good that you made it through and got what you wanted.

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube