Other Parts Discussed in Thread: BEAGLEBOARD-X15, , PMP
Tool/software: Linux
Hello,
I have some problems in setting up the tftp boot on the am572xx board.
The following shows the last part of the setup.sh sequence when restarting the board with minicom connected.
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:19.
Port /dev/ttyUSB0, 17:16:47
Press CTRL-A Z for help on special keys
U-Boot SPL 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
** Unable to read "uboot.env" from mmc0:1 **
Using default environment
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autobo 0
=>env default -f -a
## Resetting to default environment
=>saveenv
Saving Environment to FAT...
writing uboot.env
FAT: Misaligned buffer address (fef1ce58)
done
=>reset
resetting ...
U-Boot SPL 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autobo 0
=>setenv serverip 192.168.3.207
=>setenv rootpath '/home/marc/ti-processor-sdk-linux-am57xx-evm-03.01.00.06/targetNFS'
=>setenv bootfile zImage-am57xx-evm.bin
=>setenv ip_method dhcp
=>setenv nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096'
=>setenv getuenv 'mmc dev ${mmcdev}; if mmc rescan; then if run loadbootenv; then run importbootenv; fi; fi;'
=>setenv bootcmd 'run findfdt; run getuenv; setenv autoload no;dhcp ;tftp ${loadaddr} zImage-am57xx-evm.bin; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}'
=>saveenv
Saving Environment to FAT...
writing uboot.env
FAT: Misaligned buffer address (fef1ce58)
done
=>
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0
/home/marc/ti-processor-sdk-linux-am57xx-evm-03.01.00.06
You can manually run minicom in the future with this setup script using: minicom -S ./bin/setupBoard.minicom
--------------------------------------------------------------------------------
-------------------------------------------------------------------------------
TISDK setup completed!
Please continue reading the Software Developer's Guide for more information on
how to develop software on the EVM
-------------------------------------------------------------------------------
The following shows the startup:
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:19.
Port /dev/ttyUSB0, 17:21:36
Press CTRL-A Z for help on special keys
BOOTP broadcast 17
BOOTP broadcast 18
BOOTP broadcast 19
BOOTP broadcast 20
BOOTP broadcast 21
BOOTP broadcast 22
BOOTP broadcast 23
BOOTP broadcast 24
BOOTP broadcast 25
BOOTP broadcast 26
BOOTP broadcast 27
BOOTP broadcast 28
BOOTP broadcast 29
Retry time exceeded; starting again
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `ipaddr' not set
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `ipaddr' not set
Bad Linux ARM zImage magic!
=>
U-Boot SPL 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 19:01:26 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: eth0: ethernet@48484000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
reading uEnv.txt
574 bytes read in 4 ms (139.6 KiB/s)
Importing environment from mmc0 ...
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17
BOOTP broadcast 18
BOOTP broadcast 19
BOOTP broadcast 20
BOOTP broadcast 21
BOOTP broadcast 22
BOOTP broadcast 23
BOOTP broadcast 24
BOOTP broadcast 25
BOOTP broadcast 26
BOOTP broadcast 27
BOOTP broadcast 28
BOOTP broadcast 29
Retry time exceeded; starting again
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `ipaddr' not set
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `ipaddr' not set
Bad Linux ARM zImage magic!
What is the error here?!
Thanks