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

Linux/AM1705: No output on UART

$
0
0

Part Number:AM1705

Tool/software: Linux

Hi, 
 
We are using AM1705 with SPI flash as SPI boot and XDS100V2 for programming.
We are referring the below mentioned steps for installation process.
 
The project was already completed long ago and it was working fine. Now we have a requirement for some new additional features. Unfortunately, the no one from the team who had worked on this earlier is available now. The new team is trying to make the changes, but getting stuck while installing same u-boot.
 
We are able to download the uboot as per the steps below, but there is no console output at any uart for further kernel installation.
At what uart there will be console output for uboot?

Procedure to burn ARM UBL & U-boot in SPI Flash
ARM UBL & U-Boot are programmed using CCSv4. The following given screenshots gives ARM UBL & UBOOT programming in detail.  
1) Open New Target configuration as follows:
Target -> New Target Configuration



2) Configure New target as AM1705 device & save the current configuration as follows:



3) Launch the selected configuration as follows:



4) Connect the target device



5) Load the Flash writer program as follows
Target -> Load Program



6) Specify the path of ubl-spi.out file by clicking the ‘Browse’ button on the right and then click on ‘OK’

7) ubl-spi.out file should be used from Image folder in SPI-FLASH WRITER
PATH = SPI-FLASH WRITER\SPI FLASHwriter\Image

8) Run the application




9) Starting Flash writer application
 Enter y for writing the ARM UBL image




10) Enter the ARM UBL image from ARM-UBL folder
PATH= ARM-UBL\ARM_UBL_ETH\ubl-spi.bin
This image is the file generated with AISGEN tool.





11)  Enter the UBOOT image from UBoot folder
PATH= UBoot\uboot-03.20.00.12\u-boot.bin




12)  Enter the App image load address c1080000
13)  Enter App image entry point address c1080000




14) Boot successful
15) Terminate the program:
Press stop to terminate the
 The above procedure explains the process of flashing ARM UBL & U-boot in SPI Flash.

Procedure to burn Ramdisk & kernel in SPI Flash
To flash Ramdisk & kernel in SPI Flash follow the procedure given below:
For flashing Ramdisk & kernel in SPI Flash we use U-Boot. U-Boot SPI flash read/write commands are used to burn Ramdisk & kernel in SPI flash.
To stop the automatic booting (autoboot) of the pre-installed kernel, send a character to the serial port by pressing a key from the serial console connected to the target. If U-Boot is stopped, it displays a command line console as given below.


Now enter following SPI command to initialize the SPI device connected to EEPROM
U-Boot> sf probe 0


Now enter the following command to copy Linux kernel image into the RAM of the system
tftp 0xc0700000 uImage


Now Linux kernel image is stored in RAM at location “0xc0700000”. Now store the Linux kernel in SPI flash at location “0x60000”. Enter the following commands to erase & Write kernel image in SPI Flash.
U-Boot> sf erase 0x60000 0x300000. This command erases the“0x300000”contents of SPI flash from location “0x60000”.
U-Boot> sf write 0xc0700000 0x60000 0x300000. This command writes“0x300000”amount of ram contents in SPI flash starting from location “0x60000”.
Now follow similar procedure for writing Ramdisk contents in SPI Flash.
Enter the following command to copy Ramdisk image into the RAM of the system
tftp 0xc1180000 ramdisk.gz

Now Ramdisk image is stored in RAM at location “0xc1180000”. Now store the Ramdisk in SPI flash at location “0x60000”. Enter the following commands to erase & Write Ramdisk image in SPI Flash.
U-Boot> sf erase 0x400000 0x400000. This command erases the “0x400000”contents of SPI flash from location “0x400000”.
U-Boot> sf erase 0x400000 0x430000. This command erases the “0x400000”contents of SPI flash from location “0x430000”.
U-Boot> sf erase 0x400000 0x440000. This command erases the “0x400000”contents of SPI flash from location “0x440000”.
U-Boot> sf write 0xc1180000 0x400000 0x400000. This command writes“0x400000”amount of ram contents in SPI flash starting from location “0x400000”.
U-Boot> sf write 0xc1180000 0x400000 0x420000. This command writes“0x400000”amount of ram contents in SPI flash starting from location “0x400000”.
U-Boot> sf write 0xc1180000 0x400000 0x440000. This command writes“0x400000”amount of ram contents in SPI flash starting from location “0x400000”.
The above procedure explains the process of flashing Linux kernel & Ramdisk in SPI Flash.
 
 
Please help since we are stuck and our project schedule has got delayed.
 
Thank you,
Sandesh Khilare


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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