IRC log of #cubox of Mon 28 Jan 2013. All times are in CET < Back to index

00:10 punkt ok, as i understand the manuals the pxa510 has two dual role interfaces, dervice/host
00:11 punkt as the cubox has two dedicated host ports, it seems tho only thing we miss here is the id pin for real otg support
00:11 punk 00:11 * punkt will hack an A to B port adapter
00:30 punkt it even gets better, it seems that pxa510 uses the chipidea usb core.
00:32 dbsx hi guys/gals. I am thinkg of building uboot with the following memory layout in flash.
00:32 dbsx 0x00000000 uboot
00:32 dbsx 0x00080000 environment
00:32 dbsx 0x00090000 the mac address
00:32 dbsx 0x000a0000 uImage
00:32 dbsx This means the kernel has to be <= 3,538,944 bytes (should be fine)
00:32 dbsx I could make the kernel space bigger with a different flash page size (4k). Does anyone know if the uboot page size can be changed from 64k to 4k ?
01:59 shesselba dbsx: it will only work with first batch of cubox with w25q32, 4k pages spi flash
01:59 shesselba m25p32 has 64k pages
03:45 dbsx shesselba: thanks, so its not arbitrary. I have tried the above and it works. Now loading uImage from flash
03:48 dbsx BTW for the supplied uboot
03:48 dbsx mtdparts=spi0.0:768k(uboot)ro,64k(uboot_env),64k(macaddr),-(kernel)
08:03 purch I built this https://github.com/vDorst/linux/tree/CuBox-v3.5.7-Patched (cubox_defconfig) with EFI enabled. It works, but if I try to do 1GB with this http://www.solid-run.com/mw/index.php/CuBox_as_NAS#change_or_control_in_.config_following_items_for_1GB_ram kernel hangs during the boot.
08:04 purch should I change vmalloc in the boot.txt and compile it or?
08:58 punkt does anybody know how the cubox usb ports vbus is connected?
09:16 dbsx try vmalloc=64M
09:16 dbsx worked for me
09:25 purch dbsx: rebuid boot.scr or can I set it on uboot console and save it?
09:25 purch rebuild
10:13 rabeeh punkt: vbus is controller via a switcher for both USB ports
10:14 rabeeh you get 1A for the two ports; and you can enable/disable it.
10:15 rabeeh it can be controlled via gpio1
11:52 purch dbsx: This should work, I think http://www.solid-run.com/mw/index.php/Debian_ArmHardFloatPort_on_CuBox#1GB_Ram
20:23 purch df -h
20:24 purch what? no drives :)
20:40 purch hmm, kirkwood drivers need some vmeta memory?
20:40 purch in 1GB kernel it fails to register that card
20:41 purch So I should give some ram to GPU and vmeta?
20:42 purch I just need spdif for mpd and usb serial console, no hdmi
21:30 purch Are there some quidelines for vmeta and gpu mem values?