View Issue Details

IDProjectCategoryView StatusLast Update
0001260UBootSerial Driver/Interfacepublic2012-09-26 14:38
ReporterKeller Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionarmStoneA8-V1.1 
Target Versionfss5pv210-V2.0Fixed in Versionfss5pv210-V2.0 
Summary0001260: Allow different serial debug ports depending on board type
DescriptionUp to now we had different U-Boot images for different boards. The debug port used for serial output was a fix setting in the U-Boot configuration. Starting with V2.0, we have U-Boot binaries that can be used on different boards with the same MCU, e.g. one binary for PicoMOD6 and PicoCOM3, one binary for armStoneA8, PicoMOD7A and NetDCU14. So the debug port must be dynamically set depending on the actual board currently running.

The information of the debug port can be taken from the nboot_args structure that is passed from NBoot to U-Boot starting with NBoot V12. But it also has to be passed to the Linux Kernel, for example by a dynamic setting of the bootargs variable. And also the zImage decompressor code needs this information.
Forum Link

Activities

Keller

2012-08-24 15:42

manager   ~0000773

Provide an own function default_serial_console() that sets the correct port for this board (as reported by NBoot via the nboot_args).

In addition set an environment variable sercon to this port that can be used in the different bootargs settings.