00:00
matoro_ has joined #riscv
00:11
solrize has joined #riscv
00:11
solrize has quit [Changing host]
00:29
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
00:36
prabhakarlad has quit [Quit: Client closed]
00:40
Trifton2 has quit [Quit: Error: no route to host]
01:00
Noisytoot has quit [Excess Flood]
01:01
Noisytoot has joined #riscv
01:15
wgrant has quit [Quit: WeeChat 3.5]
01:22
wgrant has joined #riscv
01:33
Trifton has joined #riscv
01:39
jacklsw has joined #riscv
01:39
jacklsw has quit [Changing host]
01:39
jacklsw has joined #riscv
03:21
EchelonX has quit [Quit: Leaving]
03:39
Noisytoot has quit [Remote host closed the connection]
03:41
Noisytoot has joined #riscv
04:12
Noisytoot has quit [Excess Flood]
04:15
Noisytoot has joined #riscv
04:40
iooi_ has joined #riscv
04:40
BootLayer has joined #riscv
04:41
iooi has quit [Ping timeout: 255 seconds]
04:41
iooi_ is now known as iooi
04:57
vagrantc has quit [Quit: leaving]
05:31
jacklsw has quit [Quit: Back to the real life]
05:31
jacklsw has joined #riscv
05:39
epony has quit [Read error: Connection reset by peer]
06:13
epony has joined #riscv
06:45
tucanae47 has quit [Ping timeout: 252 seconds]
06:47
tucanae47 has joined #riscv
07:30
pabs3 has quit [Read error: Connection reset by peer]
07:31
pabs3 has joined #riscv
08:17
eroux has quit [Ping timeout: 265 seconds]
08:21
eroux has joined #riscv
08:26
elastic_dog is now known as Guest1434
08:26
elastic_dog has joined #riscv
08:42
ldevulder has joined #riscv
09:27
jacklsw has quit [Quit: Back to the real life]
10:42
aerkiaga has joined #riscv
11:01
pedja has quit [Quit: Leaving]
11:02
junaid_ has joined #riscv
11:06
pedja has joined #riscv
11:29
joev has quit [Ping timeout: 260 seconds]
11:29
joev has joined #riscv
11:36
aerkiaga has quit [Remote host closed the connection]
11:38
jmdaemon has quit [Ping timeout: 268 seconds]
11:47
billchenchina has joined #riscv
11:57
jacklsw has joined #riscv
12:01
junaid_ has quit [Ping timeout: 256 seconds]
12:03
junaid_ has joined #riscv
12:32
joev has quit [Ping timeout: 246 seconds]
12:33
joev has joined #riscv
12:39
jacklsw has quit [Read error: Connection reset by peer]
12:44
junaid_ has quit [Ping timeout: 272 seconds]
13:28
bauruine has joined #riscv
13:55
pabs3 has quit [Ping timeout: 264 seconds]
13:58
junaid_ has joined #riscv
14:05
pabs3 has joined #riscv
14:07
rneese has joined #riscv
14:29
aerkiaga has joined #riscv
14:41
Kedleston has quit [Ping timeout: 260 seconds]
14:54
Kedleston has joined #riscv
14:58
javierm has joined #riscv
15:00
Andre_H has joined #riscv
15:00
<
rneese >
anyone here have a starfive visionfive they can post the default env settings
15:01
BootLayer has quit [Quit: Leaving]
15:01
<
rneese >
like export them so I can reset mine to default
15:05
Andre_H has quit [Client Quit]
15:27
aerkiaga has quit [Remote host closed the connection]
15:30
<
rneese >
no I the bootloader env
15:30
<
rneese >
booting with out a sd card and printenv
15:31
<
rneese >
once it getst to starfive#
15:31
<
rneese >
or visionfive#
15:31
jacklsw has joined #riscv
15:31
jacklsw has joined #riscv
15:31
jacklsw has quit [Changing host]
15:32
zjason` is now known as zjason
15:48
junaid_ has quit [Ping timeout: 248 seconds]
15:50
junaid_ has joined #riscv
15:55
<
rneese >
when making a uEnv.txt how to make it rm a line you dont want
15:56
<
rneese >
b_part=1 2 3 need to rm bthis line
15:57
<
rneese >
but as nothing is reading it it should be ignored right
16:01
BootLayer has joined #riscv
16:01
<
rneese >
I get a error now
16:01
<
rneese >
** Invalid partition 3 **
16:01
<
rneese >
Couldn't find partition mmc 0:3
16:01
<
rneese >
Can't set block device
16:02
<
rneese >
what is the default
16:02
<
rneese >
just 1 and 2
16:02
<
rneese >
or 1 and 3
16:19
aerkiaga has joined #riscv
16:20
junaid_ has quit [Remote host closed the connection]
16:22
___nick___ has joined #riscv
16:23
___nick___ has quit [Client Quit]
16:25
___nick___ has joined #riscv
16:25
___nick___ has quit [Client Quit]
16:27
___nick___ has joined #riscv
16:28
aerkiaga has quit [Remote host closed the connection]
16:33
vagrantc has joined #riscv
16:37
<
rneese >
la_mettrie: you still here
16:38
<
rneese >
Can't set block device
16:38
<
rneese >
** Invalid partition 3 **
16:38
<
rneese >
Couldn't find partition mmc 0:3
16:38
<
rneese >
Can't set block device
16:47
<
la_mettrie >
i don't remember much about bootloaders by heart. wouldn't updating the bootloader solve problems? (by following official instructions)
16:47
<
la_mettrie >
i'm leaving now for an hour
16:47
<
la_mettrie >
(updating/reflashing)
16:57
<
mps >
rneese: iirc default boot partition is 3
16:58
<
rneese >
well if I could find the preconfigled files I would
16:58
<
mps >
I changed it and save env to flash on my board so can't check now
16:58
<
mps >
maybe look at visionfive u-boot source
16:59
<
mps >
i have default printenv file somewhere, have to look for it
17:11
<
rneese >
well mine shows mmc 0:3 which says partion 3 of mmc 0
17:11
<
rneese >
trying to fox put builder to work right
17:12
<
rneese >
ok here is a question extlinux or grub what is preff
17:13
<
mps >
rneese: ime, extlinux.conf is safer but grub also can work with some tweaks
17:13
<
rneese >
ok I will work to go with extlinux.conf
17:15
<
mps >
and I changed boot partition to 2 in u-boot for this
17:15
<
mps >
it is tested well on visionfive v1
17:16
jacklsw has quit [Read error: Connection reset by peer]
17:24
<
rneese >
well I need to get the builder to build extlinux parts and put them in place and make it read right
17:25
vagrantc has quit [Quit: leaving]
17:25
<
another| >
u-boot-menu ?
17:26
<
rneese >
no our img builder it currently is haveing bugs I have to fix
17:27
<
another| >
seems not too difficult
17:28
<
rneese >
I got the uboot env reset the 3 linues that hwere chaged
17:28
<
rneese >
so I am back to default
17:31
Gravis has quit [Ping timeout: 272 seconds]
18:09
EchelonX has joined #riscv
18:19
radu242753435 has joined #riscv
18:29
<
rneese >
partition 1 is unused
18:29
<
rneese >
partition 2 is the EFI System Partition (used for boot option 2)
18:29
<
rneese >
partition 3 is the root filesystem, which also includes the kernel, initramfs, and boot configuration
18:30
<
rneese >
so this explains the basic s
18:31
<
rneese >
and it seems noone has doen a gruc/extlinux setup
18:31
<
rneese >
or just documentd a extlinux setup
18:31
<
rneese >
they use grub it seems by default now
18:43
vagrantc has joined #riscv
19:01
<
mps >
and again it uses partition 2 for root fs
19:24
epony has quit [Ping timeout: 268 seconds]
19:51
<
rneese >
so you change the default
19:51
<
rneese >
from mmc0:3
19:53
<
rneese >
th issue we had was by default the img builder we currently have used mmc0:0 as default
19:54
<
rneese >
so the patch in the bl we removed broke things
19:55
<
rneese >
as it made so you can boot from 1 2 or 3 depending on grub and extlinux
19:55
<
rneese >
but I have a bug now to fix
19:56
<
rneese >
and I just made a reset.uenv.txt so we can test changes.
19:57
___nick___ has quit [Ping timeout: 246 seconds]
19:59
___nick___ has joined #riscv
19:59
<
rneese >
but I have a few things now to fix
20:01
<
rneese >
MMC CD is 0x0, force to True.
20:01
<
rneese >
Failed to load 'uEnv.txt'
20:01
<
rneese >
Can't set block device
20:01
<
rneese >
I dont get why its failing the file is it the fact its not on mmc0:3
20:02
<
rneese >
it shold be reading where ever its told too ook
20:02
<
rneese >
ook / look
20:02
<
rneese >
error: serial port `com0' isn't found.
20:02
<
rneese >
error: terminal `serial' isn't found.
20:02
<
rneese >
error: terminal `serial' isn't found.
20:02
<
rneese >
this for grub is the other issue
20:03
<
rneese >
I might have to set and pass it
20:13
<
mps >
rneese: yes, I changed boot partition to 2 because it looks very strange to me to not have partitions in natural order
20:13
<
rneese >
well reading the wiki I found that
20:15
<
mps >
the problem is that u-boot searches for uEnv.txt in default partition and not searching in all of them starting from 1 up
20:15
<
rneese >
partition 1 is unused
20:15
<
rneese >
partition 2 is the EFI System Partition (used for boot option 2)
20:15
<
rneese >
partition 3 is the root filesystem, which also includes the kernel, initramfs, and boot configuration
20:16
<
mps >
don't have idea why starfive went with this strange setup in default u-boot
20:16
<
rneese >
yeah they did it on fedora also
20:17
<
mps >
maybe they planed partition 1 for something
20:18
<
rneese >
well they never did anything and we will have to see what v2 brings
20:18
<
rneese >
maybe a backup/restore function
20:20
<
rneese >
well I have to figure a fix for this
20:20
<
rneese >
to have it check all 3 partitions
20:22
zjason` has joined #riscv
20:22
<
mps >
u-boot runs hush script and there is possible to do a lot
20:22
<
mps >
I'm not sure is the hush posix shell compliant
20:23
zjason has quit [Ping timeout: 256 seconds]
20:23
<
rneese >
ootdir=/boot
20:23
<
rneese >
bootenv=uEnv.txt
20:23
<
mps >
btw, did anyone tried mainline kernel 6.1 without patches on visionfive v1
20:24
<
rneese >
I am using the visionfivev1 kernel src from starfive .
20:24
<
rneese >
and you cannot use mainline as the visionfive dtb files dont exist
20:24
<
rneese >
they are only in the starfive/visionfive kernel branch
20:25
<
rneese >
they will mainline the v2 board but v1 will not get mainlined
20:25
<
rneese >
and we are using the 6.1 kernel src they have
20:25
<
rneese >
and its working well
20:25
<
mps >
no, there is arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts in current mainline
20:26
<
rneese >
you could make patch files
20:26
<
rneese >
then have it patch the mainline
20:26
<
mps >
yes, I know I can make patches but would like to know will it work without patches
20:26
<
rneese >
no its in the visinfive dev branch
20:26
<
rneese >
mainline no
20:27
<
mps >
I'm sure it is mainline, just looked
20:27
<
rneese >
they will not upstream till 6.3 they say
20:29
<
rneese >
never saw then and it was not from starfive
20:29
<
rneese >
they said the v1 would never be mainstreamed due to lack of a vpu
20:29
<
mps >
no, I'm talking about mainline kernel
20:30
<
rneese >
I wonder is esmil knows
20:30
<
rneese >
as he is the main dev
20:31
<
rneese >
or if people are just going around him
20:31
<
rneese >
as esmil said not till 6.3
20:31
<
drmpeg >
The 6.2 window is over, and nothing went in.
20:32
<
rneese >
yeah so I thought it would be 6.3
20:33
<
drmpeg >
Maybe. It's not easy getting device tree stuff into Linux.
20:34
<
drmpeg >
This is why I ordered from the second batch due in February.
20:34
epony has joined #riscv
20:34
<
rneese >
I am waiting on the one I had to order from ameridroid
20:35
<
rneese >
single gig port
20:35
<
rneese >
was due in dec but pushed back jan/feb
20:39
<
rneese >
ok so as it was I get why they left mmc0:0 alone its where /boot on a msdos setup would go
20:39
<
rneese >
then mmc0:1 efi
20:39
<
rneese >
mmc0:3 root
20:40
<
rneese >
so they did not want to disrupt the normal layout
20:40
<
rneese >
but normal would have been 0:0/boot/uefi/efi and 2 as root
20:41
<
rneese >
so it is oddd
20:45
<
rneese >
so I figure out the error on serial port
20:45
<
rneese >
error: serial port `com0' isn't found.
20:45
<
rneese >
error: terminal `serial' isn't found.
20:45
<
rneese >
error: terminal `serial' isn't found.
20:46
<
rneese >
as we use a uart interface ttyS0 and not a normal serial port this is a normal error
20:46
<
rneese >
but need to subpress it
20:47
<
rneese >
I have full output on tty0 adn ttyS0
20:59
___nick___ has quit [Ping timeout: 268 seconds]
20:59
<
rneese >
do we need grub to detect snd
21:00
<
rneese >
I did not think it was needed
21:00
<
mps >
rneese: hm, though I have 'mmcpart=3' in u-boot printenv out and I don't have partition 3 on mmc card and root fs in partition 2 it boots fine
21:00
EchelonX has quit [Quit: Leaving]
21:01
<
rneese >
thats because grub does not care
21:01
<
mps >
also 'bootpart=0:3'
21:01
<
mps >
it is with extlinux.conf
21:01
<
rneese >
yeah I have that but grub overrides that
21:02
<
rneese >
grub/etxlinux bypass that onc eit boots grub
21:02
<
mps >
the thing is that u-boot finds uEnv.txt on part 2
21:03
<
rneese >
but did you set b-part setting in your uboot env
21:04
<
rneese >
this is how we made ours boot our img adn others
21:04
<
rneese >
b_part=1 2 3
21:04
<
rneese >
mmcbootenv=setenv bootpart ${mmcdev}:${mmcpart}; mmc dev ${mmcdev}; if mmc rescan; then run loadbootenv && run importbootenv; run ext4bootenv; if test -n $uenvcmd; then echo Run uenvcmd ...; run uenvcmd; fi; fi
21:04
<
rneese >
ext4bootenv=for b_p in ${b_part}; do if ext4load mmc ${mmcdev}:${b_p} ${loadaddr} ${bootdir}/${bootenv}; then run importbootenv; fi; done;
21:04
<
rneese >
uenvcmd=setenv uenvcmd ; saveenv
21:04
<
mps >
well, obviously I set these to factory defaults
21:04
<
rneese >
this allowed it to boot partition 1 2 3
21:04
<
rneese >
so having efi on 1 was ok
21:05
<
mps >
hmm, probably I played with u-boot vars and functions too much
21:05
<
mps >
and forgot what I actually did
21:05
aerkiaga has joined #riscv
21:05
<
rneese >
well if you print env I can compair a default to yours
21:06
<
rneese >
but overall we got it working but the main dev is having a fit
21:06
<
rneese >
because starfive and the os's did nto follow defaults
21:09
ldevulder has quit [Quit: Leaving]
21:10
<
rneese >
b_part=1 2 3
21:10
<
rneese >
so yes you set this
21:11
<
rneese >
that allows it to boot from any of the 3 partitions
21:12
<
rneese >
so thats why it works
21:12
<
mps >
ah, forgot this, thanks
21:13
<
rneese >
it looks like you have my full patch in there
21:13
<
rneese >
ext4bootenv=for b_p in ${b_part}; do if ext4load mmc ${mmcdev}:${b_p} ${loadaddr} ${bootdir}/${bootenv}; then run importbootenv; fi; done;
21:13
<
mps >
looks like we came to same solution
21:14
jljusten has quit [Ping timeout: 255 seconds]
21:14
<
rneese >
your mmcbootenv is orignal
21:14
<
rneese >
no its also been edted
21:14
<
rneese >
so you have the same patch
21:15
<
rneese >
mmcbootenv=setenv bootpart ${mmcdev}:${mmcpart}; mmc dev ${mmcdev}; if mmc rescan; then run loadbootenv && run importbootenv; run ext4bootenv; if test -n $uenvcmd; then echo Run uenvcmd ...; run uenvcmd; fi; fi
21:15
<
rneese >
so this is the same fix I found that we use on our setup to fix it
21:16
<
rneese >
so this makes things nice
21:17
<
rneese >
I need to get the latest ing for you build
21:17
<
rneese >
and if you plan to offer desktop imgs
21:17
<
rneese >
Debian is working on grub issues I hope they fix before the freeze
21:19
<
mps >
no, alpine by default doesn't use desktop on install. this is left to users to do if they need
21:20
<
rneese >
well is there a way to adapt the builder to add the option so they can make a custom img ?
21:20
BootLayer has quit [Quit: Leaving]
21:20
<
mps >
alpine install minimal working system and let users to decide what needed for use case
21:20
<
mps >
we prefer small, simple, secure
21:21
<
rneese >
like micro linux was
21:22
<
mps >
no, we actually have a lot of pkgs, full kde and gnome, servers etc but left this things to our users to install manually
21:24
<
rneese >
what was the dl url for the riscv img
21:24
Noisytoot has quit [Ping timeout: 268 seconds]
21:25
<
mps >
right, we don't have official images for riscv because we don't real builder (hardware) and build all packages with qemu-user on another host
21:26
<
mps >
we decided to not yet create boot iso img, in hope we will get real hardware for builder
21:26
<
mps >
but we have CI and build all pkgs
21:27
<
mps >
one of our developer wrote guide for sifive but I don't have url handy right now
21:27
<
rneese >
now your not deebian/ubuntu/arch/other your a complete own build right
21:29
<
mps >
little outdated though
21:32
<
rneese >
are you upto 6.1 kernel testing yet ?
21:32
<
rneese >
your using a android apk krnel ?
21:34
<
mps >
yes, we are using latest Esmil's kernel for visionfive v1 and mainline 6.1 for other
21:35
<
mps >
apk is alpine package file format and it predates android apk for few years, and these formats are not similar, totally different
21:35
<
mps >
android 'stole' name from us :)
21:36
<
rneese >
I see 6.0.0 in the repo but not 6.1
21:37
jljusten has joined #riscv
21:37
<
mps >
oh yes, probably builder is stuck with something and didn't yet build 6.1.1
21:38
<
mps >
could you tell what is status of builder
21:39
<
rneese >
our builder or yours
21:40
<
mps >
ikke: ah sorry, I see
21:40
<
mps >
actually there is 6.1.1 in CDN download
21:42
<
rneese >
need to get ours upto 6.1.1
21:42
<
mps >
rneese: debian?
21:42
<
rneese >
we build our own kernels from the visionfive tree
21:43
<
rneese >
adn it seems stuck at rc6 on our build at the min
21:43
<
mps >
our kernel for visionfive is somewhere else, I forgot url
21:43
<
rneese >
I will have to see if it can be updated
21:43
<
ikke >
It's not public
21:43
aerkiaga has quit [Remote host closed the connection]
21:43
<
ikke >
Can make if it necessary
21:43
<
mps >
ikke: ah, thanks
21:44
<
mps >
ikke: whatever you think about this is ok for me
21:44
<
rneese >
ikke will let you know have to find out why ours is stuck
21:44
<
rneese >
if its the ismel has it suck or is its got more
21:46
<
rneese >
looks like its locked at rc6 its not been updated since nov
21:47
<
mps >
yes, it is 6.1-rc6
21:47
<
rneese >
yeah not 6.1.1 yet
21:47
<
mps >
last commit on Nov 23
21:47
<
rneese >
thats what we have
21:48
<
mps >
so we have same
21:48
Noisytoot has joined #riscv
21:51
<
rneese >
well I have to save up and look at getting one
21:51
<
rneese >
so I can add itiinto our builder
21:51
<
rneese >
as I take it they have thier own kernel src also
21:52
<
rneese >
I would have to get a kernel config and link to kernel src
21:52
<
rneese >
does it just use uboot or is it using opensbi or rustsbi
21:52
<
rneese >
I want to get testing rustsbi
21:53
<
rneese >
I would like to get rustos ported in time also
21:54
<
rneese >
solrize is there a release date for the board ?
21:57
<
rneese >
to bad not a option for nvme
21:58
<
rneese >
I also wish they would add a 2nd usb-c for serial console setup
21:58
<
rneese >
stop using usb for power move back to real barrel lacks
21:59
<
rneese >
serial ports break to easy in small form factor
22:00
<
rneese >
I get why the Chinese prefer it but its just wrong imho
22:00
<
rneese >
I do like the som idea
22:01
<
rneese >
if it used default oinouts I know a better back plane fo rit
22:02
<
rneese >
this would give more ports output
22:10
<
rneese >
so mps when setup I forget does it ask you to setup a user
22:10
<
rneese >
or is the default user already there
22:11
radu242753435 has quit [Read error: Connection reset by peer]
22:11
<
mps >
rneese: you mean alpine setup?
22:11
radu242753435 has joined #riscv
22:11
<
mps >
default for alpine is root user without password
22:17
<
rneese >
mps its not leting me set timezone
22:18
<
rneese >
Which timezone are you in? ('?' for list) [UTC] ?
22:18
<
rneese >
Which timezone are you in? ('?' for list) [UTC]
22:18
ornx has quit [Changing host]
22:18
ornx has joined #riscv
22:18
<
rneese >
it wont let me set
22:18
<
mps >
yes, it will ask somewhere in setup-alpine process
22:18
<
mps >
default is UTC
22:18
<
rneese >
i am in alpine-setup
22:18
<
rneese >
its locked up
22:18
<
mps >
hmm, then you just found bug in it
22:19
<
rneese >
Which timezone are you in? ('?' for list) [UTC] ?
22:19
<
rneese >
'UTC' is not a valid timezone on this system
22:19
<
rneese >
Which timezone are you in? ('?' for list) [UTC]
22:19
<
mps >
which image you use?
22:19
<
rneese >
the one from the site
22:20
<
rneese >
I guess I should grab from the repo
22:20
<
rneese >
the one from dev.alpine.com
22:21
<
rneese >
yes thats the one
22:23
bauruine has quit [Remote host closed the connection]
22:24
<
mps >
I never thought that someone will run install from this image and didn't tested setup-alpine
22:25
<
mps >
but thank you for finding this problem
22:28
<
rneese >
freeswitch-timezones ?
22:28
<
rneese >
you know freeswitch is a voip server
22:28
<
rneese >
what is the timezones pkg
22:28
<
rneese >
and how to install
22:31
<
mps >
apk add tzdata
22:31
<
mps >
I will update image tomorrow
22:32
<
mps >
here is too late now
22:32
<
rneese >
532 pm here
22:33
<
rneese >
sleep well
22:34
<
mps >
thanks, good night
22:39
tafa has joined #riscv
22:44
radu242753435 has quit [Ping timeout: 252 seconds]
22:46
<
solrize >
rneese, all i know about that board is in the article i linked. i saw it priced way above rpi4 and said meh
22:46
<
solrize >
wake me up when they have one that is cheaper than a pi
22:48
<
rneese >
the pi is over 150 now in most places
22:48
<
rneese >
so that is cheaper
22:48
<
rneese >
but I do hope prices come down
22:48
<
rneese >
I am trcing a issue on my visionfive
22:49
<
rneese >
Net: Could not get PHY for dwmac.10020000: addr 3
22:49
<
rneese >
dwmac.10020000
22:51
<
rneese >
[ 8.348363] dwmac-starfive 10020000.ethernet: No PHY found
22:51
<
rneese >
[ 8.354513] dwmac-starfive 10020000.ethernet: error -ENODEV: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
22:52
<
rneese >
[ 9.853478] dw-apb-uart 12440000.serial: forbid DMA for kernel console
22:55
radu242753435 has joined #riscv
22:58
<
javierm >
rneese: maybe there are some deps missing? Did you look at /sys/kerne/debug/devices_deferred ?
23:03
<
rneese >
the same img works fine on the beaglev
23:03
<
rneese >
I will in a min
23:06
jmdaemon has joined #riscv
23:06
<
rneese >
empty file
23:16
<
rneese >
well its eol hardware noone is doing hardware support just us using it for software while we wait on v2
23:17
<
rneese >
just like beaglev . we just try to keep it going for now
23:32
elastic_dog is now known as Guest9840
23:32
Guest9840 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
23:32
elastic_dog has joined #riscv
23:43
pedja has quit [Quit: Leaving]