도와주세요!!
글 수 15,339
2007.09.13 16:32:43 (*.82.68.226)
6671
안녕하세요..
램디스크이미지는 어떤것을 다운로드 하셨나요???
자료실 > TOOLCHAIN >> 램디스크 : ARM GCC 3.4.3 용 램디스크 를 올렸어 해 보세요..
그럼 수고하세요.
>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76
>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
>Scanning device for bad blocks
>Bad eraseblock 32 at 0x00080000
>Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
>0x00000000-0x00200000 : "EZ-X5 Kernel partition"
>0x00200000-0x00700000 : "EZ-X5 Ramdisk partition"
>0x00700000-0x04000000 : "EZ-X5 Data partition 0"
>mice: PS/2 mouse device common for all mice
>register device PXA_GPIO (major=245)
>NET: Registered protocol family 2
>IP: routing cache hash table of 512 buckets, 4Kbytes
>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)
>NET: Registered protocol family 1
>NET: Registered protocol family 17
>RAMDISK: Compressed image found at block 0 ---여기서 중단
>==============================================
>
>ez_board.c 의
>#define EZ_NAND_ACCESS_START() GPCR(81) = GPIO_bit(81)
>#define EZ_NAND_ACCESS_END() GPSR(81) = GPIO_bit(81)
>GPIO의 값이 잘 설정이 안된듯합니다..
>
>#define EZ_NAND_ACCESS_END (0x300) 로 설정하고..
>/*
> * hardware specific access to control-lines
>*/
>void ez_board_nand0_hwcontrol(struct mtd_info *mtd, int cmd)
>{
> int dummy;
> register struct nand_chip *this = mtd->priv;
> register unsigned long NAND_IO_ADDR = this->IO_ADDR_W;
>#if 0
> switch(cmd)
> {
> case NAND_CTL_SETNCE: EZ_NAND_ACCESS_START(); break;
> case NAND_CTL_CLRNCE: EZ_NAND_ACCESS_END(); break;
> }
>#else
> switch(cmd)
> {
> case NAND_CTL_SETNCE: dummy = readb(NAND_IO_ADDR + EZ_NAND_DATA) ; break;
> case NAND_CTL_CLRNCE: dummy = readb(NAND_IO_ADDR + EZ_NAND_ACCESS_END); break;
> }
>#endif
>}
>
>일단 NAND 디바이스까지는 잡았는데 ramdisk가 풀리지 않습니다..
>
>
>
램디스크이미지는 어떤것을 다운로드 하셨나요???
자료실 > TOOLCHAIN >> 램디스크 : ARM GCC 3.4.3 용 램디스크 를 올렸어 해 보세요..
그럼 수고하세요.
>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76
>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
>Scanning device for bad blocks
>Bad eraseblock 32 at 0x00080000
>Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
>0x00000000-0x00200000 : "EZ-X5 Kernel partition"
>0x00200000-0x00700000 : "EZ-X5 Ramdisk partition"
>0x00700000-0x04000000 : "EZ-X5 Data partition 0"
>mice: PS/2 mouse device common for all mice
>register device PXA_GPIO (major=245)
>NET: Registered protocol family 2
>IP: routing cache hash table of 512 buckets, 4Kbytes
>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)
>NET: Registered protocol family 1
>NET: Registered protocol family 17
>RAMDISK: Compressed image found at block 0 ---여기서 중단
>==============================================
>
>ez_board.c 의
>#define EZ_NAND_ACCESS_START() GPCR(81) = GPIO_bit(81)
>#define EZ_NAND_ACCESS_END() GPSR(81) = GPIO_bit(81)
>GPIO의 값이 잘 설정이 안된듯합니다..
>
>#define EZ_NAND_ACCESS_END (0x300) 로 설정하고..
>/*
> * hardware specific access to control-lines
>*/
>void ez_board_nand0_hwcontrol(struct mtd_info *mtd, int cmd)
>{
> int dummy;
> register struct nand_chip *this = mtd->priv;
> register unsigned long NAND_IO_ADDR = this->IO_ADDR_W;
>#if 0
> switch(cmd)
> {
> case NAND_CTL_SETNCE: EZ_NAND_ACCESS_START(); break;
> case NAND_CTL_CLRNCE: EZ_NAND_ACCESS_END(); break;
> }
>#else
> switch(cmd)
> {
> case NAND_CTL_SETNCE: dummy = readb(NAND_IO_ADDR + EZ_NAND_DATA) ; break;
> case NAND_CTL_CLRNCE: dummy = readb(NAND_IO_ADDR + EZ_NAND_ACCESS_END); break;
> }
>#endif
>}
>
>일단 NAND 디바이스까지는 잡았는데 ramdisk가 풀리지 않습니다..
>
>
>