Bare metal Ultibo with openjjpeg with TFTP Server & Remote shell
This should work on either a RPi2B or RPi3B
The micro sd-card that I used was 8GB with 1 partition.
A 4GB micro sd-card should work just as well.
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 8390655 8388608 4G b W95 FAT32
these 5 files are needed on micro sd-card
MyBitmap.bmp This is a 2048 x 2048 lena in RGB format
kernel7.img This file was created with
Free Pascal Compiler FPC.
A monitor needs to be connected on the HDMI connector to display the boot
process. The RJ-45 connector needs to be connected to network that provides
DHCP and NTP services. If the RJ-45 is not connected it will take a bit
longer to boot and the TFTP & Remote shell will not be available.
This will require the transfer of files with USB apdater.
This is the latest version with a compression ratio of 125:1
12583034 --> 100660
This will create the file test.j2k
this md5sum should be
running the test_tile_decoder
~/t_ultibo/build/bin/test_tile_decoder 0 0 2048 2048 test.j2k
Adding the files kernel7.img & t_1024_125r.j2k
to the sd-card.
The file t_1024_125r.j2k on Raspbian
pi@raspberrypi3:~/t_ultibo/build/bin $ "./opj_compress -r 125 -i
~/jpeg-2000-test/bare-metal/LibC/lena_rgb_1024.bmp -o t_1024_125r.j2k"
When rebooted the display will appear like 1024_1024.jpg
The file test_wr.bmp will be created on Ultibo RPi
Let me know if you have any questions. I look forward to hearing your comments on this.
I have tested with a compression of 400:1 which further reduces the image transfer to about a 0.1 sec.
Edward Vidal Jr. e-mail develone@... 915-595-1613