00:08
torez has quit [Quit: torez]
02:28
mmu_man has quit [Ping timeout: 268 seconds]
03:23
LokeshV_ has joined #u-boot
03:58
macromorgan has quit [Read error: Connection reset by peer]
05:40
agust has joined #u-boot
06:12
chrfle_ has joined #u-boot
06:20
alpernebbi has joined #u-boot
06:25
smartin has joined #u-boot
06:26
chrfle_ has quit [Ping timeout: 268 seconds]
06:35
fdanis_away is now known as fdanis
06:38
sszy has joined #u-boot
06:40
chrfle_ has joined #u-boot
06:42
fdanis is now known as fdanis_away
06:44
mckoan|away is now known as mckoan
06:45
fdanis_away is now known as fdanis
06:55
monstr has joined #u-boot
07:13
alpernebbi has quit [Ping timeout: 244 seconds]
07:16
guillaume_g has joined #u-boot
07:37
tnovotny has joined #u-boot
08:02
ilunev has joined #u-boot
08:34
matthias_bgg has joined #u-boot
10:34
mckoan is now known as mckoan|away
10:37
chrfle_ has quit [Quit: Leaving]
10:39
mmu_man has joined #u-boot
11:09
<
milkylainen >
hmm. when loading an raw initrd from u-boot.. does the initrd length matter? What I mean is, I put a initrd in ram, claim it's a little bit bigger than it actually is and tell the kernel where it's at. Does it matter? Doesn't the cpio archive contain it's own length as long as the header is found?
11:10
<
milkylainen >
Why all the messing about how long an initrd is?
11:10
LokeshV_ has quit [Remote host closed the connection]
11:33
sszy has quit [Ping timeout: 264 seconds]
11:34
sszy has joined #u-boot
11:51
<
milkylainen >
#define BZIMAGE_MAX_SIZE 15*1024*1024 /* 15MB */
11:51
<
milkylainen >
Arbitrary?
12:20
<
urja >
the actual format is a sequence of cpio archives (aligned to 4 bytes, minimum) with optional zero padding in between
12:21
<
urja >
(that can be compressed ofc)
12:21
<
urja >
you can go look it up; anyways the gist ends up being... you can claim it is bigger than it actually is, but then you need to zero fill the area
12:21
<
urja >
and the kernel will walk through the area looking for more cpio archives :P
12:22
<
milkylainen >
urja: Ok. But zeroed out area should be rather harmless. :)
12:23
<
urja >
that's for an initramfs actually... initrd the actual ramdisk support (the thing that's being removed in the kernel soon or already idk) will look at the filesystem header to figure out the size of the ramdisk and thus padding is harmless
12:45
mmu_man has quit [Quit: leaving]
12:45
mmu_man has joined #u-boot
12:46
sszy has quit [Read error: Connection reset by peer]
12:47
sszy has joined #u-boot
13:14
mmu_man has quit [Ping timeout: 268 seconds]
13:25
ladis has joined #u-boot
13:40
Guest1 has joined #u-boot
13:46
alan_o has quit [Ping timeout: 244 seconds]
13:53
alan_o has joined #u-boot
14:00
<
mps >
where to get help about qemu riscv64 u-boot problems
14:02
macromorgan has joined #u-boot
14:46
Guest52 has joined #u-boot
14:47
<
Guest52 >
I am here to ask a questions concerning u boot
14:48
<
Guest52 >
I know u-boot irc is more aimed at developers rather than the end user
14:48
<
Guest52 >
but I cannot find this infortmation anywhere else
14:49
<
Guest52 >
Basically I am trying to boot a usb from my chromebook
14:49
<
Guest52 >
so I enter the command usbboot <then I put my usb name here> and hit enter
14:49
<
Guest52 >
It then returns correct usage
14:49
<
Guest52 >
usbboot addr dev:part
14:50
<
Guest52 >
I am unsure what dev:part is and hoping for an answer
14:53
yates has joined #u-boot
14:53
<
yates >
new question: isn't it a common problem to require a driver within u-boot, e.g., a specific file system, as well as for the booted linux kernel? is it necessary to develop the two drivers independently or is there some way one driver can be shared?
14:54
<
Guest52 >
yates do you know alot about u boot
14:54
<
yates >
Guest52: some. i've customized it in the past.
14:54
<
Guest52 >
can you preiovus questions before you joined or no
14:55
<
ladis >
yates: there's another bootloader aiming for shared drivers ;-)
14:55
<
Guest52 >
[15:48:08] <Guest52> I know u-boot irc is more aimed at developers rather than the end user
14:55
<
Guest52 >
[15:48:23] <Guest52> but I cannot find this infortmation anywhere else
14:55
<
Guest52 >
[15:49:03] <Guest52> Basically I am trying to boot a usb from my chromebook
14:55
<
Guest52 >
[15:49:34] <Guest52> so I enter the command usbboot <then I put my usb name here> and hit enter
14:55
<
Guest52 >
[15:49:43] <Guest52> It then returns correct usage
14:55
<
Guest52 >
[15:49:55] <Guest52> usbboot addr dev:part
14:55
<
Guest52 >
[15:50:18] <Guest52> I am unsure what dev:part is and hoping for an answer
14:55
<
ladis >
yates: here you will need to make driver u-boot specific
14:55
mmu_man has joined #u-boot
14:56
<
yates >
ladis: oh!?! cool. what is the name of this new bootloader?
14:56
<
Guest52 >
could i ask a question
14:56
<
ladis >
yates: That was sort of a joke. Barebox.
14:57
<
ladis >
yates: But it has specifics on its own
14:57
Guest49 has joined #u-boot
14:57
Guest49 has quit [Client Quit]
14:57
<
Guest52 >
can anyone see these messages
14:57
<
yates >
ladis: i am not following you. are you saying there has to be two drivers, or is there a way to design a single driver for both purposes?
14:58
<
yates >
Guest52: yes, i am seeing you
14:58
<
Guest52 >
ok could i ask something
14:58
<
yates >
Guest52: in normal irc culture, you never need to ask if you can ask. so go ahead and ask.
14:58
<
Guest52 >
Basically I am trying to boot a usb from my chromebook
14:58
<
Guest52 >
so I enter the command usbboot <then I put my usb name here> and hit enter
14:58
<
Guest52 >
It then returns correct usage usbboot addr dev:part
14:58
<
Guest52 >
I am unsure what dev:part is and hoping for an answer
14:59
<
yates >
ladis: i would really like to followup on this. can you please let me know?
15:00
<
ladis >
yates: /join #barebox
15:02
<
Guest52 >
yates hello/
15:03
<
cambrian_invader >
Guest52: dev is a device number; so for USB it is probably the number of the USB interface
15:03
matthias_bgg has quit [Ping timeout: 268 seconds]
15:03
<
cambrian_invader >
part is the partition number; first partition is 1, then 2, etc.
15:03
<
Guest52 >
yates do i find that
15:03
vagrantc has joined #u-boot
15:04
<
Guest52 >
*how do i find that
15:05
<
Guest52 >
yates how do i get the usb interface number
15:05
<
cambrian_invader >
try `usb tree` or `usb info`
15:05
<
Guest52 >
where do i put that
15:05
<
cambrian_invader >
(and I'm not yates)
15:05
<
Guest52 >
oh srry yh
15:06
<
cambrian_invader >
same place you put the `usbboot` command
15:06
<
Guest52 >
cambrian_invader where would i type usb tree / usb info
15:06
<
Guest52 >
cambrian_invader when i put partion since im booting a second os i would put 2 right
15:06
<
cambrian_invader >
depends
15:06
<
cambrian_invader >
try `part list usb X` where X is the device number
15:07
<
cambrian_invader >
and you can see what partitions there arte
15:07
<
Guest52 >
on the usb?
15:07
<
Guest52 >
theres ony a live linux drive
15:07
<
Guest52 >
because im booting via u-boot onto chromebook
15:08
<
cambrian_invader >
then why do you want to boot off of usb?
15:08
<
Guest52 >
because its a live usb i can then install it onto my device
15:09
<
Guest52 >
and remove chrome os
15:09
<
Guest52 >
cambrian_invader
15:09
<
cambrian_invader >
so figure out the partition for the usb ;)
15:09
<
Guest52 >
i dont qute understand cambrian_invader
15:10
<
cambrian_invader >
if you want to boot off of a USB
15:10
<
Guest52 >
why would the usb be partioned
15:10
<
cambrian_invader >
why wouldn't it be?
15:10
<
Guest52 >
partioned in what sense
15:10
<
Guest52 >
its a new usb
15:10
<
cambrian_invader >
it has an MBR or a GPT
15:12
Giddy has joined #u-boot
15:12
<
Guest52 >
cambrian_invaderim about to switch accounts wait a sec i should be called Giddy
15:13
<
Giddy >
cambrian_invader im going to try it nowq
15:13
<
Giddy >
ill tell you what partitions there are
15:14
<
Giddy >
cambrian_invader ok?
15:15
matthias_bgg has joined #u-boot
15:16
Guest1 has quit [Quit: Client closed]
15:18
Guest52 has quit [Ping timeout: 250 seconds]
15:18
<
Giddy >
cambrian_invader i am having trouble opening the u-boot commands line
15:20
<
Giddy >
cambrian_invader i need some more help
15:29
<
Giddy >
cambrian_invader when i do part list usb and then the usb number
15:29
<
Giddy >
it doesnt return anythign
15:29
<
Giddy >
It just starts a new line
15:30
<
cambrian_invader >
and this is correct based on the output of `usb info`?
15:31
<
Giddy >
no usb tree
15:31
<
Giddy >
cambrian_invader
15:31
<
cambrian_invader >
please elaborate
15:31
<
Giddy >
so i did usb tree
15:32
<
Giddy >
and just after the ubs name there was a long string of numbers and letters
15:32
tnovotny has quit [Read error: Connection reset by peer]
15:32
<
Giddy >
i input this into part list usb <the numbers here> it just goes onto a new line cambrian_invader
15:34
<
Giddy >
do you need me to explaind more cambrian_invader
15:35
tnovotny has joined #u-boot
15:35
<
cambrian_invader >
can you try `usb storage`
15:36
<
Giddy >
ok done that
15:36
<
cambrian_invader >
and did you see your usb drive
15:36
<
Giddy >
cambrian_invader
15:38
<
Giddy >
cambrian_invaderyes
15:38
<
Giddy >
cambrian_invader yes
15:39
<
cambrian_invader >
ok, lets take a step back
15:39
<
cambrian_invader >
what exactly are you trying to install
15:39
<
Giddy >
i could try usb part
15:39
<
cambrian_invader >
and what are the instructions you are following
15:39
<
Giddy >
cambrian_invader kali linux
15:40
<
Giddy >
my friend managed to do it
15:40
<
Giddy >
it says the partition type is dos
15:41
<
cambrian_invader >
and what does Kali's documentation say about installing onto chomebooks?
15:41
<
Giddy >
nothing but you can boot pretty much any os onto chromebook using a live usb
15:41
<
Giddy >
windows, linux heck even android
15:43
<
Giddy >
cambrian_invader
15:43
<
cambrian_invader >
ok, so you have booted Kali from the live usb?
15:43
<
Giddy >
no thats what im trying to do now
15:43
<
Giddy >
i have a live kali usb
15:44
<
cambrian_invader >
have you booted another Linux distro from a live usb before?
15:44
<
Giddy >
on this device no
15:44
<
Giddy >
i have the part btw
15:44
<
Giddy >
i just had to do usb part
15:44
<
Giddy >
cambrian_invader
15:46
<
cambrian_invader >
ok, can you do `ls usb X /`
15:46
<
Giddy >
is x still the usb number
15:47
<
cambrian_invader >
yes
15:47
<
cambrian_invader >
uh, you will also need the partition
15:47
<
cambrian_invader >
e.g. X:Y
15:48
<
Giddy >
when i run the ls usb command it just goes onto a newline and outputs nothing
15:48
<
cambrian_invader >
the device (e.g. the number of the USB drive) and the partition (on the MBR)
15:49
ilunev has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:49
<
Giddy >
ye but how do i find
15:50
pgreco has quit [Ping timeout: 244 seconds]
15:50
<
Giddy >
also this is the mbr for my usb right?
15:50
<
cambrian_invader >
yes
15:50
<
Giddy >
how do i find
15:51
<
Giddy >
cambrian_invader
15:52
<
cambrian_invader >
?
15:52
<
Giddy >
what partition on the mbr do you wantr
15:52
<
Giddy >
*want cambrian_invader
15:52
pgreco has joined #u-boot
15:53
<
cambrian_invader >
try them all
15:53
<
Giddy >
or do i need specific name
15:53
<
cambrian_invader >
the number
15:53
<
Giddy >
whatever i put after it it just returns a new line
15:55
<
Giddy >
giddy: cambrian_invader do you want to discord call or something it might be easier
15:55
<
cambrian_invader >
can you send a screenshot or listing?
15:56
<
cambrian_invader >
pastebin, etc.
15:56
<
Giddy >
not really since its in the u-boot terminal which on chromebook is accessed though the developer menu
15:57
<
Giddy >
which is a menu outside the os
15:57
<
cambrian_invader >
so can you take a picture
15:59
<
Giddy >
let me find my camera
16:01
<
Giddy >
ok ive got it let me get a picture
16:04
<
Giddy >
ok my camera isnt working
16:04
<
Giddy >
cambrian_invader
16:04
redbrain has joined #u-boot
16:08
<
Giddy >
cambrian_invader hello?
16:13
<
Giddy >
cambrian_invader are you still here
16:15
<
Giddy >
ok cambrian_invader i have the images do you want them
16:16
<
Giddy >
cambrian_invader where have you gone
16:21
Guest8 has joined #u-boot
16:22
<
Giddy >
cambrian_invader please can you respond
16:25
<
cambrian_invader >
that number is not theUSb device number
16:25
<
cambrian_invader >
use the one from the output of usb storage
16:26
Guest8 has quit [Client Quit]
16:26
<
Giddy >
how i get that cambrian_invader
16:26
<
cambrian_invader >
you ran this command earlier
16:27
<
Giddy >
remind which one it was
16:28
akaWolf has quit [Ping timeout: 240 seconds]
16:28
<
Giddy >
cambrian_invader ?
16:28
<
cambrian_invader >
`usb storage`
16:28
<
Giddy >
lemme just get the terminal back
16:30
<
Giddy >
ok ive done usb storage
16:30
<
Giddy >
cambrian_invader where is it
16:31
<
cambrian_invader >
where is what\
16:31
<
Giddy >
the usb stoprage output
16:31
<
Giddy >
cause there is alot of stuff there
16:32
<
Giddy >
i did usb storage
16:32
<
Giddy >
what area from usb storage do i use
16:32
<
Giddy >
cambrian_invader
16:32
<
cambrian_invader >
look for the bit matching printf(" Device %d: ", desc->devnum);
16:33
<
Giddy >
there is nothing resembling that
16:34
<
Giddy >
Device 0: Vendor: Netac Rev: 8.01 Prod: OnlyDisk
16:34
<
Giddy >
Tyoe: Remvoable Hard Disk
16:35
<
Giddy >
Capacity: 59380.0mb = 57.9 GB (121610240 x 512 )
16:35
tnovotny has quit [Quit: Leaving]
16:35
<
Giddy >
cambrian_invader thats is everything it outputs
16:35
<
cambrian_invader >
it's right there
16:35
<
cambrian_invader >
"Device 0"
16:36
<
cambrian_invader >
0 is the number
16:36
<
Giddy >
so the output is 0
16:36
<
Giddy >
what next cambrian_invader
16:37
<
cambrian_invader >
try `part list usb 0`
16:38
<
cambrian_invader >
what partitions are there
16:38
<
Giddy >
2 partitions
16:41
<
Giddy >
cambrian_invader
16:41
mps has left #u-boot [#u-boot]
16:44
<
cambrian_invader >
have a look around with `ls usb 0:1` or 0:2
16:44
<
cambrian_invader >
you should figure out what file you need to load
16:44
<
cambrian_invader >
honestly, this depends a lot on the SoC
16:44
<
Giddy >
it returns unrecognised system file type
16:44
<
cambrian_invader >
and you are better off finding a chomebook guide
16:44
<
cambrian_invader >
for how to set up booting
16:44
<
cambrian_invader >
or ask your friend
16:45
<
Giddy >
he booted with seabio
16:45
<
Giddy >
cambrian_invader what do i do it says unrecognised filetype
16:45
<
cambrian_invader >
try the other part
16:46
<
Giddy >
.fseventsd/
16:47
<
Giddy >
cambrian_invader what now
16:48
<
cambrian_invader >
figure out what you need to boot
16:48
<
cambrian_invader >
find some documentation
16:48
<
Giddy >
ill just try all 3
16:48
<
Giddy >
cambrian_invader the command for booting is...
16:49
<
cambrian_invader >
bootm/booti/zboot/etc...
16:49
<
cambrian_invader >
I can't tell you which one to use, it depends on what you want to boot
16:49
<
Giddy >
i want to boot a usb
16:50
<
cambrian_invader >
no, the type of file
16:51
<
Giddy >
what should i put for that
16:53
<
Giddy >
cambrian_invader what do i put for a .bin file
16:55
<
Giddy >
what do i put to boot a .bin file cambrian_invader
16:56
<
Giddy >
hello cambrian_invader
17:00
<
Giddy >
where have you gone cambrian_invader
17:02
ilunev has joined #u-boot
17:05
<
Giddy >
cambrian_invader i have to go soon where have you gone
17:11
ilunev has quit [Ping timeout: 240 seconds]
17:12
ilunev has joined #u-boot
17:14
mps has joined #u-boot
17:14
fdanis is now known as fdanis_away
17:14
<
cambrian_invader >
I have my own things to do :P
17:14
<
Giddy >
sorry cambrian_invader
17:14
<
Giddy >
cambrian_invader what command for booting .bin though
17:15
<
cambrian_invader >
why do you want to boot that
17:15
<
Giddy >
well its a live usb
17:16
<
Giddy >
cambrian_invader what part of it
17:16
<
cambrian_invader >
read the whole thing
17:16
<
cambrian_invader >
but you are probably interested in the first bit
17:18
akaWolf has joined #u-boot
17:18
<
Giddy >
cambrian_invader i dont have an arm snow though
17:18
<
cambrian_invader >
?
17:19
<
Giddy >
oh srry opened wrong link
17:20
<
Giddy >
how do i get the image adress and the fdt adress
17:21
<
Giddy >
cambrian_invader
17:21
<
cambrian_invader >
they are variables
17:21
<
cambrian_invader >
they should be defined already
17:22
<
cambrian_invader >
you can print tem with `echo $foo`
17:22
<
Giddy >
so i just do bootefi
17:22
<
cambrian_invader >
you will need to load the files
17:22
<
cambrian_invader >
to the correct addresses
17:22
<
Giddy >
what is tem
17:23
<
Giddy >
cambrian_invader how do i load files
17:23
<
Giddy >
to correct adresses
17:23
<
cambrian_invader >
read the second link
17:24
<
Giddy >
cambrian_invader i cant see where it says that
17:25
<
cambrian_invader >
read the first link
17:25
<
cambrian_invader >
it has examples
17:27
<
Giddy >
im still really confused
17:28
<
Giddy >
cambrian_invader can you just send the commdn
17:28
<
cambrian_invader >
no
17:28
<
Giddy >
cambrian_invader i cant fin
17:28
<
cambrian_invader >
I don't know about your board
17:28
<
cambrian_invader >
there is a code box
17:28
<
cambrian_invader >
and a bootefi command
17:28
<
cambrian_invader >
adapt that for usb
17:28
<
cambrian_invader >
with 2 load commands
17:29
<
Giddy >
how do i get what to put there cambrian_invader
17:30
<
cambrian_invader >
it's the same syntax as ls and as part
17:30
<
Giddy >
so i just usb part
17:30
<
Giddy >
what is the command structure cambrian_invader
17:31
<
cambrian_invader >
try stuff and see
17:31
<
cambrian_invader >
read the help
17:31
<
Giddy >
so should i try bootefi then part:dev or somethin
17:32
<
Giddy >
cambrian_invader
17:35
<
Giddy >
I ran bootefi EFI/ and it returned invalid DOS signature
17:36
<
Giddy >
cambrian_invader
17:37
ilunev has quit [Ping timeout: 244 seconds]
17:38
ilunev has joined #u-boot
17:38
<
Giddy >
alr i gtg for a sec ill be back later
17:54
redbrain has quit [Quit: leaving]
17:54
redbrain has joined #u-boot
17:59
ilunev has quit [Ping timeout: 268 seconds]
18:01
ilunev has joined #u-boot
18:04
monstr has quit [Remote host closed the connection]
18:22
<
Giddy >
cambrian_invader please add me on discord so we can further discuss this Giddy#6129
18:22
<
Giddy >
Giddy#6129 is my discord
18:31
guillaume_g has quit [Quit: Konversation terminated!]
19:19
<
Giddy >
cambrian_invader pls add cause this conversation wil go when i turn of computer
19:19
<
cambrian_invader >
sorry, I don't have discord
19:20
<
Giddy >
cambrian_invader email?
19:21
<
cambrian_invader >
sending your questions to the U-boot mailing list may be a good start
19:21
<
cambrian_invader >
CC simon glass
19:21
<
cambrian_invader >
since he maintains the chromebook stuff
19:22
<
Giddy >
what is the email for that
19:39
elafon has quit [Remote host closed the connection]
19:55
elafon has joined #u-boot
19:56
ilunev has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:59
smartin has quit [Quit: smartin]
20:27
elvishjerricco_ has joined #u-boot
20:27
drewfustini_ has joined #u-boot
20:30
torez has joined #u-boot
20:30
torez has quit [Client Quit]
20:34
cyrozap-ZNC has joined #u-boot
20:35
elvishjerricco has quit [*.net *.split]
20:35
drewfustini has quit [*.net *.split]
20:35
cyrozap has quit [*.net *.split]
20:35
elvishjerricco_ is now known as elvishjerricco
20:35
drewfustini_ is now known as drewfustini
20:36
cyrozap-ZNC has quit [Client Quit]
20:36
cyrozap has joined #u-boot
21:10
torez has joined #u-boot
21:20
redbrain has quit [Ping timeout: 268 seconds]
22:20
Giddy has quit [Quit: Client closed]
22:20
Giddy has joined #u-boot
22:27
agust has quit [Quit: Leaving.]
22:28
ceene has quit [Ping timeout: 268 seconds]
23:08
Giddy has quit [Quit: Client closed]
23:46
torez has quit [Quit: torez]
23:55
mmu_man has quit [Ping timeout: 272 seconds]