connecting IDE directly to MPC8xx
Hello guys,
I am using PPCBoot on my board with MPC823E.
I am lucky and I ported Linux on this board. All
works well but I don't know, how to configure
kernel 2_4_3 form ElinOS v2.0 to work with IDE hard disk connected directly to MPC823 bus (utilizing PCMCIA bus signals
in way PPCBoot does it - in PPCBoot my IDE disk works well).
In kernel 2_4_3 from ElinOS v2.0 I use this options:
CONFIG_BLK_DEV_MPC8xx_IDE=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTIMODE=yCONFIG_PARTITION_ADVANCED=yCONFIG_MSDOS_PARTITION=yCONFIG_BLK_DEV_IDE_MODES=y
But It doesn't work at all. It crashes in do_probe() function, when accessing bad memory region. I have mapped all
PCMCIA regions correctly.
Is any straightforward way to configure kernel to work with this IDE connection ?
Thanks in advance, HANYS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Dear Jan,
Quoted 3 lines · in message <[email protected]> you wrote:
I am using PPCBoot on my board with MPC823E.
I am lucky and I ported Linux on this board. All
Congrats!
Quoted 5 lines
works well but I don't know, how to configure
kernel 2_4_3 form ElinOS v2.0 to work with IDE hard disk connected directly to MPC823 bus (utilizing PCMCIA bus signals
in way PPCBoot does it - in PPCBoot my IDE disk works well).
Quoted 9 lines
In kernel 2_4_3 from ElinOS v2.0 I use this options:
CONFIG_BLK_DEV_MPC8xx_IDE=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTIMODE=yCONFIG_PARTITION_ADVANCED=yCONFIG_MSDOS_PARTITION=yCONFIG_BLK_DEV_IDE_MODES=y
These options look OK to me; for another example please see
http://www.denx.de/doc/TQM8xxL/advanced-topics.html#FLASH-DISKS
Quoted 5 lines
But It doesn't work at all. It crashes in
do_probe()function, when accessing bad memory region. I have mapped all PCMCIA regions correctly.
Is any straightforward way to configure kernel to work with this IDE connection ?
Probably the ElinOS kernel does not support this properly.
Feel free to try the kernel from our CVS server which has been used
with such configurations in several projects. See
http://www.denx.de/re/linux.html
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
There is a biblical analogy I'd like to draw here. Casts are to C++
Programmers what the apple was to Eve. - Scott Douglas Meyers
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/