[Arm-netbook] Booting A10 Tablet from sdcard
Johnson Chetty
johnsonchetty at gmail.com
Tue Aug 14 12:06:53 BST 2012
On 10/08/2012, Frank Zambrini <fzambrini at gmail.com> wrote:
> On Thu, 9 Aug 2012 10:38:30 +0600
> Roman Mamedov <rm at romanrm.ru> wrote:
>
>> Oh and yes, AFAIK you must also have the .bin file that enables the
>> LCD output, i.e. if your .bin is targeted at the Mele A1000/A2000 or
>> the MK802 it may have the LCD configuration disabled.
>>
>> You can convert back and forth between .bin and human-readable .fex
>> format using the fexc tool from https://github.com/amery/sunxi-tools
>>
>> Here is some documentation for the varios settings in .fex:
>> http://www.henriknordstrom.net/code/A10/doc/Crane_Fex_Guide%20v0.4%20%EF%BC%88EN).pdf
>>
>
> Wow thanks for the info. That will make things a a lot easier to
> understand.
>
>
> I made some progress yesterday. I got my wireless network set up and
> used ssh to log in and install xorg. I still couldn't get the lcd to
> turn on so I dumped the original script.bin and the one from the debian
> image and compared them. I ended up changing a few lines and was able
> to get the lcd to turn on:
>
> screen0_output_type = 3 TO screen0_output_type = 1
> lcd_pwm_pol = 0 TO lcd_pwm_pol = 1
> tvout_used = 1 TO tvout_used = 0
>
> Now when I run startx, I get a console and a cursor :)
>
> I also enabled the touchscreen parameters in script.bin and loaded the
> ft5x_ts module. Unfortunately its still unresponsive. I will have to
> look through the source to see if I can figure out whats going on.
>
I'm getting a blank screen, but with backlight on..
Kernel boots up.. loads up the ext4 filesystem, but then gives up.
My /var/logs/dmesg shows the following snippet at the end:
Could anyone please explain the output, I have added comments in line..
[ 0.680000] registered taskstats version 1
[ 0.680000] [LCD] lcd_module_init
// it reads lcd params from somewhere?
[ 1.320000] regulator_init_complete: axp20_buck3: incomplete
constraints, leaving on
[ 1.320000] regulator_init_complete: axp20_buck2: incomplete
constraints, leaving on
[ 1.320000] regulator_init_complete: axp20_ldo4: incomplete
constraints, leaving on
[ 1.320000] regulator_init_complete: axp20_ldo3: incomplete
constraints, leaving on
[ 1.320000] regulator_init_complete: axp20_ldo2: incomplete
constraints, leaving on
[ 1.320000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
[ 1.320000] sunxi-rtc sunxi-rtc: read time 2012-8-14 10:25:22
[ 1.320000] sunxi-rtc sunxi-rtc: setting system clock to 2012-08-14
10:25:22 UTC (1344939922)
[ 1.320000] Waiting for root device /dev/mmcblk0p2...
[ 1.670000] [mmc]: mmc 0 detect change, present 1
[ 1.970000] [mmc]: mmc 0 power on !!
[ 2.010000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52, RTO !!
[ 2.020000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52, RTO !!
[ 2.030000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 2.050000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 2.060000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 2.070000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 2.120000] mmc0: new high speed SDHC card at address 0002
//sdcard detected
[ 2.130000] mmcblk0: mmc0:0002 00000 3.70 GiB
[ 2.140000] mmcblk0: p1 p2
[ 2.420000] EXT4-fs (mmcblk0p2): mounted filesystem with writeback
data mode. Opts: (null)
[ 2.440000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.450000] devtmpfs: mounted
[ 2.460000] Freeing init memory: 164K
// No init? I'm using the rootfs from
http://download.doozan.com/a10/debian.wheezy.lxde.armhf.rootfs-uimage.armv7l.tar.bz2
[ 2.460000] Failed to execute /init. Attempting defaults...
[ 3.530000] sunxi_rtc_open
[ 3.540000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
[ 3.550000] sunxi-rtc sunxi-rtc: read time 2012-8-14 10:25:24
Much thanks!!
Cheers,
> _______________________________________________
> 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
>
--
Regards,
Johnson Chetty,
More information about the arm-netbook
mailing list