Re: [PATCH v3] Documentation: add watchdog documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 18.02.19 09:56, Tomaž Šolc wrote:
On 18. 02. 19 09:06, Oleksij Rempel wrote:
On 18.02.19 08:56, Tomaž Šolc wrote:
On 18. 02. 19 08:12, Oleksij Rempel wrote:
+In case the bootloader is responsible for watchdog activation, the system can
+be considered as failed by design.

I think this is too strongly worded and I would leave out this last sentence. It seems arrogant for documentation to judge what is "failed by design" like this, without considering any other requirements for a system.

Can you please provide an example of a requirement, which can't be considered as bad design.

Not everything is an avionics system that needs to address cosmic particles or whatever. That doesn't make it a bad design and it's not realistic to expect everything to be made up to such standards.

:) sure

Documentation calling 90% of systems out there "failed by design" is just driving potential users away in my opinion. It's ok to make people aware of the limitations though (and I think the rest of your text does that just fine).

You list an example yourself below in the text: things like netboot can make boot time unpredictable enough that watchdog must be feed during boot. Are all netboot systems "failed by design"?

Yes, it is :) at least for a production system. Making some thing bad for development, do not justify making a production system in a same bad way.

Some systems don't allow the watchdog to be enabled permanently, but need software to enable it (example: bcm2835). Bootloader is the earliest point where this can be done. This solves a bad kernel update (might be a requirement for a consumer device), but doesn't address power supply glitches during bootloader operation (might not be a requirement).

Anyway, just an opinion from someone new to Barebox.

The point of this sentence is to make everybody feel bad if system is designed in a bad way..

Just one example, almost all consumer WiFi router based on Qualcomm Atheros are with broken watchdog. It is not avionics, but some times users should just manually reset it and it is bad.

bcm2835 with filed SD card, which should be power cycled. Most probably nobody will die if it will fail, but it just bad.

In most cases, if you ask: "It is 2019!!! Why this system has no proper watchdog?! why should i manually power cycle my router, TV, laptop or PC or even a RPi". The answer will be: "Well, it is not so important, ... we do not even feel bad about it"

If some thing is bad, it should be called as bad. No political correctness.. I hope you understand my point ;D

Kind regards,
Oleksij Rempel

--
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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux