On Fri, 29 Sep 2017 14:18:40 +0200 Oleksij Rempel <linux@xxxxxxxxxxxxxxxx> wrote: > Probably it is better to send it as patch not as RFC ;) There are still some issues. > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: ... > > diff --git a/arch/riscv/boards/erizo-generic/board.c b/arch/riscv/boards/erizo-generic/board.c > > new file mode 100644 > > index 000000000..ecda85001 > > --- /dev/null > > +++ b/arch/riscv/boards/erizo-generic/board.c > > @@ -0,0 +1,28 @@ > > +/* > > + * Copyright (C) 2016 Antony Pavlov <antonynpavlov@xxxxxxxxx> > > + * > > + * This file is part of barebox. > > + * See file CREDITS for list of people who contributed to this project. > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License version 2 > > + * as published by the Free Software Foundation. > > + * > > + * This program is distributed in the hope that it will be useful, > > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + * GNU General Public License for more details. > > + * > > + */ > > + > > +#include <common.h> > > +#include <driver.h> > > +#include <init.h> > > + > > +static int hostname_init(void) > > +{ > > + barebox_set_hostname("barebox"); > > please, use board name. Maybe: erizo-generic or so. > For network boot the filenames will be constructed as following: > username-hostname-filetype That's a good point! > > > + > > + return 0; > > +} > > +postcore_initcall(hostname_init); -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox