Re: Passing boot logs to Linux?

2024-01-03 Thread Ahmad Fatoum
Hi, On 03.01.24 13:44, Heinrich Schuchardt wrote: > On 03.01.24 11:11, Csókás Bence wrote: >> Hi, >> >> 2023. 12. 31. 0:54 keltezéssel, Heinrich Schuchardt írta: >>> On 12/20/23 05:11, Simon Glass wrote: +Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: >>

Re: Passing boot logs to Linux?

2024-01-03 Thread Heinrich Schuchardt
On 03.01.24 11:11, Csókás Bence wrote: Hi, 2023. 12. 31. 0:54 keltezéssel, Heinrich Schuchardt írta: On 12/20/23 05:11, Simon Glass wrote: +Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: Hi Bence, On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Hi! I

Re: Passing boot logs to Linux?

2024-01-03 Thread Csókás Bence
Hi, 2023. 12. 31. 0:54 keltezéssel, Heinrich Schuchardt írta: On 12/20/23 05:11, Simon Glass wrote: +Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: Hi Bence, On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Hi! Is passing the U-Boot boot log to Linux s

Re: Passing boot logs to Linux?

2023-12-30 Thread Dragan Simic
On 2023-12-31 00:54, Heinrich Schuchardt wrote: On 12/20/23 05:11, Simon Glass wrote: +Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Is passing the U-Boot boot log to Linux supported yet? We are working wit

Re: Passing boot logs to Linux?

2023-12-30 Thread Heinrich Schuchardt
On 12/20/23 05:11, Simon Glass wrote: +Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: Hi Bence, On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Hi! Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which

Re: Passing boot logs to Linux?

2023-12-26 Thread Dragan Simic
On 2023-12-26 23:38, Csókás Bence wrote: On 2023. 12. 26. 19:09, Dragan Simic wrote: On 2023-12-26 10:46, Simon Glass wrote: On Thu, Dec 21, 2023 at 2:23 AM Dragan Simic wrote: On 2023-12-21 02:44, Dragan Simic wrote: > On 2023-12-21 02:37, Dragan Simic wrote: >> On 2023-12-21 02:03, Daniel G

Re: Passing boot logs to Linux?

2023-12-26 Thread Csókás Bence
On 2023. 12. 26. 19:09, Dragan Simic wrote: > Hello, > > On 2023-12-26 10:46, Simon Glass wrote: >> On Thu, Dec 21, 2023 at 2:23 AM Dragan Simic wrote: >>> On 2023-12-21 02:44, Dragan Simic wrote: >>> > On 2023-12-21 02:37, Dragan Simic wrote: >>> >> On 2023-12-21 02:03, Daniel Golle wrote: >>> >

Re: Passing boot logs to Linux?

2023-12-26 Thread Dragan Simic
Hello, On 2023-12-26 10:46, Simon Glass wrote: On Thu, Dec 21, 2023 at 2:23 AM Dragan Simic wrote: On 2023-12-21 02:44, Dragan Simic wrote: > On 2023-12-21 02:37, Dragan Simic wrote: >> On 2023-12-21 02:03, Daniel Golle wrote: >>> On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: >

Re: Passing boot logs to Linux?

2023-12-26 Thread Simon Glass
Hi, On Thu, Dec 21, 2023 at 2:23 AM Dragan Simic wrote: > > On 2023-12-21 02:44, Dragan Simic wrote: > > On 2023-12-21 02:37, Dragan Simic wrote: > >> On 2023-12-21 02:03, Daniel Golle wrote: > >>> On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: > On 2023-12-21 00:27, Csókás Be

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:44, Dragan Simic wrote: On 2023-12-21 02:37, Dragan Simic wrote: On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments do

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:37, Dragan Simic wrote: On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments don't > hold for a 4 MB SPI NAND, for exampl

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments don't > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt > rout

Re: Passing boot logs to Linux?

2023-12-20 Thread Daniel Golle
On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: > On 2023-12-21 00:27, Csókás Bence wrote: > > Not every system has eMMC/uSD, and as you said, these arguments don't > > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt > > router for example. Whereas RAM is quite

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 00:27, Csókás Bence wrote: On 2023. 12. 20. 20:58, Dragan Simic wrote: On 2023-12-20 20:24, Csókás Bence wrote: On 2023. 12. 20. 9:29, Dragan Simic wrote: On 2023-12-20 08:52, Csókás Bence wrote: That's what I read as well. Is there support for U-boot to write and Linux to read

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 20. 20:58, Dragan Simic wrote: > On 2023-12-20 20:24, Csókás Bence wrote: >> On 2023. 12. 20. 9:29, Dragan Simic wrote: >>> On 2023-12-20 08:52, Csókás Bence wrote: That's what I read as well. Is there support for U-boot to write and Linux to read PStores? >>> >>> No and yes,

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 20. 9:29, Dragan Simic wrote: > On 2023-12-20 08:52, Csókás Bence wrote: >> On 2023. 12. 20. 8:09, Dragan Simic wrote: >>> On 2023-12-20 07:49, Csókás Bence wrote: I don't think that would be a huge problem, Linux userspace can filter ANSI control codes if it wants to. For no

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 21:03, Sean Anderson wrote: On 12/20/23 14:24, Csókás Bence wrote: On 2023. 12. 20. 9:29, Dragan Simic wrote: On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: That's what I read as well. Is there suppor

Re: Passing boot logs to Linux?

2023-12-20 Thread Sean Anderson
On 12/20/23 14:24, Csókás Bence wrote: On 2023. 12. 20. 9:29, Dragan Simic wrote: On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: I don't think that would be a huge problem, Linux userspace can filter ANSI control co

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 20:24, Csókás Bence wrote: On 2023. 12. 20. 9:29, Dragan Simic wrote: On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: I don't think that would be a huge problem, Linux userspace can filter ANSI control

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 11:31, Mark Kettenis wrote: Date: Tue, 19 Dec 2023 23:45:48 -0500 From: Sean Anderson On 12/19/23 23:11, Simon Glass wrote: > On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: >> Is passing the U-Boot boot log to Linux supported yet? We are working >> with a third-party solution,

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 20. 8:09, Dragan Simic wrote: > On 2023-12-20 07:49, Csókás Bence wrote: >> On 2023. 12. 19. 21:33, Daniel Golle wrote: >>> What comes to mind is that CONFIG_CONSOLE_RECORD also captures ANSI >>> sequences during menu or count-down before boot, so we'd have to either >>> introduce a de

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 19. 21:33, Daniel Golle wrote: > Hi Bence, > > On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: >> Hi! >> >> Is passing the U-Boot boot log to Linux supported yet? We are working >> with a third-party solution, which works, but is a bit hacky, so I was >> wondering if an o

Re: Passing boot logs to Linux?

2023-12-20 Thread Mark Kettenis
> Date: Tue, 19 Dec 2023 23:45:48 -0500 > From: Sean Anderson > > On 12/19/23 23:11, Simon Glass wrote: > > Hi Csókás, > > > > On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: > >> > >> Hi! > >> > >> Is passing the U-Boot boot log to Linux supported yet? We are working > >> with a third-party

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: On 2023. 12. 19. 21:33, Daniel Golle wrote: What comes to mind is that CONFIG_CONSOLE_RECORD also captures ANSI sequences during menu or count-down before boot, so we'd

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-20 07:49, Csókás Bence wrote: On 2023. 12. 19. 21:33, Daniel Golle wrote: On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which works, but is a bit hacky, so I was wonde

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-20 05:45, Sean Anderson wrote: On 12/19/23 23:11, Simon Glass wrote: On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which works, but is a bit hacky, so I was wondering if an offic

Re: Passing boot logs to Linux?

2023-12-19 Thread Sean Anderson
On 12/19/23 23:11, Simon Glass wrote: Hi Csókás, On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: Hi! Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which works, but is a bit hacky, so I was wondering if an official solution has been merge

Re: Passing boot logs to Linux?

2023-12-19 Thread Simon Glass
Hi Csókás, On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: > > Hi! > > Is passing the U-Boot boot log to Linux supported yet? We are working > with a third-party solution, which works, but is a bit hacky, so I was > wondering if an official solution has been merged yet. > > I saw that there was

Re: Passing boot logs to Linux?

2023-12-19 Thread Simon Glass
+Heinrich Schuchardt On Tue, 19 Dec 2023 at 13:33, Daniel Golle wrote: > > Hi Bence, > > On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: > > Hi! > > > > Is passing the U-Boot boot log to Linux supported yet? We are working > > with a third-party solution, which works, but is a bit h

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-19 21:33, Daniel Golle wrote: On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which works, but is a bit hacky, so I was wondering if an official solution has been merged ye

Re: Passing boot logs to Linux?

2023-12-19 Thread Daniel Golle
Hi Bence, On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: > Hi! > > Is passing the U-Boot boot log to Linux supported yet? We are working > with a third-party solution, which works, but is a bit hacky, so I was > wondering if an official solution has been merged yet. > > I saw th

Passing boot logs to Linux?

2023-12-19 Thread Csókás Bence
Hi! Is passing the U-Boot boot log to Linux supported yet? We are working with a third-party solution, which works, but is a bit hacky, so I was wondering if an official solution has been merged yet. I saw that there was an option CONFIG_CONSOLE_RECORD that saves everything to a membuff, but I