UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie ttocsr
Newbie
687 Views
Registered: ‎11-13-2017

mt25qu01g detected as n25q512a in uboot

 

mt25qu01g is not defined in drivers/mtd/spi/spi_flash_ids.c

I see the mt25qu01g is supposed to be supported by several xilinx devices.

How do I get uboot to identify the mt25qu01g correctly?

0 Kudos
2 Replies
Scholar rfs613
Scholar
663 Views
Registered: ‎05-28-2013

Re: mt25qu01g detected as n25q512a in uboot

In most cases it does not matter. Uboot only runs for a short time, it's job is to load the linux kernel (and devicetree, and perhaps a ramdisk) into RAM. For this operation, the exact model of flash is not significant: it is just performing an "array read" operation. If you are trying to optimize the boot time, or if you are erasing/writing the flash from uboot, then perhaps the type of flash is more important. But this is fairly uncommon.

 

Much more important is how Linux kernel sees your flash chip. The description that uboot prints is completely unrelated to what Linux sees: it has its own drivers, and its own devicetree. These are the ones that matter once you have booted up fully. Check the kernel messages (or "dmesg" command).

0 Kudos
Moderator
Moderator
643 Views
Registered: ‎12-04-2016

Re: mt25qu01g detected as n25q512a in uboot

Hi

 

You might need to change the device tree node of QSPI to match with your required device and uboot will accordingly identify the device

 

 

Best Regards

Shabbir

0 Kudos