at91sama5d3x-xplained bootstrap及uboot烧写过程

第一步:先烧写 at91bootstrap

固件下载地址:

ftp://www.at91.com/pub/at91bootstrap/AT91Bootstrap3.6.1/sama5d3_xplained-nandflashboot-uboot-3.6.1.bin

参考网址:

http://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap#Build_AT91Bootstrap_from_sources

注 意:如果板上已经烧写过固件,需要先将NAND flash的跳线(JP9)拔掉,否则由于系统上电初始化程序执行过快,系统来不及识别CDC,SAM-BA软件无法识别我们的开发板。一旦SAM-BA 识别后,“Connect”后,可将跳线再插上,不然“NandFlash”项不能选中。跳线位置如下示:

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

点选的顺序如下示:

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

注意:第5项一定是先选“Send Boot File”再点“Execute”,不能点“SendFile”按钮。

关闭SAM-BA后,复位开发板,串口信息如下:

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

至此,AT91Bootstrap 已经烧写成功。

第二步:烧写UBoot

固件下载地址:

ftp://www.at91.com/pub/uboot/u-boot-v2013.07/u-boot-sama5d3_xplained-v2013.07-at91-r1.bin

参考网址:

http://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot#Build_U_Boot_from_sources

注意:需要先将NAND flash的跳线(JP9)拔掉,重新拔插USB接头(J6),打开SAM-BA。

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

“Connect” 之后,先将跳线(JP9)插上,分别按如下顺序操作

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

将SAM-BA关闭,复位开发板,串口打印如下信息:

at91sama5d3x-xplained bootstrap及uboot烧写过程 - 阿青1987 - 阿青1987

至此,U-BOOT烧写成功。

原文地址:https://www.cnblogs.com/aqing1987/p/4268475.html