Jump to content

    
Sign in to follow this  
АДИКМ

плата на 9260

Recommended Posts

... платы 9260 - www.siberia-ge.com ...
Разработчики обещали выложить четвертую часть о сборке ядра. Возможно даже скоро.

P.S. Пробовал залить windows ce 5 и 6 версии - работает, только винда хочет сеть и все тут, тестовые образы брал с сайта adeneo

Share this post


Link to post
Share on other sites
Вопрос к тем, у кого есть такая плата. Как у нее с производительностью видео. Интересует количество кадров/с
Если объективно, то не "поиграешься", частоту кадров не замерял, но их достаточно для работы... впритык :unsure: . Видеоконтроллер всё же на одной шине с памятью сидит. (почти как на старых метеринках с интегрированным видео: чем больше загрузка проца, обращений к памяти, тем больше видео тормозит).

Share this post


Link to post
Share on other sites

Получил сегодня исходники ядра к плате. Цитирую письмо

Project tree:

Bootstrap-v1.11

u-boot-1.3.4

linux-2.6.27

 

0. Toolchain:

Download from http://www.codesourcery.com/sgpp/lite/arm/releases/2007q1-21 for ARM GNU/Linux & IA32 GNU/Linux

unpack to /opt/codesourcery/arm-2007q1

 

1. Bootstrap:

unpack

copy Bootstrap-v1.11-siberia.diff to Bootstrap-v1.11/

cd Bootstrap-v1.11/

patch -p1 < Bootstrap-v1.11-siberia.diff

./go_build_bootstrap.sh

Result: dataflash_at91sam9260ek.bin in Build/

 

2. U-boot

Download ftp://ftp.denx.de/pub/u-boot/u-boot-1.3.4.tar.bz2

unpack

copy u-boot-1.3.4-exp.diff & u-boot-1.3.4-siberia.diff to u-boot-1.3.4/

cd u-boot-1.3.4/

patch -p1 < u-boot-1.3.4-exp.diff

patch -p1 < u-boot-1.3.4-siberia.diff

./go_u-boot.sh

Result: u-boot.bin

 

3. Kernel

Download http://www.kernel.org/pub/linux/kernel/v2....-2.6.27.tar.bz2

unpack

copy 2.6.27-at91.patch & linux-2.6.27-siberia.diff to linux-2.6.27/

cd linux-2.6.27/

patch -p1 < 2.6.27-at91.patch

patch -p1 < linux-2.6.27-siberia.diff

./go.sh

Result: uKernel

 

patches.txt -> patches.tar.bz2

patches.txt

Share this post


Link to post
Share on other sites

3. Kernel
Download http://www.kernel.org/pub/linux/kernel/v2....-2.6.27.tar.bz2
unpack
copy 2.6.27-at91.patch & linux-2.6.27-siberia.diff to linux-2.6.27/
cd linux-2.6.27/
patch -p1 < 2.6.27-at91.patch
patch -p1 < linux-2.6.27-siberia.diff
./go.sh
Result: uKernel

Кто-нибудь собирал с этим патчам ( linux-2.6.27-siberia.diff)? У меня не хочет. Придется разбираться.

Ядро со своим конфигом и "официальными" патчами (указанными на linux4sam) собирается без проблем.

Share this post


Link to post
Share on other sites
Кто-нибудь собирал с этим патчам ( linux-2.6.27-siberia.diff)? У меня не хочет. Придется разбираться.

Ядро со своим конфигом и "официальными" патчами (указанными на linux4sam) собирается без проблем.

Скопировал папку /include/asm-arm в /include/asm

Share this post


Link to post
Share on other sites

Кто то уже пробовал подключать в этом ядре поддержку NAND FLASH mtd partion?

 

А то у меня возникли некотрые трудности

Привожу часть лога загрузки

 

NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)                                                                                                    
Unable to handle kernel paging request at virtual address 253e373c                                                                                                                  
pgd = c0004000                                                                                                                                                                      
[253e373c] *pgd=00000000                                                                                                                                                            
Internal error: Oops: 5 [#1]                                                                                                                                                        
Modules linked in:                                                                                                                                                                  
CPU: 0    Not tainted  (2.6.27 #619)                                                                                                                                                
PC is at strnlen+0x20/0x34                                                                                                                                                          
LR is at string+0x34/0xbc                                                                                                                                                           
pc : [<c01455b8>]    lr : [<c01462f4>]    psr: a0000093                                                                                                                             
sp : c3819bf8  ip : c3819c08  fp : c3819c04                                                                                                                                         
r10: ffffffff  r9 : c0334ce4  r8 : 00000000                                                                                                                                         
r7 : 253e373c  r6 : c0334ce4  r5 : ffffffff  r4 : c03348f9                                                                                                                          
r3 : ffffffff  r2 : 253e373c  r1 : fffffffe  r0 : 253e373c                                                                                                                          
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel                                                                                                                
Control: 0005317f  Table: 20004000  DAC: 00000017                                                                                                                                   
Process swapper (pid: 1, stack limit = 0xc3818268)                                                                                                                                  
Stack: (0xc3819bf8 to 0xc381a000)                                                                                                                                                   
9be0:                                                       c3819c24 c3819c08                                                                                                       
9c00: c01462f4 c01455a8 00000008 00000000 c03348f9 c3819e10 c3819d54 c3819c28                                                                                                       
9c20: c0146b7c c01462d0 ffffffff 00000000 ffffffff 00000002 00000400 c03348e4                                                                                                       
9c40: ffffffff c02f6b1f 00000000 00000004 c3819c74 c3819c60 c0037e10 c0078478                                                                                                       
9c60: c3826660 c3826660 c3819c8c c3819c78 c3819ca4 c3819c80 c0175410 c01782a8                                                                                                       
9c80: c3819c9c c03424b4 00000000 00000000 00000000 c03208a8 c3819cc4 c3819ca8                                                                                                       
9ca0: c0178310 c01753d4 c032a8f4 00000d87 00000051 c03208a8 c3819ce4 c3819cc8                                                                                                       
9cc0: c0039ac8 c01782d0 00000dd8 c03208a8 60000093 00000dd8 c3819cfc c3819ce8                                                                                                       
9ce0: c0039b60 c0039a7c 00000dd8 00000dd8 c3819d2c c3819d00 c003a054 c0039e8c                                                                                                       
9d00: 000000d3 c03348e4 00000000 c0334938 c3819dcc 36b4a597 89705f41 00000000                                                                                                       
9d20: c3819dac c3819d30 c003a58c 00000400 00000000 c02f6b08 c3819e0c c031fd28                                                                                                       
9d40: 00000000 00000000 c3819d6c c3819d58 c0146ef8 c0146870 d5000000 c03348e4                                                                                                       
9d60: c3819dec c3819d70 c003a3f8 c0146ef0 c3819d8c 00000004 60000013 c002df38                                                                                                       
9d80: c3819dac 00000000 c3983000 000000d3 c3983118 c032cdc8 000000d3 000000ec                                                                                                       
9da0: c3819dc4 c3819db0 c003a5ec c003a304 c00b9a10 c3819dcc c3819e14 c3819dd8                                                                                                       
9dc0: c01b7660 c3983000 c032036c 00000000 c3983118 c031fd28 00000000 00000000                                                                                                       
9de0: c3819e04 c3819df0 c003a5ec c003a304 c032036c c3819e0c c3819e44 c3819e18
9e00: c0016c68 c003a5d8 c02f6b08 00000008 253e373c c0022db4 00000000 00000000
9e20: c00baa84 c031fd30 c031fddc c032d05c c032d05c c032abf8 c3819e54 c3819e48
9e40: c017d37c c00169a8 c3819e74 c3819e58 c017c5d4 c017d36c c031fd30 c031fddc
9e60: c032d05c c032d05c c3819e94 c3819e78 c017c6d8 c017c50c c3819e94 00000000
9e80: c3819e9c c017c688 c3819ec4 c3819e98 c017bc30 c017c698 c38e82c0 c3803dd8
9ea0: c3803dd8 c031fd78 00000000 c032d05c 00000000 c38e82c0 c3819ed4 c3819ec8
9ec0: c017c410 c017bbec c3819f04 c3819ed8 c017c0c0 c017c400 c02ce37c c032d05c
9ee0: 00000000 c001da10 c032d05c 00000000 c0016974 c0333a20 c3819f2c c3819f08
9f00: c017c8d4 c017c028 c001da10 c032d03c 00000000 c0016974 c0333a20 00000000
9f20: c3819f3c c3819f30 c017d53c c017c84c c3819f54 c3819f40 c017d570 c017d4d4
9f40: c001da10 c001dab4 c3819f64 c3819f58 c001698c c017d568 c3819fdc c3819f68
9f60: c0024284 c0016984 c3819f94 c3819f78 c00b3f6c c00b3ce0 c3819f00 c3832260
9f80: c00b4070 c3819f9e c3819fc4 c3819f98 c005bad0 c00b3efc c017abdc 32315790
9fa0: 00000037 00000000 000000c0 c001d7ec 00000000 00000000 c001da10 c001dab4
9fc0: 00000000 00000000 00000000 00000000 c3819ff4 c3819fe0 c0008734 c0024248
9fe0: 00000000 00000000 00000000 c3819ff8 c003c318 c00086d4 2b9df1f2 9fcdf9fc
Backtrace:
[<c0145598>] (strnlen+0x0/0x34) from [<c01462f4>] (string+0x34/0xbc)
[<c01462c0>] (string+0x0/0xbc) from [<c0146b7c>] (vsnprintf+0x31c/0x5c0)
r7:c3819e10 r6:c03348f9 r5:00000000 r4:00000008
[<c0146860>] (vsnprintf+0x0/0x5c0) from [<c0146ef8>] (vscnprintf+0x18/0x24)
[<c0146ee0>] (vscnprintf+0x0/0x24) from [<c003a3f8>] (vprintk+0x104/0x2d0)
r4:c03348e4
[<c003a2f4>] (vprintk+0x0/0x2d0) from [<c003a5ec>] (printk+0x28/0x30)
[<c003a5c4>] (printk+0x0/0x30) from [<c0016c68>] (atmel_nand_probe+0x2d0/0x40c)
r3:c0022db4 r2:253e373c r1:00000008 r0:c02f6b08
[<c0016998>] (atmel_nand_probe+0x0/0x40c) from [<c017d37c>] (platform_drv_probe+0x20/0x24)
r8:c032abf8 r7:c032d05c r6:c032d05c r5:c031fddc r4:c031fd30
[<c017d35c>] (platform_drv_probe+0x0/0x24) from [<c017c5d4>] (driver_probe_device+0xd8/0x18c)
[<c017c4fc>] (driver_probe_device+0x0/0x18c) from [<c017c6d8>] (__driver_attach+0x50/0x74)
r7:c032d05c r6:c032d05c r5:c031fddc r4:c031fd30
[<c017c688>] (__driver_attach+0x0/0x74) from [<c017bc30>] (bus_for_each_dev+0x54/0x88)
r6:c017c688 r5:c3819e9c r4:00000000
[<c017bbdc>] (bus_for_each_dev+0x0/0x88) from [<c017c410>] (driver_attach+0x20/0x28)
r7:c38e82c0 r6:00000000 r5:c032d05c r4:00000000
[<c017c3f0>] (driver_attach+0x0/0x28) from [<c017c0c0>] (bus_add_driver+0xa8/0x218)
[<c017c018>] (bus_add_driver+0x0/0x218) from [<c017c8d4>] (driver_register+0x98/0x120)
r8:c0333a20 r7:c0016974 r6:00000000 r5:c032d05c r4:c001da10
[<c017c83c>] (driver_register+0x0/0x120) from [<c017d53c>] (platform_driver_register+0x78/0x94)
[<c017d4c4>] (platform_driver_register+0x0/0x94) from [<c017d570>] (platform_driver_probe+0x18/0x68)
[<c017d558>] (platform_driver_probe+0x0/0x68) from [<c001698c>] (atmel_nand_init+0x18/0x24)
r5:c001dab4 r4:c001da10
[<c0016974>] (atmel_nand_init+0x0/0x24) from [<c0024284>] (do_one_initcall+0x4c/0x168)
[<c0024238>] (do_one_initcall+0x0/0x168) from [<c0008734>] (kernel_init+0x70/0xd8)
[<c00086c4>] (kernel_init+0x0/0xd8) from [<c003c318>] (do_exit+0x0/0x6b8)
r5:00000000 r4:00000000
Code: ea000000 e2800001 e2511001 3a000002 (e5d03000)
---[ end trace d9a7c5c80207ae65 ]---
Kernel panic - not syncing: Attempted to kill init!

 

Со старым ядром NAND работала.

Share this post


Link to post
Share on other sites
Скопировал папку /include/asm-arm в /include/asm

Скопировал ../include/asm-arm/mach-types.h в ../include/asm. После этого ядро собралось. Пришлось поправить путь к mkimage из u-boot. У меня другое расположение каталогов (отдельные каталоги для ядер и загрузчиков (обоих)).

Вопросы в воздух: зачем делать отличия в размещении файлов и линков по сравнении с штатным? (../include/asm -> ../include/asm-arm) Зачем делать дополнительные линки? (из makefile).

Share this post


Link to post
Share on other sites
Скопировал ../include/asm-arm/mach-types.h в ../include/asm. После этого ядро собралось. Пришлось поправить путь к mkimage из u-boot. У меня другое расположение каталогов (отдельные каталоги для ядер и загрузчиков (обоих)).

Вопросы в воздух: зачем делать отличия в размещении файлов и линков по сравнении с штатным? (../include/asm -> ../include/asm-arm) Зачем делать дополнительные линки? (из makefile).

 

Что бы прояснить ситуацию, скажу, что я не являюсь автором патча, его получил от автора темы путем переписки по электронной почте. Копирование каталогов при сборке мне помогло, поэтому и привел его в качестве решения в предыдущем посте.

Share this post


Link to post
Share on other sites

Уважаемый, ecos-rtos_in_ua. Я знаю, что вы не являетесь автором патча. Вопросы в воздух с надеждой на то, что авторы ответят. На их сайте пока ничего нового не видно.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this