On 06/02/2011 12:12 AM, Nicolas Pitre wrote:
This will continue to evolve as this is just the beginning for that tree, so more stuff will be merged. Only smoke tested on a Dove board, and compile tested for OMAP so far.
I just tried some testing of my Overo with the omap2plus_defconfig and my hack for what John Rigby uses for Linaro builds.
The "Linaro config" produces a compiler error. I'm assuming the config will be changing, so I haven't really looked into patching the issue. John - let me know if this is something you need my help with.
The omap2plus_defconfig comes up but I'm not getting DVI video and I'm also seeing these problems from the kernel:
Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.39-00910-g3818181-dirty (doanac@storage) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #4 SMP Thu Jun 2 14:43:32 CDT 2011 [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: Gumstix Overo [ 0.000000] Reserving 12582912 bytes SDRAM for VRAM [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp ) [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000 [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [ 0.000000] Reprogramming SDRC clock to 332000000 Hz [ 0.000000] PERCPU: Embedded 7 pages/cpu @c0f85000 s8160 r8192 d12320 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126976 [ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=720 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
<snip>
[ 0.228179] Registering NAND on CS0 [ 0.231536] Could not obtain gpio for TS PenDown: -16 [ 0.231567] kobject (c05eae78): tried to init an initialized object, something is seriously wrong. [ 0.231628] [<c0060d44>] (unwind_backtrace+0x0/0xe0) from [<c024c560>] (kobject_init+0x34/0x90) [ 0.231689] [<c024c560>] (kobject_init+0x34/0x90) from [<c029fa14>] (device_initialize+0x20/0x90) [ 0.231719] [<c029fa14>] (device_initialize+0x20/0x90) from [<c02a3898>] (platform_device_register+0x10/0x1c) [ 0.231781] [<c02a3898>] (platform_device_register+0x10/0x1c) from [<c0015910>] (overo_init+0x80/0x228) [ 0.231811] [<c0015910>] (overo_init+0x80/0x228) from [<c000b27c>] (customize_machine+0x1c/0x28) [ 0.231872] [<c000b27c>] (customize_machine+0x1c/0x28) from [<c0050664>] (do_one_initcall+0x90/0x164) [ 0.231903] [<c0050664>] (do_one_initcall+0x90/0x164) from [<c000898c>] (kernel_init+0xa4/0x154) [ 0.231933] [<c000898c>] (kernel_init+0xa4/0x154) from [<c005b094>] (kernel_thread_exit+0x0/0x8) [ 0.232055] ------------[ cut here ]------------ [ 0.232086] WARNING: at /home/doanac/linaro/code/linux-linaro-2.6.39/fs/sysfs/dir.c:455 sysfs_add_one+0x6c/0x94() [ 0.232116] sysfs: cannot create duplicate filename '/devices/platform/reg-fixed-voltage.1' [ 0.232116] Modules linked in: [ 0.232177] [<c0060d44>] (unwind_backtrace+0x0/0xe0) from [<c00915a0>] (warn_slowpath_common+0x4c/0x64) [ 0.232208] [<c00915a0>] (warn_slowpath_common+0x4c/0x64) from [<c0091638>] (warn_slowpath_fmt+0x2c/0x3c) [ 0.232269] [<c0091638>] (warn_slowpath_fmt+0x2c/0x3c) from [<c017b6e8>] (sysfs_add_one+0x6c/0x94) [ 0.232299] [<c017b6e8>] (sysfs_add_one+0x6c/0x94) from [<c017b76c>] (create_dir+0x5c/0xb4) [ 0.232330] [<c017b76c>] (create_dir+0x5c/0xb4) from [<c017b884>] (sysfs_create_dir+0xa4/0xbc) [ 0.232360] [<c017b884>] (sysfs_create_dir+0xa4/0xbc) from [<c024c800>] (kobject_add_internal+0xd0/0x1e8) [ 0.232421] [<c024c800>] (kobject_add_internal+0xd0/0x1e8) from [<c024cbec>] (kobject_add+0x68/0x8c) [ 0.232452] [<c024cbec>] (kobject_add+0x68/0x8c) from [<c029fe78>] (device_add+0xa0/0x50c) [ 0.232482] [<c029fe78>] (device_add+0xa0/0x50c) from [<c02a382c>] (platform_device_add+0x108/0x164) [ 0.232543] [<c02a382c>] (platform_device_add+0x108/0x164) from [<c0015910>] (overo_init+0x80/0x228) [ 0.232574] [<c0015910>] (overo_init+0x80/0x228) from [<c000b27c>] (customize_machine+0x1c/0x28) [ 0.232604] [<c000b27c>] (customize_machine+0x1c/0x28) from [<c0050664>] (do_one_initcall+0x90/0x164) [ 0.232635] [<c0050664>] (do_one_initcall+0x90/0x164) from [<c000898c>] (kernel_init+0xa4/0x154) [ 0.232696] [<c000898c>] (kernel_init+0xa4/0x154) from [<c005b094>] (kernel_thread_exit+0x0/0x8) [ 0.233123] ---[ end trace 1b75b31a2719ed1c ]--- [ 0.233184] kobject_add_internal failed for reg-fixed-voltage.1 with -EEXIST, don't try to register things with the same name in the same directory. [ 0.233215] [<c0060d44>] (unwind_backtrace+0x0/0xe0) from [<c024c8ec>] (kobject_add_internal+0x1bc/0x1e8) [ 0.233276] [<c024c8ec>] (kobject_add_internal+0x1bc/0x1e8) from [<c024cbec>] (kobject_add+0x68/0x8c) [ 0.233306] [<c024cbec>] (kobject_add+0x68/0x8c) from [<c029fe78>] (device_add+0xa0/0x50c) [ 0.233337] [<c029fe78>] (device_add+0xa0/0x50c) from [<c02a382c>] (platform_device_add+0x108/0x164) [ 0.233398] [<c02a382c>] (platform_device_add+0x108/0x164) from [<c0015910>] (overo_init+0x80/0x228) [ 0.233428] [<c0015910>] (overo_init+0x80/0x228) from [<c000b27c>] (customize_machine+0x1c/0x28) [ 0.233459] [<c000b27c>] (customize_machine+0x1c/0x28) from [<c0050664>] (do_one_initcall+0x90/0x164) [ 0.233489] [<c0050664>] (do_one_initcall+0x90/0x164) from [<c000898c>] (kernel_init+0xa4/0x154) [ 0.233551] [<c000898c>] (kernel_init+0xa4/0x154) from [<c005b094>] (kernel_thread_exit+0x0/0x8) [ 0.249023] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.351715] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/720 MHz
<snip>
[ 2.715759] ------------[ cut here ]------------ [ 2.720764] WARNING: at /home/doanac/linaro/code/linux-linaro-2.6.39/kernel/irq/handle.c:130 handle_irq_event_percpu+0xf8/0x1fc() [ 2.733123] irq 379 handler twl_rtc_interrupt+0x0/0x98 enabled interrupts [ 2.740356] Modules linked in: [ 2.743652] [<c0060d44>] (unwind_backtrace+0x0/0xe0) from [<c00915a0>] (warn_slowpath_common+0x4c/0x64) [ 2.753631] [<c00915a0>] (warn_slowpath_common+0x4c/0x64) from [<c0091638>] (warn_slowpath_fmt+0x2c/0x3c) [ 2.763763] [<c0091638>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00d4b30>] (handle_irq_event_percpu+0xf8/0x1fc) [ 2.774291] [<c00d4b30>] (handle_irq_event_percpu+0xf8/0x1fc) from [<c00d4c70>] (handle_irq_event+0x3c/0x5c) [ 2.784698] [<c00d4c70>] (handle_irq_event+0x3c/0x5c) from [<c00d6f4c>] (handle_edge_irq+0x124/0x160) [ 2.794494] [<c00d6f4c>] (handle_edge_irq+0x124/0x160) from [<c02af40c>] (handle_twl4030_sih+0xac/0xd4) [ 2.804443] [<c02af40c>] (handle_twl4030_sih+0xac/0xd4) from [<c02af2f0>] (twl4030_irq_thread+0xb4/0x108) [ 2.814605] [<c02af2f0>] (twl4030_irq_thread+0xb4/0x108) from [<c00ad888>] (kthread+0x7c/0x84) [ 2.823760] [<c00ad888>] (kthread+0x7c/0x84) from [<c005b094>] (kernel_thread_exit+0x0/0x8) [ 2.832611] ---[ end trace 1b75b31a2719ed1e ]---
-andy