OSD3358

build uboot 201910


編譯步驟如下:

$ 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-201910.tar.gz
$ tar zxvf uboot-201910.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 2019.10-rc2-00001-gdf33f86468 (Aug 15 2019 - 04:13:05 -0400)                                     
Trying to boot from MMC1                                                                                    
                                                                             
                                                                             
U-Boot 2019.10-rc2-00001-gdf33f86468 (Aug 15 2019 - 04:13:05 -0400)
                                                            
CPU  : AM335X-GP rev 2.1                                    
Model: TI AM335x PocketBeagle                               
DRAM:  512 MiB                                              
WDT:   Started with servicing (60s timeout)                 
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

>ethaddr> not set. Validating first E-fuse MAC
Net:   No ethernet found.
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
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
MMC Device 1 not found
no mmc device at slot 1
SD/MMC found on device 1
## Error: "bootcmd_nand0" not defined
starting USB...
Bus usb@47401800: Port not available.
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-am33xx-am335x
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-am33xx
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
Bus usb@47401800: Port not available.
No ethernet found.
No ethernet found.
=>


返回上一頁