Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/PROCESSOR-SDK-AM335X: AM335x

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Kernel version 4.4.32-gadde2ca9f8
Arago based filesytem

i have to boot from nfs 
i used this commands 
-------------------------------------------------------------------
setenv netboot 'echo Booting from network ...; setenv autoload no; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}';
setenv netargs 'setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=<SERVERIP>:${rootpath},${nfsopts} rw ip=dhcp';
setenv bootfile zImage; setenv fdtfile am335x-prcheck.dtb;
setenv serverip <SERVERIP>;
setenv rootpath <FileSystem>;
run netboot
-------------------------------------------------------------------

to enter these commands i have to get IP of the device through "dhcp" command and it shows


-------------------------------------------------------------------
U-Boot 2016.05-g9c1d5f2-dirty (Nov 09 2018 - 16:17:20 -0500)

CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM
Watchdog enabled
DRAM: 512 MiB
NAND: 512 MiB
MMC: initializing MMC : 0
probing MMCs
Probing MMC 2
return from mmc device -19
OMAP SD/MMC: 0, OMAP SD/MMC: 1
Doing preinit
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net: RMII mode configure for PHY 1
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
PRCHECK# dhcp
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
link up on port 0, speed 100, full duplex
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
-------------------------------------------------------------------
PRCHECK# mii info
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 10baseT, HDX
-------------------------------------------------------------------
PRCHECK# mii dump 1 0
0. (3100) -- PHY control register --
(8000:0000) 0.15 = 0 reset
(4000:0000) 0.14 = 0 loopback
(2040:2000) 0. 6,13 = b01 speed selection = 100 Mbps
(1000:1000) 0.12 = 1 A/N enable
(0800:0000) 0.11 = 0 power-down
(0400:0000) 0.10 = 0 isolate
(0200:0000) 0. 9 = 0 restart A/N
(0100:0100) 0. 8 = 1 duplex = full
(0080:0000) 0. 7 = 0 collision test enable
(003f:0000) 0. 5- 0 = 0 (reserved)
-------------------------------------------------------------------

I have to set it 10 mbps with full duplex


Viewing all articles
Browse latest Browse all 17527

Trending Articles