Coder Social home page Coder Social logo

Comments (17)

RobertCNelson avatar RobertCNelson commented on May 18, 2024

So r46 -> r47:

RobertCNelson/ti-linux-kernel@e9ab782...5160d38

RobertCNelson/ti-linux-kernel@5160d38...ee09b0f

RobertCNelson/ti-linux-kernel@ee09b0f...f0420b4

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

r47 -> r48:

RobertCNelson/ti-linux-kernel@f0420b4...828f540

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

are you doing anything different in the config?

from linux.

jcdevel avatar jcdevel commented on May 18, 2024

Hi RobertCNelson, I have not changed the configuration. Basically, I have followed the same procedure I always have to update the kernel (replace zImage, dtb and modules). Actually, just by restoring the r46 zImage the board boots again. I have tried different DTs but I think it is something related to the kernel itself, since kernel r46 with DT from r47 also boots, but kernels r47 and r48 freeze. Image sizes are nearly the same (just a few bytes of difference).

It would be helpful if someone else with a BBB could confirm the bug or if it is something I am missing.

Thanks.

from linux.

jcdevel avatar jcdevel commented on May 18, 2024

Could anyone confirm the problem? Has anyone got r48 working on BBB? Thanks.

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

Sorry unable to confirm the problem:

[test-bbb-3: 4.1.17-ti-rt-r48 (up 6 days, 12 hours, 42 minutes)]

Regards,

from linux.

jcdevel avatar jcdevel commented on May 18, 2024

Hi RobertCNelson. I have updated U-Boot to 2016.01, just in case, but still not working. I have tried also booting from uSD instead of the onboard eMMC. Nothing. These are the steps I use to build the kernel:

$ git checkout 4.1.17-ti-rt-r48
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm clean
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm mrproper
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm bb.org_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm -j4 zImage
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm dtbs
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm -j4 modules
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm INSTALL_MOD_PATH=$INSTALL_MOD_PATH modules_install

$INSTALL_MOD_PATH points to the root of my NFS exported filesystem. Then I use TFTP to load zImage and am335x-boneblack.dtb (as I always have). I have tried latest tag 4.1.18-ti-rt-r49, but no luck either. Any kernel newer than r46 fails.

If your board is working fine, it must be something related to my set up, I just do not know what it may be. Could it be related to the board revision? I have a BBB rev B.

Any help will be appreciated.

from linux.

kamtar avatar kamtar commented on May 18, 2024

Same problem here with BBB rev C.

from linux.

jcdevel avatar jcdevel commented on May 18, 2024

I tried the resultant .config from bb-kernel and 4.1.18-ti-rt-r49 boots fine. It seems the bb.org_defconfig provided in this repo is no longer valid for the BBB. Is this planned or is it a bug? Or was bb.org_defconfig never intended to work on BBB and it has been working until r46 just by chance?

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

@jcdevel bb.org_defconfig is for the bbb..

btw, do you have earlyprink enabled, i just noticed:

RobertCNelson/ti-linux-kernel-dev@7f0a67c

^^^ that was me debugging the x15, that should not be enabled..

if you have earlyprink as part of your bootargs, that might cause something..

REgards,

from linux.

jcdevel avatar jcdevel commented on May 18, 2024

Hi RobertCNelson. Yes, I had earlyprink enabled. After removing it from bootargs, kernel boots fine.

from linux.

printesoi avatar printesoi commented on May 18, 2024

@jcdevel, if you want the kernel to work with the CONFIG_EARLY_PRINTK you shoud enable CONFIG_DEBUG_AM33XXUART1.

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

@printesoi it didn't help that i had it enabled for the x15's usart's by default ;)

from linux.

nicholas-zww avatar nicholas-zww commented on May 18, 2024

hi

I have exactly same issue here. Anyone has any solution for this case?

from linux.

RobertCNelson avatar RobertCNelson commented on May 18, 2024

@nicholas-zww please include more details:

git tag
defconfig used + changes
serial boot log

Regards,

from linux.

nicholas-zww avatar nicholas-zww commented on May 18, 2024

I used release "linux-4.4.49-ti-rt-r89", and without any change, just use bb.org_defconfig, and make.
Then i get below output from serial port. It stops at "starting kernel.....", then after a while, it looks like a reset happens, and reboot again.

U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img

U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnv.txt
829 bytes read in 3 ms (269.5 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
cpsw Waiting for PHY auto negotiation to complete. done
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.3.8; our IP address is 192.168.3.123
Filename 'zImage'.
Load address: 0x82000000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############
314.5 KiB/s
done
Bytes transferred = 8728752 (8530b0 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.3.8; our IP address is 192.168.3.123
Filename 'am335x-boneblack.dtb'.
Load address: 0x88000000
Loading: ###########
404.3 KiB/s
done
Bytes transferred = 55541 (d8f5 hex)
Kernel image @ 0x82000000 [ 0x000000 - 0x8530b0 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Using Device Tree in place at 88000000, end 880108f4

Starting kernel ...

from linux.

pdp7 avatar pdp7 commented on May 18, 2024

Please re-open if still an issue.

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.