Coder Social home page Coder Social logo

Comments (4)

RobertCNelson avatar RobertCNelson commented on May 18, 2024

@goudapatil without a real u-boot serial log, it's hard to pin point the exact issue to 100%..

So here's my wild guess, your u-boot environment variables are for loading the kernel/dtb are wrong and thus overlapping, when loading the file into ram:

loadaddr=0x82000000
fdtaddr=0x88000000
rdaddr=0x88080000
initrd_high=0xffffffff
fdt_high=0xffffffff

Regards.

from linux.

goudapatil avatar goudapatil commented on May 18, 2024

@RobertCNelson ,
Following are the commands used to compile the Linux.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- bb.org_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs LOADADDR=0x80008000

U-Boot args:
tftpboot 0x80F80000 am335x-boneblack_4.1.dtb
tftpboot 0x80007FC0 uImage_4.1
bootm 0x80007FC0 - 0x80F80000

On Uboot Promt I'm getting following log:
##U-Boot# bootm 0x80007FC0 - 0x80F80000
Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-4.1.10
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 8204536 Bytes = 7.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK

Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
XIP Kernel Image ... OK
Using Device Tree in place at 80f80000, end 80f9159c

Starting kernel ...

Can you please let me know whether i have followed the correct procedure or not.

Thanks,

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

@goudapatil

tftpboot 0x80F80000 am335x-boneblack_4.1.dtb
tftpboot 0x80007FC0 uImage_4.1
bootm 0x80007FC0 - 0x80F80000

Yeap, they overlap... That's not going to work.. use:

tftpboot 0x88000000 am335x-boneblack_4.1.dtb
tftpboot 0x82000000 uImage_4.1
bootm 0x82000000 - 0x88000000

Regards,

from linux.

goudapatil avatar goudapatil commented on May 18, 2024

@RobertCNelson It works fine now. Thank you.

Regards,

from linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.