How to make uboot adapt to a new flash?

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

dudu
Posts: 3
Joined: Fri Jun 17, 2005 5:35 am

How to make uboot adapt to a new flash?

Mon Jun 27, 2005 1:23 pm

Hi,
I'm a newer to Uboot. Now I designed a new board with AT91RM9200 and S29GL064M instead of AT49BV6416. I want to what I need to do with uboot to make uboot adapt to this flash? Thanks a lot.
nahas.sylvain
Posts: 5
Joined: Wed Jun 29, 2005 6:36 pm

Re: How to make uboot adapt to a new flash?

Tue Jul 05, 2005 10:38 am

Hi,
first of all, read the README in the upper directory of u-boot.

The idea is to create your project's subdirectory in the "board" directory and integrate in to the build process.

Second, it seems there is already some code available for the S29GL064M in u-boot.

> rgrep S29GL064M u-boot-1.1.2/
u-boot-1.1.2/board/cmc_pu2/flash.c: case FLASH_S29GL064M:
u-boot-1.1.2/board/cmc_pu2/flash.c: printf ("S29GL064M-R6 (64Mbit,uniform sector size)\n");
u-boot-1.1.2/board/cmc_pu2/flash.c: debug ("Chip: S29GL064M-R6\n");
u-boot-1.1.2/board/cmc_pu2/flash.c: info->flash_id+= FLASH_S29GL064M;

Hope it helps

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 4 guests