CINXE.COM
zaurus-updater: fix typo in RO_MTD_LINE - meta-handheld - Handheld device meta layer
<!DOCTYPE html> <html lang='en'> <head> <title>zaurus-updater: fix typo in RO_MTD_LINE - meta-handheld - Handheld device meta layer</title> <meta name='generator' content='cgit 1.2.3-korg'/> <meta name='robots' content='nofollow'/> <link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/> <script type='text/javascript' src='/cgit.js'></script> <link rel='shortcut icon' href='/favicon.ico'/> <link rel='alternate' title='Atom feed' href='http://git.openembedded.org/meta-handheld/atom/?h=rocko' type='application/atom+xml'/> <link rel='vcs-git' href='git://git.openembedded.org/meta-handheld' title='meta-handheld Git repository'/> <link rel='vcs-git' href='https://git.openembedded.org/meta-handheld' title='meta-handheld Git repository'/> <link rel='vcs-git' href='https://git.openembedded.org/git/meta-handheld' title='meta-handheld Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/'>index</a> : <a href='/meta-handheld/'>meta-handheld</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='f52935969ea515ec6f6b30fd87288fe1b9c33998'/><select name='h' onchange='this.form.submit();'> <option value='danny'>danny</option> <option value='dizzy'>dizzy</option> <option value='dora'>dora</option> <option value='dunfell'>dunfell</option> <option value='dylan'>dylan</option> <option value='fido'>fido</option> <option value='gatesgarth'>gatesgarth</option> <option value='hardknott'>hardknott</option> <option value='honister'>honister</option> <option value='jethro'>jethro</option> <option value='krogoth'>krogoth</option> <option value='master'>master</option> <option value='morty'>morty</option> <option value='pyro'>pyro</option> <option value='rocko' selected='selected'>rocko</option> <option value='sumo'>sumo</option> <option value='warrior'>warrior</option> <option value='zeus'>zeus</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>Handheld device meta layer</td><td class='sub right'>Grokmirror user</td></tr></table> <table class='tabs'><tr><td> <a href='/meta-handheld/about/?h=rocko'>about</a><a href='/meta-handheld/?h=rocko'>summary</a><a href='/meta-handheld/refs/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>refs</a><a href='/meta-handheld/log/?h=rocko'>log</a><a href='/meta-handheld/tree/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>tree</a><a class='active' href='/meta-handheld/commit/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>commit</a><a href='/meta-handheld/diff/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>diff</a><a href='/meta-handheld/stats/?h=rocko'>stats</a></td><td class='form'><form class='right' method='get' action='/meta-handheld/log/'> <input type='hidden' name='h' value='rocko'/><input type='hidden' name='id' value='f52935969ea515ec6f6b30fd87288fe1b9c33998'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='rocko'/><input type='hidden' name='id' value='f52935969ea515ec6f6b30fd87288fe1b9c33998'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td><span class='libravatar'><img class='inline' src='//seccdn.libravatar.org/avatar/ea635f932375ea75eedce5f9dbcde7e9?s=13&d=retro' /><img class='onhover' src='//seccdn.libravatar.org/avatar/ea635f932375ea75eedce5f9dbcde7e9?s=128&d=retro' /></span>Andrea Adami <andrea.adami@gmail.com></td><td class='right'>2017-05-05 18:31:36 +0200</td></tr> <tr><th>committer</th><td><span class='libravatar'><img class='inline' src='//seccdn.libravatar.org/avatar/ea635f932375ea75eedce5f9dbcde7e9?s=13&d=retro' /><img class='onhover' src='//seccdn.libravatar.org/avatar/ea635f932375ea75eedce5f9dbcde7e9?s=128&d=retro' /></span>Andrea Adami <andrea.adami@gmail.com></td><td class='right'>2017-05-14 01:32:31 +0200</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/meta-handheld/commit/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>f52935969ea515ec6f6b30fd87288fe1b9c33998</a> (<a href='/meta-handheld/patch/?id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/meta-handheld/tree/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>f2f6ee54d475f3c19728a7bb49143aa150085787</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/meta-handheld/commit/?h=rocko&id=ab0c2179849e571dae7a0f2aa9b140fc5ee9ea13'>ab0c2179849e571dae7a0f2aa9b140fc5ee9ea13</a> (<a href='/meta-handheld/diff/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998&id2=ab0c2179849e571dae7a0f2aa9b140fc5ee9ea13'>diff</a>)</td></tr><tr><th>download</th><td colspan='2' class='oid'><a href='/meta-handheld/snapshot/meta-handheld-f52935969ea515ec6f6b30fd87288fe1b9c33998.tar.gz'>meta-handheld-f52935969ea515ec6f6b30fd87288fe1b9c33998.tar.gz</a><br/></td></tr></table> <div class='commit-subject'>zaurus-updater: fix typo in RO_MTD_LINE</div><div class='commit-msg'>In corner cases, if you have repartitioned one unit with 128M flash like SL-C860 without flashing the modified mainte_fix.bin provided i.e. by Cacko the loader screws and the maintenance kernel does default to the standard partitioning for 64M models. dev: size erasesize name mtd0: 006d0000 00020000 "Filesystem" mtd1: 00700000 00004000 "NAND flash partition 0" mtd2: 01e00000 00004000 "NAND flash partition 1" mtd3: 01b00000 00004000 "NAND flash partition 2" In any case, RO_MTD_LINE is the one ending with 1 while RW_MTD_LINE ends with 2 Signed-off-by: Andrea Adami <andrea.adami@gmail.com> </div><div class='diffstat-header'><a href='/meta-handheld/diff/?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>Diffstat</a></div><table summary='diffstat' class='diffstat'><tr><td class='mode'>-rw-r--r--</td><td class='upd'><a href='/meta-handheld/diff/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>recipes-bsp/zaurus-utils/zaurus-updater/updater.sh</a></td><td class='right'>2</td><td class='graph'><table summary='file diffstat' width='2%'><tr><td class='add' style='width: 50.0%;'/><td class='rem' style='width: 50.0%;'/><td class='none' style='width: 0.0%;'/></tr></table></td></tr> </table><div class='diffstat-summary'>1 files changed, 1 insertions, 1 deletions</div><table summary='diff' class='diff'><tr><td><div class='head'>diff --git a/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh b/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh<br/>index bfb6de4..d724a48 100644<br/>--- a/<a href='/meta-handheld/tree/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh?h=rocko&id=ab0c2179849e571dae7a0f2aa9b140fc5ee9ea13'>recipes-bsp/zaurus-utils/zaurus-updater/updater.sh</a><br/>+++ b/<a href='/meta-handheld/tree/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh?h=rocko&id=f52935969ea515ec6f6b30fd87288fe1b9c33998'>recipes-bsp/zaurus-utils/zaurus-updater/updater.sh</a></div><div class='hunk'>@@ -70,7 +70,7 @@ UNPACKED_ROOTFS=0 # spitz only</div><div class='ctx'> </div><div class='ctx'> RO_MTD_LINE=`cat /proc/mtd | grep "root" | tail -n 1`</div><div class='ctx'> if [ "$RO_MTD_LINE" = "" ]; then</div><div class='del'>- RO_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<2\>" | tail -n 1`</div><div class='add'>+ RO_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<1\>" | tail -n 1`</div><div class='ctx'> fi</div><div class='ctx'> RO_MTD_NO=`echo $RO_MTD_LINE | cut -d: -f1 | cut -dd -f2`</div><div class='ctx'> RO_MTD=/dev/mtd$RO_MTD_NO</div></td></tr></table></div> <!-- class=content --> <div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit 1.2.3-korg</a> (<a href='https://git-scm.com/'>git 2.39.0</a>) at 2024-11-29 09:13:27 +0000</div> </div> <!-- id=cgit --> </body> </html>