Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 985EEE00C14; Tue, 29 Aug 2017 15:17:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FORGED_MUA_MOZILLA, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.6.129.253 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 2.3 FORGED_MUA_MOZILLA Forged mail pretending to be from Mozilla Received: from sonic309-17.consmr.mail.bf2.yahoo.com (sonic309.consmr.mail.bf2.yahoo.com [74.6.129.253]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E3CE2E00B8B for ; Tue, 29 Aug 2017 15:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1504045046; bh=vusqvRWKkenn2IgawdkUVMPcMDfd++0Rtjnj2Gj2jdw=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=o7vgSrmyPvFxGlleFcMrW3m4K2EZJs7jUPjvRaywXuQkPhgiK6LDoISIK4GyefZqRQuUoPnR2pPfM5Wz8wUTPZO3EDbsj7qBbqCV8JpI6I3vEGaHiqMsucJxkkx/BkqUXnomf8KrtNMaQUIWyb90Ei08xHiPVTCRR+pzTihnC7VcH3Zf2PD5leKEulHwjiC1Y2Wi47NGUn0wOe6Fuv+nxlewn/JqW3Kryk47HPvBSPCGIoTgL8HhWcA436D63vObi+XkQW/2veBPkkb7Mkb5Y6mCly8XCKWntvahHTqgbGveCJMcMm6rVFrkwHq517+1ALRJETCd9FPBQ7v4o8RW7g== X-YMail-OSG: AFj7sPQVM1l7tAp5dr7ohxg6KGJX__8D2N5UwQHowh.rN5wBg6HyeYPpE150oLi ji.yT9YJZ2rgpzacr1wAjUjU1GYGbuBBkVkY70kGcO9V_qhi3Wry96m2lgUIFhMlBobOgnu5C._V U7CuTsizMzOMKAD7IK.BN2HIcw4N4_hh3NeULEMstmxvsBU3jyp6vUnbqdL5l1RUyvcCN1M6Pmuv AUPUcnWPocmnwYKwsBWK6KgrWKbiPuoiPgx1VRLmbLsmU9rJjIz2Tn9O7bu7Nz7pAXeSUcIjYbyZ tzyFNurbD1CHVtowu6i.YUYJjy.VeIJ_0_UHfMtWCG90U7M7du1k6dLMRPn2Vwm.e62ngKi.S3j0 YpQAZ77j99WwVa53Q5RwsxG4mRKmTHT4M9T1TEiZ_Mwk0ISj42NUJgUi16cIk8.KBZdRTbemexwF jbxIuGhnD0nZg_DnC5_C_lxlkzlB.djYN2rYnsQs47EQQHphwCF.O8.oE9Ow8PZ2ALMwS8LQ2wNy .7oC7ZQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Tue, 29 Aug 2017 22:17:26 +0000 Date: Tue, 29 Aug 2017 22:17:15 +0000 (UTC) From: Edward Vidal To: "yocto@yoctoproject.org" Message-ID: <602056695.3203266.1504045035417@mail.yahoo.com> MIME-Version: 1.0 References: <602056695.3203266.1504045035417.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10451 YahooMailNeo Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36 Subject: Bare metal Ultibo with openjjpeg with TFTP Server & Remote shell X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Edward Vidal List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 22:17:28 -0000 Content-Type: multipart/alternative; boundary="----=_Part_3203265_455437891.1504045035414" ------=_Part_3203265_455437891.1504045035414 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello All,This should work on either a RPi2B or RPi3BThe micro sd-card that= I used was 8GB with 1 partition.A 4GB micro sd-card should work just as we= ll. Device =C2=A0 =C2=A0 Boot Start =C2=A0 =C2=A0 End Sectors Size Id Type/dev/= sda1 =C2=A0* =C2=A0 =C2=A0 2048 8390655 8388608 =C2=A0 4G =C2=A0b W95 FAT32 https://github.com/develone/jpeg-2000-test/tree/master/bare-metal/openjp/sd= -card =C2=A0 =C2=A0 these 5 files are needed on micro sd-card=C2=A0 =C2=A0 bootco= de.bin=C2=A0 =C2=A0 fixup.dat=C2=A0 =C2=A0 MyBitmap.bmp This is a 2048 x 20= 48 lena in RGB format=C2=A0 =C2=A0 start.elf=C2=A0 =C2=A0 kernel7.img This = file was created with=C2=A0=C2=A0 =C2=A0 Free Pascal Compiler FPC. A monitor needs to be connected on the HDMI connector to display the bootpr= ocess. The RJ-45 connector needs to be connected to network that providesDH= CP and NTP services. If the RJ-45 is not connected it will take a bitlonger= to boot and the TFTP & Remote shell will not be available. This will require the transfer of files with USB apdater.=C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 This is the latest version with a co= mpression ratio of 125:1=C2=A0 =C2=A0 12583034 --> 100660=C2=A0 =C2=A0 This= will create the file test.j2k=C2=A0 =C2=A0 tftp xx.xx.xx.xx=C2=A0 =C2=A0 b= inary=C2=A0 =C2=A0 get test.j2k=C2=A0 =C2=A0 this md5sum should be=C2=A0 = =C2=A0 c38b036fc5dbd84082f9490deb45c59e =C2=A0test.j2k=C2=A0 =C2=A0 running= the test_tile_decoder=C2=A0 =C2=A0 =C2=A0~/t_ultibo/build/bin/test_tile_de= coder 0 0 2048 2048 test.j2k=C2=A0 =C2=A0 create test_wr.bmp=C2=A0 =C2=A0= =C2=A0https://github.com/develone/jpeg-2000-test/tree/master/bare-metal/ope= njp/decomp-sd-card=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 Adding the files kernel7= .img & t_1024_125r.j2k=C2=A0 =C2=A0 to the sd-card.=C2=A0 =C2=A0 The file t= _1024_125r.j2k on Raspbian=C2=A0 =C2=A0 pi@raspberrypi3:~/t_ultibo/build/bi= n $ "./opj_compress -r 125 -i=C2=A0 =C2=A0 ~/jpeg-2000-test/bare-metal/LibC= /lena_rgb_1024.bmp -o t_1024_125r.j2k"=C2=A0 =C2=A0 When rebooted the displ= ay will appear like 1024_1024.jpg=C2=A0 =C2=A0 The file test_wr.bmp will be= created on Ultibo RPi=C2=A0 =C2=A0=C2=A0Let me know if you have any questi= ons. =C2=A0I look forward to hearing your comments on this.I have tested wi= th a compression of 400:1 which further reduces the image transfer to about= a 0.1 sec.=C2=A0Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-161= 3 ------=_Part_3203265_455437891.1504045035414 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello All,
This should work on either a RPi2B or R= Pi3B
The micro sd-ca= rd 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  * &nbs= p;   2048 8390655 8388608   4G  b W95 FAT32

https:= //github.com/develone/jpeg-2000-test/tree/master/bare-metal/openjp/sd-card<= /div>

    these 5 files are needed on micro sd-card
    bootcode.bin
    fixup.da= t
    MyBi= tmap.bmp=09This is a 2048 x 2048 lena in RGB format
    start.elf
    kernel7.im= g=09=09This file was created with 
    Free Pascal Compiler FPC.<= /div>

A monitor needs to be connected on the HDMI connector to display = the boot
process. Th= e 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 n= ot be available.
This will require the transfer of files with USB= apdater. 

 
    
    This is the latest version with a compression ra= tio of 125:1
  =   12583034 --> 100660
    This will create the file test.j2k
    tftp xx.xx.xx.xx
=
    binary
    get test.j= 2k
    thi= s md5sum should be
&= nbsp;   c38b036fc5dbd84082f9490deb45c59e  test.j2k
    running the test_t= ile_decoder
  &= nbsp;  ~/t_ultibo/build/bin/test_tile_decoder 0 0 2048 2048 test.j2k
    create = test_wr.bmp
  &= nbsp; 
https://= github.com/develone/jpeg-2000-test/tree/master/bare-metal/openjp/decomp-sd-= card
   &n= bsp;
    A= dding the files kernel7.img & t_1024_125r.j2k
    to the sd-card.
    The file t_1024_125r.= j2k on Raspbian
&nbs= p;   pi@raspberrypi3:~/t_ultibo/build/bin $ "./opj_compress -r 125 -i<= /div>
    ~/jpeg= -2000-test/bare-metal/LibC/lena_rgb_1024.bmp -o t_1024_125r.j2k"
    When rebooted th= e display will appear like 1024_1024.jpg
    The file test_wr.bmp will be created on = Ultibo RPi
  &n= bsp; 
Let me kn= ow if you have any questions.  I look forward to hearing your comments= on this.
I have tested wit= h a compression of 400:1 which further reduces the image transfer to about = a 0.1 sec.
 
Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613
<= /div> ------=_Part_3203265_455437891.1504045035414--