Re: [U-Boot] [RESEND PATCH v2 03/15] riscv: bootm: Correct the 1st kernel argument to hart id

2018-09-19 Thread Rick Chen
> From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, September 11, 2018 12:55 PM > To: Rick Jian-Zhi Chen(陳建志); U-Boot Mailing List > Cc: Lukas Auer > Subject: [RESEND PATCH v2 03/15] riscv: bootm: Correct the 1st kernel argument > to hart id > > The first argument of Linux kernel

Re: [U-Boot] [RESEND PATCH v2 03/15] riscv: bootm: Correct the 1st kernel argument to hart id

2018-09-16 Thread Auer, Lukas
On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > The first argument of Linux kernel is the risc-v core hart id, > from which the kernel is booted from. It is not the mach_id, > which seems to be copied from arm. > > While we are here, this also changes the Linux kernel entry > parameters' type

[U-Boot] [RESEND PATCH v2 03/15] riscv: bootm: Correct the 1st kernel argument to hart id

2018-09-10 Thread Bin Meng
The first argument of Linux kernel is the risc-v core hart id, from which the kernel is booted from. It is not the mach_id, which seems to be copied from arm. While we are here, this also changes the Linux kernel entry parameters' type to support both 32-bit and 64-bit. Note the hart id is hardco