Larry Bank

  • Content Count

    161
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Larry Bank reacted to Tido in OPI ZERO with MainLine + 3,2" TFT Touchscreen   
    Did you use the search function in top right hand corner ?
    https://forum.armbian.com/topic/6070-smartgear-multi-system-emulator-released-as-open-source
     
    https://forum.armbian.com/topic/5744-new-bb-cp-a-replacement-for-fbtft-fbcp
     
    https://forum.armbian.com/topic/5713-spi-throughput-slower-on-mainline-kernel
     
    https://forum.armbian.com/topic/5824-orange-pi-zero-graphic-programming
     
  2. Like
    Larry Bank reacted to manuti in SmartGear multi-system emulator released as open-source   
    Awesome work! 
  3. Like
    Larry Bank got a reaction from finally in SmartGear multi-system emulator released as open-source   
    I just released my multi-system game emulator (GameBoy+NES+GameGear for now). Optimized for directly outputting to SPI LCD displays (e.g. ili9341). Runs on any CPU type, but has optimizations for ARM+X64. I wrote 100% of the code, so it might be behave differently than other game emulators. GB+GG are nearly perfect. NES is missing some popular mappers. The code is very optimized to begin with, but also uses a dirty-tile system to minimize the data sent to the SPI bus. This allows inexpensive SPI displays (e.g. ili9341) to run at or near 60 frames per second for many games even though the SPI bus can only do 30FPS of full screen updates.

    https://github.com/bitbank2/sg_free

    The SPI display access uses my SPI_LCD library (https://github.com/bitbank2/SPI_LCD). This means that it doesn't need fbtft nor fbcp and can run on any Linux board. It has built-in code to talk to GPIO pushbuttons, so no special drivers/software are needed to run on "GBZ" systems. Below is a photo of SmartGear running on an Orange Pi Lite with the PiPlay Portable prototype hardware.

  4. Like
    Larry Bank reacted to finally in SmartGear multi-system emulator released as open-source   
    This is awesome! Great work!
  5. Like
    Larry Bank got a reaction from finally in SmartGear multi-system emulator released as open-source   
    https://photos.app.goo.gl/u3N8Drw54kMDl6DE2
     
  6. Like
    Larry Bank got a reaction from Naguissa in SmartGear multi-system emulator released as open-source   
    https://photos.app.goo.gl/u3N8Drw54kMDl6DE2
     
  7. Like
    Larry Bank got a reaction from manuti in SmartGear multi-system emulator released as open-source   
    I just released my multi-system game emulator (GameBoy+NES+GameGear for now). Optimized for directly outputting to SPI LCD displays (e.g. ili9341). Runs on any CPU type, but has optimizations for ARM+X64. I wrote 100% of the code, so it might be behave differently than other game emulators. GB+GG are nearly perfect. NES is missing some popular mappers. The code is very optimized to begin with, but also uses a dirty-tile system to minimize the data sent to the SPI bus. This allows inexpensive SPI displays (e.g. ili9341) to run at or near 60 frames per second for many games even though the SPI bus can only do 30FPS of full screen updates.

    https://github.com/bitbank2/sg_free

    The SPI display access uses my SPI_LCD library (https://github.com/bitbank2/SPI_LCD). This means that it doesn't need fbtft nor fbcp and can run on any Linux board. It has built-in code to talk to GPIO pushbuttons, so no special drivers/software are needed to run on "GBZ" systems. Below is a photo of SmartGear running on an Orange Pi Lite with the PiPlay Portable prototype hardware.

  8. Like
    Larry Bank got a reaction from StuxNet in SmartGear multi-system emulator released as open-source   
    I just released my multi-system game emulator (GameBoy+NES+GameGear for now). Optimized for directly outputting to SPI LCD displays (e.g. ili9341). Runs on any CPU type, but has optimizations for ARM+X64. I wrote 100% of the code, so it might be behave differently than other game emulators. GB+GG are nearly perfect. NES is missing some popular mappers. The code is very optimized to begin with, but also uses a dirty-tile system to minimize the data sent to the SPI bus. This allows inexpensive SPI displays (e.g. ili9341) to run at or near 60 frames per second for many games even though the SPI bus can only do 30FPS of full screen updates.

    https://github.com/bitbank2/sg_free

    The SPI display access uses my SPI_LCD library (https://github.com/bitbank2/SPI_LCD). This means that it doesn't need fbtft nor fbcp and can run on any Linux board. It has built-in code to talk to GPIO pushbuttons, so no special drivers/software are needed to run on "GBZ" systems. Below is a photo of SmartGear running on an Orange Pi Lite with the PiPlay Portable prototype hardware.

  9. Like
    Larry Bank got a reaction from Naguissa in SmartGear multi-system emulator released as open-source   
    I just released my multi-system game emulator (GameBoy+NES+GameGear for now). Optimized for directly outputting to SPI LCD displays (e.g. ili9341). Runs on any CPU type, but has optimizations for ARM+X64. I wrote 100% of the code, so it might be behave differently than other game emulators. GB+GG are nearly perfect. NES is missing some popular mappers. The code is very optimized to begin with, but also uses a dirty-tile system to minimize the data sent to the SPI bus. This allows inexpensive SPI displays (e.g. ili9341) to run at or near 60 frames per second for many games even though the SPI bus can only do 30FPS of full screen updates.

    https://github.com/bitbank2/sg_free

    The SPI display access uses my SPI_LCD library (https://github.com/bitbank2/SPI_LCD). This means that it doesn't need fbtft nor fbcp and can run on any Linux board. It has built-in code to talk to GPIO pushbuttons, so no special drivers/software are needed to run on "GBZ" systems. Below is a photo of SmartGear running on an Orange Pi Lite with the PiPlay Portable prototype hardware.

  10. Like
    Larry Bank got a reaction from Igor_K in bb-hole - a user level program to filter ads/malware from DNS requests   
    I just released a new library to act as a DNS filter. This differs from pi-hole in that it runs as a user-level program and doesn't depend on dnsmasq. This allows you to run it on a machine without changing your network configuration. It hasn't been rigorously tested, but appears to work properly. It can either proxy the packets to a trusted DNS server or spoof the return address using RAW sockets to route the response back to the requestor. It can fool web pages (like CNN) as it blocks ads and replaces dynamic ad script requests with innocuous javascript responses.

    https://github.com/bitbank2/bb-hole
  11. Like
    Larry Bank got a reaction from tkaiser in ArmbianIO API proposal   
    I wrote it specifically for Armbian, but it doesn't hurt to support RPI boards. This way I can test my code across a wider range of boards. I have a desk full of ARM SBCs from various vendors (including RPF). I tend to write code to support the hardware I own.
  12. Like
    Larry Bank reacted to Technicavolous in Why are you using Armbian?   
    Armbian ROCKS in a classroom environment - everyone has their own board and still things work remarkably similar.  There is very little hardware specific stuff a student needs to differentiate from the instructions given. 
     
    May not seem like much, but so far we've got 14 kids to use a board other than a RPi and 'learn linux.' (I think a couple of adults secretly use their kids Odroids late at night ...)
  13. Like
    Larry Bank reacted to zador.blood.stained in Support of Raspberry Pi   
    I don't agree that bringing here Raspberry Pi users would benefit the Armbian project.
    First, another Debian/Ubuntu derivative means fragmentation of user base - not an improvement for Raspberry Pi project.
    Second, IMO Armbian project needs more developers, experienced users/experts and maybe sponsors, and not a lot of inexperienced users who bought an SBC for no reason and now don't know what to do with it.
  14. Like
    Larry Bank reacted to tkaiser in Support of Raspberry Pi   
    The only feature that's interesting on the Raspberry Pi is that one can use the VPU correctly now (after a few years). We use RPi B+ as IP camera (even when the CPU core is clocked with just 200 MHz the VPU is able to provide a 1080p@30 fps h.264 encoded video stream) or for digital signage, often combined. In the meantime also lightweight distros exist like http://dietpi.com
     
    For everything else the RPi is always the worst choice due to its one single USB 2.0 connection to the outside.
     
    Supporting the RPi would mean Armbian either focuses on a completely new use case (desktop stuff -- VPU) or on a completely new user base (clueless people).
  15. Like
    Larry Bank got a reaction from Igor in A simple environmental/weather monitoring app   
    I just released the source code to a very simple weather monitoring app. I wrote it to run on my Orange Pi Zero and make use of a few environmental sensors (Bosch BME280 and AMS CCS811), along with a SSD1306 OLED. It records the data every ten seconds into a CSV text file.
     
    https://github.com/bitbank2/weather_mon
     
    It's just a simple idea that I had to monitor the conditions overnight in my kids' bedroom since our place doesn't heat/cool evenly.

  16. Like
    Larry Bank got a reaction from Tido in A simple environmental/weather monitoring app   
    I just released the source code to a very simple weather monitoring app. I wrote it to run on my Orange Pi Zero and make use of a few environmental sensors (Bosch BME280 and AMS CCS811), along with a SSD1306 OLED. It records the data every ten seconds into a CSV text file.
     
    https://github.com/bitbank2/weather_mon
     
    It's just a simple idea that I had to monitor the conditions overnight in my kids' bedroom since our place doesn't heat/cool evenly.

  17. Like
    Larry Bank reacted to frottier in Why are you using Armbian?   
    I voted "saving money" since noone else did.

     
    The leading answer "it's better than most OEM stuff" is certainly true as well.
     
    Our beloved el cheapo manufacturer's mode of operation is: throw spaghetti on the wall and see what sticks. Looks to me like the OPi Zero and the NanoPi Neo stuck. At least this years survey from LinuxGizmos has them not completely losing – I guess this is related to the pricing.
     
    While a 10 – 20 $ save on a project does not matter that much to me, I feel like those baords are less likely to become abandoned by the community.
  18. Like
    Larry Bank got a reaction from StuxNet in ArmbianIO API proposal   
    I know there are direct means to access GPIOs, but then I would need to write code unique to each CPU. If Armbian only supported AllWinner H3 devices, it would be an easy decision. For now, I think it's best to keep the code simpler and support all SoCs.
     
    I'm not sure where this project is headed. I don't have the time to turn it into a support-everything/do-everything library. I saw a need and I put together a simple solution. It would be great if this was given the "blessing" of Armbian and turned into a real community effort.
     
  19. Like
    Larry Bank got a reaction from Naguissa in New: BB-CP, a replacement for FBTFT + FBCP   
    I just open-sourced some code to replace fbtft and fbcp. It uses dirty-tiles to try to minimize the writes to the SPI LCD and improve the framerate. I'm working with some of the guys at sudomod to get it working on Lakka builds too. You can download it here:
     
    https://github.com/bitbank2/BB-CP
     
     
  20. Like
    Larry Bank got a reaction from tkaiser in New: BB-CP, a replacement for FBTFT + FBCP   
    I just open-sourced some code to replace fbtft and fbcp. It uses dirty-tiles to try to minimize the writes to the SPI LCD and improve the framerate. I'm working with some of the guys at sudomod to get it working on Lakka builds too. You can download it here:
     
    https://github.com/bitbank2/BB-CP
     
     
  21. Like
    Larry Bank got a reaction from gnasch in ArmbianIO API proposal   
    I just got the first version ready. It should work correctly with Orange Pi Zero, OPZ+2, Orange Pi One/lite and Nano Pi Duo boards. Please let me know if you want to try it and I'll add you as a developer to my gitlab repo. Once it's in good shape, I'll share it to everyone on github.
  22. Like
    Larry Bank got a reaction from Tido in A few new C libraries for Orange Pi boards   
    Here's my game emulators running on an Orange Pi Zero (AllWinner H2 SoC). I use the SPI_LCD library to talk directly to the LCD for better framerates than can be achieved with fbtft/fbcp:
     
     
     
    Below is a photo of a NanoPi Duo (AllWinner H2 SoC) using my oled_96 library when running my new "bb-hole" program. This is a replacement for pi-hole which acts as a DNS filter to block unwanted ads/sites. I will be releasing the source code to this shortly.
     

  23. Like
    Larry Bank got a reaction from Tido in A few new C libraries for Orange Pi boards   
    I have a running obsession with sensors/motors/SBCs and have been creating a collection of C libraries as I learn/conquer each new device. I recently added a few that might interest some of the forum residents here. They include a C library to talk to the RPI Sense Hat, ST Micro VL53L0X time of flight distance sensor, and CCS811 air quality sensor. You can find them all here:
     
    https://github.com/bitbank2
     
    If anyone has a sensor/add-on that they would like to program in C from their Orange Pi and there isn't any code available, let me know and maybe I can add it to my collection.
     
     
  24. Like
    Larry Bank got a reaction from tkaiser in A few new C libraries for Orange Pi boards   
    I have a running obsession with sensors/motors/SBCs and have been creating a collection of C libraries as I learn/conquer each new device. I recently added a few that might interest some of the forum residents here. They include a C library to talk to the RPI Sense Hat, ST Micro VL53L0X time of flight distance sensor, and CCS811 air quality sensor. You can find them all here:
     
    https://github.com/bitbank2
     
    If anyone has a sensor/add-on that they would like to program in C from their Orange Pi and there isn't any code available, let me know and maybe I can add it to my collection.
     
     
  25. Like
    Larry Bank reacted to chwe in Banana Pi Zero   
    I downloaded your image from your google drive yesterday (btw google drive is an awful storage place when you've to download large files from a console, but this small python tool helps a lot).  I mounted the fat partition and extracted script.bin from /bananapi/bpi-m2z/script.bin. A quick look at it wasn't that exciting.
     
    3. line:
    machine = "Banana Pi BPI-M2-Plus" false board name as Thomas said on one of his first posts in this thread (July 30). 
     
    183 - 190:
    [uart3] uart_used = 1 uart_port = 3 uart_type = 2 uart_tx = port:PA13<3><1><default><default> uart_rx = port:PA14<3><1><default><default> uart_rts = port:PA15<3><1><default><default> uart_cts = port:PA16<3><1><default><default> defined as uart_type 2 but rts and cts are defined. 
     
    start at line 739:
    [dvfs_table] pmuic_type = 0 pmu_gpio0 = port:PL06<1><1><2><1> pmu_level0 = 11300 pmu_level1 = 1100 max_freq = 1200000000 min_freq = 240000000 LV_count = 6 LV1_freq = 1200000000 LV1_volt = 1300 LV2_freq = 1008000000 LV2_volt = 1300 LV3_freq = 912000000 LV3_volt = 1100 LV4_freq = 648000000 LV4_volt = 1100 LV5_freq = 480000000 LV5_volt = 1100 LV6_freq = 240000000 LV6_volt = 1100  
    The only place where people see that it should be PL01 instead of PL06 is your schematics and armbians forum. 
     
    If you still asking yourself why Thomas is attacking constantly your company, this might be a valid reason. Besides playing with SBCs I'm doing in science where we have a peer review process for everything we publish.  As a peer reviewer, I would reject your 'script.bin paper' with a short comment that you should do your homework first before I have a more detailed look at it. 
     
    FYI: I didn't check everything in the script.bin and I'll not do it until you showed that things are improving. 
    BTW: PL06 is used as USB0-id, I've no clue what happens when this pin goes from high to low (or vice versa) every time the CPU clocks up if you have a USB device connected to this port...  (EDIT: https://www.maximintegrated.com/en/app-notes/index.mvp/id/1822 could be interesting if you use USB as OTG with changing roles... )