реклама на сайте
подробности

 
 
9 страниц V  « < 6 7 8 9 >  
Reply to this topicStart new topic
> ucLinux на lpc2468, хочу порт
LeshaL
сообщение Oct 20 2009, 05:32
Сообщение #106


Частый гость
**

Группа: Свой
Сообщений: 166
Регистрация: 14-01-06
Пользователь №: 13 160



Спасибо.
Положил в /upload/MCs/ARM/Embedded Artists LPC2478 demoboard CD
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 20 2009, 07:55
Сообщение #107


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Кто нибуть пробовал уже собирать по данному мануалу?
У меня вылетает с ошибкой
Go to the top of the page
 
+Quote Post
LeshaL
сообщение Oct 21 2009, 04:19
Сообщение #108


Частый гость
**

Группа: Свой
Сообщений: 166
Регистрация: 14-01-06
Пользователь №: 13 160



Я собирал для LPC2468 из образа виртуальной машины, выложенным на местном фтп. Вылетало также с ошибкой. Посмотрел на что ругается, выключил Microwindows, все прошло.
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 22 2009, 10:22
Сообщение #109


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Собрал для платы LPC2478
но не идет загрузка ФС
Код
LPC2478_OEM_Board # run tftp_boot
emac: found National DP83848 PHY
emac: started auto negitiation:  |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done!
emac: link status = 100Mbps, full duplex
emac: MAC address =  0:1a:f1: 0: 0: 0
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'uLinux.bin'.
Load address: 0xa1500000
Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     ######################
done
Bytes transferred = 1443621 (160725 hex)
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'romfs.img'.
Load address: 0xa1800000
Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     ###
done
Bytes transferred = 1674240 (198c00 hex)
## Booting image at a1500000 ...
   Image Name:   Linux 2.6.21
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1443557 Bytes =  1.4 MB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

щLinux version 2.6.21-uc0 (zaicev@zaicev-desktop) (gcc version 3.4.4) #6 Thu Oct 22 15:45:14 YEKST 2009
CPU: NXP-LPC2478 [1701ff35] revision 5 (ARMv4), cr=a02d23e0
Machine: Embedded Artists LPC2478 OEM Board
Ignoring unrecognised tag 0x00000000
Built 1 zonelists.  Total pages: 8128
Kernel command line: root=/dev/ram initrd=0xA1800000,4000k console=ttyS0,115200N8
PID hash table entries: 128 (order: 7, 512 bytes)
LPC2XXX Clocking Fin=12000000Hz Fcco=288000000Hz M=11 N=0
Fcclk=48000000 PCLKSEL=55515555 11555455
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 25492KB available (2640K code, 234K data, 112K init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4000K
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00300000 : "nand_kernel"
0x00300000-0x08000000 : "nand_filesystem"
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.28 [Flags: R/W DEBUG].
JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 230, nTxLock = 1843
io scheduler noop registered (default)
lpc2478fb: smem_len = 153600
lpc2478fb: line_length = 480
lpc2478fb: lcd turned on: base address = a1fc0000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe000c000 (irq = 6) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0010000 (irq = 7) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
lpc2xxx_eth_probe
lpc2xxx_eth_setup
get_mac_address ethaddr=00:1a:f1:00:00:00
eth0: Link down.
eth0: LPC2xxx ethernet at 0xffe00000 int=21 10-FullDuplex (00:1a:f1:00:00:00)
eth0: National DP83848 PHY at 1
eth0: National DP83640 PHY at 1
Found: SST 39VF3201
lpc24xx-ea-flash: Found 1 x16 devices at 0x0 in 16-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 2 MTD partitions on "lpc24xx-ea-flash":
0x00000000-0x00200000 : "kernel"
0x00200000-0x00400000 : "rootfs"
lpc2xxx-spi lpc2xxx-spi: registering ads7846
lpc2xxx-spi lpc2xxx-spi: registering ssd1289
lpc24xx-ohci lpc24xx-ohci: LPC24xx OHCI
lpc24xx-ohci lpc24xx-ohci: new USB bus registered, assigned bus number 1
lpc24xx-ohci lpc24xx-ohci: irq 22, io mem 0xffe0c000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
No IRQF_TRIGGER set_type function for IRQ 17 (lpc2xxx)
ads7846 spi0.0: touchscreen, irq 17
input: ADS784x Touchscreen as /class/input/input0
lpc22xx_rtc_init
lpc22xx_rtc_probe
lpc2xxx-rtc lpc2xxx-rtc: rtc core: registered lpc2xxx-rtc as rtc0
lpc2xxx-rtc: RTC driver for NXP LPC2XXX.
i2c /dev entries driver
mmc0: MMCI at 0x00000000e008c000 irq 24
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 15
lpc22xx_rtc_readtime(...,5465-07-28 19:55:24)
lpc2xxx-rtc lpc2xxx-rtc: setting the system clock to 5465-07-28 19:55:24 (2935447724)
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 1635KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done.
VFS: Mounted root (romfs filesystem) readonly.
serial_link_irq_chain irq=6 00000000
serial_link_irq_chain request_irq(6,...)
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_undefinstrdo


В чем может быть проблема
Привожу сои переменные
Код
baudrate=115200
tftp_boot=tftpboot a1500000 uLinux.bin;tftpboot a1800000 romfs.img;bootm a150000
0
nand_boot=nand read a1500000 0 0x00300000;nand read a1800000 0x00300000 0x400000
;bootm a1500000
nor_boot=bootm 80000000
mmc_boot=mmc;fatload mmc 0 a1500000 uLinux.bin;fatload mmc 0 a1800000 romfs.img;
bootm a1500000
update_uboot=tftpboot a1000000 u-boot.bin;protect off 0 2ffff;erase 0 2ffff;cp.b
a1000000 0 $(filesize)
update_nor=erase bank 2;tftpboot a0000000 uLinux.bin;cp.b $(fileaddr) 80000000 $
(filesize);tftpboot a0000000 cramfs.img;cp.b $(fileaddr) 80200000 $(filesize)
update_nand=nand erase;tftpboot a0000000 uLinux.bin;nand write $(fileaddr) 0 0x0
0300000;tftpboot a0000000 jffs2.img;nand write $(fileaddr) 0x00300000 $(filesize
)
ethaddr=00:1a:f1:00:00:00
filesize=1e6800
fileaddr=A1000000
netmask=255.255.255.0
ipaddr=192.168.5.233
serverip=192.168.5.156
bootargs=root=/dev/ram initrd=0xA1800000,4000k console=ttyS0,115200N8
stdin=serial
stdout=serial
stderr=serial

Environment size: 1118/4092 bytes
LPC2478_OEM_Board #
Go to the top of the page
 
+Quote Post
LeshaL
сообщение Oct 23 2009, 07:54
Сообщение #110


Частый гость
**

Группа: Свой
Сообщений: 166
Регистрация: 14-01-06
Пользователь №: 13 160



На MMC похоже ругается. Попробуйте убрать SD-карту или загрузку драйвера MMC.
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 23 2009, 09:42
Сообщение #111


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Цитата(LeshaL @ Oct 23 2009, 13:54) *
На MMC похоже ругается. Попробуйте убрать SD-карту или загрузку драйвера MMC.

Карту выташил. Дрова ММС выключи вообще. Но проблема не решилась
Go to the top of the page
 
+Quote Post
LeshaL
сообщение Oct 23 2009, 11:50
Сообщение #112


Частый гость
**

Группа: Свой
Сообщений: 166
Регистрация: 14-01-06
Пользователь №: 13 160



Ну а сейчас на что ругается?

Если продолжает писать
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
значит MMC не выключен.
Go to the top of the page
 
+Quote Post
etoja
сообщение Oct 23 2009, 12:32
Сообщение #113


Профессионал
*****

Группа: Свой
Сообщений: 1 121
Регистрация: 14-01-05
Из: Москва
Пользователь №: 1 952



А нет ли противоречия в двух строчках вашей диагностики?

mmc0: MMCI at 0x00000000e008c000 irq 24
и
do_undefinstr<7>mmc0: lpc2xxx_mci_irq: irq0 00000004
Go to the top of the page
 
+Quote Post
etoja
сообщение Oct 26 2009, 07:26
Сообщение #114


Профессионал
*****

Группа: Свой
Сообщений: 1 121
Регистрация: 14-01-05
Из: Москва
Пользователь №: 1 952



В образе виртуальной машины для EA-2468 из местного FTP не могу найти исходники u-boot
и сам откомпилированный u-boot, зашитый в процессор LPC2468.
Кто подскажет, где u-boot для этой платы?
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 26 2009, 07:33
Сообщение #115


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Цитата(etoja @ Oct 26 2009, 12:26) *
В образе виртуальной машины для EA-2468 из местного FTP не могу найти исходники u-boot
и сам откомпилированный u-boot, зашитый в процессор LPC2468.
Кто подскажет, где u-boot для этой платы?


/home/user/uboot
это на виртуалке

теперь к своим баранам
убрал ММС вообще
Код
**********************************************

* LPC24x8 OEM Board from Embedded Artists AB *

*              EA-version: 1.9               *

*     (with support for 32-bit databus)      *

*          www.EmbeddedArtists.com           *

**********************************************

Booting (may take some time)...

U-Boot 1.1.6 (Oct 20 2009 - 11:18:06)
DRAM:  32 MB
Flash:  4.5 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  0
LPC2478_OEM_Board #   run tftp_boot

emac: found National DP83848 PHY
emac: started auto negitiation:  |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done!
emac: link status = 100Mbps, full duplex
emac: MAC address =  0:1a:f1: 0: 0: 0
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'uLinux.bin'.
Load address: 0xa1500000
Loading: *#################################################################
     #################################################################
     #################################################################
     ##################################################
done
Bytes transferred = 1250120 (131348 hex)
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'romfs.img'.
Load address: 0xa1800000
Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #
done
Bytes transferred = 1667072 (197000 hex)
## Booting image at a1500000 ...
   Image Name:   Linux 2.6.21
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1250056 Bytes =  1.2 MB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

ЁLinux version 2.6.21-uc0 (zaicev@zaicev-desktop) (gcc version 3.4.4) #14 Mon Oct 26 12:02:32 YEKT 2009
CPU: NXP-LPC2478 [1701ff35] revision 5 (ARMv4), cr=a0272480
Machine: Embedded Artists LPC2478 OEM Board
Ignoring unrecognised tag 0x00000000
Built 1 zonelists.  Total pages: 8128
Kernel command line: root=/dev/ram initrd=0xA1800000,4000k console=ttyS0,115200N8
PID hash table entries: 128 (order: 7, 512 bytes)
LPC2XXX Clocking Fin=12000000Hz Fcco=288000000Hz M=11 N=0
Fcclk=48000000 PCLKSEL=55515555 11555455
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 25880KB available (2276K code, 213K data, 104K init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4000K
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.28 [Flags: R/W DEBUG].
JFS: nTxBlock = 233, nTxLock = 1867
io scheduler noop registered (default)
lpc2478fb: smem_len = 153600
lpc2478fb: line_length = 480
lpc2478fb: lcd turned on: base address = a1f40000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe000c000 (irq = 6) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0010000 (irq = 7) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
lpc2xxx_eth_probe
lpc2xxx_eth_setup
get_mac_address ethaddr=00:1a:f1:00:00:00
eth0: Link down.
eth0: LPC2xxx ethernet at 0xffe00000 int=21 10-FullDuplex (00:1a:f1:00:00:00)
eth0: National DP83848 PHY at 1
eth0: National DP83640 PHY at 1
lpc2xxx-spi lpc2xxx-spi: registering ads7846
lpc2xxx-spi lpc2xxx-spi: registering ssd1289
No IRQF_TRIGGER set_type function for IRQ 17 (lpc2xxx)
ads7846 spi0.0: touchscreen, irq 17
input: ADS784x Touchscreen as /class/input/input0
lpc22xx_rtc_init
lpc22xx_rtc_probe
lpc2xxx-rtc lpc2xxx-rtc: rtc core: registered lpc2xxx-rtc as rtc0
lpc2xxx-rtc: RTC driver for NXP LPC2XXX.
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 15
lpc22xx_rtc_readtime(...,4137-07-07 01:08:43)
lpc2xxx-rtc lpc2xxx-rtc: setting the system clock to 4137-07-07 01:08:43 (3975609883)
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 1628KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (romfs filesystem) readonly.
serial_link_irq_chain irq=6 00000000
serial_link_irq_chain request_irq(6,...)
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefi
n
strdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinst
r
do_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo
_
undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_un
d
efinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undef
i
nstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefins
t
rdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrd
o
_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_u
n
definstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_unde
f
instrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefin
s
trdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstr
d
o_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_
u
ndefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und
e
finstrdo_undefinstrdo_undefinstrdo_undefinstrdo_und



результат тот-же
Go to the top of the page
 
+Quote Post
LeshaL
сообщение Oct 27 2009, 05:03
Сообщение #116


Частый гость
**

Группа: Свой
Сообщений: 166
Регистрация: 14-01-06
Пользователь №: 13 160



Ну, если результат такой же, то и принцип такой же - отключая компоненты и модули ядра локализуйте где возникает недопустимая инструкция. Ну и всякие чудеса вроде:
lpc2xxx-rtc lpc2xxx-rtc: setting the system clock to 4137-07-07 01:08:43 (3975609883)
лучше приводит к реалиям. Задать правильное время можно в том же u-boot.
Еще в том же u-boot не помешает протестировать ОЗУ.
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 27 2009, 05:22
Сообщение #117


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Цитата(LeshaL @ Oct 27 2009, 10:03) *
Ну, если результат такой же, то и принцип такой же - отключая компоненты и модули ядра локализуйте где возникает недопустимая инструкция. Ну и всякие чудеса вроде:
lpc2xxx-rtc lpc2xxx-rtc: setting the system clock to 4137-07-07 01:08:43 (3975609883)
лучше приводит к реалиям. Задать правильное время можно в том же u-boot.
Еще в том же u-boot не помешает протестировать ОЗУ.


Сейчас этим и занимаюсь
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 27 2009, 10:25
Сообщение #118


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Код
**********************************************

* LPC24x8 OEM Board from Embedded Artists AB *

*              EA-version: 1.9               *

*     (with support for 32-bit databus)      *

*          www.EmbeddedArtists.com           *

**********************************************

Booting (may take some time)...

U-Boot 1.1.6 (Oct 20 2009 - 11:18:06)
DRAM:  32 MB
Flash:  4.5 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  0
LPC2478_OEM_Board #   run tftp_boot

emac: found National DP83848 PHY
emac: started auto negitiation:  |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done!
emac: link status = 100Mbps, full duplex
emac: MAC address =  0:1a:f1: 0: 0: 0
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'uLinux.bin'.
Load address: 0xa1500000
Loading: *T #################################################################
     #################################################################
     #################################################################
     #########################
done
Bytes transferred = 1122009 (111ed9 hex)
TFTP from server 192.168.5.156; our IP address is 192.168.5.233
Filename 'romfs.img'.
Load address: 0xa1800000
Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #############################################
done
Bytes transferred = 1558528 (17c800 hex)
## Booting image at a1500000 ...
   Image Name:   Linux 2.6.21
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1121945 Bytes =  1.1 MB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

ЄLinux version 2.6.21-uc0 (user@eadevenv) (gcc version 3.4.4) #1 Tue Oct 27 10:48:00 CET 2009
CPU: NXP-LPC2478 [1701ff35] revision 5 (ARMv4), cr=a0238e00
Machine: Embedded Artists LPC2478 OEM Board
Ignoring unrecognised tag 0x00000000
Built 1 zonelists.  Total pages: 8128
Kernel command line: root=/dev/ram initrd=0xA1800000,4000k console=ttyS0,115200N8
PID hash table entries: 128 (order: 7, 512 bytes)
LPC2XXX Clocking Fin=12000000Hz Fcco=288000000Hz M=11 N=0
Fcclk=48000000 PCLKSEL=55515555 11555455
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 26108KB available (2036K code, 227K data, 108K init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4000K
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00300000 : "nand_kernel"
0x00300000-0x08000000 : "nand_filesystem"
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
lpc2478fb: smem_len = 153600
lpc2478fb: line_length = 480
lpc2478fb: lcd turned on: base address = a1a00000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe000c000 (irq = 6) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0010000 (irq = 7) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
lpc2xxx_eth_probe
lpc2xxx_eth_setup
get_mac_address ethaddr=00:1a:f1:00:00:00
eth0: Link down.
eth0: LPC2xxx ethernet at 0xffe00000 int=21 10-FullDuplex (00:1a:f1:00:00:00)
eth0: National DP83848 PHY at 1
eth0: National DP83640 PHY at 1
Found: SST 39VF3201
lpc24xx-ea-flash: Found 1 x16 devices at 0x0 in 16-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 2 MTD partitions on "lpc24xx-ea-flash":
0x00000000-0x00200000 : "kernel"
0x00200000-0x00400000 : "rootfs"
lpc2xxx-spi lpc2xxx-spi: registering ads7846
lpc2xxx-spi lpc2xxx-spi: registering ssd1289
lpc24xx-ohci lpc24xx-ohci: LPC24xx OHCI
lpc24xx-ohci lpc24xx-ohci: new USB bus registered, assigned bus number 1
lpc24xx-ohci lpc24xx-ohci: irq 22, io mem 0xffe0c000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
No IRQF_TRIGGER set_type function for IRQ 17 (lpc2xxx)
ads7846 spi0.0: touchscreen, irq 17
input: ADS784x Touchscreen as /class/input/input0
lpc2xxx-rtc lpc2xxx-rtc: rtc core: registered lpc2xxx-rtc as rtc0
lpc2xxx-rtc: RTC driver for NXP LPC2XXX.
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 15
lpc2xxx-rtc lpc2xxx-rtc: setting the system clock to 4137-07-08 04:05:06 (3975706866)
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 1522KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
VFS: Mounted root (romfs filesystem) readonly.
serial_link_irq_chain irq=6 00000000
serial_link_irq_chain request_irq(6,...)
Welcome to
          ____ _  _
         /  __| ||_|                
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

For further information check:
http://www.uclinux.org/

Board specific drivers by Embedded Artists AB
http://www.EmbeddedArtists.com

(Release 2008-11-13: Check for updates)


mci-cid (SD memory card):
  Manufacturer ID: 0x01
  OEM/Application ID: PA
  Product Name: S032B
  Product Revision: 9.2
  Serial Number: 0x02a51c0c
  Date Code: 2008.4
  sector size = 512 (Bytes), card size = 32 (MBytes)

  dump csd data: 005d0132135981da
                 f6d9cfff1640007c
mmc: mmc1
eth0: Link now 100-FullDuplex
mmc: mmc1
init: Booting to single user mode
#


Проблема была в компиторе arm-elf-gcc
Go to the top of the page
 
+Quote Post
etoja
сообщение Oct 27 2009, 12:13
Сообщение #119


Профессионал
*****

Группа: Свой
Сообщений: 1 121
Регистрация: 14-01-05
Из: Москва
Пользователь №: 1 952



Карточка MMC объёмом 32 мегабайта - редкость.

У меня на виртуальной машине отсутствует каталог "/home/user/uboot". Брал из местного фтп.
Может какой патч нужно доставить?
Go to the top of the page
 
+Quote Post
Зайцев Иван
сообщение Oct 28 2009, 03:29
Сообщение #120


Частый гость
**

Группа: Участник
Сообщений: 92
Регистрация: 23-07-08
Из: Екатеринбург
Пользователь №: 39 153



Цитата(etoja @ Oct 27 2009, 17:13) *
Карточка MMC объёмом 32 мегабайта - редкость.

У меня на виртуальной машине отсутствует каталог "/home/user/uboot". Брал из местного фтп.
Может какой патч нужно доставить?


Стукни в аську (260394959) скину патч

Сообщение отредактировал Зайцев Иван - Oct 28 2009, 03:30
Go to the top of the page
 
+Quote Post

9 страниц V  « < 6 7 8 9 >
Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 4th August 2025 - 08:48
Рейтинг@Mail.ru


Страница сгенерированна за 0.01561 секунд с 7
ELECTRONIX ©2004-2016