mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* New RISCV board (cartesi-machine)
@ 2021-09-15 20:30 Marcelo Politzer
  2021-09-15 21:17 ` Ahmad Fatoum
  0 siblings, 1 reply; 7+ messages in thread
From: Marcelo Politzer @ 2021-09-15 20:30 UTC (permalink / raw)
  To: barebox

Hi, I'm new to barebox

I'm currently porting barebox to a riscv board (cartesi-machine).

I got it mostly working:
- new serial: serial_sbi.c and
- ext4 filesystem with mtdram

1) What I am still trying to figure out is how to customize `env` correctly.
I got it to build and appear based on the docs [1], [2],
however the only way I found around [3] was to replace `bin/init` with
this[4] layout.
Is there a recommended way to go about this?

2) I also would like clarification on the upstreaming process, is it
PR based, patches on this list?

best,
Marcelo


[1] Makefile:
```
bbenv-$(CONFIG_BOARD_CARTESI) += defaultenv-cartesi
```

[2] arch/riscv/boards/cartesi:
```
defaultenv-cartesi
├── boot
│   └── cartesi
├── init
│   ├── automount
│   └── ps1
└── nv
    ├── allow_color
    ├── autoboot_timeout
    └── user
```

[3]
```
Hit m for menu or any to stop autoboot:    0
Booting entry 'net'
```

[4]
```
defaultenv-cartesi
├── bin
│   └── init
└── boot
    └── cartesi
```

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-20 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 20:30 New RISCV board (cartesi-machine) Marcelo Politzer
2021-09-15 21:17 ` Ahmad Fatoum
2021-09-15 21:43   ` Marcelo Politzer
2021-09-15 21:58     ` Ahmad Fatoum
2021-09-16 18:01       ` Marcelo Politzer
2021-09-16 21:21         ` Ahmad Fatoum
2021-09-20 19:41           ` Marcelo Politzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox