Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
ungeskriptet has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
enok has quit [Ping timeout: 264 seconds]
enok has joined #u-boot
naoki has quit [Quit: naoki]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #u-boot
Guest53 has joined #u-boot
daytona has joined #u-boot
<daytona>
JOIN u-boot
Jones42 has joined #u-boot
qqq has quit [Remote host closed the connection]
<daytona>
Hi
<daytona>
I need to boot a linux image from u-boot. I need to load that image in available empty space in u-boot. HOw to find the available empty space in uboot ?
slobodan__ has quit [Read error: Connection reset by peer]
slobodan__ has joined #u-boot
qqq has joined #u-boot
Guest53 has quit [Quit: Client closed]
slobodan__ has quit [Read error: Connection reset by peer]
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
slobodan__ has joined #u-boot
Jones42 has quit [Ping timeout: 250 seconds]
qqq has quit [Remote host closed the connection]
monstr has quit [Ping timeout: 252 seconds]
Jones42 has joined #u-boot
qqq has joined #u-boot
GNUtoo has joined #u-boot
GNUtoo has quit [Quit: leaving]
Stat_headcrabed has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Forty-Bot>
daytona: loadaddr
<Forty-Bot>
U-Boot will reloacate itself to the top of memory (or top of memory below 2^32)
<Forty-Bot>
so loadaddr will typically be pretty low in the address space to give you lots of room
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
qqq has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
qqq has joined #u-boot
Jones71 has joined #u-boot
Jones71 has quit [Client Quit]
Jones45 has joined #u-boot
Jones42 has quit [Ping timeout: 250 seconds]
monstr has joined #u-boot
enok has quit [Ping timeout: 268 seconds]
linfax has quit [Ping timeout: 260 seconds]
GNUtoo has joined #u-boot
GNUtoo has quit [Quit: leaving]
Jones45 has quit [Ping timeout: 250 seconds]
goliath has quit [Quit: SIGSEGV]
enok has joined #u-boot
Stat_headcrabed has joined #u-boot
<pivi>
calebccff: so, I did some homework. Qualcomm RB3 Gen2 uses a QCS6490 SOC. Your presentation and the U-Boot documents I was able to find are about RB3+SDM845. If you have any insigth of U-Boot support for RB3 Gen2 let me know
<calebccff>
pivi: waiting to get my hands on one, but I have a Fairphone 5 (same soc) and I've been able to boot U-Boot from UFS storage there
<marex>
RB3 ?
<pivi>
calebccff: with U-Boot as primary bootloader? is this something that qualcomm will somehow officially endorse?
<calebccff>
pivi: well FP5 has secureboot so no not as primary bootloader
frieder has quit [Remote host closed the connection]
<daytona>
@Forty_Bot: In my system, current kernel is available @0x808000. But I am loading new kernel @0x83000000 using tftp. The new kernel has entry @80008000. Am I correctly loading?. I mean I not overwriting any system memory
<marex>
daytona: which system is this ?
<marex>
daytona: what kind of kernel image are you loading ?
<daytona>
marek: I am working on Server which has BMC.
<marex>
so aspeed ?
<daytona>
Yes.. I am using embedded kernel build by yocto
<daytona>
Acutally, I am trying to boot openBMC (open source BMC firmware) from uboot of VendorBMC. I am using tftp + NFS method
<marex>
and the kernel format ? fitImage ?
mckoan is now known as mckoan|away
<daytona>
fitImage is failing and Vendor BMC's uboot saying image cannot loaded.
<daytona>
I am using uImage but uboot is not taking my uImage kernel.
<marex>
bootm $loadaddr
<marex>
that should boot it for you
<marex>
with uimage you may need to pass in DT somehow ... bootm $loadaddr - $somedtaddr
<daytona>
Actually, I am not able to find the value of $loadaddr in uboot. Printenv also not showing. If knew the address in $loadaddr, I could have load my kernel @ that address
<marex>
daytona: bdinfo
<marex>
should print the memory layout
<daytona>
yes.
<daytona>
start - 0x80000000
<daytona>
I am new to uboot and I think start = loadaddr.
<daytona>
arch_number = 0x000022B8
<daytona>
boot_params = 0x80000100
<daytona>
DRAM bank = 0x00000000
<daytona>
-> size = 0x1F000000
<daytona>
-> start = 0x80000000
<daytona>
ethaddr = 00:C0:A8:12:34:56
<daytona>
ip_addr = 10.1.61.58
<daytona>
baudrate = 115200 bps
<daytona>
TLB addr = 0x9EFF0000
<daytona>
relocaddr = 0x9EF5B000
<daytona>
reloc off = 0x1DF5B000
<daytona>
irq_sp = 0x9EB49F60
<daytona>
sp start = 0x9EB49F50
<daytona>
FB base = 0x00000000
<marex>
so your DRAM is from 0x80000000 to 0x9f000000
<marex>
if your kernel entry point is 0x80008000, then load the uImage to 0x90000000 for example
<marex>
setenv loadaddr 0x90000000
<daytona>
Ok..
<daytona>
I will try and update you
<daytona>
now
enok has quit [Ping timeout: 264 seconds]
<daytona>
As of now, run only boom 0x90000000 (with device tree), kernel loaded successfully, but I am not seeing any debug kernel message.
<daytona>
my boot args look like this , bootargs=console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.1.61.134:/mnt/nfsroot,nolock,nfsvers=3,tcp ip=dhcp
<marex>
add some ... earlycon earlyprintk ... into the bootargs
<marex>
might give you something
<daytona>
I changed bootarg like this ``setenv bootargs console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.1.61.134:/mnt/nfsroot,nolock,nfsvers=3,tcp ip=dhcp earlycon earlyprintk``
f_ has joined #u-boot
<daytona>
I am not getting any output message after this line "Starting Kernel ..."
stefanro has quit [Quit: Leaving.]
sszy has quit [Ping timeout: 256 seconds]
<marex>
daytona: make sure you pass in the right DT, or append it to kernel
<daytona>
As of now,I am not passing DT.. Now I will pass like bootm 0x90000000 - someaddress.
<daytona>
No. Still I am not getting any message. Can I change to console=ttyS4* from console=ttyS0
<daytona>
I run "bootm 0x90000000 - 0x90400000"
<marex>
daytona: is your kernel smaller than 4 MiB ?
<marex>
did you load DT to 0x90400000 ?
<marex>
do you have fdt_high set in env? if so, to what ?
<marex>
try and set fdt_high to e.g. 0x88000000
<marex>
to put the DT closer to kernel
<daytona>
Yes. I loaded DT at 0x90400000
<daytona>
No , I have not set fdt_high.
<daytona>
Ok. I will set fdt_high to 0x88000000.. Why we need to set fdt_high and what it is for ?
monstr has quit [Remote host closed the connection]
<marex>
daytona: it sets the highest address at which fdt can be relocated
<marex>
maybe you need fdt closer to the kernel image when it starts, I think the FDT has to be within 128 MiB of the kernel image on arm32, but I might be wrong about that one
<marex>
this is just a wild guess with the fdt_high
<daytona>
Actually, My kernel size is 2f2270, Kernel will occupy from 0x9000000 t0 0x902f2270*. To avoid overlap, I loaded DT @0x90400000
<daytona>
my DT size is 0x77EC*
<daytona>
I set the fdt height like this "setenv fdt_high 0x88000000
<daytona>
" and save it.
<daytona>
Finally, I run " bootm 0x90000000 - 0x902ff000
<daytona>
" and observing same issue, Nothing is printing.
<marex>
daytona: did this kernel image ever boot on this machine ?
<daytona>
No.. I have not checked this uImage. But fitImage (same build) is working. I don't know steps to verify this uImage.
<daytona>
Actually, My build system generates only zImage, I used this command "mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000
<daytona>
-n "Linux kernel" -d zImage uImage
<daytona>
" to uImage
<daytona>
FYI. I have two BMC firmware one is openBMC and VendorBMC. From openBMC's uboot, I loaded fitImage and load nfs successfully.
<daytona>
I am working on in Vendor BMC's uboot shell to load the openBMC's kernel (uImage).But I am failing
<daytona>
FYI, Vendor BMC's kernel is located @0x8080000(7digit). If run "bootm 0x8080000", kernel is loading successfully and but unable to mount the nfs.
<daytona>
With Vendor BMC's kernel, run"bootm 0x8080000", I am getting messages in uart.
Stat_headcrabed has quit [Quit: Stat_headcrabed]
enok has joined #u-boot
<marex>
daytona: why not just build a fitImage ?
<marex>
daytona: uImage is legacy deprecated stuff
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
enok has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
f_ has quit [Ping timeout: 260 seconds]
enok has joined #u-boot
mighty-bob has joined #u-boot
mighty-bob has quit [Quit: Konversation terminated!]
f_ has joined #u-boot
jfsimon1981 has joined #u-boot
f_ has quit [Ping timeout: 260 seconds]
enok has quit [Ping timeout: 246 seconds]
slobodan__ has quit [Remote host closed the connection]
slobodan__ has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
KREYREN has joined #u-boot
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
qqq has quit [Quit: Lost terminal]
qqq has joined #u-boot
daytona has quit [Read error: Connection reset by peer]
daytona has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
daytona has quit [Remote host closed the connection]
daytona has joined #u-boot
slobodan__ has quit [Ping timeout: 255 seconds]
joeskb7 has quit [Ping timeout: 255 seconds]
alperak has quit [Quit: Connection closed for inactivity]