OSD3358

build uboot 201507


編譯步驟如下:

$ cd
$ wget https://github.com/steward-fu/pocketbeagle/releases/download/v1.0/gcc-4.9.tar.gz
$ tar xvf gcc-4.9.tar.gz
$ sudo mv gcc-4.9 /opt
$ export PATH=$PATH:/opt/gcc-4.9/bin

$ wget https://github.com/steward-fu/pocketbeagle/releases/download/v1.0/uboot-201507.tar.gz
$ tar zxvf uboot-201507.tar.gz
$ cd uboot
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make am335x_evm_config
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

把MLO、u-boot.img放到第一個FAT分區,然後上電就可以看到UART訊息(115200 bps)

U-Boot SPL 2015.07 (Aug 23 2019 - 11:24:20)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.07 (Aug 23 2019 - 11:24:20 -0400)

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
Phy 4 not found
cpsw, usb_ether
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0


返回上一頁