[Arm-netbook] microSD breakout board, suitable for debugging using tablets.

Tom Cubie tangliang at allwinnertech.com
Tue Feb 14 01:14:27 GMT 2012


On 02/13/2012 06:07 PM, Alejandro Martínez wrote:
> I managed to make the serial console work on my Ainol Novo7Advanced
> with your instructions at http://elinux.org/Hack_A10_devices :D
>
> Some pictures of my setup: http://imgur.com/a/qkbFA
>
> I could get the kernel to boot from the Ubuntu root (I extracted it on
> top of /data and used the recovery kernel params, then booted using
> the volume key), and also the nano wifi modules working and connected
> to a wireless network (it has to be insmodded with a parameter
> pointing to the firmware folder), but after I insmod the modules for
> the LCD and mali (found on init.sun4i.rc), the system freezes after
> some seconds (the framebuffer works as quickly doing yes>/dev/fb0
> outputs pink). The same kernel and modules (the kernel on that lichee
> tar.gz) work flawlessly on Android, so I don't know what's going on.
>
> Do you know what modules have to be loaded for the display to work (or
> in what order)? using modprobe instead of insmod (after running
> depmod) also makes the system freeze.

The lcd.ko module needs the disp.ko, the order is
insmod disp.ko;insmod lcd.ko;insmod hdmi.ko

The mali.ko needs the ump.ko, insmod ump.ko first then mali.ko.

> Also, running "top" showed ~370mb of total RAM if I remember well..
> instead of the 512mb the tablet is supposed to have

Some memory are reserved for ve, fb, g2d etc. You can check out
arch/arm/mach-sun4i/core.c

> I used a Ubuntu Core image:
> http://cdimage.ubuntu.com/ubuntu-core/releases/11.10/release/ubuntu-core-11.10-core-amd64.tar.gz
>
> extracted to /data, with the root password disabled on /etc/shadow and
> those instructions for enabling a shell on the serial console:
> http://omappedia.org/wiki/OMAP_Ubuntu_Core#Getting_a_Terminal_on_the_same_serial_port_as_for_the_console
>
> and then modified the linux/paramsr to make it use the data nand
> partition instead of the recoveryo ne.
>
>
> Will try to document everything on the wiki when I have time :)
>
>
> Alejandro
>
> On Mon, Feb 13, 2012 at 7:52 AM, Tom Cubie<tangliang at allwinnertech.com>  wrote:
>> On 02/13/2012 12:38 PM, lkcl luke wrote:
>>
>> On Mon, Feb 13, 2012 at 2:06 AM, Tom Cubie<tangliang at allwinnertech.com>
>> wrote:
>>
>> On 02/13/2012 09:43 AM, lkcl luke wrote:
>>
>> On Mon, Feb 13, 2012 at 1:18 AM, Tom Cubie<tangliang at allwinnertech.com>
>>   wrote:
>>
>> I can get the lcd console either. I have reported to the girl who
>> workson the display driver the problem. She is not interested and
>> will not look at it. She said it's no use in products :(
>>
>>    what, screens are of no use??
>>
>> She means fb console,
>>
>>   ahh ok.  hm, that should be pretty straightforward.
>>
>> showing the little penguin at boot time is
>> no use in products. The lcd driver is ok when playing some test
>> videos under linux cli, no display for the console.
>>
>>   it's usually pretty straightforward to get that up-and-running, boot
>> params console=/dev/fb0 which obviously you can either set in the
>> kernel config or directly into the linux kernel source code as the
>> default _or_ set them in u-boot.  but you *have* to have the lcd etc.
>> etc. "built-in" you cannot possibly hope to have that work if you've
>> got it as a module, because, duh, it won't be loaded when it's needed,
>> will it?? :)
>>
>>   btw if you've got a "working" system that you can actually boot up
>> and get any kind of login / command-prompt (ssh over ethernet, serial
>> console) then my favourite trick to see if things are working is just
>> "echo shfjsafhajsfhsajfsadlf>  /dev/fb0" - if you see garbage in the
>> top left corner of the lcd, it's working.
>>
>>   get that working first _then_ try sorting out the boot parameters.
>>
>> l.
>>
>> _______________________________________________
>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>> Send large attachments to arm-netbook at files.phcomp.co.uk
>>
>>
>> Thank you for your clear explanation. I can get something on the lcd
>> when i "cat /dev/urandom>  /dev/fb0". But as long as i open the kernel
>> config "Framebuffer Console support" the kernel can not boot up, and
>> hang at "[LCD] lcd_module_init". There is some problem of the display
>> driver. And after complaining many times to her(her seat is next to me),
>> she agreed to look at it when she has time.
>>
>>
>> _______________________________________________
>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>> Send large attachments to arm-netbook at files.phcomp.co.uk
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
>




More information about the arm-netbook mailing list