Linux kernel for OMAP5432 uEVM
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel ofgit://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
## Executing script at 82000000
reading omap5-evm-omap.dtb
15280 bytes read in 6 ms (2.4 MiB/s) reading uImage-omap
3996552 bytes read in 250 ms (15.2 MiB/s) ## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-3.10.0-rc6-12306-g0dbc346 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3996488 Bytes = 3.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 825f0000
Booting using the fdt blob at 0x825f0000 Loading Kernel Image ... OK
OK
reserving fdt memory region: addr=9d000000 size=3000000 Loading Device Tree to 83ff9000, end 83fffbaf ... OK
Starting kernel ...
Before trying this tree, I'm using the 3.8.4 kernel from TI. And it does support the board and can successfully boot.
Anything that I may have missed when configuring the kernel? I use omap2plus_defconfig and add DEBUG_LL, DEBUG_OMAP2PLUS_UART, DEBUG_OMAP4UART3...
Cheers,
Chen Baozi
Hi Chen,
Quoted 4 lines · Chen Baozi
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.
Which branch are you using ?
Quoted 2 lines
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_data
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
Thanks and regards,
Lokesh
Quoted 37 lines
## Executing script at 82000000
reading omap5-evm-omap.dtb
15280 bytes read in 6 ms (2.4 MiB/s) reading uImage-omap
3996552 bytes read in 250 ms (15.2 MiB/s) ## Booting kernel from Legacy Image at 80300000 ...Image Name: Linux-3.10.0-rc6-12306-g0dbc346 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3996488 Bytes = 3.8 MiBLoad Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at825f0000
Booting using the fdt blob at0x825f0000Loading Kernel Image ... OK
OK
reserving fdt memory region: addr=9d000000 size=3000000 Loading Device Tree to83ff9000, end83fffbaf... OKStarting kernel ...
Before trying this tree, I'm using the 3.8.4 kernel from TI. And it does support the board and can successfully boot.
Anything that I may have missed when configuring the kernel? I use
omap2plus_defconfigand addDEBUG_LL,DEBUG_OMAP2PLUS_UART,DEBUG_OMAP4UART3...Cheers,
Chen Baozi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Lokesh Vutla
Hi Chen,
Quoted 4 lines · Chen Baozi
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.Which branch are you using ?
the master branch.
Quoted 4 lines
Quoted 2 lines
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_data
Thanks, I'll have a try.
Baozi
Quoted 45 lines
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
Thanks and regards,
LokeshQuoted 37 lines
## Executing script at 82000000
reading omap5-evm-omap.dtb
15280 bytes read in 6 ms (2.4 MiB/s) reading uImage-omap
3996552 bytes read in 250 ms (15.2 MiB/s) ## Booting kernel from Legacy Image at 80300000 ...Image Name: Linux-3.10.0-rc6-12306-g0dbc346 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3996488 Bytes = 3.8 MiBLoad Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at825f0000
Booting using the fdt blob at0x825f0000Loading Kernel Image ... OK
OK
reserving fdt memory region: addr=9d000000 size=3000000 Loading Device Tree to83ff9000, end83fffbaf... OKStarting kernel ...
Before trying this tree, I'm using the 3.8.4 kernel from TI. And it does support the board and can successfully boot.
Anything that I may have missed when configuring the kernel? I use
omap2plus_defconfigand addDEBUG_LL,DEBUG_OMAP2PLUS_UART,DEBUG_OMAP4UART3...Cheers,
Chen Baozi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Chen Baozi
Quoted 7 lines · Lokesh Vutla
Hi Chen,
Quoted 4 lines · Chen Baozi
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.Which branch are you using ?
Quoted 8 lines
the master branch.
Quoted 4 lines
Quoted 2 lines
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_dataThanks, I'll have a try.
There is also clock data dts support now in Tero's series:
http://marc.info/?l=linux-omap&m=137456411706971&w=2
Signature · 2 lines
Regards, Nishanth Menon
Quoted 16 lines · Nishanth Menon
Quoted 15 lines · Chen Baozi
Quoted 7 lines · Lokesh Vutla
Hi Chen,
Quoted 4 lines · Chen Baozi
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.Which branch are you using ?
the master branch.
Quoted 2 lines
Quoted 2 lines
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_dataThanks, I'll have a try.
There is also clock data dts support now in Tero's series:
http://marc.info/?l=linux-omap&m=137456411706971&w=2
Thanks, I'll have a look though Lokesh's suggestion has already booted my board.
Might be a stupid question. What's the different functionality between these two series of patch set? For it seems clk data patches have done the some of initialization that make the system boot.
Cheers,
Baozi
Quoted 22 lines · Chen Baozi
Quoted 19 lines · Nishanth Menon
Quoted 18 lines · Chen Baozi
Quoted 7 lines · Lokesh Vutla
Hi Chen,
Quoted 4 lines · Chen Baozi
Hi all,
I'm trying to boot my OMAP5432 uEVM devboard with the lastest kernel of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git.Which branch are you using ?
the master branch.
Quoted 4 lines
Quoted 2 lines
However, after u-boot loading uImage & DTB, there is no output message any more, such as:
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_data
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Thanks, I'll have a try.
There is also clock data dts support now in Tero's series:
http://marc.info/?l=linux-omap&m=137456411706971&w=2Thanks, I'll have a look though Lokesh's suggestion has already booted my board.
Might be a stupid question. What's the different functionality between these two series of patch set? For it seems clk data patches have done the some of initialization that make the system boot.
two different approaches - one using clock data in kernel, other with clock data in dtb and generic clock drivers. Tero's approach is what is being massaged for upstream as we do not wish to add additional clock data into kernel source tree anymore.
Signature · 2 lines
Regards, Nishanth Menon
Hi Lokesh & list,
Quoted 8 lines · Lokesh Vutla
Clk data might be missing here. Try merging the below branch and test it
https://git.kernel.org/cgit/linux/kernel/git/ssantosh/linux.git/log/?h=for_3.11/out_of_tree/omap5_clk_dataYou can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
Thanks and regards,
Lokesh
I've ported the two patches on the top of clk data branch to both of linux-omap tree and Linus's kernel. They all work now. Thanks a lot.
And a few more questions, ;-)
I read the timer initialization codes in kernel. It looks like the Linux kernel does not use the architected timer of Cortex-A15 MPCore. I tried to use arch_timer_get_cntfrq() to get its rate, but failed(returned frequency is 0). I'm wondering if it is because of lack of initialization or other issues.
Another question is about UART on OMAP5432. This is origin from my attempt to porting Xen to OMAP5432. Now Xen has already had a 8250 compatible driver. What I have done is to hook it with Xen's arm initialization codes (for example, hook it with device tree). Xen's original driver is rather simple compared to the Linux omap-serial.c. It enables receive and transmit interrupts in the end of initialization. Once the interrupt is enabled, it would generate nested interrupt of THRE and make the system dead loop in the interrupt handler. I have been digging this problem for nearly a month and haven't got a clue yet. I guess it might be caused by uninitialized architected timer, which then lead me to the previous question. Any idea?
Cheers,
Baozi
Quoted 2 lines · Lokesh Vutla
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
And the ethernet driver is not available by default?
Cheers,
Baozi
Hi Chen,
Quoted 7 lines · Chen Baozi
Quoted 2 lines · Lokesh Vutla
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
And the ethernet driver is not available by default?
You need the following patch series recently posted by Roger:
http://www.mail-archive.com/[email protected]/msg92694.html
Thanks and regards,
Lokesh
Quoted 5 lines
Cheers,
Baozi
Quoted 4 lines · Lokesh Vutla
Hi Chen,
Quoted 1 line · Chen Baozi
Quoted 9 lines
Quoted 6 lines · Lokesh Vutla
Quoted 3 lines
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
And the ethernet driver is not available by default?
You need the following patch series recently posted by Roger:
http://www.mail-archive.com/[email protected]/msg92694.html
Those will work only if you proceed with Tero's clock data in DT approach.
cheers,
-roger
Hi Chen,
Quoted 10 lines · Roger Quadros
Quoted 9 lines · Lokesh Vutla
Hi Chen,
Quoted 6 lines · Chen Baozi
Quoted 2 lines · Lokesh Vutla
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
And the ethernet driver is not available by default?
You need the following patch series recently posted by Roger:
http://www.mail-archive.com/[email protected]/msg92694.htmlThose will work only if you proceed with Tero's clock data in DT approach.
I've created a branch that contains all patches required to get ethernet working on uEVM on top of Tero's DT clocks. I took the leisure of picking the baseport tree from Lokesh [1].
You can get the necessary stuff from branch
usbhost-uevm-3.11-rc3
in git tree
git://github.com/rogerq/linux.git
cheers,
-roger
[1] - https://github.com/lokeshvutla/linux/tree/dra7-3.11-rc3-base
Hi Roger,
Quoted 21 lines · Roger Quadros
Hi Chen,
Quoted 10 lines · Roger Quadros
Quoted 9 lines · Lokesh Vutla
Hi Chen,
Quoted 6 lines · Chen Baozi
Quoted 2 lines · Lokesh Vutla
You can also use Linus's kernel with the above clk data branch.( OMAP5 uEVM boots) Please let me know if you need more info.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
And the ethernet driver is not available by default?
You need the following patch series recently posted by Roger:
http://www.mail-archive.com/[email protected]/msg92694.htmlThose will work only if you proceed with Tero's clock data in DT approach.
Quoted 8 lines
I've created a branch that contains all patches required to get ethernet working on uEVM on top of Tero's DT clocks. I took the leisure of picking the baseport tree from Lokesh [1].
You can get the necessary stuff from branch
usbhost-uevm-3.11-rc3in git tree
git://github.com/rogerq/linux.git
Thanks a lot. I'll have a try.
Baozi