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

Linux/TDA2SX: Enabling early uart debug in spl

$
0
0

Part Number:TDA2SX

Tool/software: Linux

Hello all,

                        We are working on a custom board based on tda2sx.We are trying to enable early debug prints in U-boot SPL.But after enabling debug,the uboot is not compiling.I get the following error.

/home/niraj/workdir/projects/its_git/its/Source/ti_components/os_tools/linux/u-boot/u-boot/drivers/serial/ns16550.c:290: undefined reference to `serial_in_shift'
/home/niraj/workdir/projects/its_git/its/Source/ti_components/os_tools/linux/u-boot/u-boot/drivers/serial/ns16550.c:292: undefined reference to `serial_out_shift'
/home/niraj/workdir/projects/its_git/its/Source/ti_components/os_tools/linux/u-boot/u-boot/drivers/serial/ns16550.c:290: undefined reference to `serial_in_shift'
/home/niraj/workdir/projects/its_git/its/Source/ti_components/os_tools/linux/u-boot/u-boot/drivers/serial/ns16550.c:292: undefined reference to `serial_out_shift'
make[4]: *** [spl/u-boot-spl] Error 1
make[3]: *** [spl/u-boot-spl] Error 2
make[3]: Leaving directory `/home/niraj/workdir/projects/its_git/its/Source/ti_components/os_tools/linux/u-boot/u-boot'
make[2]: *** [uboot_build] Error 2
make[2]: Leaving directory `/home/niraj/workdir/projects/its_git/its/Source/vision_sdk/build/hlos/makerules/linux'
make[1]: *** [custom_uboot] Error 2
make[1]: Leaving directory `/home/niraj/workdir/projects/its_git/its/Source/vision_sdk/build/hlos/makerules/linux'
make: *** [custom_uboot] Error 2

This is the uboot menu configuration :

                               [*] Require a serial port for console                                                               
                               [*] Provide a serial driver                                                                       
                                [*] Provide a serial driver in SPL                                                                   
                                [*] Enable Driver Model for serial drivers                                                        
                                [*] Enable an early debug UART for debugging                                                        
                                      Select which UART will provide the debug UART (ns16550)  --->                                
                                 (0x4806a000) Base address of UART                                                                   
                                (48000000) UART input clock                                                                          
                                (2)   UART register shift                                                                             
                                 [ ]   Enable board-specific debug UART init                                                           
                                 [ ]   Show a message when the debug UART starts up                                                    
                                 [ ] Skip UART initialization                                                                      
                                 [ ] Altera JTAG UART support                                                                          
                                 [ ] Altera UART support                                                                              
                                 [ ] Freescale LPUART support                                                                          
                                 [*] NS16550 UART or compatible                                                                       
                                 [ ] Qualcomm on-chip UART

Regards,

Niraj


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>