Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148978

Forum Post: AM335x custom board: how to include pinmux.h/mux.h into kernel?

$
0
0

I'm trying to build a Yocto or Arago distribution for our custom AM3352 board.

After some research in the forum I managed to include the pinmux.h and mux.h informations into U-Boot and recompile it.

The kernel boots giving a lot of errors, and then stops at the famous "Waiting for root device /dev/mmcblk0p2..." line. I found the solution in the forum here, but I'm asking myself:

How do I include all the pinmux informations into the kernel?

As far as I understand I have two setups:

U-Boot 2013.01.01 with Linux kernel 3.2 

I must somewhat manually copy all the macros using the correct parameter string name inside <kernel>/arch/arm/mach-omap2/board-am335xevm.c (https://docs.google.com/file/d/0BzESOSf028mLTjlPYmVJTUlTODA/edit?pli=1). Sounds like it will take half an eternity.

U-Boot 2013.10 with Linux kernel 3.12

U-Boot will load a Device Tree File and the kernel just "use it". How do I create such file from pinmux.h/mux.h?

Is there a complete and working reference on how to accomplish this task that I may have missed?

Why the PinMux tool does not export the mux in a format that one can simply cut&paste inside sources?

Thank you for you help.

Kind Regards,

  Alessandro Da Rugna


Viewing all articles
Browse latest Browse all 148978

Trending Articles



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