debug in PBL

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Mar 5 11:32:41 EST 2013


On 19:52 Tue 05 Mar     , Alexander Shiyan wrote:
> Hello All.
> 
> I tried to compile latest bb.
> pcm038 + pbl + debug level 7
> 
> Compilation failed with following error:
>   LD      arch/arm/pbl/zbarebox
> arch/arm/mach-imx/built-in-pbl.o: In function `imx_nand_load_image':
> /home/git/bb-mar05/arch/arm/mach-imx/external-nand-boot.c:232: undefined reference to `printf'
> 
> How we should handle debug messages in PBL in this case?
you can not use the printf in the pbl you need to yse debug_ll

Best Regards,
J.
> Thanks.
> 
> ---
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list