On Fri, Aug 04, 2017 at 01:30:14 +0200, Emmanuel Dreyfus wrote: > Valery Ushakov <u...@stderr.spb.ru> wrote: > > > Unfortunately this breaks hpcsh which initializes console very early > > when malloc is not available, so when you boot with wscons the machine > > wedges. > > > > I think your change should be reverted for now and a different fix > > developed. > > Or perhaps it could be just ifdef hpcarm?
That will also do for now. Please, don't forget to request pullups. Please, can you also file a PR with the details on what is broken in the original "unconst" version. Do you need to boot with some specific selection in hpcboot, what are the commands, what you expect to happen and what actually happens, etc. I'll try to look into it, but probably not immediately. As I said in an earlier reply, unfortunately layout handling is a mess, b/c the data structure definitions contradict the intended purpose of machdep entries, so some rototill might be necessary. Thanks. -uwe