yam1

Members
  • Content Count

    58
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Calendar

Posts posted by yam1


  1. The colors seem a bit off, I tried fixing it with the following changes. Its a better approximation/mapping and also makes screen brighter but the colors still a bit off. Any ideas?

     

    for (i = 0; i < to_copy; i++) {
    +            u16 pixel = vmem16;
    +            u16 b = pixel & 0x1f;
    +            u16 g = (pixel & (0x3f << 5)) >> 5;
    +            u16 r = (pixel & (0x1f << 11)) >> 11;
    +
    +            u8 r8 = ((r & 0x1F)*4*63)/31 + 3;
    +            u8 g8 = (g & 0x3F)*4 + 3;
    +            u8 b8 = ((b & 0x1F)*4*63)/31 + 3;
    +
    +            txbuf[i * 3 + 0] = r8;
    +            txbuf[i * 3 + 1] = g8;
    +            txbuf[i * 3 + 2] = b8;
    +        }
     


  2. I finally had to chance to use this feature of debian, it gives me something like the snapshot capability of vmware. The tutorial is well written, all you have to do is to change the keywords required by the current mainline. Everything else works the same:

    setenv bootargs "boot=live live-media-path=/live union=overlay persistence persistence-media=removable ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=$...

     

    For persistence, create a USB partition named "persistence" and specify the directories you want to persist in persistence.conf. The USBs would contain all of the snapshot changes. You then decide what to do with the snapshots just like vmware.


  3. Picture from Neo Core with 3 ili9341 2.8 screens running at 48 mhz (horizontal splits seems to work better than vertical splits), with mpv playback configuration:

     

    vo=x11
    autofit=720x320
    geometry=100%x100%
    video-aspect=72:32
    sws-scaler=fast-bilinear
    hwdec=vdpau
    hwdec-codecs=all
    fs=yes
    video-sync=audio
     

     


  4. I am releasing this patch in the hope of you may find it useful. I have also included a sample dts file.  It seems to work in 48mhz quite well with very few SPI errors. (Note that the pieces of the driver has been around for some time but I have never seen it put together without further work. Hopefully this patch would make it readily usable. I have tested it on 5.5.18 and quite happy with it.)

     

     

    _4241261.JPG

    0001-fbtft-fb_ili9488.patch 1_ili9488.dts

     

    Sample file is for nanopi neo.

     

    Driver also works with 4 inch LCD, MSP4020, MSP4021


  5. I replaced all of my orange pi zeros with them as camera servers - combined with esp32s to serve as remote monitors. The one shown in previous message is a spare one to use as tool chain builder, also can be used standalone.

     

     

    1_4091246.jpg


  6. On 6/23/2019 at 1:49 AM, balbes150 said:

    install all the necessary systems (Win Debian Ubuntu etc) together and select the desired system when you turn on your PC. This is much better than using virtual versions.

    VMs are a must, hosts should not be connected to IP networks for security but the VMs can. VMs can be generated on the fly using templates (file copies).  It is far easier to blow away a file than a partition. The goal should be to run more VMs simultaneously, not rid of them. :)


  7. If you can live with hdmi being not working in the mean time, I would recommend OPI One Plus or Lite2. They are just faster H5's and they work with
    little heat sinks. I used them to compile the esp32 cross tool chain which took like two hours and they just worked. Before this I also had high hopes
    for k1 plus but it crashed like 20 minutes into the compilation - this was using the bigger stock heat sink without fan - my PCs are already making
    enough noise for me. Heat is the biggest problem for any serious computing using these boards. Note that CPU throttling worked amazingly well on these
    H6 boards, the temperature never got higher than 78C and the CPUs were throttling between 1.5/73 to 1.8/78. They are also cheaper, for the lack of
    USB's, I use a $2 hub, SPI lcd works in 4.20, but not 5.1.

    h6.jpg