<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 23/03/2012 04:57, Alejandro Martínez wrote:
<blockquote
cite="mid:CAOx6PC+N0S78WD6q_p4dBa8aGqP+BmuZAfzCgyKiQHsyzdmf=A@mail.gmail.com"
type="cite">
<div dir="ltr">If I'm not wrong, the framebuffer console was
broken :(
<div><br>
</div>
<div>I tried it on my tablet and it just didn't work (no screen
output). I think Tom tried it too and it didn't worked, and
reported it to the girl who took care of that part. Although
given the Mele is a different device, it might *just work*,
but don't be surprised if it doesn't.</div>
<div><br>
</div>
<div>Also, there's no need at all to overwrite the default
u-boot over adb. This can be used: <a moz-do-not-send="true"
href="http://rhombus-tech.net/a10_mmc_boot/">http://rhombus-tech.net/a10_mmc_boot/</a></div>
<div>A mksunxiboot bootable SD will just boot on any device
(even bricked ones) without any need to even touch the NAND.</div>
<div><br>
</div>
<div>Oh, and the device is rooted, so no problem with that :)</div>
<div><br>
</div>
<div><br>
</div>
<div>Alejandro <br>
<br>
<div class="gmail_quote">On Thu, Mar 22, 2012 at 9:54 PM,
Peter Steenbergen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:p.steenbergen@j1nx.nl">p.steenbergen@j1nx.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>This is for one of the few people that already have
the Mele A1000 device (I hope Tom puts me on the list
for the second batch, so I can get a cheap and fast
delivery for my own device). </div>
<div><br>
</div>
<div>Looking at the Rhomtech hacking howto at;</div>
<div><a moz-do-not-send="true"
href="http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/"
target="_blank">http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/</a>
</div>
<div>You need to have the UART connection to have the
u-boot and linux console. Can someone of you guys apply
the following kernel tweak (make arch=arm menuconfig)
and boot with that kernel</div>
<div><br>
</div>
Device Drivers -> Graphics support -> Console
display driver support ->
<div>
[*] Framebuffer Console support</div>
<div>[*] Map the console to the primary display device
(<- Optional, try the first one first)</div>
<div><br>
</div>
<div>The above might re-route the linux console to the
HDMI and/or VGA display device. </div>
<div><br>
</div>
<div><br>
</div>
<div>Next steps would then be;</div>
<div>1) Make sure U-boot automatically boots from MMC when
the proper files/partitions are in place at the card</div>
<div>2) Changing the default android install, such that it
allows ADB over TCP </div>
<div>
<pre style="padding-right:5px;padding-left:5px;border-bottom-width:0px;max-height:600px;padding-top:5px;text-align:left;width:auto;border-style:initial;margin-bottom:10px;border-color:initial;padding-bottom:5px;border-top-width:0px;vertical-align:baseline;line-height:18px;font-size:14px;border-right-width:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;margin-top:0px;border-left-width:0px;background-image:initial">
<code style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">setprop service</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;pa
dding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">.</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">adb</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:tr
ansparent">.</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">tcp</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">.</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-widt
h:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">port </span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent;color:rgb(128,0,0)">5555</span><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;background-color:transparent">
stop adbd
start adbd</span></code></pre>
</div>
<div>Or by using one of the "adb over wifi" apps. (Is the
android firmware on the device rooted?)</div>
<div><br>
</div>
<div><br>
</div>
<div>If we activated ADB over TCP and make sure we have an
auto-boot mmc kind of u-boot ready. We can push the
uboot image to the device over the network and the
kernel will use framebuffer support to send the console
to the normal display device.</div>
<div><br>
</div>
<div>Then other people can just download the proper uboot
image, push it to the device over TCP, and boot the
kernels and linux variants without even opening up the
device. No need for cables inside the device.</div>
<div><br>
</div>
<div>But let's start with getting the console to the right
place.</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
In the instructions (and .config), I can see the display drivers are
built as modules<br>
<ol>
<li>copy A10 display kernel module to rootfs disp.ko, lcd.ko,
hdmi.ko copy to lib/module/xxxx/</li>
</ol>
<p>This could be the reason the framebuffer console does not work.<br>
I've built a kernel with fb console and display driver built in
the kernel. Changes in the config:<br>
</p>
<p>Device Drivers -> Graphics support -> Console display
driver support -> </p>
<div>
[*] Framebuffer Console support<br>
<br>
Device Drivers -> Graphics support -><br>
[*] HDMI Driver Support (sun4i)<br>
[*] DISP Driver Support (sun4i)<br>
[*] LCD Driver Support (sun4i)<br>
<br>
I haven't received the hardware yet, so If somebody wants to try,
the kernel image (zImage) can be downloaded at
<a class="moz-txt-link-freetext" href="http://dl.dropbox.com/u/45842273/zImage_A10_fbconsole">http://dl.dropbox.com/u/45842273/zImage_A10_fbconsole</a><br>
</div>
</body>
</html>