Name Date Size #Lines LOC

..07-Mar-2021-

KconfigH A D07-Mar-20211.7 KiB8868

MAINTAINERSH A D07-Mar-2021323 1211

MakefileH A D07-Mar-2021157 92

READMEH A D07-Mar-20212.7 KiB11592

board.cH A D07-Mar-202113.1 KiB527353

board.hH A D07-Mar-20214.7 KiB187129

mux.cH A D07-Mar-202110.3 KiB261226

README

1Summary
2=======
3
4This document covers various features of the 'am335x_shc' build.
5
6Hardware
7========
8
9AM335X based board:
10
11I2C:   ready
12DRAM:  512 MiB
13Enabling the D-Cache
14MMC:   OMAP SD/MMC: 0 @ 26 MHz, OMAP SD/MMC: 1 @ 26 MHz
15Net:   cpsw
16
17Following boot options are possible:
18
192 Jumpers:
20
21Jumper 1 Jumper 2 Bootmode
22off      off    eMMC boot
23on       off    SD boot
24off      on     Net boot
25
26Compiling
27=========
28
29$ make am335x_shc_defconfig
30  HOSTCC  scripts/basic/fixdep
31  HOSTCC  scripts/kconfig/conf.o
32  SHIPPED scripts/kconfig/zconf.tab.c
33  SHIPPED scripts/kconfig/zconf.lex.c
34  SHIPPED scripts/kconfig/zconf.hash.c
35  HOSTCC  scripts/kconfig/zconf.tab.o
36  HOSTLD  scripts/kconfig/conf
37#
38# configuration written to .config
39#
40$ make -s all
41
42-> now you have the MLO and the u-boot.img file, you can put
43on your SD card or eMMC.
44
45Configuring
46===========
47
48There are a lot of board versions and boot configurations, which
49can be selected through "make menuconfig"
50
51ARM architecture  --->
52  enable different boot versions for the shc board (enable eMMC)  --->
53   (X) enable eMMC
54   ( ) enable ICT
55   ( ) enable NETBOOT
56   ( ) enable SDBOOT
57
58  enable different board versions for the shc board (C3 Sample board version)  --->
59   ( ) B Sample board version
60   ( ) B2 Sample board version
61   ( ) C Sample board version
62   ( ) C2 Sample board version
63   (X) C3 Sample board version
64   ( ) Series board version
65
66Netboot
67=======
68- see also doc/SPL/README.am335x-network
69
70- set the jumper into netboot mode
71- compile the U-boot sources with:
72  make am335x_shc_netboot_defconfig
73  make all
74- copy the images into your tftp boot directory
75  cp spl/u-boot-spl.bin /tftpboot/.../u-boot-spl-restore.bin
76  cp u-boot.img /tftpboot/.../u-boot-restore.img
77- power on the board, and you should get something like this:
78
79U-Boot SPL 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18)
80#### NETBOOT ####
81SHC
82MPU reference clock runs at 6 MHz
83Setting MPU clock to 594 MHz
84Enabling Spread Spectrum of 18 permille for MPU
85Trying to boot from net
86Using default environment
87
88<ethaddr> not set. Validating first E-fuse MAC
89cpsw
90cpsw Waiting for PHY auto negotiation to complete... done
91link up on port 0, speed 100, full duplex
92BOOTP broadcast 1
93BOOTP broadcast 2
94DHCP client bound to address 192.168.20.91 (258 ms)
95Using cpsw device
96TFTP from server 192.168.1.1; our IP address is 192.168.20.91
97Filename 'shc/u-boot-restore.img'.
98Load address: 0x807fffc0
99Loading: ##################
100         1.2 MiB/s
101done
102Bytes transferred = 262480 (40150 hex)
103
104
105U-Boot 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18 +0200)
106
107       Watchdog enabled
108I2C:   ready
109DRAM:  512 MiB
110MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
111*** Warning - bad CRC, using default environment
112
113Net:   cpsw
114switch to partitions #0, OK
115