cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mark@bish.net
Adventurer
Adventurer
2,895 Views
Registered: ‎09-19-2017

Re: petalinux & u-boot default_boot command

Jump to solution

@gudishak Thank you.

 

Also, how cna one add custom bootargs from u-boot.  

 

I saw that someone was modifying components/plnx_workspace/device-tree-generation/skeleton.dtsi 

 

/include/ "system-conf.dtsi"
/ {
};

chosen {
    bootargs = "console=ttyPS0,115200 earlyprintk  <more custom commands>";
};

This is the preferred way?

0 Kudos
1 Solution

Accepted Solutions
shabbirk
Moderator
Moderator
3,170 Views
Registered: ‎12-04-2016

Hi Mark

 

To overwrite the kernel command line, you can just add something that would like to see, to the ./project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi:-

chosen {

     bootargs = "earlycon root=/dev/mmcblk0p2 rw";

};

 

Example DTSi file looks like this:-

/include/ "system-conf.dtsi"
/ {
chosen {
bootargs = "earlycon root=/dev/mmcblk0p2 rw";
};
};

 

Best Regards

Shabbir

View solution in original post

2 Replies
shabbirk
Moderator
Moderator
3,171 Views
Registered: ‎12-04-2016

Hi Mark

 

To overwrite the kernel command line, you can just add something that would like to see, to the ./project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi:-

chosen {

     bootargs = "earlycon root=/dev/mmcblk0p2 rw";

};

 

Example DTSi file looks like this:-

/include/ "system-conf.dtsi"
/ {
chosen {
bootargs = "earlycon root=/dev/mmcblk0p2 rw";
};
};

 

Best Regards

Shabbir

View solution in original post

_kumar
Observer
Observer
1,349 Views
Registered: ‎12-28-2016
Hi @Shabbir,
This information helped to resolve my issue.
Thanks
0 Kudos