On Tue, Mar 01, 2016 at 04:36:31PM -0500, Lennart Sorensen wrote: > On Tue, Mar 01, 2016 at 03:51:57PM -0500, Alex Winbow wrote: > > On Fri, 26 Feb 2016, Michael Cree wrote: > > > > >> Success with kernel 4.4.2, built entirely using the Debian package > > >>configuration options with only two changes: machinetype set from generic > > >>to > > >>SX164, and CONFIG_ALPHA_SRM=y. > > >> Obviously I'm thinking that CONFIG_ALPHA_SRM may be highly significant > > >>here! > > >Yeah, I'm not convinced. Looking at the kernel Kconfig description it > > >appears to me that CONFIG_ALPHA_SRM allows one to boot directly from SRM, > > >i.e., bypassing a bootloader such as aboot. Looking at the kernel source > > >it appears to me that CONFIG_ALPHA_SRM is in effect enabled when building > > >a generic kernel. > > >I'll do some testing to see if we can narrow it down to whether it > > >is building for a generic kernel that's the problem, or whether it is > > >indeed the CONFIG_ALPHA_SRM option. > > > > Hi, Michael, > > > > I went to test this myself (setting system type to generic instead of > > setting ALPHA_SX164=y, and test for kernel start), and couldn't find > > CONFIG_ALPHA_SRM. It appears that setting is not exposed by kconfig *unless* > > you set a system type. > > > > Looking in the kernel source under arch/alpha/Kconfig, I see: > > -------------------------------------------------------------------------- > > config ALPHA_SRM > > bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH > > || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR > > || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || > > ALPHA_NONAME > > -------------------------------------------------------------------------- > > > > Do you think this behavior is correct? > > All the code in the kernel that uses CONFIG_ALPHA_SRM says ALPHA_SRM > or GENERIC, so as long as either ALPHA_GENERIC or ALPHA_SRM is true, > you get the result you want.
It is possible that GENERIC enables something that doesn't work though that SRM alone would not. I didn't not look at that since GENERIC enables lots of stuff. At least GENERIC is not mising anything SRM would give you. -- Len Sorensen

