Skip to contentSkip to conversation

LPC43xx

DISCUSSION Alexander Shiyan 4 participants 7 messages Oct 21, 2014 – Nov 17, 2014

lore
Share & tools
lore
#0 lore raw

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).
What you recommend to do?

Thanks!
---
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hello,

Quoted 6 lines · Alexander Shiyan

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).
What you recommend to do?

The two obvious options are:

- place support for your CPU where it would be for Linux
- add support for your CPU to Linux

I'm (obviously) not Sascha, but I guess both would be fine.

Best regards
Uwe

Signature · 7 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Alexander Shiyan
Quoted 8 lines · Alexander Shiyan

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).
What you recommend to do?

Just create the architecture for barebox. If the Linux Kernel gets support for the architecture we can still rename it if we want to.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
In reply to Alexander Shiyan

Hi Alexander,

Quoted 7 lines · Alexander Shiyan

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).

I'm working on the upstream Linux port for LPC43xx SoCs. The obvious choice would be mach-lpc43xx. The problem is that LPC18xx are similar SoCs, and I think it would make sense to have them in the same mach-xxx. Haven't made up my mind on this issue, and I suspect we won't find out until we push some patches upstream.

Anyway, if you make any progress with the barebox port, I'd be happy to take a look and help you test it.

Regards,

Signature · 7 lines
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw

Sun, 16 Nov 2014 18:35:23 -0300 от Ezequiel Garcia <[email protected]>:

Quoted 11 lines

Hi Alexander,

Quoted 7 lines · Alexander Shiyan

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).

Quoted 8 lines

I'm working on the upstream Linux port for LPC43xx SoCs. The obvious choice would be mach-lpc43xx. The problem is that LPC18xx are similar SoCs, and I think it would make sense to have them in the same mach-xxx. Haven't made up my mind on this issue, and I suspect we won't find out until we push some patches upstream.

Anyway, if you make any progress with the barebox port, I'd be happy to take a look and help you test it.

The kernel has existing mach-lpc32xx architecture. I think it would be appropriate to rename it to mach-lpc and move the CPU-specific options in the local KConfig as first step.

---

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#5 lore raw
Quoted 18 lines · Alexander Shiyan

Sun, 16 Nov 2014 18:35:23 -0300 от Ezequiel Garcia <[email protected]>:

Quoted 17 lines

Hi Alexander,

Quoted 7 lines · Alexander Shiyan

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).

I'm working on the upstream Linux port for LPC43xx SoCs. The obvious choice would be mach-lpc43xx. The problem is that LPC18xx are similar SoCs, and I think it would make sense to have them in the same mach-xxx. Haven't made up my mind on this issue, and I suspect we won't find out until we push some patches upstream.

Quoted 6 lines
Quoted 2 lines

Anyway, if you make any progress with the barebox port, I'd be happy to take a look and help you test it.

The kernel has existing mach-lpc32xx architecture. I think it would be appropriate to rename it to mach-lpc and move the CPU-specific options in the local KConfig as first step.

LPC3xxx is ARMv5 based while LPC4xxx and LPC1xxx are ARMv7-M based.

Moreover, the peripherals are completely different (I haven't been able to find anything useful to reuse so far). I'm not sure it makes sense to make them share the same mach-xxx.

Anyway, we'll find out when we discuss this upstream.

Signature · 7 lines
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#6 lore raw

Mon, 17 Nov 2014 09:01:02 -0300 от Ezequiel Garcia <[email protected]>:

Quoted 21 lines · Alexander Shiyan
Quoted 18 lines

Sun, 16 Nov 2014 18:35:23 -0300 от Ezequiel Garcia <[email protected]>:

Quoted 17 lines

Hi Alexander,

Quoted 7 lines · Alexander Shiyan

Hello all.

We started developing device which uses NXP LPC43xx CPU. I would like to add support for this CPU series into barebox.
The problem is that there is no support for this architecture in the Linux kernel, and it would upset the current concept (the barebox tree is very similar to Linux tree and we not have any orphan arch-s).

I'm working on the upstream Linux port for LPC43xx SoCs. The obvious choice would be mach-lpc43xx. The problem is that LPC18xx are similar SoCs, and I think it would make sense to have them in the same mach-xxx. Haven't made up my mind on this issue, and I suspect we won't find out until we push some patches upstream.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Anyway, if you make any progress with the barebox port, I'd be happy to take a look and help you test it.

The kernel has existing mach-lpc32xx architecture. I think it would be appropriate to rename it to mach-lpc and move the CPU-specific options in the local KConfig as first step.

LPC3xxx is ARMv5 based while LPC4xxx and LPC1xxx are ARMv7-M based.

This should not be a problem. Look at the i.MX architecture, this contain v4, v5, v7 CPUs.

---

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox