<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: Recent Changes]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?action=weblog_display;category=Recent%20Changes</link>
<description></description>
<pubDate>Wed, 22 May 2013 19:35:37 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Arduino]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?arduino</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: hardware</div><hr/><div class="wiki">
<h1 id="nano_3_0_atmega328p_au">Nano 3.0 Atmega328P-AU</h1>
<p>
<a target="_blank" title="(external link)" href="http://dx.com/p/arduino-nano-v3-0-81877">http://dx.com/p/arduino-nano-v3-0-81877</a></p>
<p>
but it doesn't work without bootloader</p>
<p>
<a target="_blank" title="(external link)" href="http://club.dx.com/forums/forums.dx/threadid.1185512">http://club.dx.com/forums/forums.dx/threadid.1185512</a><br />
<a target="_blank" title="(external link)" href="http://club.dx.com/forums/forums.dx/threadid.1218851">http://club.dx.com/forums/forums.dx/threadid.1218851</a></p>
<h2 id="avrdude">avrdude</h2>
<pre>
dpavlin@blue:~$ avrdude -c buspirate -P /dev/ttyUSB0 -p m328p -v

avrdude: Version 5.11.1, compiled on Mar 24 2013 at 00:54:55
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is &quot;/etc/avrdude.conf&quot;
         User configuration file is &quot;/home/dpavlin/.avrduderc&quot;
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : buspirate
         AVR Part                      : ATMEGA328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : BusPirate
         Description     : The Bus Pirate

Detecting BusPirate...
avrdude: buspirate_readline(): #
avrdude: buspirate_readline(): RE
avrdude: buspirate_readline(): Bus Pirate v3.b clone w/different PIC
avrdude: buspirate_readline(): Firmware v6.1 r1676  Bootloader v4.4
avrdude: buspirate_readline(): DEVID:0x044F REVID:0x3003 (24FJ64GA004 A3)
avrdude: buspirate_readline(): http://dangerousprototypes.com
avrdude: buspirate_readline(): HiZ&gt;
**
BusPirate: using BINARY mode
BusPirate binmode version: 1
BusPirate SPI version: 1
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as 7

avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as 7
avrdude: safemode: Fuses OK
BusPirate is back in the text mode

avrdude done.  Thank you.
</pre>
<br /><h1 id="bootloader_update">bootloader update</h1>
<p>
<a target="_blank" title="(external link)" href="http://dangerousprototypes.com/docs/Bus_Pirate_AVR_Programming">http://dangerousprototypes.com/docs/Bus_Pirate_AVR_Programming</a></p>
<p>
But <strong>which</strong> bootloader to use? (hint: not optiboot!)</p>
<pre>
dpavlin@blue:~$ ard-parse-boards nano328 bootloader.file
ATmegaBOOT_168_atmega328.hex
</pre>
<br /><p>
Ok, now flash it!</p>
<pre>
dpavlin@blue:~$ avrdude -c buspirate -P /dev/ttyUSB0 -p m328p -U flash:w:/usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex

Detecting BusPirate...
**
BusPirate: using BINARY mode
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file &quot;/usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex&quot;
avrdude: input file /usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex auto detected as Intel Hex
avrdude: writing flash (32670 bytes):

Writing | ################################################## | 100% 56.84s

avrdude: 32670 bytes of flash written
avrdude: verifying flash memory against /usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex:
avrdude: load data flash data from input file /usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex:
avrdude: input file /usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex auto detected as Intel Hex
avrdude: input file /usr/share/arduino/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex contains 32670 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 55.22s

avrdude: verifying ...
avrdude: 32670 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.
</pre>
<br /><p>
After re-flash using bus pirate as ISP from Arduino GUI fuses changed:</p>
<pre>
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK
</pre>
<br /><h1 id="add_bus_pirate_to_arduino_gui">add bus pirate to arduino GUI</h1>
<p>
<a target="_blank" title="(external link)" href="http://taylanayken.wordpress.com/2011/05/04/using-bus-pirate-with-arduino-ide/">http://taylanayken.wordpress.com/2011/05/04/using-bus-pirate-with-arduino-ide/</a></p>
<pre>
root@blue:~# grep buspirate /usr/share/arduino/hardware/arduino/programmers.txt
buspirate.name=The Bus Pirate
buspirate.communication=serial
buspirate.protocol=buspirate
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>hardware</category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?arduino</guid>
<pubDate>Wed, 22 May 2013 19:35:37 -0000</pubDate>
</item>
<item>
<title><![CDATA[Mojo]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?mojo</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: hardware</div><hr/><div class="wiki">
<h1 id="dmesg">dmesg</h1>
<pre>
[  894.003473] usb 1-3.1: new full-speed USB device number 5 using xhci_hcd
[  894.022883] usb 1-3.1: New USB device found, idVendor=03eb, idProduct=2144
[  894.022888] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[  894.022891] usb 1-3.1: Product: Mojo V2
[  894.022893] usb 1-3.1: Manufacturer: Emb Micro
[  894.022896] usb 1-3.1: SerialNumber: 84134353230351B0D1B0
[  894.023034] usb 1-3.1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[  894.039841] cdc_acm 1-3.1:1.0: ttyACM0: USB ACM device
[  894.040196] usbcore: registered new interface driver cdc_acm
[  894.040200] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
</pre>
<br /><h1 id="mojo_loader">mojo-loader</h1>
<p>
<a target="_blank" title="(external link)" href="http://embeddedmicro.com/tutorials/the-mojo/installing-mojo-loader">http://embeddedmicro.com/tutorials/the-mojo/installing-mojo-loader</a></p>
<p>
remove RXTXcomm from distribution and use one from packages</p>
<pre>
dpavlin@blue:/blue-zfs/FPGA/Mojo/mojo-loader-1.1.2/lib$ rm RXTXcomm.jar 
dpavlin@blue:/blue-zfs/FPGA/Mojo/mojo-loader-1.1.2/lib$ rm librxtxSerial.so
dpavlin@blue:/blue-zfs/FPGA/Mojo/mojo-loader-1.1.2/lib$ ln -s /usr/share/java/RXTXcomm.jar 
dpavlin@blue:/blue-zfs/FPGA/Mojo/mojo-loader-1.1.2/lib$ ln -s /usr/lib/jni/librxtxSerial.so
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>hardware</category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?mojo</guid>
<pubDate>Fri, 10 May 2013 09:55:47 -0000</pubDate>
</item>
<item>
<title><![CDATA[LG LED TV 42LH4000]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?lg_led_tv_42lh4000</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<h1 id="serial">Serial</h1>
<p>
Serial need older firmware, 3.24 is known to work, from 3.67 serial doesn't work any more!</p>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Basic_RS-232C_connection_setup">http://openlgtv.org.ru/wiki/index.php/Basic_RS-232C_connection_setup</a></p>
<p>
<a target="_blank" title="(external link)" href="http://code.google.com/p/lg-tv-command/">http://code.google.com/p/lg-tv-command/</a></p>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/How_to_log_your_TV">http://openlgtv.org.ru/wiki/index.php/How_to_log_your_TV</a> (change boud rate)</p>
<h2 id="shell_access">Shell access</h2>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Debug_mode_connection#Busybox_shell_access">http://openlgtv.org.ru/wiki/index.php/Debug_mode_connection#Busybox_shell_access</a></p>
<h1 id="firmware">Firmware</h1>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Firmware_versions_history_%28Saturn_6_models%29">http://openlgtv.org.ru/wiki/index.php/Firmware_versions_history_%28Saturn_6_models%29</a></p>
<h2 id="epak">epak</h2>
<p>
<a target="_blank" title="(external link)" href="http://ventoso.org/luca/lghacks/epak.py">http://ventoso.org/luca/lghacks/epak.py</a></p>
<h1 id="source">Source</h1>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list">http://openlgtv.org.ru/wiki/index.php/Opensource_packages_list</a></p>
<h1 id="hacks">Hacks</h1>
<h2 id="openlgtv_older">openlgtv (older)</h2>
<p>
<a target="_blank" title="(external link)" href="http://mikko.korkalo.fi/openlgtv/">http://mikko.korkalo.fi/openlgtv/</a></p>
<h2 id="lgmod">LGMOD</h2>
<p>
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/LGMOD">http://openlgtv.org.ru/wiki/index.php/LGMOD</a><br />
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Achievements">http://openlgtv.org.ru/wiki/index.php/Achievements</a><br />
<a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Customizing_LGMOD">http://openlgtv.org.ru/wiki/index.php/Customizing_LGMOD</a></p>
<h2 id="ir">IR</h2>
<ul>
<li>hardware: USB Infrared Toy v2 <a target="_blank" title="(external link)" href="http://dangerousprototypes.com/docs/USB_Infrared_Toy">http://dangerousprototypes.com/docs/USB_Infrared_Toy</a></li>
</ul>
<pre>
dpavlin@blue:~$ dmesg 
[71741.015031] usb 3-1.6.2: new full-speed USB device number 6 using ehci_hcd
[71741.110203] usb 3-1.6.2: New USB device found, idVendor=04d8, idProduct=fd08
[71741.110208] usb 3-1.6.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[71741.110211] usb 3-1.6.2: Product: USBIRtoy (CDC-232)
[71741.110213] usb 3-1.6.2: Manufacturer: DangerousPrototypes.com
[71741.110631] cdc_acm 3-1.6.2:1.0: This device cannot do calls on its own. It is not a modem.
[71741.110660] cdc_acm 3-1.6.2:1.0: ttyACM0: USB ACM device

dpavlin@blue:/etc/lirc/remote$ lsusb | grep Microchip
Bus 003 Device 007: ID 04d8:fd08 Microchip Technology, Inc.

root@blue:~# rmmod cdc_acm
root@blue:~# modprobe usbserial vendor=0x04d8 product=0xfd08



</pre>
<br /><h3 id="source">source</h3>
<pre>
dpavlin@blue:/blue$ svn co http://dangerous-prototypes-open-hardware.googlecode.com/svn/trunk/USB_IR_Toy/
</pre>
<br /><ul>
<li>sofrware: lirc <a target="_blank" title="(external link)" href="http://openlgtv.org.ru/wiki/index.php/Lirc_Remote_Hack">http://openlgtv.org.ru/wiki/index.php/Lirc_Remote_Hack</a></li>
</ul>
<pre>
dpavlin@blue:~$ sudo apt-get install lirc
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?lg_led_tv_42lh4000</guid>
<pubDate>Mon, 25 Mar 2013 09:34:43 -0000</pubDate>
</item>
<item>
<title><![CDATA[rtl-sdr]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?rtl_sdr</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<ul>
<li><a target="_blank" title="(external link)" href="http://sdr.osmocom.org/trac/wiki/rtl-sdr">http://sdr.osmocom.org/trac/wiki/rtl-sdr</a></li>
</ul>
<h1 id="dvb_t_digital_tv_receiver_usb_dongle_w_fm_remote_control_antenna_black">DVB-T Digital TV Receiver USB Dongle w/ FM / Remote Control / Antenna - Black</h1>
<p>
<a target="_blank" title="(external link)" href="http://dx.com/p/dvb-t-digital-tv-receiver-usb-dongle-w-fm-remote-control-antenna-black-149928">http://dx.com/p/dvb-t-digital-tv-receiver-usb-dongle-w-fm-remote-control-antenna-black-149928</a></p>
<pre>
dpavlin@blue:~$ lsusb | grep DVB
Bus 001 Device 007: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T

dpavlin@blue:~$ sudo rtl_test -t
[sudo] password for dpavlin: 
Found 1 device(s):
  0:  ezcap USB 2.0 DVB-T/DAB/FM dongle

Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 
No E4000 tuner found, aborting.


dpavlin@blue:/blue/rtl-sdr/rtl-sdr/build$ sudo rtl_tcp 
Found 1 device(s).
Found Rafael Micro R820T tuner
Using ezcap USB 2.0 DVB-T/DAB/FM dongle
Tuned to 100000000 Hz.
listening...
Use the device argument 'rtl_tcp=127.0.0.1:1234' in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).
</pre>
<br /><h1 id="e4000_2832u_usb_dvb_t_tv_receiver_stick">E4000+2832U USB DVB-T TV Receiver Stick</h1>
<p>
<a target="_blank" title="(external link)" href="http://dx.com/p/e4000-2832u-usb-dvb-t-tv-receiver-stick-white-black-172105">http://dx.com/p/e4000-2832u-usb-dvb-t-tv-receiver-stick-white-black-172105</a></p>
<pre>
dpavlin@blue:~$ rtl_test -t
Found 1 device(s):
  0:  Terratec T Stick PLUS

Using device 0: Terratec T Stick PLUS
Found Elonics E4000 tuner
Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0 
Benchmarking E4000 PLL...
[E4K] PLL not locked for 52000000 Hz!
[E4K] PLL not locked for 2227000000 Hz!
[E4K] PLL not locked for 1114000000 Hz!
[E4K] PLL not locked for 1274000000 Hz!
E4K range: 53 to 2226 MHz
E4K L-band gap: 1114 to 1274 MHz
</pre>
<br /><h1 id="hama_53176">Hama 53176</h1>
<ul>
<li>FC0013 tuner</li>
</ul>
<span class="nlw_phrase"><img alt="Hama1.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/Hama1.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219190449-0-5163" /><!-- wiki: {image: Hama1.jpg} --></span><br /><br /><span class="nlw_phrase"><img alt="hama2.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/hama2.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219190501-0-26438" /><!-- wiki: {image: hama2.jpg} --></span><br /><br /><span class="nlw_phrase"><img alt="hama3.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/hama3.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219190830-1-5163" /><!-- wiki: {image: hama3.jpg} --></span><br /><br /><h1 id="tv_lv5tdlx">TV LV5TDLX</h1>
<ul>
<li>FC0012 tuner</li>
</ul>
<span class="nlw_phrase"><img alt="LV51.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/LV51.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219191952-5-29255" /><!-- wiki: {image: LV51.jpg} --></span><br /><span class="nlw_phrase"><img alt="LV52.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/LV52.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219192007-0-27325" /><!-- wiki: {image: LV52.jpg} --></span><br /><span class="nlw_phrase"><img alt="LV53.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/LV53.jpg?action=attachments_download;page_name=rtl_sdr;id=20130219192024-0-27327" /><!-- wiki: {image: LV53.jpg} --></span><br /></div>
<hr/><div>Attachments: Hama1.jpg, hama2.jpg, hama3.jpg, LV51.jpg, LV52.jpg, LV53.jpg</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?rtl_sdr</guid>
<pubDate>Fri, 01 Mar 2013 10:05:06 -0000</pubDate>
</item>
<item>
<title><![CDATA[Dell PowerEdge 2900]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?dell_poweredge_2900</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#bios_upgrade">Dobrica Pavlinušić's random unstructured stuff (Bios upgrade)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Bios upgrade} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#dell_parc_6_i_firmware_update">Dobrica Pavlinušić's random unstructured stuff (Dell PARC 6/i firmware update)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Dell PARC 6/i firmware update} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><p>
<a target="_blank" title="(external link)" href="http://www.dell.com/support/troubleshooting/us/en/555/Product/poweredge-2900">http://www.dell.com/support/troubleshooting/us/en/555/Product/poweredge-2900</a></p>
<h1 id="bios_upgrade">Bios upgrade</h1>
<pre>
root@dev:/home/dpavlin# apt-get install libsmbios-bin

root@dev:/home/dpavlin# getSystemId 
Libsmbios:    2.0.3
System ID:    0x01B1
Service Tag:  F2YJY3J
Express Service Code: 32830704991
Product Name: PowerEdge 2900
BIOS Version: 2.3.1
Vendor:       Dell Inc.
Is Dell:      1

root@dev:/home/dpavlin# wget http://linux.dell.com/repo/firmware/bios-hdrs/system_bios_ven_0x1028_dev_0x01b1_version_2.7.0/bios.hdr
--2013-02-25 16:12:16--  http://linux.dell.com/repo/firmware/bios-hdrs/system_bios_ven_0x1028_dev_0x01b1_version_2.7.0/bios.hdr
Resolving linux.dell.com (linux.dell.com)... 143.166.224.62
Connecting to linux.dell.com (linux.dell.com)|143.166.224.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048668 (1.0M) [text/plain]
Saving to: `bios.hdr'

100%[===================================================================================================&gt;] 1,048,668    571K/s   in 1.8s    

2013-02-25 16:12:18 (571 KB/s) - `bios.hdr' saved [1048668/1048668]

root@dev:/home/dpavlin# modprobe dell_rbu

root@dev:/home/dpavlin# dellBiosUpdate -u -f bios.hdr 
Supported RBU type for this system: (MONOLITHIC, PACKET)
Using RBU v2 driver. Initializing Driver. 
Setting RBU type in v2 driver to: PACKET
writing (4096) to file: /sys/devices/platform/dell_rbu/packet_size
Writing RBU data (4096bytes/dot): ....................................................................................................................................................................................................................................................................
Done writing packet data.
Activate CMOS bit to notify BIOS that update is ready on next boot.
Update staged sucessfully. BIOS update will occur on next reboot.

root@dev:/home/dpavlin# reboot
</pre>
<br /><h1 id="dell_parc_6_i_firmware_update">Dell PARC 6/i firmware update</h1>
<p>
Unzip windows update and flash it with:</p>
<pre>
root@dev:/home/dpavlin/DELL_PERC-6-I-INTEGRATED_A11_R216024# megacli -AdpFwFlash -f FW612II.rom -a0
                                     
Adapter 0: PERC 6/i Integrated
Vendor ID: 0x1000, Device ID: 0x0060

Package version on the controller: 6.0.3-0002 
Package version of the image file: 6.2.0-0013 
Download Completed.     
Flashing image to adapter...
Adapter 0: Flash Completed.
Please reboot the system for the changes to take effect

Exit Code: 0x00
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?dell_poweredge_2900</guid>
<pubDate>Mon, 25 Feb 2013 15:09:10 -0000</pubDate>
</item>
<item>
<title><![CDATA[Dell PARC 6/i]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?dell_parc_6_i</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<p>
Page renamed to <a href="http://saturn.ffzg.hr/rot13/index.cgi?dell_poweredge_2900" title="(2 months)  toc http www.dell.com support troubleshooting us en 555 Product poweredge-2900 Bios upgrade .pre ro...">Dell PowerEdge 2900</a></p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?dell_parc_6_i</guid>
<pubDate>Mon, 25 Feb 2013 14:59:18 -0000</pubDate>
</item>
<item>
<title><![CDATA[STM32discovery]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?stm32discovery</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install_toolchain">Dobrica Pavlinušić's random unstructured stuff (Install toolchain)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Install toolchain} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install_openocd">Dobrica Pavlinušić's random unstructured stuff (Install openocd)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Install openocd} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#start_openocd">Dobrica Pavlinušić's random unstructured stuff (start openocd)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] start openocd} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#summon_toolchain">Dobrica Pavlinušić's random unstructured stuff (summon toolchain)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] summon toolchain} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#openocd">Dobrica Pavlinušić's random unstructured stuff (openocd)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] openocd} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><p>
STM32F100RBT6B</p>
<ul>
<li>different from <a target="_blank" title="(external link)" href="http://pulkomandy.tk/_/_Electronique/_Discovering%20the%20STM32F3%20Discovery">http://pulkomandy.tk/_/_Electronique/_Discovering%20the%20STM32F3%20Discovery</a></li>
</ul>
<pre>
dpavlin@blue:~$ lsusb | grep ST
Bus 003 Device 006: ID 0483:3744 SGS Thomson Microelectronics STLINK Pseudo disk
</pre>
<br /><h1 id="install_toolchain">Install toolchain</h1>
<pre>
dpkg --add-architecture i386
apt-get install libc6-i386
#wget https://launchpad.net/gcc-arm-embedded/4.7/4.7-2012-q4-major/+download/gcc-arm-none-eabi-4_7-2012q4-20121208-linux.tar.bz2
wget https://sourcery.mentor.com/GNUToolchain/package4463/public/arm-none-eabi/arm-2009q1-161-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

</pre>
<br /><h1 id="install_openocd">Install openocd</h1>
<pre>
dpavlin@blue:~$ sudo apt-get install openocd
dpavlin@blue:~$ dpkg -l openocd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-====================================================
ii  openocd                 0.6.1-1          amd64            Open on-chip JTAG debug solution for ARM and MIPS sy
</pre>
<br /><h2 id="start_openocd">start openocd</h2>
<p>
Disable STLINKv1 SCSI emulation, see <a target="_blank" title="(external link)" href="https://github.com/texane/stlink">https://github.com/texane/stlink</a></p>
<pre>
root@blue:~# modprobe -r usb-storage &amp;&amp; modprobe usb-storage quirks=483:3744:i

root@blue:~# sudo openocd -f /usr/share/openocd/scripts/board/stm32vldiscovery.cfg
Open On-Chip Debugger 0.6.1 (2012-12-05-01:32)
Licensed under GNU GPL v2
For bug reports, read
       http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
Info : clock speed 1000 kHz
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
</pre>
<br /><p>
Open another window and connect with telnet:</p>
<pre>
dpavlin@blue:~$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
&gt; reset init
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x08000b4c msp: 0x20000400
</pre>
<br /><h1 id="summon_toolchain">summon toolchain</h1>
<ul>
<li><a target="_blank" title="(external link)" href="https://github.com/esden/summon-arm-toolchain">https://github.com/esden/summon-arm-toolchain</a></li>
</ul>
<h2 id="openocd">openocd</h2>
<pre>
dpavlin@blue:~/sat$ sudo openocd -f /usr/share/openocd/scripts/board/stm32vldiscovery.cfg
[sudo] password for dpavlin: 
Open On-Chip Debugger 0.6.1 (2012-12-05-01:32)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
Info : clock speed 1000 kHz
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 4444
Warn : target was in unknown state when halt was requested
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0x21000000 pc: 0x080001ce msp: 0x20001ff0
</pre>
<br /><p>
From different terminal</p>
<pre>
dpavlin@blue:~/sat$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
&gt; halt
target was in unknown state when halt was requested
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0x21000000 pc: 0x080001ce msp: 0x20001ff0
&gt; 

&gt; flash write_image erase /virtual/stm32discovery/libopencm3/examples/stm32/f1/stm32vl-discovery/fancyblink/fancyblink.hex
auto erase enabled
device id = 0x10016420
flash size = 128kbytes
target state: halted
target halted due to breakpoint, current mode: Thread 
xPSR: 0x61000000 pc: 0x2000003a msp: 0x20001ff0
wrote 2048 bytes from file /virtual/stm32discovery/libopencm3/examples/stm32/f1/stm32vl-discovery/fancyblink/fancyblink.hex in 0.192207s (10.405 KiB/s)

</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?stm32discovery</guid>
<pubDate>Sun, 10 Feb 2013 17:01:39 -0000</pubDate>
</item>
<item>
<title><![CDATA[Kindle]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?kindle</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: Kindle</div><hr/><div class="wiki">
<span class="nlw_phrase"><a href="http://saturn.ffzg.hr/rot13/index.cgi/hack-B008-k3w.txt?action=attachments_download;page_name=kindle;id=20111109195144-0-31314">hack-B008-k3w.txt</a><!-- wiki: {file: hack-=B008-=k3w.txt} --></span><br /><br /><div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#kindle_3_serial_pinout">Dobrica Pavlinušić's random unstructured stuff (Kindle 3 serial pinout)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Kindle 3 serial pinout} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#links">Dobrica Pavlinušić's random unstructured stuff (Links)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Links} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#kindle_2_5_8_update_to_3_1">Dobrica Pavlinušić's random unstructured stuff (Kindle 2.5.8 update to 3.1)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Kindle 2.5.8 update to 3.1} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#client_kindle_dxg_d00801_2_5_8_555370010">Dobrica Pavlinušić's random unstructured stuff (client: Kindle DXG D00801 - 2.5.8 555370010)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] client: Kindle DXG D00801 -= 2.5.8 555370010} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#host_kindle_3g_wifi_d00901_3_1_558700031">Dobrica Pavlinušić's random unstructured stuff (Host: Kindle 3G+Wifi D00901 - 3.1 558700031)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Host: Kindle 3G+Wifi D00901 -= 3.1 558700031} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#api">Dobrica Pavlinušić's random unstructured stuff (API)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] API} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#source">Dobrica Pavlinušić's random unstructured stuff (Source)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Source} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#amazon">Dobrica Pavlinušić's random unstructured stuff (Amazon)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Amazon} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#open_source">Dobrica Pavlinušić's random unstructured stuff (Open Source)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Open Source} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#standalone_kindle_terminal">Dobrica Pavlinušić's random unstructured stuff (standalone kindle terminal)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] standalone kindle terminal} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#download_java2me">Dobrica Pavlinušić's random unstructured stuff (Download Java2ME)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Download Java2ME} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#web_server_mobi_mime_type">Dobrica Pavlinušić's random unstructured stuff (Web server mobi mime type)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Web server mobi mime type} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#wpa_supplicant">Dobrica Pavlinušić's random unstructured stuff (wpa_supplicant)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] wpa_supplicant} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#x_patch">Dobrica Pavlinušić's random unstructured stuff (X patch)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] X patch} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#kindle_diagnostic_mode">Dobrica Pavlinušić's random unstructured stuff (Kindle diagnostic mode)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Kindle diagnostic mode} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#duokan">Dobrica Pavlinušić's random unstructured stuff (Duokan)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Duokan} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#qemu">Dobrica Pavlinušić's random unstructured stuff (QEmu)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] QEmu} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#rootfs_images">Dobrica Pavlinušić's random unstructured stuff (rootfs images)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] rootfs images} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="http://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#html_to_mobi">Dobrica Pavlinušić's random unstructured stuff (HTML to mobi)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] HTML to mobi} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="kindle_3_serial_pinout">Kindle 3 serial pinout</h1>
<span class="nlw_phrase"><img alt="kindle3-serial.jpg" src="http://saturn.ffzg.hr/rot13/index.cgi/kindle3-serial.jpg?action=attachments_download;page_name=kindle;id=20130207192433-0-31092" /><!-- wiki: {image: kindle3-=serial.jpg} --></span><br /><br /><h1 id="links">Links</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=88004">http://www.mobileread.com/forums/showthread.php?t=88004</a> - download jailbreak and usbnetwork</li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.cowlark.com/kindle/getting-started.html">http://www.cowlark.com/kindle/getting-started.html</a></li>
<li><a target="_blank" title="(external link)" href="http://trac.ak-team.com/browser/Configs/trunk/Kindle/Hacks">http://trac.ak-team.com/browser/Configs/trunk/Kindle/Hacks</a></li>
</ul>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
  
  
 <div class="fetchrss_title">
   <a href="http://previous.delicious.com/dpavlin/kindle">Delicious/dpavlin/kindle</a>
 </div>


  </div>
  
 <ul class="fetchrss_items">
  
  
    
  <li class="fetchrss_item">
    <a href="http://apprenticealf.wordpress.com/">Apprentice Alf’s Blog | Everything you wanted to know about DRM and ebooks, but were afraid to ask.</a>
    
      <p class="fetchrss_description">
        If you already know that you want to remove the DRM from your ebooks, you’ve found the right place. While there are many sites that redistribute these tools, and some of the tools have their origins at other sites (mainly The Dark Reverser’s blog and I♥Cabbages blog), the most up-to-date versions of the tools are currently released here. Apprentice Alf (me) and some_updates have maintained the Kindle tools since this blog was created, and DiapDealer created and maintains the plugin versions of the tools, most of which first appeared in the set of tools distributed here.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://willus.com/k2pdfopt/">Willus.com's K2pdfopt</a>
    
      <p class="fetchrss_description">
        K2pdfopt optimizes PDF/DJVU files for mobile e-readers (e.g. the Kindle) and smartphones. It works well on multi-column PDF/DJVU files.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.youtube.com/watch?v=IQ6xxveRJSw">Amazon Kindle Fire Tablet Teardown - EEVblog #219 - YouTube</a>
    
      <p class="fetchrss_description">
        What's inside Amazon's new Kindle Fire 7" Tablet?
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://code.google.com/p/kindle-annotations/">kindle-annotations - Inserts your Kindle PDF-annotations into the PDF - Google Project Hosting</a>
    
      <p class="fetchrss_description">
        The Amazon Kindle 3 devices have got the capability to add annotations to PDF files, but stores them in a separate binary file, making it unusable for a normal PDF reader. This project aims to write the annotations back into the PDF, to allow a normal PDF reader to show the annotations you made.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.mobileread.com/forums/showthread.php?p=1808175">One more terminal emulator for kindle. - MobileRead Forums</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://blogkindle.com/2011/10/kindle-4-disassembly-part-ii/">Kindle 4 Disassembly – Part II | Amazon Kindle 3 and Kindle DX Review and News With Fire and Special Touch...</a>
    
      <p class="fetchrss_description">
        When I opened up my new Kindle 4 a few days back I got the feeling that the device is not meant to be taken apart or be serviceable. Taking it apart further would have been destructive. So I waited for another copy of Kindle 4 to show up at my doorstep before proceeding further.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.griffin.net/2010/01/hacking-the-amazon-kindle-dx-part-2-qt-and-sudoku.html">Hacking the Amazon Kindle DX, Part 2: Qt and Sudoku - Not Nearly Enough Time</a>
    
      <p class="fetchrss_description">
        I've compiled the Qt software platform for the Kindle...  and I've written plugins for the e-ink display, the keyboard, and the fiveway.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.griffin.net/2010/01/hacking-the-amazon-kindle-dx-part-2-qt-and-sudoku.html">Hacking the Amazon Kindle DX, Part 2: Qt and Sudoku - Not Nearly Enough Time</a>
    
      <p class="fetchrss_description">
        I've compiled the Qt software platform for the Kindle...  and I've written plugins for the e-ink display, the keyboard, and the fiveway.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://igorsk.blogspot.com/2007/12/hacking-kindle-part-1-getting-console.html">Reversing Everything: Hacking the Kindle part 1: getting the console</a>
    
      <p class="fetchrss_description">
        From reading the sources published by Amazon, it was clear that Kindle has a console running at least during boot. And there was an unconnected port available from outside.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://igorsk.blogspot.com/2007/12/hacking-kindle-part-1-getting-console.html">Reversing Everything: Hacking the Kindle part 1: getting the console</a>
    
      <p class="fetchrss_description">
        From reading the sources published by Amazon, it was clear that Kindle has a console running at least during boot. And there was an unconnected port available from outside.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.griffin.net/2010/01/hacking-the-amazon-kindle-dx-part-1.html">Hacking the Amazon Kindle DX, Part 1: Bluetooth Shell - Not Nearly Enough Time</a>
    
      <p class="fetchrss_description">
        However, I didn't want holes in my kindle or wires hanging around. So, what about that nice little Bluetooth module I just finished playing with as a slave device for my Nokia phone? You know, SparkFun's Bluetooth Mate?  It converts any TTL-level RS232 serial interface into a Bluetooth connection.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.griffin.net/2010/01/hacking-the-amazon-kindle-dx-part-1.html">Hacking the Amazon Kindle DX, Part 1: Bluetooth Shell - Not Nearly Enough Time</a>
    
      <p class="fetchrss_description">
        However, I didn't want holes in my kindle or wires hanging around. So, what about that nice little Bluetooth module I just finished playing with as a slave device for my Nokia phone? You know, SparkFun's Bluetooth Mate?  It converts any TTL-level RS232 serial interface into a Bluetooth connection.
      </p>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://allynstott.blogspot.com/2011/06/amazon-kindle-forensics.html">man allyn-blog: Amazon Kindle Forensics</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://allynstott.blogspot.com/2011/06/amazon-kindle-forensics.html">man allyn-blog: Amazon Kindle Forensics</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://www.eevblog.com/2010/09/03/eevblog-109-amazon-kindle-3-3ggsmwifi-6-teardown/">EEVblog #109 – Amazon Kindle 3 3G/GSM/WiFi 6″ TEARDOWN @ EEVblog – The Electronics Engineering Video Blog</a>
    
      <p class="fetchrss_description">
        Dave shows you how to take apart the new Amazon Kindle 3 3rd Generation 3G/GSM/WiFI Ebook reader, and examines and discusses the circuitry, assembly, and build quality.
And hackers can get excited about the accessible ARM JTAG port.
      </p>
    
  </li>

  
 </ul>

</div>
















<!-- wiki: {fetchrss: http://feeds.delicious.com/v2/rss/dpavlin/kindle?count==15 full}
--></div><br /><br /><h1 id="kindle_2_5_8_update_to_3_1">Kindle 2.5.8 update to 3.1</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://yifan.lu/tag/kindle/">http://yifan.lu/tag/kindle/</a></li>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=127969">http://www.mobileread.com/forums/showthread.php?t=127969</a></li>
</ul>
<pre>
# mount DXG

cp update_dxg-2.5.8-prepare_kindle.bin /mnt/usb/

# Update Your Kindle

dpavlin@t61p:~$ ls -al /mnt/usb/output/
total 694948
drwxr-xr-x 2 dpavlin dpavlin 4096 May 11 17:51 .
drwxr-xr-x 9 dpavlin dpavlin 4096 Jan 1 1970 ..
-rwxr-xr-x 1 dpavlin dpavlin 474 May 11 17:44 make-backup.log
-rwxr-xr-x 1 dpavlin dpavlin 297 May 11 16:56 make-image.log
-rwxr-xr-x 1 dpavlin dpavlin 419454976 May 11 17:51 rootfs.img
-rwxr-xr-x 1 dpavlin dpavlin 292155092 May 11 17:44 update_restore-os.bin

mkdir -p /mnt/backuppc/kindle-dxg
cp -rv /mnt/usb/output /mnt/backuppc/kindle-dxg/


# mount K3G

dpavlin@t61p:~/Downloads/kindle/kindle-updater-beta-3$ cp update_k3g-3.1-create_updater.bin /mnt/usb/

dpavlin@t61p:~$ cp /backup/kindle-dxg-output/rootfs.img /mnt/usb/
dpavlin@t61p:~$ touch /mnt/usb/NO_TTS

dpavlin@t61p:~$ sudo eject /dev/sdb

# Update Your Kindle

dpavlin@t61p:~$ mount /mnt/usb
dpavlin@t61p:~$ cp /mnt/usb/output/* /backup/kindle-k3g-output/
dpavlin@t61p:~$ sudo eject /dev/sdb


# mount DXG

dpavlin@t61p:~$ mount /mnt/usb

dpavlin@t61p:~$ cp /backup/kindle-k3g-output/update_dxg-update-os.bin /mnt/usb/
dpavlin@t61p:~$ cp /backup/kindle-k3g-output/tts-files.tar /mnt/usb/

dpavlin@t61p:~$ sudo eject /dev/sdb

# Update Your Kindle

</pre>
<br /><h2 id="client_kindle_dxg_d00801_2_5_8_555370010">client: Kindle DXG D00801 - 2.5.8 555370010</h2>
<pre>
[root@kindle root]# cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 4 (v6l)
BogoMIPS        : 1593.88
Features        : swp half thumb fastmult vfp edsp java 
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x0
CPU part        : 0xb36
CPU revision    : 4
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Mario Platform
Revision        : 31020
Serial          : &quot;B009A1A010860A1B&quot;

[root@kindle root]# cat /proc/partitions 
major minor  #blocks  name

   7     0    3510232 loop0
  31     0        128 mtdblock0
  31     1       3584 mtdblock1
  31     2         32 mtdblock2
  31     3        128 mtdblock3
  31     4       3584 mtdblock4
  31     5         64 mtdblock5
  31     6        128 mtdblock6
  31     7         24 mtdblock7
  31     8         64 mtdblock8
 179     0    3952640 mmcblk0
 179     1     409624 mmcblk0p1
 179     2      24576 mmcblk0p2
 179     3       8192 mmcblk0p3
 179     4    3510240 mmcblk0p4

[root@kindle root]# cat /proc/meminfo | head -1
MemTotal:       127128 kB

[root@kindle root]# cat /proc/cmdline 
console=ttymxc0,115200 mem=128M ro ip=none root=/dev/mmcblk0p1 lpj=2654208 panic=10 quiet

</pre>
<br /><h2 id="host_kindle_3g_wifi_d00901_3_1_558700031">Host: Kindle 3G+Wifi D00901 - 3.1 558700031</h2>
<pre>
[root@kindle root]# cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 3 (v6l)
BogoMIPS        : 511.18
Features        : swp half thumb fastmult vfp edsp java 
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x1
CPU part        : 0xb36
CPU revision    : 3
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Amazon MX35 Luigi Board
Revision        : 35020
Serial          : &quot;B006A0A0117503RS&quot;
BoardId         : &quot;SP1B000000000000&quot;

[root@kindle root]# cat /proc/meminfo | head -1
MemTotal:       256536 kB

[root@kindle root]# cat /proc/partitions 
major minor  #blocks  name

   7     0    3205336 loop0
 179     0    3907584 mmcblk0
 179     1     665628 mmcblk0p1
 179     2      24576 mmcblk0p2
 179     3       8192 mmcblk0p3
 179     4    3205344 mmcblk0p4

[root@kindle root]# cat /proc/cmdline 
console=ttymxc0,115200 mem=256M panic=10 root=/dev/mmcblk0p1 ro ip=none quiet lpj=2555904
</pre>
<br /><h1 id="api">API</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://kdk-javadocs.s3.amazonaws.com/index.html?overview-summary.html">http://kdk-javadocs.s3.amazonaws.com/index.html?overview-summary.html</a></li>
<li><a target="_blank" title="(external link)" href="http://download.oracle.com/javame/config/cdc/ref-impl/pbp1.1.2/jsr217/index.html">http://download.oracle.com/javame/config/cdc/ref-impl/pbp1.1.2/jsr217/index.html</a></li>
</ul>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
  
  
    <a href="http://adq.livejournal.com/"><img src="http://l-userpic.livejournal.com/66890024/13980852" alt="Andrew de Quincey's livejournal" border="0" width="${image.width}" height="${image.height}" /></a>

  
 <div class="fetchrss_title">
   <a href="http://adq.livejournal.com/">Andrew de Quincey's livejournal</a>
 </div>


  </div>
  
 <ul class="fetchrss_items">
  
  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/115432.html">kindle devkey problems?</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/115128.html">Kindle 3.1 jailbreak</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/114498.html">Kindle firmware 3.1</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/113734.html">Merging developer keystores on the Kindle</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/112115.html">Huffington post article on kindle hacking</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/110625.html">jrename 0.2</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/110236.html">KIF 0.5</a>
    
  </li>

  
    
  <li class="fetchrss_item">
    <a href="http://adq.livejournal.com/108011.html">KIF: an infocom text adventure interpreter for the kindle</a>
    
  </li>

  
 </ul>

</div>
















<!-- wiki: {fetchrss: http://adq.livejournal.com/data/rss?tag==kindle}
--></div><br /><br /><ul>
<li><a target="_blank" title="(external link)" href="http://code.google.com/p/adqmisc/">http://code.google.com/p/adqmisc/</a></li>
</ul>
<h1 id="source">Source</h1>
<h2 id="amazon">Amazon</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.amazon.com/gp/help/customer/display.html?ie=UTF8&amp;nodeId=200203720">http://www.amazon.com/gp/help/customer/display.html?ie=UTF8&amp;nodeId=200203720</a></li>
</ul>
<h2 id="open_source">Open Source</h2>
<ul>
<li><a target="_blank" title="(external link)" href="https://github.com/apetresc/Kindle-Widget-Toolkit">https://github.com/apetresc/Kindle-Widget-Toolkit</a></li>
<li><a target="_blank" title="(external link)" href="https://github.com/proDOOMman/KindleNote">https://github.com/proDOOMman/KindleNote</a></li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="http://code.google.com/p/kdk-emulator/">http://code.google.com/p/kdk-emulator/</a></li>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=103867">http://www.mobileread.com/forums/showthread.php?t=103867</a></li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="http://code.google.com/p/kindleflow/">http://code.google.com/p/kindleflow/</a></li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.reddit.com/r/kindle/comments/dsrjm/readabilitymod_article_mode_update_for_kindle_3/">http://www.reddit.com/r/kindle/comments/dsrjm/readabilitymod_article_mode_update_for_kindle_3/</a></li>
</ul>
<h2 id="standalone_kindle_terminal">standalone kindle terminal</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://info.iet.unipi.it/~luigi/kindle/">http://info.iet.unipi.it/~luigi/kindle/</a></li>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=125860">http://www.mobileread.com/forums/showthread.php?t=125860</a></li>
</ul>
<h1 id="download_java2me">Download Java2ME</h1>
<p>
Last version available for Linux: <a target="_blank" title="(external link)" href="http://www.oracle.com/technetwork/java/download-135801.html">http://www.oracle.com/technetwork/java/download-135801.html</a></p>
<h1 id="web_server_mobi_mime_type">Web server mobi mime type</h1>
<pre>
AddType application/x-mobipocket-ebook .mobi
</pre>
<br /><h1 id="wpa_supplicant">wpa_supplicant</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=99681">http://www.mobileread.com/forums/showthread.php?t=99681</a></li>
</ul>
<pre>
id=&quot;$(wpa_cli add_network | sed -n '2p')&quot;

wpa_cli \
set_network $id ssid &quot;UIC-Wireless&quot; \
set_network $id key_mgmt IEEE8021X \
set_network $id eap TTLS \
set_network $id identity &quot;netid-here&quot; \
set_network $id anonymous_identity &quot;anonymous&quot; \
set_network $id password &quot;password-here&quot; \
set_network $id ca_cert &quot;/mnt/us/certs/Thawte_Premium_Server_CA.pem&quot; \
set_network $id phase2 &quot;auth=PAP&quot; \
enable_network $id \
quit
</pre>
<br /><h1 id="x_patch">X patch</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://code.google.com/p/savory/source/browse/trunk/x11-on-kindle/xorg-1.6.patch">http://code.google.com/p/savory/source/browse/trunk/x11-on-kindle/xorg-1.6.patch</a></li>
</ul>
<h1 id="kindle_diagnostic_mode">Kindle diagnostic mode</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=122362">http://www.mobileread.com/forums/showthread.php?t=122362</a></li>
</ul>
<p>
touch /mnt/us/ENABLE_DIAGS</p>
<h1 id="duokan">Duokan</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.mobileread.com/forums/showthread.php?t=105316">http://www.mobileread.com/forums/showthread.php?t=105316</a></li>
</ul>
<h1 id="qemu">QEmu</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://people.debian.org/~aurel32/qemu/armel/">http://people.debian.org/~aurel32/qemu/armel/</a></li>
</ul>
<pre>
wget http://people.debian.org/~aurel32/qemu/armel/debian_lenny_armel_standard.qcow2 \
http://people.debian.org/~aurel32/qemu/armel/initrd.img-2.6.26-2-versatile \
http://people.debian.org/~aurel32/qemu/armel/vmlinuz-2.6.26-2-versatile \

qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-2-vert=/dev/sda1&quot; -m 256
</pre>
<br /><p>
Convert image to ext3 image and it will also work on Kindle using loopback mount</p>
<h2 id="rootfs_images">rootfs images</h2>
<pre>
qemu-img convert -f raw -O qcow2 /backup/kindle-dxg-output/rootfs.img dxg.qcow2

sudo mount /backup/kindle-dxg-output/rootfs.img rootfs/ -o loop,ro
</pre>
<br /><h1 id="html_to_mobi">HTML to mobi</h1>
<ul>
<li><a target="_blank" title="(external link)" href="https://dev.mobileread.com/trac/mobiperl/wiki">https://dev.mobileread.com/trac/mobiperl/wiki</a></li>
</ul>
<pre>
#!/bin/sh

dir=/home/dpavlin/Downloads/pdf/aosabook.org/www.aosabook.org/en/
list=/tmp/list
echo index.html &gt; $list
grep '&lt;td&gt;&lt;a href=&quot;' $dir/index.html | cut -d\&quot; -f2 | grep -v \# &gt;&gt; $list
ls $dir/*.html | sed &quot;s!$dir/!!&quot; &gt; /tmp/list.all

sort /tmp/list /tmp/list.s
sort /tmp/list.all /tmp/list.all.s
diff /tmp/list.s /tmp/list.all.s | grep '^&gt; ' | cut -d&quot; &quot; -f2 &gt;&gt; $list

tool_dir=`pwd`
cd $dir
$tool_dir/html2mobi \
        --mobifile /tmp/aosa.mobi \
        --title &quot;The Architecture of Open Source Applications&quot; \
        --author &quot;Amy Brown and Greg Wilson (eds.)&quot; \
        --coverimage $dir/../images/cover.jpg \
        --removejavascript \
        --imagerescale 0 \
        --gentoc \
        `cat $list`
</pre>
</div>
<hr/><div>Attachments: hack-B008-k3w.txt, kindle3-serial.jpg</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>Kindle</category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?kindle</guid>
<pubDate>Thu, 07 Feb 2013 19:26:49 -0000</pubDate>
</item>
<item>
<title><![CDATA[stl-sdr]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?stl_sdr</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<p>
Page renamed to <a href="http://saturn.ffzg.hr/rot13/index.cgi?rtl_sdr" title="(2 months)  http sdr.osmocom.org trac wiki rtl-sdr DVB-T Digital TV Receiver USB Dongle w FM Remote Control Ant...">rtl-sdr</a></p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?stl_sdr</guid>
<pubDate>Tue, 19 Feb 2013 19:03:42 -0000</pubDate>
</item>
<item>
<title><![CDATA[GK802]]></title>
<link>http://saturn.ffzg.hr/rot13/index.cgi?gk802</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<p>
Hi-802 is clone of this one</p>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.geekbuying.com/item/Unii-GK802-Fresscale-i-MX6-Quad-Dure-Cortex-A9-DDR3-1GB-RAM-8GB-ROM-TV-Box-Dongle----Black-312807.html">http://www.geekbuying.com/item/Unii-GK802-Fresscale-i-MX6-Quad-Dure-Cortex-A9-DDR3-1GB-RAM-8GB-ROM-TV-Box-Dongle----Black-312807.html</a></li>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showthread.php?t=2044045">http://forum.xda-developers.com/showthread.php?t=2044045</a></li>
<li>FULL micro-sd images <a target="_blank" title="(external link)" href="http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=51&amp;t=1113">http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=51&amp;t=1113</a></li>
<li>root <a target="_blank" title="(external link)" href="http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=50&amp;t=226&amp;start=80#p4516">http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=50&amp;t=226&amp;start=80#p4516</a></li>
<li>production, motherboard pictures <a target="_blank" title="(external link)" href="http://www.hiapad.com/?p=1994">http://www.hiapad.com/?p=1994</a></li>
</ul>
<h1 id="serial">Serial</h1>
<p>
<a target="_blank" title="(external link)" href="http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=50&amp;t=226&amp;start=210#p6651">http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=50&amp;t=226&amp;start=210#p6651</a><br />
<img alt="http://www.junklet.net/test/gk802_serial.jpg" src="http://www.junklet.net/test/gk802_serial.jpg" border="0" /></p>
<h1 id="xbmc">XBMC</h1>
<p>
external player <a target="_blank" title="(external link)" href="http://www.xbmcandroid.com/2012/12/10/how-to-install-xbmc-nightly-with-external-player-on-the-mk802-stick-or-other-android-tv-devices/">http://www.xbmcandroid.com/2012/12/10/how-to-install-xbmc-nightly-with-external-player-on-the-mk802-stick-or-other-android-tv-devices/</a></p>
<h1 id="linux">Linux</h1>
<p>
<a target="_blank" title="(external link)" href="http://www.junklet.net/test/gk802_boot.txt">http://www.junklet.net/test/gk802_boot.txt</a><br />
<a target="_blank" title="(external link)" href="https://wiki.linaro.org/Boards/MX6QSabreLite">https://wiki.linaro.org/Boards/MX6QSabreLite</a><br />
<a target="_blank" title="(external link)" href="http://boundarydevices.com/linaro-12-09-for-i-mx6/">http://boundarydevices.com/linaro-12-09-for-i-mx6/</a></p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">http://saturn.ffzg.hr/rot13/index.cgi?gk802</guid>
<pubDate>Fri, 04 Jan 2013 12:52:22 -0000</pubDate>
</item>
</channel>
</rss>