[PATCH 4/6] cmdline: Add cmdline support

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 2 13:54:17 UTC 2017


On 01/08/17 22:14, Andreas Kölbl wrote:

> At the moment I didn't implement smp functionality. I will implement it
> directly after implementing SMP.

You can use arm_cortex_a9_get_multiprocessor_cpu_id() in all configurations.

Please try to use the functions in <libcpu/arm-cp15.h> in your BSP. If 
missing, then add them.

>
> Am 01.08.2017 um 13:08 schrieb Sebastian Huber:
>> Why can't you use_CPU_SMP_Get_current_processor() instead of
>> bsp_get_boot_cpu().
>>
>> Why do you have to use the linker command file to allocate memory for
>> the command line?
>>
> I thought, it would be a good idea to reserve memory for it on a defined
> place. This should ensure that a misconfiguration leads to an error.

Who defines the memory location for the command line? Is this read-only 
memory?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list