On Fri, May 12, 2017 at 06:01:35PM +0900, YASUOKA Masahiko wrote: > > > And something like this? > > Yes. What we need to do is comparing the device path node before > MEDIA_DEVICE_PATH type. So I rewrote it like > > media_idx = device_path_index(rootdp, MEDIA_DEVICE_PATH); > for (...) > if (device_path_ncmp(rootdp, dp, media_idx) == 0) > bootdev = 1; > > ok? comment? >
The device order is correct, the laptop boots without problems, but executing "machine diskinfo" prints a source file now.. https://www.youtube.com/watch?v=EUao9Fq5Bww It seems gnu/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp Michele