On Fri 2014-11-28 12:27:19, Tony Lindgren wrote: > * Pali Rohár <pali.rohar@xxxxxxxxx> [141127 03:34]: > > On Thursday 27 November 2014 02:12:04 Tony Lindgren wrote: > > > > > > Thinking about this probably the best long term solution is > > > to pass optional board_revision in the kernel cmdline that > > > can be parsed early and copied to system_rev variable. > > > > > > > Not possible. Our bootloader is closed & proprietary. I tried to > > replace it with u-boot I was not able to do that. So we will use > > that Nokia closed bootloader forever and it can provide data only > > in ATAG structure. > > I'm using just mainline u-boot flashed as kernel for nolo that > then loads the kernel. > > For passing the board revision using the pass through u-boot is > probably the best long term solution. U-boot can read the ATAGs > from nolo and modify the .dtb for the revision information. > > Are you saying there are some issues with that? Plenty :-). Basically, u-boot is great for production (select one of kernels and boot it), but pretty much unusable for development: 1) It does not support backlight, so you are interacting blind 2) Setup to load kernels over usb would probably be interesting 3) It makes kernel fail in interesting ways depending on phase of moon. Please, keep nolo supported. Debugging kernel & user space is bad, debugging u-boot & kernel & user space would be even worse. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html