I am following this guide to create an bootable SD card:
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot

I encounter an error here:  make ARCH=arm CROSS_COMPILE=${CC}
My terminal throws this error:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
board/ti/am335x/mux.c:131:30: error: redefinition of ‘i2c2_pin_mux’
 static struct module_pin_mux i2c2_pin_mux[] = {
                              ^~~~~~~~~~~~
board/ti/am335x/mux.c:123:30: note: previous definition of ‘i2c2_pin_mux’ 
was here
 static struct module_pin_mux i2c2_pin_mux[] = {
                              ^~~~~~~~~~~~
board/ti/am335x/mux.c:328:6: error: redefinition of ‘enable_i2c2_pin_mux’
 void enable_i2c2_pin_mux(void)
      ^~~~~~~~~~~~~~~~~~~
board/ti/am335x/mux.c:323:6: note: previous definition of 
‘enable_i2c2_pin_mux’ was here
 void enable_i2c2_pin_mux(void)
      ^~~~~~~~~~~~~~~~~~~
board/ti/am335x/mux.c:123:30: warning: ‘i2c2_pin_mux’ defined but not used 
[-Wunused-variable]
 static struct module_pin_mux i2c2_pin_mux[] = {
                              ^~~~~~~~~~~~
scripts/Makefile.build:280: recipe for target 'spl/board/ti/am335x/mux.o' 
failed
make[2]: *** [spl/board/ti/am335x/mux.o] Error 1
scripts/Makefile.spl:349: recipe for target 'spl/board/ti/am335x' failed
make[1]: *** [spl/board/ti/am335x] Error 2
Makefile:1394: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have no clue why this is happening.  Please help.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8cc6d44f-de2e-4635-a276-e768439599df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to