[Arm-netbook] Can't get 512M with MeleA1000

Adrian Carter adrian at adr1an.net
Wed Sep 19 12:25:46 BST 2012


The 'rest' is used as Video RAM

On 19 September 2012 18:20, stage.nexvision <stage.nexvision at laposte.net>wrote:

> Hi,
>
> I've followed closely the wiki on "How to build Debian from source" on
> rhombus-tech.
> I have a MeleA1000 but no USB serial converter so I can't see the kernel
> console while booting.
>
> I've a working configuration of the kernel + rootfs, with a debian squeeze.
> Now, I'm trying to get the 512M available for the server, but I'm probably
> missing something since I can only get
> 395MB out of the 512MB.
>
> Here's my config:
> # cd linux-allwinner
> # git log
> commit dd70661fe7321c7f0356cf082a1577f55a5160ba
> Author: Henrik Nordstrom
> Date: Thu Jun 7 00:30:55 2012 +0200
>
> Hide MALI DRM driver if MALI is not enabled. Does not actually seem
> to depend on MALI drivers but is useless without them.
>
> commit 882b8923fa30e3d47693279b8b566e34346cc345
> Author: Henrik Nordstrom
> Date: Thu Jun 7 00:23:34 2012 +0200
>
> Clean up MALI driver integration
>
> - Can only be built as module
> - Enabled via defconfig, not hardwired in the target architecture
> - Rename CONFIG_GPU_MALI to CONFIG_MALI
> [...]
>
>
> // Attached my .config
> // Make clean & rebuild from scratch each time
>
> On the target, when it's running:
> # uname -a
> Linux CocoonSe 3.0.31+ #9 PREEMPT Sat Sep 15 14:42:55 CEST 2012 armv7l
> GNU/Linux
> # top
> top - 14:50:27 up 0 min, 1 user, load average: 1.34, 0.36, 0.12
> Tasks: 80 total, 1 running, 79 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.7%us, 0.7%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
> Mem: 395744k total, 92260k used, 303484k free, 7716k buffers
> Swap: 0k total, 0k used, 0k free, 57972k cached
> # free
> total used free shared buffers cached
> Mem: 395744 106372 289372 0 11844 67288
> -/+ buffers/cache: 27240 368504
> Swap: 0 0 0
>
> # zgrep "MALI" /proc/config.gz
> # CONFIG_MALI is not set
> zgrep "G2D" /proc/config.gz
> # CONFIG_SUN4I_G2D is not set
> # zgrep "FB" /proc/config.gz
> # CONFIG_FB is not set
> # zgrep "VIDEO" /proc/config.gz
> CONFIG_VIDEO_DEV=y
> CONFIG_VIDEO_V4L2_COMMON=y
> CONFIG_VIDEO_MEDIA=y
> CONFIG_VIDEO_V4L2=y
> CONFIG_VIDEOBUF_GEN=m
> CONFIG_VIDEOBUF_DMA_CONTIG=m
> # CONFIG_VIDEO_CAPTURE_DRIVERS is not set
> # CONFIG_VIDEO_SUN4I_CEDAR is not set
> CONFIG_VIDEO_CSI_SUN4I=y
> # CONFIG_VIDEO_OUTPUT_CONTROL is not set
>
> And finally my uboot cmdline is correctly passed:
> # cat /proc/cmdline
> console=ttyS0,115200 root=/dev/sda1 loglevel=8 panic=10 rootfstype=ext4
> rootwait mem=512M
>
> The 512M are detected by the kernel:
> # cat /proc/iomem
> [...]
> 40000000-5fffffff : System RAM
> 40031000-4073cfff : Kernel text
> 4073e000-40931367 : Kernel data
>
> I've disp_init_enable=0 in my fex file too.
>
> Any idea about what I'm missing ?
>
> Best regards,
> Cyril
>
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous
> tente ?
> Je crée ma boîte mail www.laposte.net
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120919/ebcc1347/attachment.html 


More information about the arm-netbook mailing list